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

INFEED

DailyTest | Mock test 15 | sep 9

 Numerical Ability


1.

The thanksgiving banquet at No.2, Ritcher Street, had 49 guests which consisted of 6 statesmen, 26

relatives and their families. At the end of a banquet 19 people shake hands with other , some of

which were between the statesmen alone, some between relatives alone and some between the

statesmen and relatives. How many handshakes will there be in total?

342

171

180

162



2.

21 people meet and shake hands. The maximum number of handshakes possible if there is to be no

‘cycle’ of handshakes is? (A cycle of handshakes is a sequence of people a1, a2, … , aK such that the

pairs (a1, a2), (a2, a3),… , (a (k-1), ak), (ak, a1) shake hands)

17

18

19

20



3.

Evaluate: log3 (27)

3

9

27

81



4.

Arun, Akash, Amir and Aswanth go for a picnic. When Arun stands on a weighing machine, Akash also

climbs on, and the weight shown was 132 kg. When Akash stands, Amir also climbs on, and the

machine shows 130 kg. Similarly the weight of Amir and Aswanth is found as 102 kg and that of Akash

and Aswanth is 116 kg. What is Aswanth’s weight?

58 kg

78 kg

44 kg

None



5.

Out of 128 students in a class, 72 are girls and the remaining are boys. Find the ratio of the number of

boys to the number of girls.

9:7

7:9

3:8

8:3



6.

