Coding | Mcqs | Multiple choice questions | Informative | Computer Science | Engineering | Aptitude | Quants | Verbal

INFEED

Mock Test 7 | Daily Test | 5 sep

 Numerical Ability


1.

If a pipe can fill the tank in 6 hrs but unfortunately there was a leak in the tank due to which it took 30
more minutes . Now if the tank was full how much time will it take to get emptied through the leak?
39
72
78
70


2.

Fill dirt or fill soil is usually the sub-soil removed from an excavation site and is used to level a place or
create artificial mounds. If the average density of sub—soil removed from a site is 3gm/cu cm and it
weight 400 kg. How many hemispherical pits each of volume 240 cubic cm, can this sub-soil fill?
555
277
556
554

 

3.

If Valentine’s day of 2005 was celebrated on a Monday. What day is Feb 14th, 2010 ?
Monday
Tuesday
Wednesday
Sunday
 

 

4.

In the year 2002, Britain was reported to have had 4.3m closed-circuit televisions (CCTV) cameras –
one for every 14 people in the country. This scrutiny is supposed to deter and detect crime. In one
criminal case, the police interrogate two suspects. The ratio between the ages of the suspects is 6:5
and the sum of their ages is 66 years. After how many years will the ratio be 8:7?
11
12
6
7

 

5.

How many times digit 9 will appear in the integers from 1 to 1000?
330
300
290
360

 

6.

There are three numbers in A.P. whose sum is 36 and the product is 1680. Find the numbers.
12, 14, 16
10, 12, 13
12, 15,17
10, 12, 14

 

7.

The New York Public library is one of the world’s greatest repositories of books and journals. It has a
beautiful reading room facing Manhattan’s famous Fifth Avenue. In the reading rooms are 10 reading
spots. Each reading spot consists of a round table with 4 chairs placed around it. There are some
readers such that in each occupied reading spot there are different numbers of readers. If in all there
are 10 readers, how many reading spots are empty?
6
4
5
None

 

8.

The amounts for compound interest on a certain sum at a certain rate of interest after the second and
third year are Rs. 19860 and Rs. 21846, respectively. What is the rate of interest?
10%
20%
30%
40%

 

9.

A train crosses a 50 m long platform in 15 s and a porter standing on the platform in 10 s. What is the
speed of the train?
13 m/s
21 m/s
10 m/s
18 m/s

 

10.

A pipe normally fills a tank in 12 h, but, due to a leak, it takes 8 h more. If the tank is full, how many hours
will the leak take to empty it?
49h
55h
30h
27h

 

11.

It is the class with the seating arrangement in 4 rows and 8 columns. When the teacher says ’start’ the
girl who is sitting in first row and first column will say 1, then the next girl sitting behind her will say 4, the
next girl sitting behind that girl will say 7, in a particular order each girl is telling a number, the following
girls told 10, 13 next turn is yours what will you say
14
16
20
17

 

12.

Joe counts 48 heads and 134 legs among the chicken and dogs in his farm. How many dogs does he
have?
29
21
18
19

 

13.

 Two circles are placed in an equilateral triangle as shown in the figure. What is the ratio of the area of
the smaller circle to that of the equilateral triangle?
Ï€ : 36√3
Ï€ : 18√3
Ï€ : 27√3

Ï€ : 42√3 



14.

A group of friends Tom, Tim, Dick, Diana, Harry, and Harriet go out to a fair three hundred meters from
the McDonalds which is five Km away. They see a weighing machine and decide to have some fun.
However the girls refuse to step on the weighing machine. So Tom, Dick and harry, weigh themselves in a
particular order. First Tom, Dick, and Harry weigh themselves individually and then tom and Dick, Dick
and Harry, Tom and Harry and then Tom, Dick and harry together respectively. The recorded weight for
the last measure is 158 kgs. The average of all the 7 measures is
112.86
52.67
90.29
67.7

 

15.

Ratheas travels at 40 km/h in his bike from Chennai to Pondicherry and returns at 80 km/h. Find his
average speed.
58.33 kmph
53.33 kmph
57.33 kmph
43.33 kmph
 

 

