1 Which of the following programming languages does not
support destructors?
*C++
*Java
*Ada
*None is correct
*C++
*Java
*Ada
*None is correct
2 Which of the following is a special method that are used to
initialize a new object of a class?
*Objects
*Modularity
*Constructors
*None is correct
*Objects
*Modularity
*Constructors
*None is correct
3 Which of the following is the act of creating an object of a
class?
*Object Reuse
*Modularity
*Object Instantiation
*None is correct
*Object Reuse
*Modularity
*Object Instantiation
*None is correct
4 Which of the following class makes software development
an easy task?
*The association property
*The association module
*The Object property
*The module property
*The association property
*The association module
*The Object property
*The module property
5 What is the attribute that makes a constructor look like a
method but differs from a method?
*A constructor must not have the same name as the class
*A constructor must have the same name as the class
*A constructor has return type
*None is correct
*A constructor must not have the same name as the class
*A constructor must have the same name as the class
*A constructor has return type
*None is correct
6 What is the only difference between a static method and
normal methods?
*Normal Keyword
*Static keyword
*Dynamic Keyword
*Object keywords
*Normal Keyword
*Static keyword
*Dynamic Keyword
*Object keywords
7 Which of the following options allows a new class to be
created by using an existing class’s members and
manipulating them with new or modified capabilities?
*Inheritance
*A virtual machine
*Compozsition
*Encapusulation
*Inheritance
*A virtual machine
*Compozsition
*Encapusulation
8 Which of the following is the act of designing a class in a
way that the objects of the class behave in different ways?
*Data hiding
*Composition
*Polymorphism
*Constructors
*Data hiding
*Composition
*Polymorphism
*Constructors
9 Which of the options is a method that does not provide
implementations for its action?
*A data hiding
*An abstract
*A Destructor
*An Inheritance
*A data hiding
*An abstract
*A Destructor
*An Inheritance
10 Which of the following options is used for assigning
common functionality to possible unrelated classes?
*Data Hiding
*Interfaces
*An abstract
*An Inheritance
*Data Hiding
*Interfaces
*An abstract
*An Inheritance
11 Which of the following options is not the advantage of
software reusability?
*Programmers build more dependable and efficient systems because existing classes and components often have gone through extensive testing
*debugging and performance tuning
*It saves programmers the time and effort they would have used in re-inventing the wheels
*None is correct
*Programmers build more dependable and efficient systems because existing classes and components often have gone through extensive testing
*debugging and performance tuning
*It saves programmers the time and effort they would have used in re-inventing the wheels
*None is correct
12 Which of the following options is to delete unused objects
from the memory?
*Constructors
*Destructors
*Modularity
*None is correct
*Constructors
*Destructors
*Modularity
*None is correct
13 Which of the following classes makes it possible for future
software systems to reuse the class?
*Holding Software
*Application Software
*manufacturer's software
*Packaging software
*Holding Software
*Application Software
*manufacturer's software
*Packaging software
14 Which of the following are two major aspects of Object
Oriented Programming that promotes software reuse?
*Modularity and Abstraction
*Inheritance and Polymorphism
*Encapsulation and overriding
*None is correct
*Modularity and Abstraction
*Inheritance and Polymorphism
*Encapsulation and overriding
*None is correct
15 Which of the following is referred to when Related classes
are grouped into packages?
*The Java Class Library
*The Java Application Programming Interface
*All the options
*None is correct
*The Java Class Library
*The Java Application Programming Interface
*All the options
*None is correct
16 Which of the following options is the factor that affects the
future of software development?
*Software Packaging
*Software Application
*Software reuse
*None is correct
*Software Packaging
*Software Application
*Software reuse
*None is correct
17 which of the options is the fundamental building block of
code when creating object-oriented software?
*A code
*A class
*A Modlue
*An object
*A code
*A class
*A Modlue
*An object
18 The mechanism for returning memory to the operating
system when it is no longer needed by an object is called?
*Constructors
*Garbage collection
*Destructors
*Over riding
*Constructors
*Garbage collection
*Destructors
*Over riding
19 Which of the following options is the abstract concept for
an object that is created at design-time by the programmer?
*The Code
*The Module
*The Object
*The class
*The Code
*The Module
*The Object
*The class
20 What is another name for static method?
*Object Method
*Modular Method
*Class Method
*None is correct
*Object Method
*Modular Method
*Class Method
*None is correct
Comments
Post a Comment
DROP YOUR COMMENTS HERE.....