C-DAC Question Paper on Programming Concepts 2020

C-DAC Question Paper on Programming Concepts 2020C-DAC Question Paper on Programming Concepts 2020.

C-DAC Question Paper on Programming Concepts 2020 Programming 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

81. SEDULOUS :
rampant
esoteric
morose
indolent

82. SUCCULENT :
ordinary
tasteless
inexpensive
invigorating

83. DORMANT :
authoritative
elastic
active
uninteresting

84. COURT :
reject
uncover
infect
subject

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

85. INTIMIDATE : FEAR ::
Maintain : satisfaction
Astonish : wonder
Soothe : concern
Lion : tame

Directions:- Pick out the best choice which can complete the incomplete stem correctly and meaningfully

86. It was an extremely pleasant surprise for the hutment-dweller when the Government officials told him that__________
he had to vacate hutment which he had been unauthorized occupying
he had been gifted with a furnished apartment in a multistoried building
he would be arrested for wrongly encroaching on the pavement outside his dwelling
they would not accede to his request

87. In the closing days of the civil War, President Abraham Lincoln was planning to graciously welcome the defeated confederate states back into the Union. After Lincoln was assassinated, however, the “Radical Republicans” in Congress imposed martial law in the South, creating resentment that caused problems well into this century. Had Lincoln lived, the history of regional conflict in 20th century America would have been considerably different. All of the following assumptions underline the argument above EXCEPT The imposition of martial law in the South was primarily responsible for the resentment felt in the South Had he lived, lincoln would have treated hte defeated South as he had planned Lincoln would have been able to prevent the Radical Republicans in Congress from imposing martial law in the South Factors other than the imposition of martial law in the South affected the history of regional conflicts in 20th century America

88. A politician wrote the following: “I realize there are shortcomings to the questionaire method. However, since I send a copy of the quetionnaire to every home in the district, I believe the results are quite representative…. I think the numbers received are so large that it is quite accurate even though the survey is not done scientifically” Most people who received the questionnaire have replied Most people in the district live in homes. the questionnaire method of data collection is unscientific A large, absolute number of replies is synonymous with accuracy

89. A worldwide ban on the production of certain ozone-destroying chemicals would provide only an illusion of protection. Quantities of such chemicals, already produced, exist as coolants in millions of refrigerators. When they reach the ozone layer in the atmosphere, their action cannot be halted. So there is no way to prevent these chemicals from damaging the ozone layer further. Which of the following, if true, most seriously weakens the argument above? It is impossible to measure with accuracy the quantity of ozone-destroying chemicals that exist as coolants in refrigerators. In modern societies, refrigeration of food is necessary to prevent unhealthy and potentially life-threatening conditions. Even if people should give up the use of refrigerators, the coolants already in existing refrigerators are a threat to atmospheric ozone. The coolants in refrigerators can be fully recovered at the end of the useful life of the refrigerators and reused

90. Every town with a pool hall has its share of unsavory characters.This is because the pool hall attracts gamblers and all gamblers are unsavory. Which of the following, if true cannot be inferred from the above?
All gamblers are unsavory
All pool halls attract gamblers
Every town has unsavory characters
All gamblers are attracted by pool halls

Directions:- The workweek in a small business is a five-day workweek running from Monday through Friday. In each workweek, activities L,M,N,O and P must all be done.The work is subject to the following restrictions:

L must be done earlier in the week than O and earlier than P
M must be done earlier in the week than N and earlier than O

No more than one of the activities can ever be done on any one day

 

Similar Pages…