16.

A shopkeeper sells two items at the same price. If he sells one of them at a profit of 40% and the other
at a loss of 40%, find the percentage profit/loss.
12
14
16
18
 

 

17.

Determine the distance between the x-intercept and the z-intercept of the plane whose equation is
2x+9y-3z=18
6.32
10.82
3
5
 

 

18.

A game is played between 2 players and one player is declared as winner. All the winners from first
round, played in the second round. All the winners from second round played in third round and so on. If
8 rounds were played to declare only one player as winner, how many players played in first round?
256
128
255
127
 

 

19.

Mr. X decides to travel from Delhi to Gurgaon at a uniform speed and decides to reach Gurgaon after T
hr. After 30 km, there is some engine malfunction and the speed of the car becomes 4/5th of the
original speed. So, he travels the rest of the distance at a constant speed 4/5th of the original speed
and reaches Gurgaon 45 minutes late. Had the same thing happened after he travelled 48 km, he would
have reached only 36 minutes late. What is the distance between Delhi and Gurgaon?
90
120
40
20

 

20.

1/3 rd of a number is 3 more than the 1/6th of the same number, then find the number?
24
20
12
18
 

21..

If 20 men take 15 days to complete a task, how many days will 30 men take to finish the same task?
10 days
12 days
14 days
16 days

 

22.

When 3 is added to the numerator and denominator of a fraction P/Q, it becomes 4/5. If Q - P = 2, find
the sum of P and Q.
10
12
14
16

 

23.

The letters of the word ‘MISSISSIPPI’ are rearranged. Find the probability that all the ‘S’ occur together.
4/165
6/165
7/165
8/165
 

 

24.

A family consists of father, mother, two sons and the youngest daughter. The age of first son and
daughter are in the ratio 3:1. The mother is 3.5 times as old as the second son. The age of the second
son is 2/3 of the age of the first son. The age of the youngest daughter is 5 years. What is the age of the
mother?
40
35
20
15
 

 

25.

What will be the remainder when (1234567890123456789)24 is divided by 2187?
3
2
1
0

 

26.

Two distinct numbers are in the ratio X : Y. When 3 is added to the numerator and 1 is added to the
denominator, the ratio gets changed to 2 : 1. The sum of X and Y could be ___.
4
5
6
7
 

----------------------------------------------------------------------------------------------------------

 Reasoning Ability

 

1.

Directions: The following pie chart shows the amount of subscriptions generated for India Bonds from
different categories of investors.
What percentage of the total investment is coming from either FIIs or NRIs?
33%
11%
44%

22%

 

2.

Introducing Karina, Saif said, ‘She is the wife of my father’s only son’. How is Karina related to Saif?
Daughter
Niece
Mother
Wife
Sister

 

3.

Choose from the following:
A. If (a) alone is sufficient to answer the question.
B. If (b) alone is sufficient to answer the question.
C. If (a) and (b) together are necessary to answer the question.
D. If either (a) or (b) is sufficient to answer the question.
E. If neither (a) nor (b) is sufficient to answer the question.
How many children does Y have?
Statements:
(a) A is the only daughter of X, who is the wife of Y.
(b) B and C are brothers of Y.
A
E

B

C

D

 

4.

Choose from the following:
A. If (a) alone is sufficient to answer the question.
B. If (b) alone is sufficient to answer the question.
C. If (a) and (b) together are necessary to answer the question.
D. If either (a) or (b) is sufficient to answer the question.
E. If neither (a) nor (b) is sufficient to answer the question.
How much was the total sale of the company?
Statements:
(a) The company sold 5000 units of products A each costing Rs. 35.
(b) This company has no other product line.
A
E
B

C

D

 

5.

The following questions are based on the following information: There is a cuboid whose dimensions
are 4 x 3 x 3 cm. The opposite faces of dimensions 4 x 3 are coloured black. The opposite faces of
other dimensions 4 x 3 are coloured white. The opposite faces of dimensions 3 x 3 are coloured blue.
Now the cuboid is cut into smaller cubes of side 1 cm. How many small cubes have 3 faces coloured?
24
12
20
16
8

 

