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

+ ! ! dAd's anGeL ❤️ replied to + ! ! dAd's anGeL ❤️'s discussion -_-
7 minutes ago
Profile IconAli Raza, Muhammad Shoaib, qasim jalal and 10 more joined Virtual University of Pakistan
13 minutes ago
Abeer liked + M.Tariq Malik's discussion How to Prepare / Make SRS Document of any Project - CS619 Final Project
18 minutes ago
Abeer liked + M.Tariq Malik's discussion How to Prepare / Make SRS Document of any Project - CS619 Final Project
18 minutes ago
+|| "८૦८૦ɱ૦" ||+ updated their profile
23 minutes ago
Jabra updated their profile
47 minutes ago
+ ! ! ! "EF" ! ! ! updated their profile
52 minutes ago
Sadia Nasir replied to + M.Tariq Malik's discussion How to Prepare The Mid Term Exams & Study in VU
1 hour ago
SILA posted a discussion
1 hour ago
Abeer posted a status
"koi student hai cs619 final year project ka,jis ka project locating a tutor ho?"
2 hours ago
Asad posted discussions
2 hours ago
Asad replied to Asad's discussion انتظار
2 hours ago

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

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

.