CS304 VU Solved Quiz No. 1 Spring 2012

Question # 1 of 10 ( Start time: 08:10:08 AM ) Total Marks: 1
Three main characteristics of “Object Oriented programming” are,
Select correct option:

Encapsulation,dynamic binding,polymarhpishm
polymorphism, overloading, overriding
encapsulation, inheritance, dynamic binding
encapsulation, inheritance, polymorphism
Question # 2 of 10 ( Start time: 08:11:27 AM ) Total Marks: 1
The technique in which we visualize our programming problems according to real life’s problems is called
Select correct option:

structure programming
object oriented programming
procedural programming
none of the above
Question # 3 of 10 ( Start time: 08:12:17 AM ) Total Marks: 1
The concept of derived classes is involved in
Select correct option:

inheritance
encapsulation
structure
array

Which of the following are benefits of encapsulation?
Select correct option:

All variables can be manipulated as Objects instead of primitives
by making all variables protected they are protected from accidental corruption
The implementation of a class can be changed without breaking code that uses it
Making all methods protected prevents accidental corruption of data



Constructor have same name as the class name.
Select correct option:

True
False

Which of the following is the way to extract common behaviour and attributes from the given classes and make a separate class of those common behaviours and attributes?
Select correct option:

Generalization
Sub-typing
Specialization
Extension

We can allocate dynamic memory allocation through___________ key word.
Select correct option:

Static
Global
New
Const

Question # 9 of 10 ( Start time: 08:19:22 AM ) Total Marks: 1
Main characteristic of information hiding is:
Select correct option:

Limited access
Unlimited access
Keep the model interesting
Keep the model simple
Question # 10 of 10 ( Start time: 08:20:38 AM ) Total Marks: 1
If some of objects exhibit identical characteristics, then they belong to:
Select correct option:

Different classes
Multiple classes
Same class
None of the given

DOWNLOAD SOLUTION HERE
loading...