6.

Find the missing term.
24 : 10 :: 46 :_ ?
16
21
24
27

 

7.

Directions: Assume the given statements to be true, even if they seem to be at variance with
commonly known facts and mark your answer as
A. If only conclusion i follows.
B. If only conclusion ii follows.
C. If both the conclusions follow.
D. If neither i nor ii follow.
E. If either i or ii follows.
Statements:
Some doctors are surgeons.
Some surgeons are physicist.
Conclusions:
i. Some doctors are physicist.
ii. Some physicists are doctors.

 

 

A

E

B

C

D

 

 

8.

Paul is facing South-East. He turns 270° in anti-clockwise direction and then 180° in the clockwise
direction. Which direction is he facing now?
West
South
North - East
North
South - East

 


9.

Directions: Assume the given statements to be true, even if they seem to be at variance with
commonly known facts and mark your answer as
A. If only conclusion i follows.
B. If only conclusion ii follows.
C. If both the conclusions follow.
D. If neither i nor ii follow.
E. If either i or ii follows.
Statements:
All goats are drunk.
Some drunk are jerks
Conclusions:
i. All goats are lambs.
ii. Some lambs are Milch.
 

A

E

B

C

D

 

10.

In a mall, Sharapova is walking with her children and there she met Sampres and Agappi. Sampres
introduces Agappi to those children as ‘this person is the daughter of your mother’s father’s mother
and is my father’s only daughter’. How are Sampres and Agappi related to Sharapova?
Uncle, Aunt
None of these
Brother, Sister
Mother, Father
Uncle, Sister
 

 

11.

A sum was put at simple interest at a certain rate for 4 years. Had it been put at 8% higher rate, it would
have fetched Rs. 768 more. Find the sum.
2400
3248
2964
3462

 

12.

In a family there are many children in which each boy has as many brothers as one third of one less
than the number of sisters she has but each girl has sisters which are twice the number of brothers
she has. Then how many sisters and brothers are there in the family?
5, 2
None of these
9, 6
6, 3
7, 3

 

13.

Choose from the following:
A. If (a) alone is sufficient to answer the question.
B. If (b) alone is sufficient to answer the question.
C. If (a) and (b) together are necessary to answer the question.
D. If either (a) or (b) is sufficient to answer the question.
E. If neither (a) nor (b) is sufficient to answer the question.
Is PQRS a square?
Statements:
(a) PQ = RS
(b) PQR = 90°
A
E
B

C

D

 

14.

Which year after 1949 will have the same calendar as that of the year 1949?
1954
1957
1955
1953
1956

 

15.

If CHENNAI is coded as EAEAEAEA in a certain language, then how is COIMBATORE coded in the same
language?
ARIARI
IARIAR
RRIIAA
IARARI
 

 

16.

Directions: The following pie chart shows the amount of subscriptions generated for India Bonds from
different categories of investors.
If the total investment other than by FII and corporate houses is Rs.335,000 crores, then the
investment by NRIs and offshore funds will be __. (approximately)
Rs. 274,100
Can’t be determined

 Rs. 285,000
Rs. 293,000
Rs. 264,000



17.

At what time between 5 and 6’o clock will the hands of a clock be together?
27 3/11 past 5
12 3/4 past 5
20 11/10 past 5
21 10/11 past 5
22 10/11 past 5
 

 

18.

Seven candidates
– Hari, Sam, Naveen, Sajitha, Nikil, Liviya and Suji – are to be interviewed for selection as trainee officers
by different panels – panel I to VII for different companies P, Q, R, S, T, U and V, not necessarily in same
order. Naveen is interviewed by panel IV for company P. Sam is interviewed by panel III but not for
company R or S. Hari is interviewed for company Q but not by panel I or II. Nikil is interviewed by panel
VI for company T. Panel VII conducts the interview for company U. Sajitha is interviewed by panel I but
not for company R. Panel II does not interview Liviya. Sajitha is interviewed for which company?
P
Q
V
U

 

19.

Find the missing term.
MQAD : NRBE :: LSWC : ____?
NUYE
PVZF
MTXD
RXYE

 

 

