CDAC Recruitment Exams

1The 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

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

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

4. An object has _____
State
Behaviour
Identity
All of these options

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

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

7. In object orientated programming a class of objects can _____________ properties from another class of objects
utilize
borrow
inherit
adapt

8. Contracts are not meant to be used in cases of _______
Composition
`has-a` relationship
`is-a` relationship
Both Composition and `has-a` relationship

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

11. ______ 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

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

13. Car contains a steering wheel is example of ________
Composition
Association
Composition and Association
None of these options

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

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

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

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

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

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

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

31. Which of the following is an acceptable schedule starting from Monday to Friday?
L, M, N, O, P= 5 and 4 >= z >= 3
1. x < z
2. x > y
3. x + z <= y
1 only
2 only
3 only
1 and 3 only
39. The solution of the equation 4 - 5(2y + 4) = 4 is
-2/5
8
4
-2
40. When x5 + 1 is divided by (x - 2), the remainder is
15
17
31
33
41. How many terms of the series -9 , -6 , -3 ,.........must be taken such that the sum may be 66?
11
13
9
ans10
42. The side of a rectangle are whole numbers. What must their lengths be for the perimeter for the rectangle to be numerically equal to its area?
3 and 6
4 and 5
4 and 6
5 and 5

43. A path 7 metres wide surrounds a circular lawn whose diameter is 252m.What is the area of path?
5698 sq.mtrs.
5000 sq.mtrs.
5500 sq.mtrs.
None of these

44. If the negative of the sum of two consecutive odd numbers is less than -35, which of the following may be one of the numbers?
18
16
15
13

45. What is the perimeter of a rectangle that is twice as long as it is wide and has the same area as a circle of diameter 8?
8(P)1/2
8P
12(2P)1/2
12P

46. Towns A and C are connected by a straight highway which is 60 miles long. The straight line distance between town A and town B is 50 miles, and the straight line distance from town B to town C is 50 miles. How many miles is it from town B to the point on the highway connecting town A and C which is closest to town B?
30
40
50
60

48. A batsman played 17 innings during a season and he was not out. The score of 85 improves his average by 3 runs in the 17th innings. His average score after 16th innings is
37
35
34
36

49. If paper costs 1 paisa per sheet, and a buyer gets a 2% discount on all the paper he buys after the first 1000 sheets, how much will it costs to buy 5000 sheets of paper?
Rs 49.30
Rs 50.00
Rs 39.20
Rs 49.20

50. The income of a broker remains unchanged though the rate of commission is increased from 4% to 5%. The percentage of slump in business is 8%
1%
20%
80%

51. There are 4 quarts in a gallon. A gallon of motor oil sells for Rs.12 and a quart of the same oil sells for Rs.5. The owner of a rental agency has 6 machines and each machine needs 5 quarts of oil. What is the minimum amount of money she must spend to purchase enough oil ?
Rs.84
Rs.94
Rs.96
Rs.102

52. A truck departed from Newton at 11:53a.m. and arrived in Far City,240 miles away, at 4:41 p.m. on the same day. What was the approximate average speed of the truck on this trip?
16/1,200 MPH
40/288 MPH
1,494/240 MPH
50 MPH

53. A girl rode her bicycle from home to school, a distance of 15 miles, at an average speed of 15 miles per hour. She returned home from school by walking at an average speed of 5 miles per hour. What was her average speed for the round trip if she took the same route in both directions?
7.5 miles per hour
10 miles per hour
12.5 miles per hour
13 miles per hour

54. A is thrice as good a workman as B. If the time taken by B to do piece of works exceeds that taken by A by 8 days. In how many days A does the work.
8
4
12
10

55. The population of a town was 54,000 in the last census. It has increased 2/3 since then. Its present population is
18,000
36,000
72,000
90,000

56. One hundred job applicants show up in response to a classified ad.If 60 percent of them are female and if 3/4 of the female applicants are willing to relocate if the job demands it, how many are not willing to relocate?
55
45
15
It cannot be determined from the information given

57. Mr. Smith drove at an average speed of 50mph for the first two hours of his trip. For the next three hours, he averaged 20 mph. What was Mr. Smith`s average speed for the five-hour trip ?
20 mph
32 mph
35 mph
38 mph

58. A postal truck leaves its station and heads for Chicago, averaging 40mph. An error in the mailing schedule is spotted and 24 minutes after the truck leaves, a car is sent to overtake the truck. If the car averages 50mph, how long will it take to catch the postal truck?
1.6 hours
3 hours
2 hours
1.5 hours

59. The length breadth and height of a cuboid are in the ratio 1 : 2 :3. The length, breadth and height of the cuboid are increased by 100%, 200% and 200% respectively. Then the increase in the volume of the cuboid is
5 times
6 times
12 times
17 times

60. An Automobile covers the distance between two cities at a speed of 60km. per hour and on the return journey it covers at a speed of 40 km. per hour. Find the average speed.
60
50
48
55

61. A man buys 200 shares (par value of Rs.10) of a company, which pays 12% per annum as dividend, at such a price he gets 15% on his money. Find the market value(app.) of a share.
Rs. 9
Rs. 12
Rs. 8
Rs. 7.50
62. An old picture has dimensions 33 inches by 24 inches. What one length must be cut from each dimension so that the ratio of the shorter side to the longer side is 2:3?
2 inches
6 inches
9 inches
10 1/2 inches
63. Hiralal earned a profit of Rs. 300 by selling 100 kg of mixture of A and B types of rice at a total price of Rs. 1100. What was the proportion of A and B types of rice in the mixture if the cost prices of A and B types of rice are Rs. 10 and Rs. 5 per kg respectively ?
3 : 2
2 : 5
2 : 773
5 : 2
64. A fraction has a value of 2/5. If the numerator is decreased by 2 and the denominator increased by 1, then the resulting fraction is 1/4.What is the value of the numerator of the original fraction ?
5
6
7
8