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

maria ali joined + M.Tariq Malik's group
5 minutes ago
+!!! Annie !!!+ liked + M.Tariq Malik's group EDU302 Human Development and Learning
10 minutes ago
+!!! Annie !!!+ liked №Oř's group Novels and Famous e books
10 minutes ago
+!!! Annie !!!+ liked + M.Tariq Malik's group CS204 Cyber Law
10 minutes ago
+!!! Annie !!!+ liked + M.Tariq Malik's group EDU433 Professionalism in Teaching
11 minutes ago
+!!! Annie !!!+ liked + M.Tariq Malik's group EDU654 Addressing problems of learning through technology and pedagogy
11 minutes ago
+!!! Annie !!!+ liked + M.Tariq Malik's group EDU630 Research Project - Education
11 minutes ago
+!!! Annie !!!+ liked + M.Tariq Malik's group TPT620 Teaching Practice (Long Term)
11 minutes ago
Ahad Kharal replied to + M.Tariq Malik's discussion CS625 Professional Practices Assignment No 01 Fall 2019 Solution & Discussion in the group CS625 Professional Practices
22 minutes ago
Ahad Kharal joined + M.Tariq Malik's group
22 minutes ago
DANI added a discussion to the group MGT101 Financial Accounting
26 minutes ago
abdul ghafoor replied to + M.Tariq Malik's discussion PSY404 Assignment No 01 Fall 2019 Solution & Discussion Due Date: 20-11-2019 in the group PSY404 Abnormal Psychology
27 minutes ago
abdul ghafoor replied to + M.Tariq Malik's discussion PSY404 Assignment No 01 Fall 2019 Solution & Discussion Due Date: 20-11-2019 in the group PSY404 Abnormal Psychology
28 minutes ago
Profile IconAli Haider, samar bilal and + '' Tanveer '' joined + M.Tariq Malik's group
35 minutes ago
ALEENA replied to + M.Tariq Malik's discussion How to Prepare The Mid Term Exams & Study in VU
40 minutes ago
Isha Chuhdary updated their profile
41 minutes ago
ALEENA replied to + M.Tariq Malik's discussion How to Get Full Marks In Quiz
49 minutes ago
ALEENA liked + M.Tariq Malik's discussion How to Get Full Marks In Quiz
50 minutes ago
ALEENA replied to +¢αяєℓєѕѕ gιяℓ's discussion Kya Mien Writer Ban Sakti Hoon :-P
58 minutes ago
Misha Rajpoot liked + M.Tariq Malik's group MTH202 Discrete Mathematics
1 hour ago

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

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