PROMOTE MY BLOG: JUST CLICK BELOW BUTTON

Search Any Paper On This Blog

Monday, April 23, 2012

::: vuaskari.com ::: Today Cs304 online Quizz

1.Using encapsulation we can achieve
Select correct option:

Information hiding
Least interdependencies among modules
Implementation independence
All of given options



2.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



 
Zahid: Question # 3 of 10 ( Start time: 12:54:44 PM ) Total Marks: 1
Data items in a class must be private.
Select correct option:

True
False
 
Zahid: The ______ keyword tells the compiler to substitute the code within the function definition for every instance of a function call
Select correct option:

virtual
inline
instance
none of the given
 
Zahid: Objects communicate each other through ________
Select correct option:

Messages
Data members
Both of above
None of the above



 
Zahid: messeges hy yar
Which one is not the main feature of object oriented programming?
Select correct option:

Classes and Objects
Exception handling
Inheritance
Polymorphism



 
Zahid: Public member function exposed by a class is called surface
Select correct option:

True
False



 
Zahid: If class A supports all the operations of class B, then class A is:
Select correct option:

Class A is behaviourally compatible with class B
Class A is behaviourally incompatible with class B
Class A is independent of class B

None of the given
Sent at 12:58 PM on Monday
 
A fan has wings". Which type of relation exists between fan and wings in this sentence?
Select correct option:

Aggregation
Association
Generalization
Composition



 
Zahid: Which is true about sub-typing in case of inheritance?
Select correct option:

In sub-typing a new class is derived from existing where the derived class shows some
extended behavior of its parent.

In sub-typing a new class is derived from existing which is a restricted form of its parent class.
In sub-typing a class is derived from existing one where the derived class should be abstract.

None of the given.


--
       M.Zahid Adnan
                      MIT 4th Semester
                               
             
    cs304,cs410,cs502,cs506,cs604,mgt501,mgt602,
                                                                                                   

--
We say, "Be one as Pakistani Nation and grow up for Pakistan's Future". Wish you all the best. Join www.vuaskari.com,
To post to this group, send email to vuaskari_com@googlegroups.com
Visit these groups:
This (Main) Group:http://groups.google.com/group/vuaskari_com?hl=en?hl=en
MIT/MCS Group: http://groups.google.com/group/vu_askarimit?hl=en?hl=en
HRM Group: http://groups.google.com/group/askari_hrm?hl=en?hl=en
Banking Group: http://groups.google.com/group/askari_banking?hl=en?hl=en
Management: https://groups.google.com/group/vuaskari_mgt?hl=en
Marketing: https://groups.google.com/group/vuaskari_mkt?hl=en
MIS Group: http://groups.google.com/group/askari_mis?hl=en

No comments:

Post a Comment

PLEASE COMMENT ABOUT YOUR VISIT AND MY SITE

Note: Only a member of this blog may post a comment.