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

INFEED

Daily Test | sep 8 | mock test 14

 Numerical Ability


1.

At what rate of interest per annum will a sum of Rs. 1980 become Rs. 3000 in a period of 17 years?

3.33%

.3.03%

.33.33%

6.66%



2.

For the FIFA world cup, Paul the octopus has been predicting the winner of each match with amazing

success. It is rumored that in a match between 2 teams A and B, Paul picks A with the same

probability as A’s chances of winning. Let’s assume such rumors to be true and that in a match

between Ghana and Bolivia, Ghana the stronger team has a probability of 2/3 of winning the game.

What is the probability that Paul will correctly pick the winner of the Ghana- Bolivia game?

1/9

5/9

1/3

2/3



3.

How many numbers can be formed from 1, 2, 3, 4, 5 (without repetition), when the digit at the unit’s

place must be greater than that in the ten’s place?

60

54

2*4!

17


4.

Four friends namely Rahul, Ravi, Rajesh and Rohan contested for a dairy milk chocolate. To decide

which friend will get the chocolate they decided to throw two dice. Every friend was asked to

choose a number and if the sum of the numbers on two dice equals that number, the concerned

person will get the chocolate. Rahul’s choice was 7, Ravi’s choice was 9, Rajesh’s choice was 10 and

Rohan’s choice was 11.

Who has the maximum probability of winning the amount?

Ravi

Rahul

Rohan

. Rajesh



5.

Six friends decide to share a big cake. Since all of them like the cake, they begin quarreling as to who

gets to rst cut and has a piece of the cake. One friend suggests that they blindfold a friend and

then choose from a well shufed set of cards numbered from one to six. You check and nd that this

method works as it should be simulating a fair throw of a die. You check by performing multiple

simultaneous trials of picking the cards blindfolding and throwing a die. You note that the number

shown by the method of picking up a card and throwing a real world die, sums up to a number

between 2 and 12. Which total would be likely to appear more often 8, 9 or 10?

9

8

All are equally likely

10



6.

The pace length P is the distance between the rear of two consecutive footprints. For men, the

formula, n/P = 144 gives an approximate relationship between n and P where, n = number of steps

per minute and P = pace length in meters. Bernard knows his pace length is 164cm. The formula

applies to Bernard’s walking. Calculate Bernard’s walking speed kmph.

11.39

236.16

23.24

8.78



7.

Alok and Bhanu play the following min-max game. Given the expression N = 32 + X* ( Y – Z) ,where X,

Y and Z are variables representing single digits (0 to 9), Alok would like to maximize N while Bhanu

would like to minimize it. Towards this end, Alok chooses a single digit number and Bhanu substitutes

this for a variable of her choice (X, Y or Z). Alok then chooses the next value and Bhanu, the variable

to substitute the value. Finally Alok proposes the value for the remaining variable. Assuming both

play to their optimal strategies, the value of N at the end of the game would be

32

113

50

-49



8.

By selling 24 chocolates, a vender loses the selling price of six chocolates. Find his loss percent.

20%

15%

30%

25%



9.

There are two boxes, one containing 21 red balls and the other containing 25 green balls. You are

allowed to move the balls between the boxes so that when you choose a box at random and a ball at

random from the chosen box, the probability of getting a red is maximized. This maximum

probability is.

0.63

0.5

0.48

0.72



10.

Arvind takes 22.5 days to nish a task and Subu takes 15 days to nish the same task. What per cent

of the task can Arvind and Subu, if worked together, nish in 5 days?

66.66%

33.33%

None of these

55.55%



11.

Find the simple interest on a principal of Rs. 500 at 5% p.a. for a period of 5 years.

RS. 125

RS. 120

RS. 200

RS. 100



12.

Pointing out to a photograph a man tells his friend, “She is the daughter of the only son of my

father’s wife”. How is the girl in photograph related to the man?

Daughter

Niece

None of these

Mother



13.

Find the number of positive integral solutions of abc = 231.

5

4

7

6



14.

Arun was all bent on building a new house. He carefully got the blue print of his house designed by

his friend Ashwin, a civil engineer. He wanted to build a room of dimension 27 by 48 ft and lay tiles in

this room. Each tile was of dimension 2 by 3 ft. How many such tiles should Arun buy?

224

184

216

318



15.

h’ (hours required to complete a piece of work) and ‘a’ (the age of the working man in years) are

related as h = 5a - 50. How many days will a 34 and a 26-yearold man take to nish the work?

2 days 12 h

2 days

20 h

150 h



16.

A trader can procure 30 pencils by selling 20 pencils. What is the ratio of cost price to selling price

of a pencil?

3/4

2/3

5/6

4/5



17.

A pipe can ll a tank in 3 hrs .Due to a leakage in the tank it takes 3.5 hrs to ll the same tank. Then

