STD-12 Computer Textbook Solution CH-06 Object Oriented Concepts

1. In Object-oriented methodology, the focus in on which of the following entities?
(A) Data         
(B) Functions            
(C) Object             
(D) All of these

2. Which of the following best suits to Java?
(A) A procedural programming language     
(B) An Object-oriented programming language
(C) A Query language                 
(D) All of these

3. Which of the following is used to distinguish objects from each other?
(A) Attributes     
(B) State            
(C) Behavior            
(D) All of these

4. Which of the following is used to define common features of similar objects?
(A) Class         
(B) Object            
(C) Methods         
(D) All of these

5. Which of the following is not a visibility symbol?
(A) ~             
(B) *                
(C) #                 
(D) –

6. Which of the following is provided using encapsulation?
(A) Data protection                    
(B) Data sharing
(C) Separation of data and methods        
(D) All of these

7. Which of the following is enabled by data abstraction?
(A) Data protection
(B) Data hiding
(C) To hide implementation details of method manipulating the data
(D) All of these

8. With which of the following options polymorphism cannot be achieved?
(A) Method overloading                
(B) Operator overloading
(C) Data hiding                     
(D) All of these

9. An aggregation model refers to which of the following relationships?
(A) ‘is –a’ relationship             
(B) ‘is – like’ relationship
(C) ‘a – part – of’ relationship             
(D) All of these

10. An inheritance model refers to which of the following relationships?
(A) ‘is –a’ relationship                
(B) ‘has-a’ relationship
(C) ‘a – part – of’ relationship              
(D) All of these

11. In class diagram, composition is represented using which of the following symbols?
(A) Empty diamond symbol            
(B) Filled diamond symbol
(C) Empty triangle symbol                 
(D) All of these

Manhar Rakholiya

I dont have tell them who am I, They already know me.

0 comments: