We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

Looking For Something at vustudents.ning.com? Click Here to Search

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

+ Link For Past Papers, Solved MCQs, Short Notes & More


Dear Students! Share your Assignments / GDBs / Quizzes files as you receive in your LMS, So it can be discussed/solved timely. Add Discussion

How to Add New Discussion in Study Group ? Step By Step Guide Click Here.

Replies to This Discussion

plz share here your Quiz No.4

asad ali

Attachments:

vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv Thanks sis

 today my quiz of cs304

1
_____ is creating objects of one class inside another class.
Association
Composition
Aggregation
Inheritance


2
Select correct line of code for inheritance relationship between “Keys” class and “StandardKeys” class. “Keys” is parent class while “StandardKeys” is child class

class StandardKeys: public Keys
class Keys: public StandardKeys
class StandardKeys:: public Keys
class Keys:: public StandardKeys


3 Select correct line of code for inheritance relationship between “Keys” class and “SpecialKeys” class. “Keys” is parent class while “SpecialKeys” is child class

A class SpecialKeys: public Keys
B class Keys: public SpecialKeys
C class SpecialKeys:: public Keys
D class Keys:: public SpecialKeys


4 Select correct line of code for inheritance relationship between "Gender" class and "Male" class. "Gender" is parent class while "Male" is child class.
Select correct option:
class Male: public Gender
class Gender: public Male
class Male:: public Gender
class Gender:: public Male


5 Select correct line of code for inheritance relationship between "Nationality" class and "Citizen" class. "Nationality" is parent class while "Citizen" is child class.
class Citizen: public Nationality
class Nationality: public Citizen
class Citizen:: public Nationality
class Nationality:: public Citizen

6
correct line of code for inheritance relationship between "Nationality" class and "Foreigner" class. "Nationality" is
parent class while
"Foreigner" is child class.
class Foreigner: public Nationality
class Nationality: public Foreigner
class Foreigner:: public Nationality

7correct line of code for inheritance relationship between "Gender" class
and "Female" class. "Gender" is parent class while "Female" is child
class.
class Female: public Gender
class Gender: public Female
class Female:: public Gender
class Gender:: public Female

8 Binding means that target function for a call is selected at compile time.
Select correct option:
Static
Dynamic
Automatic
None of given

9
c++ dynamic binding and polymorphism will be achieved when member function will be __.
Select correct option:
private
public
virtual
inline
10 Two functions with same names, parameters and return type can exist in,
Select correct option:
Function overloading
Function overriding
Operator overloading
None of these options

Also thanks for sharing.

Thanks Nayab and Hareem

RSS

Latest Activity

wajiha ahsen replied to Muhammad Sarfraz's discussion FIN630 - Investment Analysis & Portfolio Management Fall 2019 Assignment Solution Idea in the group FIN630 Investment Analysis & Portfolio Management
7 minutes ago
Hammad A. Khan replied to + M.Tariq Malik's discussion SOC101 Assignment No 02 Fall 2019 Solution & Discussion in the group SOC101 Introduction to Sociology
10 minutes ago
Profile Iconwajiha ahsen, Muhammad Affan Muneer and 5 other members joined + M.Tariq Malik's group
11 minutes ago
Ayesha Khan replied to Rana Ali's discussion EDU431 Test Development & Evaluation Assignment No 02 Fall 2019 Solution & Discussion in the group EDU431 Test Development & Evaluation
12 minutes ago
Abdul Hasib replied to Muhammad Sarfraz's discussion FIN630 - Investment Analysis & Portfolio Management Fall 2019 Assignment Solution Idea in the group FIN630 Investment Analysis & Portfolio Management
13 minutes ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion ECO601 Business Econometrics GDB Fall 2019 Solution & Discussion in the group ECO601 Business Econometrics
19 minutes ago
+ M.Tariq Malik liked + M.Tariq Malik's discussion ECO601 Business Econometrics GDB Fall 2019 Solution & Discussion
19 minutes ago
+ M.Tariq Malik added a discussion to the group ECO601 Business Econometrics
20 minutes ago
IBS replied to Habiba's discussion CS411 Assignment 3 Due Date 23 Jan 2020 in the group CS411 Visual Programming
20 minutes ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion MGT502 Assignment No 01 Fall 2019 Solution & Discussion Due Date: 22-01-2020 in the group MGT502 Organizational Behavior
22 minutes ago
Profile IconAftab Shah, Sana, Muhammad Junaid and 27 more joined Virtual University of Pakistan
22 minutes ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion MTH405 Assignment No 02 Fall 2019 Solution & Discussion in the group MTH405 Elementary Topics in Pure Mathematics
23 minutes ago

Today Top Members 

© 2020   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service

.