how many hours will the leakage can empty the tank.

30 hours

3.5 hours

21 hours

30 hours



18.

A number P is such that

1

0

3

2



19.

Sum of the CP’s of two cars is Rs.1,50,000. 1st car is sold at a prot of 20% and the second car at the

loss of 20%. However, their S.P’s are same. What is the cost price of the 1st car?

64000

60000

75000

72000



20.

A hare and tortoise a race along a circle of 100 yards diameter. The tortoise goes in one direction

and the hare in the other. The hare starts after tortoise has covered 1/5 its distance and that

leisurely. The hare and tortoise meet when the hare has covered only 1/4 of the distance. By what

factor should the hare increase its speed so as to tie the race?

37

8

6.6

45



21.

A bag contains 20 yellow balls, 23 green balls, 27 white balls. How many minimum balls one should

pick out so that to make sure he gets at least 2 balls of all color?

52

48

68

60



22.

△ABC has integer sides x, y, z such that xz = 12. How many such triangles are possible?

6

8

12

9




23.

Three friends A, B and C invested a total of Rs. 500000 in the shares of FACE. FACE shares

compounded by 20% for 3 years. If the prots received by A and B are Rs. 91000 and Rs. 113750,

calculate the amount invested by A.

120000

128950

150000

125000



24.

How many numbers lying between 4000 and 5000 which are divisible by 5 can be made with the

digits 4, 5, 6, 7, 8 and 9, without repetition?

14

12

28

24



25.

Alice and Bob play the following coins-on-a-stack game. 20 coins are stacked one above the other.

One of them is a special (gold) coin and the rest are ordinary coins. The goal is to bring the gold coin

to the top by repeatedly moving the topmost coin to another position in the stack. Alice starts and

the players take turns. A turn consists of moving the coin on the top to a position i below the top

coin (0 ≤ i ≤ 20). We will call this an i-move (thus a 0-move implies doing nothing). The proviso is

that an i-move cannot be repeated; for example once a player makes a 2-move, on subsequent

turns neither player can make a 2-move. If the gold coin happens to be on top when it’s a player’s

turn then the player wins the game. Initially, the gold coin is the third coin from the top. Then

In order to win, Alice’s rst move should be a 1 - move

In order to win, Alice’s rst move should be a 0 - move

In order to win, Alice’s rst move can be a 0 – move or 1- move

Alice has no winning strategy



26.

Rajesh has two bags, one of them containing 20 red and ve green balls and the other, containing 10

blue balls and three red balls. He selects any bag at random and pulls out six balls. If the rst 5 of

them are red, then what is the probability that the sixth ball is red as well? Rajesh has two bags, one

of them containing 20 red and ve green balls and the other, containing 10 blue balls and three red

balls. He selects any bag at random and pulls out six balls. If the rst 5 of them are red, then what is

the probability that the sixth ball is red as well?

3/8

3/4

5/8

5/4


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


Reasoning Ability


1.

Answer the questions on the basis of the information given below:

Distribution of expenditure by Pratik, Pratish, Preetish and Praful (As a percentage of their

respective total expenditures)

Both Pratik and Praful save the same proportion of their incomes and the ratio of their respective

savings is 2 : 3. What is the ratio of their respective expenditures on gadgets?

4:9


2.

If ‘potato’ is coded as ‘brown’, ‘brown’ is coded as ‘black’, ‘black’ is coded as ‘orange’, ‘orange’ is

coded as ‘green’, then which of the following is a fruit?

Black

Orange

Brown

Potato

Green



3.

Choose from the following:

A. If (a) alone is sufcient to answer the question.

B. If (b) alone is sufcient to answer the question.

C. If (a) and (b) together are necessary to answer the question.

D. If either (a) or (b) is sufcient to answer the question.

E. If neither (a) nor (b) is sufcient to answer the question.

Is the HCF of a and b = x?

(a) Both a and b are prime multiples of x.

(b) x is a common factor of a and b.

B

E

A



4.

If the word ‘POOL’ is coded as ‘PRQQ’, then the word ‘ROOM’ will be coded as:

RQSS

SRPQ

QRQS

QRSS

PRPS



5.

Directions: Staff employed in a UNESCO ofce in Paris is represented by four interesting circles as

given in the diagram. Each circle represented people who can read and write English, French,

Spanish and Russian. The strength of people in each circle is also shown alongside. Study the

diagram to answer these questions.

Assume that 150 people know Russian language, 160 know English language, 140 know Spanish

language and 100 know French language. The values of H, I, B, L, M, J, F, K,D are 10, 5, 27, 15, 25, 12, 22,

6 and 30.

People who can read and write all the languages except Spanish are represented by ___.

I


6.

. How often between 11 O’ clock and 12 O’ clock are the hands of the clock together at an integral

number value?

56

55

5

4



7.