20.

. Directions: Assume the given statements to be true, even if they seem to be at variance with
commonly known facts and mark your answer as
A. If only conclusion i follows.
B. If only conclusion ii follows.
C. If both the conclusions follow.
D. If neither i nor ii follow.
E. If either i or ii follows.
Statements:
All pedestrians are best.
Only Doctors are best.
Conclusions:
i. Some Doctors are pedestrians.
ii. All pedestrians are Doctors.
 

 A
E
B
C
D

 

21.

Read the passage and answer the questions that follow:
Four men Ajay, Bipin, Chetan, Dipak and four women Priya, Quincy, Rita, Shilpa are dancing on a floor in
such a way that they face the centre and form a circle. No two women and no two men are next to each
other. Ajay is to the immediate left of Rita, who is opposite to Quincy. Priya and Quincy have only
Chetan dancing between them. Priya is dancing opposite to Shilpa, who is dancing to the immediate
right of Bipin. Who is the only person dancing between Priya and Rita?
Jay
Ajay
Dipak
Either Dipak or Ajay

 

22.

Dilip starts walking straight towards East. After walking 75 km, he turns to the left and walks 25 m
straight, again he turns to the left and walks a distance of 40 m. How far is he from the starting point
(approximately)?
25 km
60 km
43 km
53 km
40 km

 

23.

Read the passage and answer the questions that follow:
Four men Ajay, Bipin, Chetan, Dipak and four women Priya, Quincy, Rita, Shilpa are dancing on a floor in
such a way that they face the centre and form a circle. No two women and no two men are next to each
other. Ajay is to the immediate left of Rita, who is opposite to Quincy. Priya and Quincy have only
Chetan dancing between them. Priya is dancing opposite to Shilpa, who is dancing to the immediate
right of Bipin. If Bipin is the only person dancing between Rita and Shilpa, then who is opposite to him?
Priya
Dipak
Rita
None of the above
 

 

24.

How much does a watch lose per day if its hands coincide every 64 minutes?
32 8/11 mins
25 mins
36 8/11 mins
90 mins
96 mins

 

25.

Find at what time between 10 and 11 o’clock will the hands of the clock be in the same straight line but
not together.
20 11/10 past 10
12 ¾ past 10
20 12/11 past 10
21 9/11 past 10
22 10/11 past 10

 

26.

The following questions are based on the following information: There is a cuboid whose dimensions
are 4 x 3 x 3 cm. The opposite faces of dimensions 4 x 3 are coloured black. The opposite faces of
other dimensions 4 x 3 are coloured white. The opposite faces of dimensions 3 x 3 are coloured blue.
Now the cuboid is cut into smaller cubes of side 1 cm. How many small cubes will have no face
coloured?
1
12
2
4
8

 

27.

The following questions are based on the following information: There is a cuboid whose dimensions
are 4 x 3 x 3 cm. The opposite faces of dimensions 4 x 3 are coloured black. The opposite faces of
other dimensions 4 x 3 are coloured white. The opposite faces of dimensions 3 x 3 are coloured blue.
Now the cuboid is cut into smaller cubes of side 1 cm. How many small cubes will have only two faces
coloured?
32
None
24
12
16
 

 

28.

'A' walks 1 km East of his house. Then 1 km North, 2 km East, 3 km South and 3 km West. For reaching his
house he will have to walk how much distance?
1 km South
None of these
2 km South
1 km North
2 km North

 

29.

Directions: The following pie chart shows the amount of subscriptions generated for India Bonds from
different categories of investors.
If the investments by NRIs are Rs. 4000 crores, then the investment by corporate houses and FIIs
together is (in crore rupees).
24000
None of these
 24363
25423.4
25653.3


30.

Directions: The following pie chart shows the amount of subscriptions generated for India Bonds from
different categories of investors.
What is the approximate ratio of investment flows into India Bonds from NRIs to corporate houses?
1:4
Can’t be determined
1:3
3:1
4:3

-----------------------------------------------------------------------------------------------------------------------

 

Verbal Ability


1.

