HSB Bcom Ii Year C++ PDF
HSB Bcom Ii Year C++ PDF
HSB Bcom Ii Year C++ PDF
10 X 1/2=10
4) Wrapping data and its related functionality into a single entity is known as _____________
a) Abstraction b) Encapsulation c) Polymorphism d) Modularity
5) How access specifiers in Class helps in Abstraction?
a) They does not helps in any way
b) They allows us to show only required things to outer world
c) They help in keeping things together d) Abstraction concept is not used in classes
6) C++ is ______________
a) procedural programming language b) object oriented programming language
c) functional programming language
d) Both procedural and object oriented programming language
7) What is this operator called( ? : )
a) conditional b) relational c) casting operator d) unrelational
8) Which of the following is important in a function?
a) Return type b) Function name c) Both return type and function name
d) The return type, function name and parameter list
9) Pick out the other definition of objects.
a) member of the class b) associate of the class c) attribute of the class d) Instance of the class
10) How many objects can present in a single class?
a) 1 b) 2 c) 3 d) as many as possible
10 X 1/2=10