If ‘SALE’ is coded as ‘UDQL’, then ‘ROCK’ is coded as

TRHR

THPQ

TSIP

RTIP

TTHP



8.

Directions: Study the following information carefully to answer these questions: There are six

children playing football namely, M, N, O, P, Q and R. M and Q are brothers. R is the sister of Q. O is

the only son of M’s uncle. N and P are the daughters of the brother of O’s father.

How is O related to R?

Brother

Father

Cousin

Uncle

Son



9.

. If the word ‘CRYPT’ is coded as ‘BSWRQ’, then which word will be coded as ‘OPUGO’?

POWER

PODER

POSER

POKER

POWEL



10.

Directions: Study the following information carefully to answer these questions: There are six

children playing football namely, M, N, O, P, Q and R. M and Q are brothers. R is the sister of Q. O is

the only son of M’s uncle. N and P are the daughters of the brother of O’s father.

How many male players are there?

Three

Two

One

Six

Five


11.

A, B, C, D, E, F and G are seven friends working in a software company. Each of them has different

days off in a week from Monday to Sunday, not necessarily in the same order. They work in three

different shifts I, II and III with at least two of them in each shift. C works in shift II and his day off is

not Sunday. A’s day off is Tuesday and he does not work in the same shift with either B or G. None

of those who work in shift I has day off either on Wednesday or on Friday. F works with only E in

shift III.D’s day off is Sunday. F’s day off is immediate next day of C’s day off. E’s day off is not on

Wednesday. G’s day off is not on the previous day of A’s day off. D works in shift I. B does not work

in the same shift with C and his day off is not on Thursday

Which of the following groups of friends work in shift II?

CF

None of these

CA

ACG


12.

Seven professionals P, Q, R, S, T, U and V are practicing their professions in different cities Chennai,

Bangalore, Hyderabad, Mumbai, Ahmedabad, Jaipur, and Bhubaneswar, not necessarily in the same

order. Each has a different profession Doctor, Engineer, Pharmacist, Lawyer, Counsellor, Professor

and Artist, not necessarily in the same order.

P is a Pharmacist and practices in Bhubaneswar. S practices in Bangalore but is not a Doctor or an

Artist. The one who practices in Hyderabad is a Professor. V is a Counsellor and does not practice

in Mumbai or Chennai. T is a Lawyer and practices in Ahmedabad. U practices in Chennai but is not

an Artist. R practices in Mumbai.

Which of the following persons work in Jaipur?

V

Q or V

Q

U


13.

Directions: Study the following information carefully to answer these questions: There are six

children playing football namely, M, N, O, P, Q and R. M and Q are brothers. R is the sister of Q. O is

the only son of M’s uncle. N and P are the daughters of the brother of O’s father.

How many female players are there?

Three

Four

Two

One

Five


14.

A, B, C, D, E, F and G are seven friends working in a software company. Each of them has different

days off in a week from Monday to Sunday, not necessarily in the same order. They work in three

different shifts I, II and III with at least two of them in each shift. C works in shift II and his day off is

not Sunday. A’s day off is Tuesday and he does not work in the same shift with either B or G. None

of those who work in shift I has day off either on Wednesday or on Friday. F works with only E in

shift III.D’s day off is Sunday. F’s day off is immediate next day of C’s day off. E’s day off is not on

Wednesday. G’s day off is not on the previous day of A’s day off. D works in shift I. B does not work

in the same shift with C and his day off is not on Thursday

Which of the following is B’s day off?

Wednesday

Monday

Friday

Tuesday


15.

In question below, there are two or three statements followed by four conclusions numbered I, II, III

and IV. Take the given statements to be true even if they seem to be at variance with commonly

known facts and then decide which of the given conclusions logically follow(s) from the given

statements.

Statements:

A. All pins are staplers.

B. Some staplers are sharpeners.

C. Some sharpeners are stands.

Conclusions:

I. Some staplers are stands.

II. Some sharpeners are pins.

III. Some pins are stands.

IV. Some stands are sharpeners.

only iv

16.

In a certain code language, ‘Nothing is impossible’ is coded as ‘Something not possible’, ‘Everything

or nothing’ is coded as ‘Is plausible possible’ and ‘Everything is possible’ is coded as ‘Something is

impossible’. What is the code for ‘Possible’ in that language?

Possible

Cannot be determined

Not

Something

Impossible



17.

If the word ‘RESORT’ is coded as ‘TGVQTV’, then the word ‘SOLEMN’ will be coded as:

UQOGOP

UQNGOQ

UQGNOP

UQNGOP


18.

A wall clock was slow by 10 minutes. In comparison to the wall clock, a table clock was 10 minutes

ahead of it. In comparison to the table clock, an alarm clock was 5 minutes behind and in

comparison to the alarm clock, a wrist watch was 5 minutes fast. At noon, all the clocks were

