CS304
First Quiz
Time 9.30 PM
Dated 14-11-2011
Solved by Asad And-
We can choose any arbitrary name for a constructor.
Select correct option:
True
False
Which one is not the main feature of object oriented programming?
Select correct option:
Classes and Objects
Exception handling
Inheritance
Polymorphism
The dot operator (or class member access operator) connects the following two entities (reading from left to right):
Select correct option:
A class member and a class object
A class object and a class
A class and a member of that class
A class object and a member of that class
If only one behaviour of a derived class is incompatible with base class, then it is:
Select correct option:
Generalization
Specialization
Extension
Inheritance
Select correct option:
Inheritance
Abstraction
Polymorphism
Encapsulation
If MyClass has a destructor what is the destructor named?
Select correct option:
MyClass
~MyClass
My~Class
MyClass~
A real world object can be transformed into programming entity by defining its respective
Select correct option:
Class
Function
Only states
Only behaviour
Which of the following features of OOP is used to deal with only relevant details?
Select correct option:
Abstraction
Information hiding
Object
Inheritance
In class, attributes and behaviour is represented by:
Select correct option:
Member functions, data members
Member functions, scope of data members
Data members, member functions
None of the given
Select correct option:
Information hiding
Least interdependencies among modules
Implementation independence
All of given options
2nd woh jiss ko tum ney har dukh me pukaara hoo (Mother)
--
You received this message because you are subscribed to the Google Groups "Pak Youth" group.
To post to this group, send email to pak-youth@googlegroups.com.
To unsubscribe from this group, send email to pak-youth+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pak-youth?hl=en.
No comments:
Post a Comment