CDAC
CDAC Placement Question Paper
Programmin Concepts
61. The ability to reuse objects already defined, perhaps for a different purpose, with modification appropriate to the new purpose, is referred to as
Information hiding
Inheritance
Redefinition
Overloading
62. The term given to the process of hiding all the details of an object that do not contribute to its essential characteristics is called _____________
data-hiding
packaging
encapsulation
abstraction
63.Object Oriented Technology`s ______ feature means that a small change in user requirements should not require large changes to be made to the system
Abstraction
Modularity
Encapsulation
Modelling
64. An object has _____
State
Behaviour
Identity
All of these options
65. Which of the following is true:
Class is an object of an object
Class is meta class
Class cannot have zero instances
None of these options
66. If a derived class object is explicitly destroyed by applying the delete operator to a base-class pointer to the object, the _____ function is automatically called on the object Derived-class destructor
Base-class destructor
Base-class constructor
Derived-class constructor
67. In object orientated programming a class of objects can _____________ properties from another class of objects
utilize
borrow
inherit
adapt
68. Contracts are not meant to be used in cases of _______
Composition
`has-a` relationship
`is-a` relationship
Both Composition and `has-a` relationship
69. Inheritance through interface is called ________
Implementation inheritance
Definition inheritance
Delegation inheritance
Interface inheritance model
70. When a class uses dynamic memory, what member functions should be provided by the class?
An overloaded assignment operator
The copy constructor
A destructor
All of these options
71. ______ means that both the data and the methods which may access it are defined together in the same unit
Data hiding
Encapsulation
Data Binding
None of these options
72. The term given to the process of hiding all the details of an object that do not contribute to its essential characteristics is called _____________
data-hiding
packaging
encapsulation
grouping
73. Car contains a steering wheel is example of ________
Composition
Association
Composition and Association
None of these options
74. Can two classes contain member functions with the same name?
No
Yes, but only if the two classes have the same name
Yes, but only if the main program does not declare both kinds
Yes, this is always allowed
75. A contract is implemented through
Class
Interface
Abstract Class
Interface and Abstract Class
English Language Ability
Directions:- The given pair of words contains a specific relationship to each other. Select the best pair of choices which expresses the same relationship as the given
76. IGNOMINY : DISLOYALTY ::
fame : heroism
death : victory
derelict : fool
martyr : man
77. EXPLOSION : DEBRIS ::
flood : water
famine : food
fire : ashes
disease : germ
78. Bland : Piquant ::
inane : relevant
charlatan : genuine
slavish : servile
terse : serious
79. NEGLIGENT : REQUIREMENT::
remiss : duty
cogent :argument
easy : hard
careful : position
Directions:- Choose the best word, which is most opposite in the meaning to the given word
80. FETTER :
delay
stretch
comply
thrive