adjusted to show noon. What will be the time shown at 6:00 p.m. in the wrist watch?

6:10 pm

. 6:00 pm

8:09 pm

. 8:00 pm



19.

Pinky was born on 29th, February 2016 which happened to be a Monday. If she lives till her birthday

in 2099, how many birthdays would she celebrate on a Monday other than what is given?

2

1

5

3



20.

Mary looks at a bottle whose cap points towards North. When the bottle is tilted 90° clockwise and

then 45° anti-clockwise. Now if Mary changes her position to 135° clockwise what is the position of

the cap?

South-East

None

South-West

North

East



21.

Choose from the following:

A. If (a) alone is sufcient to answer the question.

B. If (b) alone is sufcient to answer the question.

C. If (a) and (b) together are necessary to answer the question.

D. If either (a) or (b) is sufcient to answer the question.

E. If neither (a) nor (b) is sufcient to answer the question.

How much does each pen cost?

(a) Each pencil costs Rs. 2

(b) Six pencils and three notebooks cost Rs. 15

E


22.

Seven professionals P, Q, R, S, T, U and V are practicing their professions in different cities Chennai,

Bangalore, Hyderabad, Mumbai, Ahmedabad, Jaipur, and Bhubaneswar, not necessarily in the same

order. Each has a different profession Doctor, Engineer, Pharmacist, Lawyer, Counsellor, Professor

and Artist, not necessarily in the same order.

P is a Pharmacist and practices in Bhubaneswar. S practices in Bangalore but is not a Doctor or an

Artist. The one who practices in Hyderabad is a Professor. V is a Counsellor and does not practice

in Mumbai or Chennai. T is a Lawyer and practices in Ahmedabad. U practices in Chennai but is not

an Artist. R practices in Mumbai.

Which of the following combinations of profession and place is correct?

Engineer- Chennai

Lawyer-Bangalore

. Pharmacist-Jaipur

Artist-Mumbai


23.

Seven professionals P, Q, R, S, T, U and V are practicing their professions in different cities Chennai,

Bangalore, Hyderabad, Mumbai, Ahmedabad, Jaipur, and Bhubaneswar, not necessarily in the same

order. Each has a different profession Doctor, Engineer, Pharmacist, Lawyer, Counsellor, Professor

and Artist, not necessarily in the same order.

P is a Pharmacist and practices in Bhubaneswar. S practices in Bangalore but is not a Doctor or an

Artist. The one who practices in Hyderabad is a Professor. V is a Counsellor and does not practice

in Mumbai or Chennai. T is a Lawyer and practices in Ahmedabad. U practices in Chennai but is not

an Artist. R practices in Mumbai.

Who is the Doctor?

R

U

S

V



24.

Directions: Staff employed in a UNESCO ofce in Paris is represented by four interesting circles as

given in the diagram. Each circle represented people who can read and write English, French,

Spanish and Russian. The strength of people in each circle is also shown alongside. Study the

diagram to answer these questions.

Assume that 150 people know Russian language, 160 know English language, 140 know Spanish

language and 100 know French language. The values of H, I, B, L, M, J, F, K,D are 10, 5, 27, 15, 25, 12, 22,

6 and 30.

People who can read and write all the four languages can be represented as ___.

M


25.

A, B, C, D, E, F and G are seven friends working in a software company. Each of them has different

days off in a week from Monday to Sunday, not necessarily in the same order. They work in three

different shifts I, II and III with at least two of them in each shift. C works in shift II and his day off is

not Sunday. A’s day off is Tuesday and he does not work in the same shift with either B or G. None

of those who work in shift I has day off either on Wednesday or on Friday. F works with only E in

shift III.D’s day off is Sunday. F’s day off is immediate next day of C’s day off. E’s day off is not on

Wednesday. G’s day off is not on the previous day of A’s day off. D works in shift I. B does not work

in the same shift with C and his day off is not on Thursday

Which of the following persons work in shift I?

CA

None

CF

BGD




26.

A person starts walking towards North-East. He turns right twice. In what direction he is now

moving?

North-West

North

South-West

South

South-East



27.

Choose from the following:

A. If (a) alone is sufcient to answer the question.

B. If (b) alone is sufcient to answer the question.

C. If (a) and (b) together are necessary to answer the question.

D. If either (a) or (b) is sufcient to answer the question.

E. If neither (a) nor (b) is sufcient to answer the question.

How many pencils does Ram have?

(a) He bought ve boxes of pencils.

(b) He lent two pencils to Kumar

E


28.

2. Choose the option that logically follows the given statements:

All cities have houses.

All lands have cities.

All lands have houses

All houses have lands

None of the above

Not all houses have lands



29.

Directions: Staff employed in a UNESCO ofce in Paris is represented by four interesting circles as

given in the diagram. Each circle represented people who can read and write English, French,

