Monday, November 14, 2011

(Attock VU Group) Cs304 First Quiz

CS304

First Quiz

Time 9.30 PM

Dated 14-11-2011

Solved by Asad And-

bc100400662asad@gmail.com

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 


Storing data and functions in a single unit (class). Data cannot be accessible to the outside world and only those functions which are stored in the class can access it 
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 


Using encapsulation we can achieve 
Select correct option: 
Information hiding 
Least interdependencies among modules 
Implementation independence 
All of given options 








Zindagi mein 2 Logo ka buhat khayal rahkoooo

Ist woh jiss ney tumhari jeet ke Liye buhat kuch hara hoo (Father)

2nd woh jiss ko tum ney har dukh me pukaara hoo (Mother)

Regards, 
Umair Saulat

--
█████████████████████████████████████████████████
██████████████████ Basic Group Rules ███████████████████
Immoral & Rudish talk, Earning program links, Cell number for friendship purpose, Websites/Groups Links, Adult contents, Criticize-able Islamic stuff, Spreading disruption, Spamming are strictly prohibited and banned in group.
█████████████████████████████████████████████████
█████████████████████████████████████████████████
 
Follow these detailed Group Rules, otherwise you will be banned at any time.
https://docs.google.com/document/d/1YJxA8x3_U7C1lRc0EXfLrJpco4A1XkB1vDxOTqOd3Jg/edit?hl=en&authkey=CNDy9tkJ
 
Group Email Address:
Attock-VU-Group@Googlegroups.Com
 
Join group by sending a blank email from University ID at:
Attock-VU-Group+Subscribe@Googlegroups.Com
 
████████████ Click here to Join this group at Facebook:████████████
♥ ♥ ♥ https://www.facebook.com/home.php?sk=group_111877855568034 ♥ ♥ ♥
█████████████████████████████████████████████████

No comments:

Post a Comment