CS-304 Final Term Exams Preparation Virtual University With Answers

image
image
image

CS-304 Final Term Exams Preparation Virtual University

Sr. # Questions Answers Choice
1 Suppose there is an object of type Person, which of the following can be considered as one of its attributes Name Age Work() Both Name and Age
2 The members of a class that can be accessed without creating the object of the class is called Private member Data Member Public Member Static
3 A class can be identified from a statement by ------------ Noun Pronoun Verb Adverb
4 In OOP a class is an example of ____ Data Type Abstract Type User defined type None of the given
5 An overloaded operator always requires one less argument than its number of operands. True False Not sure
6 A C++ class is similar to ----------------- Structure Header File Library File None of the given
7 We can use "this" pointer in the constructor in the body and even in the initialization list of any class if we are careful True False Not Sure
8 The compiler won’t object if you overload the * operator to perform division True False Not Sure
9 Static variables act like a global variable in the context or scope of the class. True False Not Sure
10 The >= operator can be overloaded. True False Not Sure
Download This Set