Spanish and Russian. The strength of people in each circle is also shown alongside. Study the

diagram to answer these questions.

Assume that 150 people know Russian language, 160 know English language, 140 know Spanish

language and 100 know French language. The values of H, I, B, L, M, J, F, K,D are 10, 5, 27, 15, 25, 12, 22,

6 and 30.

People who can read and write English, French and Spanish are represented by __.

K+M


30.

Answer the questions on the basis of the information given below:

Distribution of expenditure by Pratik, Pratish, Preetish and Praful (As a percentage of their

respective total expenditures)

It the total expenditure of Pratish is more than the total expenditure of Preetish but less than the

total expenditure of Praful, then which of the following statements is denitely true?

The combined ..... on books.

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


Verbal Ability


1.

Instruction: Fill in the blank with the most suitable option.

You should stay far __ the re.

in

since

from

on

at



2.

Instruction: Fill in the blank with the most suitable option.

A new book __(1) just come out with the title “To Have and to Hold”. According to the title, it would

seem just a story of collecting and collectors, but actually it goes much further ___(2) that. As well

as telling us about great collectors of the past, it also ____(3) the reasons why people collect

things. In past centuries, only ___(4) people could afford to travel and most collections started with

just a ___(5) strange objects which had been brought on trips abroad. But now a days technology

has made transport so easy that even middle class people can ____(6) to travel and can collect

peculiar things.

Which option suits blank 1?

was

is

have

has



3.

Instruction: Read the passage and the answer the question given below.

The recent news that local hospitals have had to reroute seriously ill patients because the

community’s critical-care beds are full is worrisome. Earlier this week, four of the six local hospitals

ran out of space for the critically ill and had to turn people away. Federal law requires hospitals to

treat anyone who walks in. As a result of having to treat large numbers of uninsured patients, the

emergency rooms often become an economic drain on their hospitals. Doctors now want to set up

their own free-standing ambulatory surgical facilities and diagnostic centres. Critics contend this

would leave hospitals with less revenue and the same number of indigents to treat.

A bill was recently introduced to phase out the need for a "certicate of public need" for nonhospital-based facilities, provided those facilities met stringent regulations and requirements. This

would have made it easier to set up alternative facilities to help indigent patients. The nance

committee balked at the hefty price and killed the bill, another casualty of a failed legislative

session.

Unfortunately, the problem of access to medical care for those of limited means is not going to go

away anytime soon and, despite the well-intended regulations, too-full hospitals compromise

everyone’s welfare. Healthy competition with small neighbourhood surgical and diagnostic centres

may be what is necessary to help dampen rising medical costs. But under no circumstances should

the hospitals be forced to care for everybody without health insurance while competitors operate

free of the burden of caring for those unable to pay

Which of the following best describes the tone of the passage?passage?

positive


4.

Instruction: Fill in the blank with the most suitable option.

Leaving work on time may not sound like of a 1 ___ .However, in an experiment by glass

manufacturers Darting ton Crystal, it 2 ___ surprisingly difcult. Four managers, who all worked very

long hours, took 3 ___ in a simple experiment: they agreed to 4___ to their set hours for a week,

with no coming in early, leaving late or taking work home. The aim of the exercise was to 5 ___ the

balance between the managers work and home lives.

Which option suits blank 2?

showed

displayed

demonstrated

proved


5.

Instruction: Fill in the blank with the most suitable option.

Leaving work on time may not sound like of a 1 ___ .However, in an experiment by glass

manufacturers Darting ton Crystal, it 2 ___ surprisingly difcult. Four managers, who all worked very

long hours, took 3 ___ in a simple experiment: they agreed to 4___ to their set hours for a week,

with no coming in early, leaving late or taking work home. The aim of the exercise was to 5 ___ the

balance between the managers work and home lives.

Which option suits blank 5?

promote

improve

reform

upgrade



6.

Instruction: According to the sentence nd out the meaning of the word given phrasal verb.

Rucha has seen more than half the movie Zindagi Na MilegiDobara. The plot line ___ be obvious to

her by now.

will

Ought to

must

can



7.

Instruction: Read the passage and the answer the question given below.

The recent news that local hospitals have had to reroute seriously ill patients because the

community’s critical-care beds are full is worrisome. Earlier this week, four of the six local hospitals

ran out of space for the critically ill and had to turn people away. Federal law requires hospitals to

treat anyone who walks in. As a result of having to treat large numbers of uninsured patients, the

emergency rooms often become an economic drain on their hospitals. Doctors now want to set up

their own free-standing ambulatory surgical facilities and diagnostic centres. Critics contend this

would leave hospitals with less revenue and the same number of indigents to treat.

A bill was recently introduced to phase out the need for a "certicate of public need" for nonhospital-based facilities, provided those facilities met stringent regulations and requirements. This