What is the value of h(h(7, 13, 5, 9),h(4, 6, 12, 14) ?

If p, q, r, s be the distinct integers such that :

f(p, q, r, s)= maximum of (p, q, r, s)

g(p, q, r, s)= minimum of (p, q, r, s)

h(p, q, r, s)= remainder when p × q is divided by r × s if p × q > r × s. = remainder when r × s is divided by

p × q if r × s > p × q.

Also, the same operations are valid with two variable functions of the form f( p, q ) Also a function fgh(

p, q, r, s) = f( p, q, r, s)× g(p, q, r, s)× h(p, q, r, s)

½

1/5

1/7

not defined



7.

Given a collection of points P in the plane, a 1-set is a point in P that can be separated from the rest by

a line, i.e. the point lies on one side of the line while the others lie on the other side. The number of 1 -

sets of P is denoted by n1(P). The minimum value of n1(P) over all configurations P of 5 points in the

plane in general position (i.e. no three points in P lie on a line) is

3

5

2

7



8.

A pen is sold for Rs. 120 at a profit of 25%. At what price must it be sold to gain 33.33%?

Rs.160

Rs.128

Rs.150

Rs.132



9.

If a person makes a row of toys of 20 each, there would be 15 toys left. If they made to stand in rows of

25 each, there would be 20 toys left, if they made to stand in rows of 38 each, there would be 33 toys

left and if they are made to stand in rows of 40 each, there would be 35 toys left. What is the minimum

number of toys the person have?

1255

3805

7595

3795

 

 

 

10.

J, K, L, M and N collected stamps. They collected a total of 100 stamps. None of them collected less
than 10. No two among them collected the same number.
(i) 3 collected the same number as K and M together.
(ii) L collected 3 more than the cube of an integer
(iii) the number collected by J was the cube of an integer.
(iv) Total number collected by K was either the square or cube of an integer.
The number of stamps collected by N was:
10
11
12
13
 

 

 

11.

At what rate of interest per annum will a sum quadruple itself in 10 years (in %)?
15
.40
20
30
 

 

 

12.

   If there are 30 cans out of them one is poisoned. If a person tastes very little of this he will die within 14
hours so they decided to test it with mice. Given that a mouse dies in 24 hours and you have 24 hours
in all to find out the poisoned can, how many mice are required to find the poisoned can?
29
15
6
5

 

 

13.

A research lab in Chennai requires 100 mice and 75 sterilized cages for a certain set of laboratory
experiments. To identify the mice, the lab has prepared labels with numbers 1 to 100, by combining
tags numbered 0 to 9. The SPCA requires that the tags be made of toxin-free material and that the
temperature of the cages be maintained at 27 degree Celsius. Also, not more than 2 mice can be
caged together and each cage must be at least 2 sq.ft in area. The 5 experiments to be conducted by
lab are to be thoroughly documented and performed only after a round of approval by authorities. The
approval procedure takes around 48 hours. How many times is, the tag numbered ’4’ used by the lab in
numbering these mice?
9
. 19
20
21
 

 

14.

Sunny has two coins out of which one is biased and the other has heads on either side. He puts both
coins in a bag and asks Bunny to take a coin out from the bag and flip it without looking at it. The coin
falls to the ground, showing a head. What is the probability that the other side of the coin is head as
well?
1/2
4/8
3/7
4/7

 

 

15.

Sum lent out at 10% p.a. will amount to Rs. 1200 in 6 years?
Rs.750
Rs.675
Rs.250
Rs.500

 

 

16.

Pipe A can fill a tank in 20 min and pipe B can empty a tank in 40 min. How many minutes will it take to
fill the tank if 11 A pipes and 12 B pipes fill and empty the tank all at once, respectively?
2.6
10
5
4
 

 

 

17.

7
8
5
9

 

 

18.

‘If the letters of the word ‘ARISE’ are arranged in a row in all possible ways and the arrangements are
listed in alphabetical order as in a dictionary, then the rank of the word ‘RAISE’ is?
76
75
68
70

 

 

19.

If the cost price of an article is Rs. 560 and the percent mark-up is 30%. What is the marked price?
Rs. 728
Rs. 392
Rs. 718
Rs.792
 

 

 

20.

Sixty-five percent of a number is 21 less than four fifth of that number. What is the number?
110
120
140
150
 

 

 

21.

X can do a piece of work in 10 days and Y can do it in 15 days. In how many days will X and Y finish it
together?
5 days
6 days
12.5 days
2.5 days

 

 

22.

The sequence {An} is defined by A1= 2 and An+1 = An+2n what is the value of A100.
9902
9900
10100
9904
 

 

23.

Five dice are rolled. Find the number of possible outcomes in which at least one die shows 3.
5428
4651
4215
5362
 

 

24.

A schoolyard contains only bicycles and 4 wheeled wagons. On Tuesday, the total number of wheels in the schoolyard was 166. What could the possible number of bicycles? 

14 

10 

12 

11

 

25.

 Three unbiased coins are tossed, what is the probability of getting at least 2 tails? 

1/3 

1/6 

1/2 

1/8

 

26.

Each of the five students, P,Q,R,S and T like two colours from the given colours named Blue, Pink, Black, White and Green. Each subject is studied by two students i. P likes Blue and White ii. R likes Blue and Pink iii. S and T both like Black iv. Q does not like Green Who from the given options like Green? 

S

 

 

Reasoning ability

1.

In the following figure circle represent lazy, triangle represent hardworking and rectangle represent innocent. image.png 

How many people are both innocent and lazy but not hardworking? 

21

24 


2.
In a certain code, M + N means M is the son of N, M X N means M is the brother of N; M÷N means M is the husband of N and M - N means M is the sister of N. If Q - T + P X S ÷ R, then which of the following is true? 
 
S is the uncle of Q 
Q is the uncle of T 
S is the brother of Q 
S is the aunt of R
 
 
3.
Which answer figure will continue the same series as established by the problem figures?
image.png 
 
A.image.png 
 
 
B.image.png

C.image.png


D.image.png



4.

A cube is made by folding the given sheet. In the cube so formed, which letter/ symbol will be on the opposite face to the face having the symbol ‘$’?

image.png 

 

$

y

 

5.

Five teams P, Q, R, S and T participates in a test in sequence between 10 am and 3 pm. Each team participates for one hour. Q participates first. S participates just after T. R participates before P and T. Who participates in the last? 

T

 

 6.

A statement is followed by two assumptions numbered I and II. Consider the statement and decide which of the given assumption(s) is/are implicit in the statement. Statement No one is perfect in the world. Assumptions 

I. Everyone is useless. 

II. All are perfect. 

 

Both I and II are implicit 

Only I is implicit 

Only II is implicit 

Neither I nor II is implicit

 

7.

A statement is followed by three assumptions numbered I and II. Consider the statement and decide which of the given assumption(s) is/are implicit in the statement

Statements:s: 

An apple a day, keeps a doctor away

Assumptions:

I. Apple is good for health

 II. Apple is not good for health 


Only Assumption I is implicit 

Only Assumption II is implicit 

Both I and II implicit 

None

 

 8.

In a certain code, X @ Y means X is the wife of Y. X $ Y means X is the husband of Y. X # Y means X is the son of Y. Which of the following will be true for the expression A @ B # C $ D? 

C is the father-in-law of A 

D is daughter-in-law of A 

C is father of D . 

B is husband of C

 

 

9.

  A statement is followed by three assumptions numbered I and II. Consider the statement and decide which of the given assumption(s) is/are implicit in the statement

Statement:

Most of the students are spoiling their career because of movies

Assumptions:

I. Students should watch more movies. 

II. Most of the movies are having 4 Songs 

    neither I nor II implicit

10.

Among three friends of A, B and C. How many are males? Statements: I. A’s favourite colour is Pink. II. B & C play PUB-G all the time. Statement II alone is sufficient Statement I alone is sufficient Both I and II together are not sufficient Both together I and II are sufficient

 

11.

A team of four members are to be selected from among four boys A,B,C,D and four girls P,Q,R,S such that there would be equal number of boys and girls in the team and the team selection should meet the following conditions. 1. A cannot go with R 2. R and C must go together 3. Q cannot be put up with C 4. P and D must be together RAPD QCRS RCPD ARQC  


12.

The following are the criteria for selecting a candidate for the post of Technical Trainer. The candidates must: I. Be a graduate in engineering in specialization of Computer Science & Engineering with minimum 60% marks.II. Have three years full time experience. III. Have secured more than 60% in the interview and at least 75% in the written test. However, if the candidate fulfills the above criteria expect In case of the applicant who satisfied all other criteria except - (i) At I above, but has worked as a freelancer for 3 years in a relevant field, his/ her case is to be referred to Content developer. (ii) At II above, but has secured more than 65% in the written test as well as in the interview, his/ her case is to be referred to Quality checker. Naveen completed his graduation in the stream of CSE with 90% marks. He is having 4 years of full time experience as a Technical trainer and score more than 80% in both written test and Interview. He would be selected Refer to the HR department Refer to the General Manager Refer to the Management

 

13.

Three statements are followed by three conclusions numbered I, II & III. Assuming the statements to be true, even if they do not conform to real world knowledge, decide which of the conclusion(s) logically follows/follow from the statements. Statements:: All teachers are intelligent All intelligent are rich Some rich are polite Conclusions: I. some teachers are intelligent II. All rich are polite III. Some teachers are rich Only either I or IV follow and III follow Either II or I followsOnly II & III follow Only I & III follow 

 

14.

A cube is made by folding the given sheet. In the cube so formed, which letter/ symbol will be on the opposite face to the face having the symbol

image.png ‘#’? a + .$ y  


15.

Niharika, Indhu, Raghu, Mahesh and Hasini participate in any one of the five activities i.e. Quiz, Singing, Dance, Debate and Mimicry. Raghu participates in Singing. Hasini does not participate in Debate and Mimicry. Mahesh does not participate in Mimicry. Indhu participates in Quiz. Who participates in Mimicry? Mahesh Niharika or Mahesh Niharika Cannot be determined

 

 

16.

 In a certain code, X @ Y means X is the wife of Y. X $ Y means X is the husband of Y. X # Y means X is the son of Y. Which of the following will be true for the expression A @ B # C $ D? C is the father-in-law of A D is daughter-in-law of A C is father of D . B is husband of C

 

17.

Three statements are followed by three conclusions numbered I, II & III. Assuming the statements to be true, even if they do not conform to real world knowledge, decide which of the conclusion(s) logically follows/follow from the statements. Statements:: All teachers are intelligent All intelligent are rich Some rich are polite Conclusions: I. All intelligent are teachers II. All polite are rich III. Some teachers are rich Only either I or IV follow and III follow Either II or I followOnly II follow Only III follow 

 

18.

Two statements are followed by three conclusions numbered I, II . Assuming the statements to be true, even if they do not conform to real-world knowledge, decide which of the conclusion(s) logically follows/follow from the statements Statements: Some birds are animals All birds are reptiles Conclusions: 1. All birds are reptiles 2. Some reptiles are animals. Only conclusion 1 follows Only conclusion 2 follows Either 1 or 2 follows  Neither 1 nor 2 follows Both 1 and 2 follows 

 

19.

In a certain code, P @ R means P is the wife of R. P $ R means P is the husband of R. P # R means P is the son of R. Which of the following will be true for the expression A @ B # C $ D? A is brother of D A is daughter-in-law of D D is father of A None

 

20.

Given below is a question followed by two statements, I and II, each containing some information. Decide which of the statement(s) is/are sufficient to answer the question. How is Sheela exactly related to Ramesh? Statements: I. Monal’s brother Vishal is married to Sravani and Rahul’s mother is the sister of Monal. II. Sravani is the sister of Vishal and Vishal’s only child is the cousin brother of Rahul. Both the statements I and II are necessary Both the statements I and II together are not sufficient Statement II alone is sufficient Statement I alone if sufficient

 

21.

In the following figure circle represent lazy, triangle represent hardworking and rectangle represent innocent. How many people are both innocent and hardworking but not lazy?image.png 9 6 21  24



22.

Among 4 persons Akhil, Balu, Chintu and Darshan i. Balu is twice as heavy as Akhil ii. Akhil weight is half of the Darshan weight. iii. Darshan and Balu together weigh 100kg iv. chintu is 20kg less than Darshan What is the weight of chintu? 30 kg 25 kg 69 kg 70 kg 

 

23.

Which answer figure will continue the same series as established by the problem figures? Problem figures

image.png 

A.image.png 

B.image.png 

C. image.png
D.image.png


24.

A statement followed by two assumptions numbered I and II. Consider the statement and decide which of the given assumptions is implicit in the statement. Statement: Even though enough support is provided for tomato production and its storage in cold stores, the state will continue to import from other countries Assumptions: i. In Spite of the support the tomato production and storage will not be able to meet the demand for tomatoes by the people in the store. ii. The state is aware that the demand for tomatoes by the consumers would rise substantially in the near future

Only ii is implicit .Both i and ii are implicit Neither i nor ii is implicit Only i is implicit

 

25.

A statement is followed by three assumptions numbered I and II. Consider the statement and decide which of the given assumption(s) is/are implicit in the statement. Statements: The only key for success is hard work Assumptions: I. If you want to succeed, you should do hard work. II. People who failed do less hard work Only Assumption I is implicit Only Assumption II is implicit Both I and II implicit None

 

26.

Each of the five students, P,Q,R,S and T like two colours from the given colours named Blue, Pink, Black, White and Green. Each subject is studied by two students i. P likes Blue and White ii. R likes Blue and Pink iii. S and T both like Black iv. Q does not like Green Who from the given options like Green? P Q R S

 

27.

Given below is a question followed by two statements I and II, each containing some information. Decide which of the statements are sufficient to answer the question that follows. How many Rs. would Shamili need to spend to buy 11 pencils and 14 pens? I. Shamili spent an amount of Rs.201 to buy 15 pencils and 12 pens. II. Shamili spent an amount of Rs.121 to buy 7 pencils and 9 pens. The combination of both the statements I and II are not sufficient. Statement II alone is sufficient. Statement I alone is sufficient. The combination of both the statements I and II are necessary

 

28.

In each of the five pairs of letter-clusters, the letters in the second term is a rearranged/transformed form of the letters in the first term in a particular pattern. In which two pairs, has the transformation been done the same way? 1. WMHSD - DSHWM 2. NPKRQ - PRKQN 3. HQRWK - HKWQR 4. ZIGPM - PIZGM 5. BWTKG - GKTBW 4 and 2 1 and 5 2 and 3 1 and 3  


29.

  Given below is a question followed by two statements, I and II, each containing some information. Decide which of the statements are sufficient to answer the question. Five family members A, B, C, D and E are sitting in a line facing North. Who is sitting exactly in the middle? I. C is sitting between A and B. E is at the fourth place to the left of B. II. E is sitting to the immediate left of D. C is to the immediate left of B. Statement II alone is sufficient. . Statement I alone is sufficient. The combination of both the statements I and II are necessary. . The combination of both the statements I and II are not sufficient.

 

30.

Given below is a question followed by two statements, I and II, each containing some information. Decide which of the statement(s) is/are sufficient to answer the question. How is Amar related to Raheem? Statements: I. Raheem is the brother of Amar. II. Raheem is the only son of Hema. Both the statements I and II are necessary Both the statements I and II together are not sufficient Statement II alone is sufficient Statement I alone if sufficient

  Verbal Ability

1.

Instruction: Identify the error. (A) The show / (B) began / (C) when we arrived / (D) in the hall./ (E) No error. A B C D EInstruction: Identify the error.
(A) The show / (B) began / (C) when we arrived / (D) in the hall./ (E) No error.
A
B
C
D

 

2.

Instruction: Read the passage and the answer the question given below.
PASSAGE: Now the question arises, what is the secret of the longevity and imperishability of Indian
culture? Why is it that such great empires and nations, as Babylon, Assyria, Greece, Rome and Persia,
could not last more than he footprints of a camel in the shifting sands of the desert, while India which
faced the same ups and downs, the same mighty and cruel hand of time, is still alive and with the same
halo of glory and splendour? The answer is given by Prof. J. B. Pratt of America. According to him, Hindu
religion is the only religion in the world which is ‘self-perpetuating and self-renewing’.Unlike other
religions ‘not death, but development’ has been the fate of Hinduism. Not only Hindu religion but the
whole culture of the Hindus has been growing, changing and developing in accordance with the needs
of time and circumstance without losing its essential and imperishable spirit.The culture of the Vedic
ages, of the ages of the Upanishads, the philosophical systems, the Mahabharata, the Smirities, the
Puranas, the commentators, the medieval saints and of the age of the modern reformers is the same in
Spirit and yet very different in form. Its basic principles are so broad based that they can be adapted
to almost any environment of development.
‘Could not last more than the footprints of a camel on the shifting sands of the desert.’ What does
it mean?
 

It lost itself in the deserts
It was transient
It lacked solidity
It was limited only to desert areas
It lacked cohesion
 

3.

Instruction: Read the passage and the answer the question given below.
PASSAGE: Now the question arises, what is the secret of the longevity and imperishability of Indian
culture? Why is it that such great empires and nations, as Babylon, Assyria, Greece, Rome and Persia,
could not last more than he footprints of a camel in the shifting sands of the desert, while India which
faced the same ups and downs, the same mighty and cruel hand of time, is still alive and with the same
halo of glory and splendour? The answer is given by Prof. J. B. Pratt of America. According to him, Hindu
religion is the only religion in the world which is ‘self-perpetuating and self-renewing’. Unlike other
religions ‘not death, but development’ has been the fate of Hinduism. Not only Hindu religion but the
whole culture of the Hindus has been growing, changing and developing in accordance with the needs
of time and circumstance without losing its essential and imperishable spirit. The culture of the Vedic
ages, of the ages of the Upanishads, the philosophical systems, the Mahabharata, the Smirities, the
Puranas, the commentators, the medieval saints and of the age of the modern reformers is the same in
Spirit and yet very different in form. Its basic principles are so broad based that they can be adapted
to almost any environment of development.
What is the characteristic quality of the basic principles of Indian culture?

 

Unity of Indian Culture
Indian Civilisation and Culture
Indian Religion and Civilisation
Characteristics of Indian Culture
Development of Indian Culture

 

4.

Instruction: Identify the error.
Radhika recalls her school days / with such nostalgia / that she often lost / herself in reminiscence.
Radhika recalls her school days
with such nostalgia
that she often lost
herself in reminiscence.

 

5.

Instruction: Rearrange the four sentences A, B, C, D, in the proper sequence so as to form a
meaningful paragraph.
1.Swapnil worked very hard and had no time to feel lonely.
P. Swapnil was very fond of books.
Q. He settled down in the evening to read by the light of fire.
R. She used to sit by the fireside in the evening and tell him stories.
S. His mother taught him to read when he was very young.
6. Every evening he would spend his time in reading all the books he could find.
PRSQ
QSPR
RPSQ
SPQR

 

6.

Instruction: Identify the error.
In addition to enhancing its reputations / through strategic use of philanthropy, / companies are
sponsoring / social initiatives to open new markets.
In addition to enhancing its reputations
through strategic use of philanthropy
companies are sponsoring
social initiatives to open new markets.

 

7.

Instruction: Rearrange the four sentences A, B, C, D, in the proper sequence so as to form a
meaningful paragraph.
S1: Trendy, sporty, young, lively, and modern are the tag words to describe Xtreme Sports Bar on
Cunningham Road.
A. Spanning two floors, this is the perfect venue to hang out, play pool or football and watch sports on
the giant plasma and LCD screens on both levels.
B. Comfortable leather sofas take up the corners, while tables of four are placed across the restaurant.
C. Outdoor seating is also available if you want less of the high-decibel music and have a conversation,
or gaze upon the bustling Cunningham Road.
D. On the first level is a typical island bar in the centre and posters of various sports stars adorn the
walls, some of them with inspirational quotes.
S6: This place has many events that keep varying – Club Nights with well-known DJs, Ladies
Nights, Funky Fridays, Rock and Retro gigs and sometimes Quiz Meets.
ACBD
ABCD
DCAB
CABD
 

 

8.

Instruction: Complete the sentences. Use the phrasal verb, which means the same as the verb in
brackets.
It would be great if you could __ this Sunday. (Visit me)
Come over
Come up
Came out
Come across

 

9.

Instruction: Choose the correct synonym for the underlined word from the options given :
…… Seek to restore the harmony of bygone days.
Future
Present
Olden
Modern

 

10.

Instruction: Fill in the blank with the most suitable option.
As the week progressed, the four people involved found it hard to 1 ___with the pressure of leaving
work undone. They felt they were 2 ___ people down, and worried about the effect on the business, 3
___ crises made it more and more difficult to go home on time, changing working habits wasn’t easy 4
___, they saw the experiment through to the end proving the point that no matter what the odds are,
one can always achieve the goal by hard work, consistency and 5____.
Which option suits blank 5?
Procrastination
Perseverance
aversiveness
disgruntlement

 

11.

 Instruction: Fill in the blanks with appropriate prepositions.
Their ship came __ our ship.
Close to
Until
Since
For
On
 

 

12.

Instruction: Fill in the blank with the most suitable option.
As the week progressed, the four people involved found it hard to 1 ___with the pressure of leaving
work undone. They felt they were 2 ___ people down, and worried about the effect on the business, 3
___ crises made it more and more difficult to go home on time, changing working habits wasn’t easy 4
___, they saw the experiment through to the end proving the point that no matter what the odds are,
one can always achieve the goal by hard work, consistency and 5____.
Which option suits blank 4?
conversely
in addition
nevertheless
after all

 

13.

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

A. Cleaner nations will become richer and their economies grow faster than dirty nations.
B. If Africa were to burn its own coal reserves, the resultant carbon emissions would cause trillions of
dollars of damage to the rest of the world.
C. A global carbon market will create a new global system of economic values
D. But if the developed world can't clean up the globe on its own, it can create market conditions that
make reduction in carbon emissions an economic priority for every nation
E. Of course, the US – and all developed nations for that matter – can't solve the emissions problem
alone.
BEBCA
CAEBD
CBDEA
EBDCA 

 

14.

Instruction: Rearrange the four sentences A, B, C, D, in the proper sequence so as to form a
meaningful paragraph.
S1: Commodities regulator Forward Markets Commission (FMC) wil l henceforth be overseen by the
finance ministry,not the department of consumer affairs.
A. The move follows the scam at the National Spot Exchange (NSEL), where some trades exceeded, by
far, the 11-day limit for a spot exchange, and relied on receipts for stocks issued by warehouses that
were not registered with the regulator for warehouses.
B. Recognising commodity markets as part of the financial landscape is the first step in the needed
regulatory reform to bring all financial markets under a single regulator, which incorporates the
concerns of a macro prudential regulator.
C. While the exchange and its management must be held to account for criminally negligent oversight,
legal remediation has to start with the issuers of spurious warehouse receipts.
D. This is a step in the right direction.
S6: The law must come down heavily on warehouse operators responsible for fraudulent receipts
that effectively paved the way for prohibited short-selling

DABC
DBCA
ADBC
DBAC
CDBA


15.

Instruction: Fill in the blank with the most suitable option.
As the week progressed, the four people involved found it hard to 1 ___with the pressure of leaving
work undone. They felt they were 2 ___ people down, and worried about the effect on the business, 3
___ crises made it more and more difficult to go home on time, changing working habits wasn’t easy 4
___, they saw the experiment through to the end proving the point that no matter what the odds are,
one can always achieve the goal by hard work, consistency and 5____.
Which option suits blank 1?
tackle
cope
manage
handle


16.

Instruction: Choose the correct synonym for the underlined word from the options given.
His expression was the most piteous.
Joyous
Kind
Anxious
Pathetic


17.

Instruction: Read the passage and the answer the question given below.
PASSAGE: Now the question arises, what is the secret of the longevity and imperishability of Indian
culture? Why is it that such great empires and nations, as Babylon, Assyria, Greece, Rome and Persia,
could not last more than he footprints of a camel in the shifting sands of the desert, while India which
faced the same ups and downs, the same mighty and cruel hand of time, is still alive and with the same
halo of glory and splendour? The answer is given by Prof. J. B. Pratt of America. According to him, Hindu
religion is the only religion in the world which is ‘self-perpetuating and self-renewing’.Unlike other
religions ‘not death, but development’ has been the fate of Hinduism. Not only Hindu religion but the
whole culture of the Hindus has been growing, changing and developing in accordance with the needs
of time and circumstance without losing its essential and imperishable spirit.The culture of the Vedic
ages, of the ages of the Upanishads, the philosophical systems, the Mahabharata, the Smirities, the
Puranas, the commentators, the medieval saints and of the age of the modern reformers is the same in
Spirit and yet very different in form. Its basic principles are so broad based that they can be adapted
to almost any environment of development.
What according to the author has always characterised the Hindu religion?

Development
Stagnation
Sometimes development and sometimes stagnation
Lack of moral values
Precedence of material over moral values


18.

Instruction: Read the passage and the answer the question given below.
PASSAGE: Now the question arises, what is the secret of the longevity and imperishability of Indian
culture? Why is it that such great empires and nations, as Babylon, Assyria, Greece, Rome and Persia,
could not last more than he footprints of a camel in the shifting sands of the desert, while India which
faced the same ups and downs, the same mighty and cruel hand of time, is still alive and with the same
halo of glory and splendour? The answer is given by Prof. J. B. Pratt of America. According to him, Hindu
religion is the only religion in the world which is ‘self-perpetuating and self-renewing’. Unlike other
religions ‘not death, but development’ has been the fate of Hinduism. Not only Hindu religion but the
whole culture of the Hindus has been growing, changing and developing in accordance with the needs
of time and circumstance without losing its essential and imperishable spirit. The culture of the Vedic
ages, of the ages of the Upanishads, the philosophical systems, the Mahabharata, the Smirities, the
Puranas, the commentators, the medieval saints and of the age of the modern reformers is the same in
Spirit and yet very different in form. Its basic principles are so broad based that they can be adapted
to almost any environment of development.
Which other religion has been mentioned in the passage as self-developing and self-renewing as
Hindu religion?

Christianity
Islam
Buddhism
Jainism
None of the above


19.

Instruction: Identify the error.
Either of the officials / have to / attend / the meeting tomorrow.
Either of the officials
have to
attend
the meeting tomorrow


20.

Instruction: Choose the correct answer
Bella said that she didn’t have to pay for that outfit.
Bella said, “I don’t have to pay for that outfit’.
Bella said, “I didn’t have to pay for that outfit’.
Bella said, “I don’t want to be paying for this outfit’.
Bella said, “I don’t have to pay for this outfit’


21.

Instruction: Identify the error.
(A) The clothes / (B) were neatly / (C) hanged / (D) on the cloth line./ (E) No error
A
B
C
D
E


22.

Instruction: Fill in the blank with the most suitable option.
As the week progressed, the four people involved found it hard to 1 ___with the pressure of leaving
work undone. They felt they were 2 ___ people down, and worried about the effect on the business, 3
___ crises made it more and more difficult to go home on time, changing working habits wasn’t easy 4
___, they saw the experiment through to the end proving the point that no matter what the odds are,
one can always achieve the goal by hard work, consistency and 5____.
Which option suits blank 3?
rapid
hasty
sudden
instant


23.

Instruction: Fill in the blanks with appropriate Helping verb.
___(be) I the only person who could help you now to complete the project ?
Is
Am
Are
Was


24.

Instruction: Fill in the blank with the most suitable option.
As the week progressed, the four people involved found it hard to 1 ___with the pressure of leaving
work undone. They felt they were 2 ___ people down, and worried about the effect on the business, 3
___ crises made it more and more difficult to go home on time, changing working habits wasn’t easy 4
___, they saw the experiment through to the end proving the point that no matter what the odds are,
one can always achieve the goal by hard work, consistency and 5____.
Which option suits blank 2?
Letting
putting
setting
cutting

Technical MCQ's

1.

Which of these literals can be contained in float data type variable?
-1.7e+308
-3.4e+038
+1.7e+308
-3.4e+050

2.

The value 132.54 can be represented using which data type?
double
void
int
bool

3.

What will be the final value of d in the following C code?
 #include <stdio.h>
 int main()
 {
 int a = 10, b = 5, c = 5;
 int d;
 d = b + c == a;
 printf("%d", d);
 }
Syntax error
1
5
10

 

4.

A queue follows __
FIFO (First In First Out) principle
LIFO (Last In First Out) principle
Ordered array
Linear tree

5.

When a language has the capability to produce new data type mean, it can be called as
overloaded
extensible
encapsulated
reprehensible

6.

A linear list of elements in which deletion can be done from one end (front) and insertion can take place
only at the other end (rear) is known as _
Queue
Stack
Tree
Linked list

7.

Which of the following statements are true?
int f(float)
f is a function taking an argument of type int and returning a floating point number
f is a function taking an argument of type float and returning an integer
f is a function of type float
f is a function of type int

8.

Which data type value is returned by all transcendental math functions?
int
float
double
long

9.

Which of the following gives the memory address of the first element in array?
array0;
array1;
array(2);
array;

10.

Pick the odd one out.
integer, character, boolean, floating
enumeration, classes
integer, enum, void
arrays, pointer, classes

Programming

1.

Problem statement
Sherlock and Watson are playing swapping game. Watson gives to Sherlock a string S on which he has
performed K swaps. You need to help Sherlock in finding the original string. One swap on a string is
performed in this way:
Assuming 1 indexing, the i'th letter from the end is inserted between i'th and (i+1)'th letter from the
starting. For example, we have "contest". After one swap, it would change to "ctosnet".
Input Format
First line contains K, the number of swaps performed by Watson. Next line contains S, the string
Watson gives to Sherlock.
Constraints
1 ≤ K ≤ 109
3 ≤ Length(S) ≤ 1000
All characters in S will be small English alphabets.
Output Format
You have to print in one line the original string with which Watson had started.
Sample Input:
3 hrrkhceaate
Sample Output:
hackerearth

 

Solution:

 C code:

#include <stdio.h>
#include <string.h>
int main()
{
    char s[1000];
    char out[1000];
    int k,i,j,l;
    int index;
    scanf("%d",&k);
    scanf("%s",s);
    l=strlen(s);
    l--;
    k= swap(l,k);
    printf("%c",s[0]);
    for(i=1;i<=l;i++)
    {
        index=i;
        for(j=0;j<k;j++)
        {
            index = getnext(index,l);
        }
        printf("%c",s[index]);
    }
    return 0;
}
int swap(int length,int iteration)
{
    int count = 0,index =2;
    do
    {
        count ++;
        if(index <= (length/2))
        index = index * 2;
    else
        index = (length - index)*2 + 1;
    }while(index != 2);
    return iteration % count;
}
int getnext( int index, int length)
{
    if(index <= (length/2))
        return index * 2;
    else
        return (length - index)*2 + 1;
}

 

 

 

2.Problem statement
Confused? Well it stands for Welcome To HackerEarth September Easy Challenge :). It's quite amazing
when long words like this get reduced to such a short string. They sound pretty cool and often make
the chat interesting. They are almost used everywhere these days.
Our friend Harsh has been recently reducing every sentence he receives to acronym. Since Harsh is a
young lad he has his own personal likes and dislikes. There are some words which he just does not want
to see in a sentence. So whenever he encounters such a word he simply ignores it. Harsh is thinking of
converting a book to an acronym book where each sentence of the book is reduced to its short form.
Since Harsh is quite busy in promoting his new book he wants you to help him in doing so.
So he gives you a set of words which he dislikes and a sentence for which he wants to abbreviate. Help
him in getting the required abbreviation.
Input Format
The first line contains an integer K which denotes the number of disliked words, This is followed by k
lines where each line contains a disliked word, the next line will contain an integer donating the number
of words in the given sentence, The last line contains the sentence of which Harsh wants to abbreviate.
The sentence will consist of number of words separated by a space
All words will consist of lowercase English alphabets(a-z)
Constraints
1<= K <=10
1<= length of each word <=100
1<= length of the sentence <=100

  In a single line print the required acronym. The Acronym should be printed in Upper Case English