Instruction: Rearrange the five sentences A, B, C, D, and E in the proper sequence so as to form a
meaningful paragraph and answer the questions below.
A. Distributors soon grew rich as the demand for products increased.
B. Trade started from person to person but grew to involve different towns in different lands.
C. Eventually, people got a greater variety of things to choose from.
D. People found work in transporting the goods or selling them.
BDAC
DCBA
BCDA
ADBC

 

2.

Instruction: Fill in the blank with the most suitable option.
Since the Romans failed to (1)__ the tribes in Northern Britain, they built a wall in a (2)___ attempt to
(3)__ the natives. After all what wall can (4)___the determined. The wall was no (5)___to the tribe.
Which option suits blank 4?
Deter
Conquer
Circumscribe
Vanquish
 

 

3.

Instruction: Fill in the blank with the most suitable option.
Since the Romans failed to (1)__ the tribes in Northern Britain, they built a wall in a (2)___ attempt to
(3)__ the natives. After all what wall can (4)___the determined. The wall was no (5)___to the tribe.
Which option suits blank 1?
liberate
subjugate
abandon
renounce

 

4.

Instruction: Identify the error(s) in the following sentences.
When choosing a bike/ you often have/ to choose among/ performance and feasibility.
When choosing a bike
You often have
To choose among
Performance and feasibility

 

5.

Instruction: Fill in the blanks with the suitable phrasal verb.
Unemployment and high crime levels often _.
Go along with
Go without
Went off
Go together

 

6.

Instruction: Fill in the blank with the most suitable option.
What would you prefer __ tea, coffee and soft drinks?
Between
Behind
Among
Amid
Behind

 

7.

Instruction: Read the passage and the answer the question given below.
PASSAGE:
One of the main reasons of corruption in elections today is the lure of power which haunts the
politicians so much that they feel no qualms of conscience in adopting any underhand method to
come out successful. The Watergate Scandal in the U.S.A. is an eloquent example to testify to the fact
how even the top level politicians can stoop to the lowest level in order to maintain themselves in
power. Who does not remember how Adolf Hitler rode roughshod over all canons of electoral propriety
to capture power? In India, also the record of the various political parties is not clean. Corruption
thrives in elections because those in the field play on the psychology of the electorate. The voters are
swayed by the tall promises of the candidates to whose machinations they fall an easy prey. They are
also susceptible to fall an easy prey to the adulations of the politicians due to their illiteracy. Besides, in
the representative democracies today and particularly in big countries the constituencies are quite
extensive obviating the possibility of corrupt practices being discovered. Anti-corruption laws are
honored more in their breach than in their observance. Even the code of conduct to be observed by
the parties fighting the elections becomes a dead letter in as much as it is jettisoned out of existence
and thrown unscrupulously over board by the unfair politicians. whose only aim is to maintain them in
the saddle.
Why according to the writer do the voters fall an easy prey to the machinations of the politicians?
They want to sell their votes because of poverty
They are illiterate and do not understand what designs the politicians have at the back of their tall
promises

 They are coward and submit to the threats of physical violence held out by the cronies of the
politicians.
They are totally indifferent to what happens on the political horizon


8.

Instruction: Choose the appropriate modal for each blank.
Rajat ____ smoke when he was in college.
Used to
Might not
Will
Shall
 

 

9.

Instruction: Spot the errors, if any.
(A) The presentation of awards / (B) was being put off / (C) due to the disturbances / (D) in the city. /
(E) no error.
A
E
B
C
D

 

10.

Instruction: Fill in the blank with the most suitable option.
Since the Romans failed to (1)__ the tribes in Northern Britain, they built a wall in a (2)___ attempt to
(3)__ the natives. After all what wall can (4)___the determined. The wall was no (5)___to the tribe.
Which option suits blank 2?
Successful
Unsuccessful
Thoroughgoing
Seemingly overoptimistic

 

11.