would have made it easier to set up alternative facilities to help indigent patients. The nance

committee balked at the hefty price and killed the bill, another casualty of a failed legislative

session.

Unfortunately, the problem of access to medical care for those of limited means is not going to go

away anytime soon and, despite the well-intended regulations, too-full hospitals compromise

everyone’s welfare. Healthy competition with small neighbourhood surgical and diagnostic centres

may be what is necessary to help dampen rising medical costs. But under no circumstances should

the hospitals be forced to care for everybody without health insurance while competitors operate

free of the burden of caring for those unable to pay.

Which of the following is a conclusion supported by the passage?

if doctors ...


8.

Instruction: Read the passage and the answer the question given below.

The recent news that local hospitals have had to reroute seriously ill patients because the

community’s critical-care beds are full is worrisome. Earlier this week, four of the six local hospitals

ran out of space for the critically ill and had to turn people away. Federal law requires hospitals to

treat anyone who walks in. As a result of having to treat large numbers of uninsured patients, the

emergency rooms often become an economic drain on their hospitals. Doctors now want to set up

their own free-standing ambulatory surgical facilities and diagnostic centres. Critics contend this

would leave hospitals with less revenue and the same number of indigents to treat.

A bill was recently introduced to phase out the need for a "certicate of public need" for nonhospital-based facilities, provided those facilities met stringent regulations and requirements. This

would have made it easier to set up alternative facilities to help indigent patients. The nance

committee balked at the hefty price and killed the bill, another casualty of a failed legislative

session.

Unfortunately, the problem of access to medical care for those of limited means is not going to go

away anytime soon and, despite the well-intended regulations, too-full hospitals compromise

everyone’s welfare. Healthy competition with small neighbourhood surgical and diagnostic centres

may be what is necessary to help dampen rising medical costs. But under no circumstances should

the hospitals be forced to care for everybody without health insurance while competitors operate

free of the burden of caring for those unable to pay.

The author cites the failed legislation in order to show that:

The legislature recently attempted to resolve the issue


9.

Instruction: According to the sentence nd out the meaning of the word given phrasal verb.

He’s going to ___ piano in his free time. (start to learn)

Take on

Take up

Came across

Take off



10.

Instruction: Rearrange the four sentences A, B, C, D, in the proper sequence so as to form a

meaningful paragraph.

A. The number of courses offered by colleges and universities has grown over the last 20 years.

B. What are you hoping to get out of your course?

C. Has your interest been sparked by other studies, travel, or family connections?

D. As the new academic year begins for some people this month, we would like to hear what is

motivating you to study development.

E. The content of those courses has also changed to reect new interests and trends in the sector,

with topics covering a range of subjects, from economics and politics, to the environment, gender

and anthropology.

Ans: AEDCB


11.

Instruction: Fill in the blank with the most suitable option.

A new book __(1) just come out with the title “To Have and to Hold”. According to the title, it would

seem just a story of collecting and collectors, but actually it goes much further ___(2) that. As well

as telling us about great collectors of the past, it also ____(3) the reasons why people collect

things. In past centuries, only ___(4) people could afford to travel and most collections started with

just a ___(5) strange objects which had been brought on trips abroad. But now a days technology

has made transport so easy that even middle class people can ____(6) to travel and can collect

peculiar things.

Which option suits blank 5?

Few

Many

less

more



12.

Instruction: Find out the synonym for the underlined word from the following :

“Soon-not in thirty years but in ve to ten — there will be an exodus because of the lack of water”.

A great famine

An end of life

An exciting argument

Mass departure of people



13.

Instruction: Identify the error.

All of / the papers, / including theirs, / is in the box.

the papers

All of

is in the box.

including theirs



14.

Instruction: Read the passage and the answer the question given below.

The recent news that local hospitals have had to reroute seriously ill patients because the

community’s critical-care beds are full is worrisome. Earlier this week, four of the six local hospitals

ran out of space for the critically ill and had to turn people away. Federal law requires hospitals to

treat anyone who walks in. As a result of having to treat large numbers of uninsured patients, the

emergency rooms often become an economic drain on their hospitals. Doctors now want to set up

their own free-standing ambulatory surgical facilities and diagnostic centres. Critics contend this

would leave hospitals with less revenue and the same number of indigents to treat.

A bill was recently introduced to phase out the need for a "certicate of public need" for nonhospital-based facilities, provided those facilities met stringent regulations and requirements. This

would have made it easier to set up alternative facilities to help indigent patients. The nance

committee balked at the hefty price and killed the bill, another casualty of a failed legislative

session.

Unfortunately, the problem of access to medical care for those of limited means is not going to go

away anytime soon and, despite the well-intended regulations, too-full hospitals compromise

everyone’s welfare. Healthy competition with small neighbourhood surgical and diagnostic centres