alphabets separated by "." (dots).
Note:
Changing a sentence to an acronym means taking the first character of each word of the sentence and
changing it to upper case then writing the characters separated by "." (dots), remember that Harsh
doesn't like some words so he will not take their first character if they appear in the sentence
If a disliked word is present as a proper substring of a word in the given sentence then it should not be
ignored.
The final Output will never be an empty string.
Sample input:
6
oik
ppui
aw
xs
x
itxoohe
15
qd tkrvcifam aqvzmdgj blutejpglx oik quiy aw mj oajrzmuat ecxbpasqq scdbolfur x fhdktmmsy qsqq xs
Sample Output:
Q.T.A.B.Q.M.O.E.S.F.Q

Solution

C++ code:

#include <bits/stdc++.h>

#define ll long long

#define endl '\n'

const int mod = 1e9 + 7;

using namespace std;

 

int main() {

 

 int k;

 cin>>k;

 string c;

 char words[k][100];

 for(int i=0;i<k;i++)

   cin>>words[i];

 int n;

 cin>>n;

 char sentence[n][100];

 for(int i=0;i<n;i++)

   cin>>sentence[i];

 

 for(int t=0;t<n;t++){

   string a=sentence[t];

   int flag=1;

   for(int j=0;j<k;j++){

       string b=words[j];

       if(a==b){

           flag=0;

           break;

       }

   }

   if(flag==1){

       char temp=char(int(a[0])-32);

       c+=temp;

       c+=".";

   }

 }

 c.pop_back(); //to remove the last "."

 cout<<c;

 return 0;


 
 


Post a Comment

Previous Post Next Post