Instruction: Read the passage and answer the question given below.
PASSAGE: One of the main reasons of corruption in elections today is the lure of power which haunts
the politicians so much that they feel no qualms of conscience in adopting any underhand method to
come out successful. The Watergate Scandal in the U.S.A. is an eloquent example to testify to the fact
how even the top level politicians can stoop to the lowest level in order to maintain themselves in
power. Who does not remember how Adolf Hitler rode roughshod over all canons of electoral propriety
to capture power? In India, also the record of the various political parties is not clean. Corruption
thrives in elections because those in the field play on the psychology of the electorate. The voters are
swayed by the tall promises of the candidates to whose machinations they fall an easy prey. They are
also susceptible to fall an easy prey to the adulations of the politicians due to their illiteracy. Besides, in
the representative democracies today and particularly in big countries the constituencies are quite
extensive obviating the possibility of corrupt practices being discovered. Anti-corruption laws are
honored more in their breach than in their observance. Even the code of conduct to be observed by
the parties fighting the elections becomes a dead letter in as much as it is jettisoned out of existence
and thrown unscrupulously over board by the unfair politicians whose only aim is to maintain them in
the saddle.
The politicians indulge in corruption in elections nowadays because:
Of lure of power
Morality in it is a discount in every field of life today

Lure of money
Elections can be won only by corrupt means
Corrupt practises in elections go unnoticed

 

 

12.

Instruction: Read the passage and the answer the question given below.
PASSAGE::
One of the main reasons of corruption in elections today is the lure of power which haunts the
politicians so much that they feel no qualms of conscience in adopting any underhand method to
come out successful. The Watergate Scandal in the U.S.A. is an eloquent example to testify to the fact
how even the top level politicians can stoop to the lowest level in order to maintain themselves in
power. Who does not remember how Adolf Hitler rode roughshod over all canons of electoral propriety
to capture power? In India, also the record of the various political parties is not clean. Corruption
thrives in elections because those in the field play on the psychology of the electorate. The voters are
swayed by the tall promises of the candidates to whose machinations they fall an easy prey. They are
also susceptible to fall an easy prey to the adulations of the politicians due to their illiteracy. Besides, in
the representative democracies today and particularly in big countries the constituencies are quite
extensive obviating the possibility of corrupt practices being discovered. Anti-corruption laws are
honored more in their breach than in their observance. Even the code of conduct to be observed by
the parties fighting the elections becomes a dead letter in as much as it is jettisoned out of existence
and thrown unscrupulously over board by the unfair politicians whose only aim is to maintain them in
the saddle.
Which example of the U.S.A. testifies to the fact that even the top level people can stoop very low
in order to maintain themselves in power?
The New deal
None of these
 The Watergate scandal
The Philadelphia Contract
The Washington agreement


13.

Instruction: Fill in the blank with the most suitable option.
Since the Romans failed to (1)__ the tribes in Northern Britain, they built a wall in a (2)___ attempt to
(3)__ the natives. After all what wall can (4)___the determined. The wall was no (5)___to the tribe.
Which option suits blank 3?
Intimidate
Include
Barricade
Capture

 

14.

Instruction: Read the passage and the answer the question given below.
PASSAGE:
One of the main reasons of corruption in elections today is the lure of power which haunts the
politicians so much that they feel no qualms of conscience in adopting any underhand method to
come out successful. The Watergate Scandal in the U.S.A. is an eloquent example to testify to the fact
how even the top level politicians can stoop to the lowest level in order to maintain themselves in
power. Who does not remember how Adolf Hitler rode roughshod over all canons of electoral propriety
to capture power? In India, also the record of the various political parties is not clean. Corruption
thrives in elections because those in the field play on the psychology of the electorate. The voters are
swayed by the tall promises of the candidates to whose machinations they fall an easy prey. They are
also susceptible to fall an easy prey to the adulations of the politicians due to their illiteracy. Besides, in
the representative democracies today and particularly in big countries the constituencies are quite
extensive obviating the possibility of corrupt practices being discovered. Anti-corruption laws are
honored more in their breach than in their observance. Even the code of conduct to be observed by
the parties fighting the elections becomes a dead letter in as much as it is jettisoned out of existence
and thrown unscrupulously over board by the unfair politicians. whose only aim is to maintain them in
the saddle.
How does corruption thrive in elections?
The people themselves are corrupt
The politicians exploit the electorate economically
 A sizable part of the society is corrupt