may be what is necessary to help dampen rising medical costs. But under no circumstances should

the hospitals be forced to care for everybody without health insurance while competitors operate

free of the burden of caring for those unable to pay.

Which of the following is cited as a factor which has contributed to the overburdening of

hospitals?

I. Failure to pass legislation which would have mitigated the problem

II. Limited access to medical care for the poor

III. Federal law

Ans: I, II, III


15.

Instruction: Fill in the blank with the most suitable option.

Leaving work on time may not sound like of a 1 ___ .However, in an experiment by glass

manufacturers Darting ton Crystal, it 2 ___ surprisingly difcult. Four managers, who all worked very

long hours, took 3 ___ in a simple experiment: they agreed to 4___ to their set hours for a week,

with no coming in early, leaving late or taking work home. The aim of the exercise was to 5 ___ the

balance between the managers work and home lives.

Which option suits blank 4?

stay

keep

stand

remain



16.

nstruction: Fill in the blank with the most suitable option.

A new book __(1) just come out with the title “To Have and to Hold”. According to the title, it would

seem just a story of collecting and collectors, but actually it goes much further ___(2) that. As well

as telling us about great collectors of the past, it also ____(3) the reasons why people collect

things. In past centuries, only ___(4) people could afford to travel and most collections started with

just a ___(5) strange objects which had been brought on trips abroad. But now a days technology

has made transport so easy that even middle class people can ____(6) to travel and can collect

peculiar things.

Which option suits the blank 3?

Witness

Investigates

Avoid

Understand



17.

Instruction: Identify the error.

(A) I shall / (B) ring him / (C) tomorrow / (D) in the afternoon. / (E) No error

B

E

A

D

C



18.

Instruction: Rewrite the following sentence after changing the form of speech.

"The Sun sets in the west", the teacher said.

The teacher declared that the Sun had set in the West

The teacher said that the sun sets in the West

The teacher exclaimed that the Sun used to set in the West

The teacher demonstrated the Sun to set in the West



19.

Instruction: Fill in the blank with the most suitable option.

A new book __(1) just come out with the title “To Have and to Hold”. According to the title, it would

seem just a story of collecting and collectors, but actually it goes much further ___(2) that. As well

as telling us about great collectors of the past, it also ____(3) the reasons why people collect

things. In past centuries, only ___(4) people could afford to travel and most collections started with

just a ___(5) strange objects which had been brought on trips abroad. But now a days technology

has made transport so easy that even middle class people can ____(6) to travel and can collect

peculiar things.

Q. Which option suits blank 2?

Extend

More

Than

Less



20.

Instruction: Rearrange the four sentences A, B, C, D, in the proper sequence so as to form a

meaningful paragraph.

A. This policy helped in reducing the tension among great powers.

B. India seriously welcomed this development.

C. Indeed it saw in it a vindicated and extension of its own policy of nonalignment.

D. It was happy that it had contributed to the alleviation of tension between the great powers.

E. The resolution of conicts between certain countries was an outcome of India’s such policies.

BCEAD

ABCDE

DEABC

CBACD



21.

Instruction: Fill in the blank with the most suitable option.

Leaving work on time may not sound like of a 1 ___ .However, in an experiment by glass

manufacturers Darting ton Crystal, it 2 ___ surprisingly difcult. Four managers, who all worked very

long hours, took 3 ___ in a simple experiment: they agreed to 4___ to their set hours for a week,

with no coming in early, leaving late or taking work home. The aim of the exercise was to 5 ___ the

balance between the managers work and home lives.

Which option suits blank 3?

part

control

place

effect



22.

Instruction: Rearrange the four sentences A, B, C, D, in the proper sequence so as to form a

meaningful paragraph.

A. Instead, the new machines test for viral load, to verify if the virus is in the blood.

B. So, it is not possible to conrm whether the baby is positive.

C. Adults are normally diagnosed on the basis of antibodies, but when babies are born they still

have those of their mother.

D. But accurately testing children remains a challenge in much of the country.

E. About 400 centres across Mozambique now have printers that can quickly receive test results

by GPRS.

AEBCD

EDCBA

CDBAD

EABDC



23.

Instruction: Fill in the blank with the most suitable option.

A new book __(1) just come out with the title “To Have and to Hold”. According to the title, it would

seem just a story of collecting and collectors, but actually it goes much further ___(2) that. As well

as telling us about great collectors of the past, it also ____(3) the reasons why people collect

things. In past centuries, only ___(4) people could afford to travel and most collections started with

just a ___(5) strange objects which had been brought on trips abroad. But now a days technology

has made transport so easy that even middle class people can ____(6) to travel and can collect

peculiar things.

Which option suits blank 6?

went

Attract

go

afford



24.

Instruction: Fill in the blank with the most suitable option.

Leaving work on time may not sound like of a 1 ___ .However, in an experiment by glass

