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

+ Տehɑr Ƙհɑղ + updated their profile
7 minutes ago
MUHAMMAD LUQMAN liked + M.Tariq Malik's discussion EDU301 Current Mid Term Papers Fall 2019 (14 to 26 December 2019) & All Solved Past Papers, Solved MCQs & Helping Material
40 minutes ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion CS314 Current Mid Term Papers Fall 2019 (14 to 26 December 2019) & All Solved Past Papers, Solved MCQs & Helping Material in the group CS314 Introduction to Cellular Networks
55 minutes ago
+ M.Tariq Malik liked + M.Tariq Malik's discussion CS314 Current Mid Term Papers Fall 2019 (14 to 26 December 2019) & All Solved Past Papers, Solved MCQs & Helping Material
55 minutes ago
+ M.Tariq Malik's 14 discussions were featured
55 minutes ago
+ M.Tariq Malik added a discussion to the group CS314 Introduction to Cellular Networks
58 minutes ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion CS315 Current Mid Term Papers Fall 2019 (14 to 26 December 2019) & All Solved Past Papers, Solved MCQs & Helping Material in the group CS315 Network Security
1 hour ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion CS315 Current Mid Term Papers Fall 2019 (14 to 26 December 2019) & All Solved Past Papers, Solved MCQs & Helping Material in the group CS315 Network Security
1 hour ago
+ M.Tariq Malik liked + M.Tariq Malik's discussion CS315 Current Mid Term Papers Fall 2019 (14 to 26 December 2019) & All Solved Past Papers, Solved MCQs & Helping Material
1 hour ago
+ M.Tariq Malik added a discussion to the group CS315 Network Security
1 hour ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion CS310 Current Mid Term Papers Fall 2019 (14 to 26 December 2019) & All Solved Past Papers, Solved MCQs & Helping Material in the group CS310 Open Source Web Application Development (PHP, PERL, CGI, Mysql)
1 hour ago
+ M.Tariq Malik liked + M.Tariq Malik's discussion CS310 Current Mid Term Papers Fall 2019 (14 to 26 December 2019) & All Solved Past Papers, Solved MCQs & Helping Material
1 hour ago

Today Top Members 

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

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

.