There is a natural connection between elections and corruption
The politicians exploit the electorate psychologically

 

15.

Instruction: Read the passage and the answer the question given below.
PASSAGE:
One of the main reasons of corruption in elections today is the lure of power which haunts the
politicians so much that they feel no qualms of conscience in adopting any underhand method to
come out successful. The Watergate Scandal in the U.S.A. is an eloquent example to testify to the fact
how even the top level politicians can stoop to the lowest level in order to maintain themselves in
power. Who does not remember how Adolf Hitler rode roughshod over all canons of electoral propriety
to capture power? In India, also the record of the various political parties is not clean. Corruption
thrives in elections because those in the field play on the psychology of the electorate. The voters are
swayed by the tall promises of the candidates to whose machinations they fall an easy prey. They are
also susceptible to fall an easy prey to the adulations of the politicians due to their illiteracy. Besides, in
the representative democracies today and particularly in big countries the constituencies are quite
extensive obviating the possibility of corrupt practices being discovered. Anti-corruption laws are
honored more in their breach than in their observance. Even the code of conduct to be observed by
the parties fighting the elections becomes a dead letter in as much as it is jettisoned out of existence
and thrown unscrupulously over board by the unfair politicians whose only aim is to maintain them in
the saddle.
Adolf Hitler came to power:
As a result of bungling in elections
By conquest

 By liquidating any semblance of opposition
By organizing a mass movement
With foreign help


16.

Instruction: Choose the correct option.
My neighbour is __ not because of her looks but because of her heartless personality.
Attractive
Repulsive
Pleasing
Enchanting

 

17.

Instruction: Identify the error(s) in the following sentences.
The Dinosaurs became extinct / approximately 65 million years before. / Although the cause of their
extinction is still a mystery, / climatic change, diseases, changing plant communities and geologic events
could have played a role.
The Dinosaurs became extinct
Approximately 65 million years before
Although the cause of their extinction is still a mystery
Climatic change, diseases, changing plant communities, and geologic events could have played a
role

 

18.

Instruction: Rearrange the five sentences A, B, C, D, E and F in the proper sequence so as to form a
meaningful paragraph and answer the questions below.
A. But I think a better definition of happiness is the capacity for enjoyment.
B. Turning to adults, ask any adult what he means by happiness and you will find a puzzled face for a
moment.
C. In the teenage, the concept of happiness changes to enjoyment and pleasure.
D. Because the more we can enjoy what we have, the happier we are.
E. The meaning of happiness changes with growing years, for a child, happiness has a magical quality.
F. Leave the puzzled face and refer a dictionary it defines happy as ‘lucky’ or ‘fortunate’.
CABDEF
ECABFD
CFDBAE
ACBFDE

 

19.

Instruction: Rewrite the following sentence after changing the form of speech.
"Come here", she said.
She asked me to come here
She told me to come here
She told me to come there
She said me to come here

 

20.

Instruction: According to the sentence find out the meaning of the word given in bold.
Was it perversity that I longed to talk to him?
acceptable behavior
good behaviour
unacceptable behaviour
bad behaviour
 

 

21.

Instruction: Fill in the blank with the most suitable option.
Since the Romans failed to (1)__ the tribes in Northern Britain, they built a wall in a (2)___ attempt to
(3)__ the natives. After all what wall can (4)___the determined. The wall was no (5)___to the tribe.
Which option suits blank 5?
Tough
Match
Cakewalk
Mismatch

 

22.

Instruction: According to the sentence find out the meaning of the word given in bold.
And in his mantle muffling up his face.
Here the word mantle indicates:
Cloak
Clock
Mettle
Metal
 

 

23.

Instruction: Choose the correct option.
The manager refused to serve the customer who acted in a ___ manner towards the waitress.
Alimentary
Loathsome
Wholesome
Sensible

 

24.