manufacturers Darting ton Crystal, it 2 ___ surprisingly difcult. Four managers, who all worked very

long hours, took 3 ___ in a simple experiment: they agreed to 4___ to their set hours for a week,

with no coming in early, leaving late or taking work home. The aim of the exercise was to 5 ___ the

balance between the managers work and home lives.

Which option suits blank 1?

challenge

deance

confrontation

dare


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

Technical Mcq's


1.

What is the correct statement about lambda expression?

The return type of lambda expression must be specied in all cases

The return type of lambda expression can be neglected in some cases

Lambda expression is also available in C

Lambda expression should be very large functions



2.

What will be the output of the following C++ code?

#include<iostream>

using namespace std;

int main()

{

int a = 5;

auto check = [](int x)

 {

if(x == 0)

return false;

else

return true;

};

cout<<check(a)<<endl;

return 0;

}


1

0

Segmentation fault



3.

What is the syntax of dening lambda expression?

[parameters](capture clause) -> return_type { body of the function }

[capture clause](parameters) -> return_type { body of the function }

 [capture clause:parameters]() -> return_type { body of the function }

[parameters:capture clause]() -> return_type { body of the function }



4.

In how many ways we can capture the external variables in the lambda expression?

2

1

4

3




5.

Which of the following is the right syntax to copy n characters from the object pointed to by s2 into

the object pointed to by s1?

void memcpy(void s2, const void *s1, size_t n);

void memcpy(void s1,const void *s2,size_t n);

void memcpy(void s2,const void s1,size_t n);

void memcpy(void s1,const void s2, size_t n);



6.

What will be the output of the following C++ code?

#include<iostream>

using namespace std;

int main()

{

int x = 5;

auto check = []() -> bool

 {

if(x == 0)

return false;

else

return true;

};

cout<<check()<<endl;

return 0;

}


0

1

Segmentation fault

Error


7.

Which of the following operator is used to capture all the external variable by reference?

=

&

&&

*




8.

Which is the correct syntax of capturing a variable ‘X’ by reference and other variable ‘Y’ by value in

lambda expression?

[X, &y]

 [&X, Y]

[&x, &Y]

[X, Y]



9.

What does the following function returns void memmove(void s1,const void s2, size_t n);?

returns the value of s2

returns the value of s1

returns the value of s1 and s2

doesn’t return any value



10.

What is lambda expression in C++?

A technique of C++ that allows us to write overloaded functions

A technique of C++ that allows us to write inline functions without a name

A technique of C++ that allows us to write functions without parameters

A technique of C++ that allows us to write functions that are called more than once


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


Programming


1.

Problem statement

Given a string S made of letters a, b and c, nd the number of sub strings that do not contain all the

letters a, b and c. That is the number of sub strings that do not contain at least one of the letters a

or b or c.

Note that the sub string should contain atleast one letter, that is it should not be empty string.

Input Format

First line of the input is the number of test cases T. It is followed by T lines. Each test case is a single

line which is the string S.

Constraints

1 <= |S| <= 10^6

Output Format

For each test case, print a single number, the required answer.

Sample Input:

3

ababa

abc

babac

Sample Output:

15

5

C++ CODE:


#include<bits/stdc++.h>

using namespace std;

#define fainou ios_base::sync_with_stdio(false);cin.tie(NULL)

#define ll long long

#define mod 1000000007

 

int main(){

fainou;


ll t;

cin>>t;

while(t--){

    string s;

cin>>s;

ll i=0,j=0,a=0,b=0,c=0,ans=(s.length()+1)*(s.length())/2;

for(ll i=0;i<s.length();i++){

if(s[i]=='a'){

a=i+1;

ans-=min(b,c);

}

if(s[i]=='b'){

b=i+1;

ans-=min(a,c);

}

if(s[i]=='c'){

c=i+1;

ans-=min(b,a);

}

}

cout<<ans<<"\n";

}

}


2.

Problem statement

«Polygon» is a system which allows to create programming tasks in a simple and professional way.

When you add a test to the problem, the corresponding form asks you for the test index. As in most

cases it is clear which index the next test will have, the system suggests the default value of the

index. It is calculated as the smallest positive integer which is not used as an index for some

previously added test.

You are to implement this feature. Create a program which determines the default index of the next

test, given the indexes of the previously added tests.

Input Format

The rst line contains one integer n — the amount of previously added tests. The second line

contains n distinct integers a1, a2, ..., an-indexes of these tests.

Constraints

(1 ≤ n ≤ 3000) (1 ≤ ai ≤ 3000)

Output Format

Output the required default value for the next test index.

Sample Input:

2

2 1

Sample Output:

3

PYTHON CODE:

print(min({*range(1,3002)}-{*map(int,[*open(0)][1].split())}))


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

Post a Comment

Previous Post Next Post