Instruction: Fill in the blanks with the most suitable option.
Sales literature that provide excessively complex and irrelevant numbers tend to __ the real facts and
generate sales by causing buyers to accept ___ data in lieu of the real and truthful information so
hidden.
Hide, rational
Obscure, Spurious
Confuse, Representational
Elucidate, Faulty
Complicate Authentic

------------------------------------------------------------------------------------------------------------------

Technical Mcq's

 

1.

What is the traversal strategy used in the binary tree?
depth-first traversal
breadth-first traversal
random traversal
Priority traversal
 

 

2.

What is the maximum number of possible non zero values in an adjacency matrix of a simple graph with
n vertices?
(n*(n-1))/2
(n*(n+1))/2
n*(n-1)
n*(n+1)

 

3.

Which of the following data structure is preferred to have lesser search time when the list size is small?
search tree
sorted list
self organizing list
linked list
 

 

4.

The self organizing list improves the efficiency of ___
binary search
jump search
sublist search
linear search

 

5.

How many bits would a succinct binary tree occupy?
n+O(n)
2n+O(n)
n/2
n
 

 

6.

The number of elements in the adjacency matrix of a graph having 7 vertices is ____
7
14
36
49

 

7.

What is the time complexity of reversing a word using stack algorithm?
O (N log N)
O (N2)
O (N)
O (M log N)
 

 

8.

What will be output if the following sequence of operations are executed?
Push(a,s);
Push(b,s);
Pop(b);
Push(c,s);
abc
b
ac
acb

 

9.

What will be the output of the following C code?
const char str1[]="ABCDEF1234567";
const char str2[] = "269";
len = strcspn(str1, str2);
printf("First matching character is at %d\n", len + 1);
First matching character is at 8
First matching character is at 7
First matching character is at 9
First matching character is at 12

 

10.

Which is the most appropriate data structure for reversing a word?
queue
stack
tree
graph

------------------------------------------------------------------------------------------------------------------

Programming

 

1.

Problem statement
You are given that N candidates participated in a contest. For each candidate, you are given Ai,
representing the points scored by the ith candidate in the contest. You have to print the indexes of the
top K candidates of the contest.
Note: all Aį are distinct.
Input Format
First line: Two space-separated integers N and K
• Next line: N space-separated integers. The ith integer denotes the points scored by the ith candidate
in the contest.
Constraints
1<N< 10^5
1<K<=N
1< Ai < 10^9
Output Format
• Print K space-separated integers, denoting the indexes of the top K candidates.
Sample Input;
6 3
574 918 735 743 588 829

 

C++ CODE:

 

#include<bits/stdc++.h>
using namespace std;

int main(){
    int n,k;
    cin>>n>>k;
    assert(n>=1 && n<=100000);
    assert(k>=1 && k<=n);
    pair<int,int> arr[n+1];
    for(int i=0;i<n;i++){
        int val;
        cin>>val;


        assert(val>=1 && val<=1000000000);
        arr[i].first=val;
        arr[i].second=i+1;
    }
    sort(arr,arr+n);
    for(int i=n-1;i>=n-k;i--) cout<<arr[i].second<<" ";
    return 0;
}



2.

Problem statement
This time your task is simple.
Given two integers X and K, find the largest number that can be formed by changing digits at atmost K
places in the number X.
Input Format
First line of the input contains two integers X and K separated by a single space.
Constraints
1<=X<=10^18 0<=K<=9
Output Format
Print the largest number formed in a single line.
Sample Input:
4483 2
Sample Output:
9983
 

PYTHON CODE:

 

def findMaximumNum(st, n, k):
    for i in range(n):
        if (k < 1):
            break
        if (st[i] != '9'):
            st = st[0:i] + '9' + st[i + 1:]
            k -= 1
    return st
 
 
st,k=map(int,input().split())
st=str(st)
n=len(st)
print(findMaximumNum(st, n, k))

----------------------------------------------------------------------------------------------------------------

 

 

 

 

 

 

 

 

 

 

 

 


 

 

 

 

 

 

 


 

 

 

 

 

 

 


 

 

 

 

 

 

 

 

 

 

 



 

 

 

 

 

 

 

 

 

 

 


Post a Comment

Previous Post Next Post