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

INFEED

Daily Test | Mock Test 24 | sep 11

 

Numerical Ability


1.

Praveen invested a sum of Rs.30000 in a scheme where the interest gets compounded annually and
grows to Rs. 51840 in three years. How much interest (in Rs.) would have accrued in six months in the
same scheme had the interest been compounded quarterly?
3024
3075
3126
2975

 

2.

In case of frequency distribution for 15 continuous classes, the class width is 5 and the lower class limit
of the lowest class is 10. What is the upper class limit for the highest class?
40
85
54
12

 

3.

If the HCF of 180 and 432 is expressed as (180m + 432n), where m and n are integers, then what is the
product of m and n ?
10
-10
8
-8

 

4.

The sales (in multiples of hundred) of three brands A, B, C of car from a showroom during four
consecutive years, 2012 - 2015 have been presented through the Bar Graph given below.


In which year is the sales of C is 80% of A and B together?
2013
2014
2015
. 2012

 

5.

Prathap working alone takes 75 days more than Surya to do a work, and working together they
complete it in 20 days. If a certain sum has been earmarked as wages for his work, in what ratio should it
get distributed among Prathap and Surya?
2 : 5
2 : 3
1 : 5
1 : 4
 

 

6.

In a factory, the coefficients of variation of the wages of urban and rural workers are 66% and 52%
respectively and their standard deviations are 2640 and 2600 respectively. If 60% of the workers are
urban, what is the overall average wage (in Rs.) of the workers?
4450
4350
4400
4200

 

7.

Prakash gains Rs.357 on selling a tablet at 13% gain and a chair at 6% gain. If he sells the table at 15% gain
and the chair 8% loss, he gains Rs.203. What is the actual cost of the chair?
2200
2100
2400
1400
 

 

8.

What is the simplified value of 0.406 / (0.2 ∗10 + 0 ∗ 0.2) * (20.3 ∗10 ) ?
0.1
1
0.01
0.001
 

 

9.

A file of cadets consisting of ten rows and five columns measures 560m in length along the direction of
their marching. How much time ( in hours and minutes) would it take to march for a stretch of 4 km, if
the stride of each cadet is 80cm. and he takes 57 strides per minute?
1 hr 40 min
1 hr 24 min
1hr 10 min
1 hr 20 min
 

 

10.

A sum invested in a scheme where the interest gets compounded quarterly grows to Rs.14770 and
Rs.21820 respectively in 2 and 4 years respectively. What is the rate of interest per annum?
6
12 12
20
15
 

 

11.

If a dealer makes a profit of 20% by selling an article for Rs. 24, by how much should
he decrease his selling price in order to make a profit of 10%?
Rs. 2
Rs. 3.5
Rs. 4
Rs. 2.5

 

12.

A rural library created lending facilities for only 150 books and kept the lending desk open only on
Mondays, which were the days on which it is also took stock of the books. The position of the number
of the books lent and returned on the first three Mondays (M1,M2,M3) of operation in the lending desk
is presented through a bar graph below.
How many of these 150 books remained outside the library after stock checking on the third Monday?
30
120

60

40

 

13.

. What is the diameter in cm of a solid right circular cylinder whose height is 9 cm and the area of the
curved surface is five times the combined area of the two flat surfaces?
3
2.4
1.2
3.6
 

 

14.

Anil is four times as efficient as Rakesh in respect of doing a particular work. Working together they
complete the work in 16 days. In how many days Rakesh, working alone, will be able to do half the work?
40
80
60
20

 

15..

A, B, C are three cups having capacities of 120, 180 and 200 cc respectively which are completely filled
with tea of three different varieties. They are all mixed in a separate vessel of capacity more than that of
A, B, C taken together, and then the mixture is poured successively into A, B, C. Then how much (in cc)
of A and B’s tea will be there in C?
44(A), 76(B)
56(A), 64(B)
48(A), 72(B)
52(A), 68(B)

 

16.

The sum of the ages of two brothers is 74. After one year the ratio of their ages will be 9:10. What was
the ratio of their ages nine years ago?
4:3
3:7
13:15
17:16
 

 

17.

What is the mean deviation of the data: 12, 15, 17, 20, 24, 30, 32, 34?
7
10.2
0
9.2
 

 

18.

If two numbers are respectively 40% and 25% less than the third number, what is the ratio of these two
numbers?
5 : 4
4 : 5
3:5
3:4
 

 

19.

A sum invested on simple interest grows to Rs. 22,500 and Rs. 25,500 in five and seven years
respectively. What is the rate percentage of the interest?
7.5
9.6
13.5
12.5

 

20.

The average speed of Anil always turns out to be 150% that of Bhargav, who can travel 20 km in 30
minutes. If Anil sets on a journey of 150 km and stops for half an hour each at two stages in between,
what will be the total time (in hours) he had been on move?
4.5
7
. 3.5
6.5

 

21.

With symbols having their usual meanings, the mean of the data given below is 39.63.
What is the missing frequency?
20
14
12
13
 

 

22.

Ravi lends Rs. 3000 to Bilal and a certain sum to Chethan at the same time at 6% per annum simple
interest. If after 5 years, Ravi altogether receives Rs. 1650 as the interest from Bilal and Chethan, what is
the sum lent to Chethan?
Rs. 2500
Rs. 2750
Rs. 3250
Rs. 3300

 

23.

What is the sum (in Rs.) which, when divided among A, B, C in the proportion 3 : 5 : 7 provided Rs. 8000
more to C than what it would have done to him when the proportion is 11 : 15 : 19?
120000
180000
135000
175000

 

24.

Anil takes 10 days less than Bharath to complete a work, and together they do it in 12 days. In how many
days can Bharath alone do the work?
9
12
30
15
 

 

25.

What is the simplified value of: (3.564 + 2) / 2.48 + (2 – 0.686) / 4.38
4.4
. 5.08
2.54
1.45

 

26.

A phone was sold at a profit of 12% after giving a discount of 12.5% on the List Price. What would be the
gain or loss percentage if a discount of 25% is given on the List Price?
2.5% loss
2.5% gain
4% gain
4% loss

 

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

Reasoning Ability


1.

The following questions consist of two words each, that have a certain relationship with each other,
followed by four lettered pairs of words. Select the letter pair that has the same relationship as the
original pair of words.
Geeta : Quran
Orange : Mango
Temple : Worship
Good : Man
Army : Defence
 

 

2.

Directions: Below asked questions, two rows of numbers are given. The resultant number in each row is
to be worked out separately based on the following rules and the questions below the rows of numbers
are to be answered. The operations of numbers progress from the left to the right.
Rules:
(i) If an odd number is followed by another composite odd number, they are to be added.
(ii) If an even number is followed by an odd number they are to be added.
(iii) If an even number is followed by a number which is the perfect square, the even number is to be
subtracted from the perfect square.
(iv) If an odd number is followed by a prime odd number, the first number is to be divided by the
second number.
(v) If an odd number is followed by an even number the second one is to be subtracted from the first
number.
I. 15 6 21
II. P 33 7
If ‘P’ is the resultant of the first row, what will be the resultant of the second row?

7

6

8

9

 

3.

Nidhi, Imran, Ranjith, Madhur and Hari participate in any one of the five activities i.e. Quiz, Singing, Dance,
Debate and Mimicry. Ranjith participates in Singing. Hari does not participate in Debate and Mimicry.
Madhur does not participate in Mimicry. Imran participates in Quiz. Who participates in Mimicry?
Madhur
Nidhi or Madhur
. Nidhi
Cannot be determined

 

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 ’a’?
. Y
%
$

 

5.

Selecting the right option from the given alternatives:
If A # B means A is father of B; A$ B means A is mother of B, A @ B means A is sister of B, then how is B
related to X in X $K # A @ B?
Grandson
Grand-daughter
Nephew
Data Inadequate

 

6.

Statement:
Fortune favours the brave
Conclusions :
I. Risks are necessary for success.
II. Cowards die many times before their death.
Only conclusion I follows
Only conclusion II follows
Either I or II follows
Neither I nor II follows

Both i and ii follow

 

7.

The question contains some statements followed by some conclusions. Decide which of the given
conclusions logically follow from the given statements, disregarding commonly known facts.
Statements:
All good athletes want to win.
All good athletes eat well.
Conclusions
I. All those who eat well are good athletes.
II. All those who want to win, eat well
Only conclusion I follow.
Only conclusion II follows.
Neither I nor II follows
Both I and II follow

 

8.

Replace each letter by a digit. Each letter must be represented by the same digit and no beginning
letter of a word can be 0. Find the value of T,E & N.
7, 2, 9
4,2,8
7,2,8
5, 3, 8
 

 

9.

From the given choices select the odd man out:
Manifest
Conceal
Suppress
Implicit
Hidden

 

10.

Selecting the right option from the given alternatives:
Pointing to a girl, Arvind said “She is the daughter of the only child of my father,” How is Arvind’s wife
related to that girl?
Daughter
Mother
Aunt
None of these
Sister
 

 

11.

The question shows a pair of words in which the first is related to the second in some way. It is followed
by a single word which bears a similar relation to one of the given alternatives.
Find the correct alternative to complete the analogy.
Dividend: Shares :: ? : Debenture
Bonus
Gift Voucher
Profit
Interest

 

12.

If you don't save money you will not get reward.
(i) You saved money
(ii)you didn't save money
(iii)you got reward
(iv) you didn't get reward
(i) and (iv)
(Ii) and (iii)
(iv) and (i)
None of these

 

13.

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. Among six people A,B,C,D,E
and F how many are teachers?
Statements:
I.“B and E are teachers” is true.
II.“At Least one of A and C is a teacher” is false and D and F’s status is same as A and C.
Both the statements I and II together are needed
Statement II alone is sufficient
Statement I alone is sufficient
Both the statements I and II together are not sufficient\

 

14.

The question is followed by two arguments numbered I and Il. You have to decide which of the
arguments is a strong argument and which is a weak argument.
Statement :
Should strikes be banned in essential services?
Arguments :
I. Yes, because strikes disrupt normal life.
II. No, because it is the democratic right of the people.
Only argument I is strong.
Only argument II is strong
Either I or Il is strong

Neither I nor II is strong

 

 

15.

Statement :
People who speak too much against dowry are those who had taken it themselves.
Conclusions:
I. It is easier said than done.
II. People have double standards.
Only conclusion I follows
Only conclusion II follows
Either I or II follows
Neither I nor II follows
Both I and II follow

 

16.

Two statements are given followed by three conclusions numbered I, II and III. Assuming the statements
to be true, even if they seem to be at variance with commonly known facts, decide which of the
conclusions logically follow(s) from the statements.
Statements:
All animals are plants.
All plants are shrubs.
Conclusions:
I. All shrubs are plants
II. No animals are shrubs
III. All animals are not shrubs
None of the conclusions follow
. Only conclusions I and III follow
Only conclusion II follows

Only i and ii follow

 

17.

What is the gender of Rishitha?
male
female
can’t be determined
. None

 

18.

Select the figure that will replace the question mark in the following figure series

c

 

19.

Mobile is charged, if power is off.
(i)Mobile is charged
(ii) mobile is not charged
(iii) power is off
(iv) power is not off
(i) and (iv)
(Ii) and (iii)
(iv) and (i)
None of these

 

20.

The diagram given below shows the number of students who got distinction in three subjects out of
320 students. Study the diagram carefully and answer the question. What is the percentage of
students who got distinction in three subjects?
. 4.81 %
2.52 %
3.125 %

1.125%

 

21.

Directions: Below asked questions, two rows of numbers are given. The resultant number in each row is
to be worked out separately based on the following rules and the questions below the rows of numbers
are to be answered. The operations of numbers progress from the left to the right.
Rules:
(i) If an odd number is followed by another composite odd number, they are to be added.
(ii) If an even number is followed by an odd number they are to be added.
(iii) If an even number is followed by a number which is the perfect square, the even number is to be
subtracted from the perfect square.
(iv) If an odd number is followed by a prime odd number, the first number is to be divided by the
second number.
(v) If an odd number is followed by an even number the second one is to be subtracted from the first
number.
I. 51 17 35
II. 24 15 R
If ‘R’ is the resultant of the first row, what will be the sum of the resultants of the first and second row?

1

-3

2

3

 

22.

If PKROK is coded as 72962 and KRRPK as 29972 then how can NJMLZ be coded ?
74314
91572
51438
45176
 

 

23.

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
Amrutha need to spend to buy 15 pencils and 20 pens?
I. Amrutha spent an amount of Rs.501 to buy 15 pencils and 12 pens.
II. Amrutha spent an amount of Rs.421 to buy 7 pencils and 9 pens.
The combination of both the statements I and II are sufficient.
Statement II alone is sufficient.
Statement I alone is sufficient.
The combination of both the statements I and II are not necessary

 

24.

Directions: Study the following arrangement to answer the given questions R 6 J # L @ 3 E D T A C *G
© U M 2 F l V $ 4 Z 5 Y
If all the numbers are dropped from the above arrangement, which of the following will be the
seventeenth from the right end?
E
I
@
C
 

 

25.

Statement :
In case of outstanding candidates, the condition of previous experience of social work may be waived
by the admission committee for M.A. (Social Work).
Conclusions :
I. Some of the students for M.A. (social work) will have previous experience of social work.
II. Some of the students of M.A. (social work) will not have previous experience of social work.
Only conclusion I follows
Only conclusion II follows
Either I or II follows
Neither I nor II follows

Both I and II follow

 

26.

From the given choices select the odd man out:
Dutiful
Good
Mischievous
Well-behaved
Obedient

 

27.

First two figures are related in a certain way. The same relationship holds good for the second pair of
figures (3rd and 4th) of which one figure is missing. Find the missing figure from the alternatives?

a
 

 

28.

The question contains some statements followed by some conclusions. Decide which of the given
conclusions logically follow from the given statements, disregarding commonly known facts.
Statements:
Some marbles are pens.
Some pens are dogs.
Some dogs are doors.
Conclusions:
I. Some doors are pens.
Il. Some dogs are marbles.
III. Some marbles are doors
Only I follow.
Only Il follows
Only III follows

None of the conclusions follow

 

29.

Decode the word(s) / pattern given in the question.
In a certain code
‘HIT BIT NIT’ means ‘GIT CIT MIT’;
‘SIT PIT MIT’ means ‘RIT QIT LIT’
‘FIT ZIT PIT’ means ‘EIT AIT OIT’.
What does DIT JIT KIT stand for in that code language ?
CIT KIT JIT
BIT CIT JIT
RIT LIT PIT
LIT RIT MIT

 

30.

Find the correct alternative to complete the analogy.
Confute : Rebut :: Repellent : ?
Pusher
Attractive
Repugnant
Spray

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

 

Verbal Ability


1.

Instruction: Read the passage and the answer the question given below.
Holi celebrations start on the night before Holi with a Holika Dahan where people gather, perform
religious rituals in front of the bonfire, and pray that their internal evil be destroyed the way Holika, the
sister of the demon king Hiranyakashipu, was killed in the fire. The next morning is celebrated as
Rangwali Holi – a free-for-all festival of colors, where people smear each other with colors and drench
each other. Water guns and water-filled balloons are also used to play and colour each other. Anyone
and everyone is fair game, friend or stranger, rich or poor, man or woman, children and elders. The frolic
and fight with colors occurs in the open streets, open parks, outside temples and buildings. Groups
carry drums and other musical instruments, go from place to place, sing and dance. People visit family,
friends and foes to throw coloured powders on each other, laugh and gossip, then share Holi delicacies,
food and drinks. Some customary drinks include bhang (made from cannabis), which is intoxicating. In
the evening, after sobering up, people dress up and visit friends and family.
Question: Which word in the passage means “traditional”?
Customary
Frolic
Celebrations

None

 

 

2.

Instruction: Choose the right fit for the blank.
They caught the terrorist who was responsible for the ____ and summoned him in the court.
Success
Conquest
massacre
Victory

 

 

3.

Instruction: There are some lines missing in the paragraph. Fill those bu using the three
statements (A, B, C) that are provided.
The reality shows on TV have been attracting a huge viewership recently. Though the name infers ‘real’,
viewers are being exposed to a lot of ‘unreal’ content. ___(1). The public however is drawn to such
contents of the reality shows unaware of this fabrication. _(2). Owing to their efforts, the public has
now realized the truth behind reality shows and such shows are fast losing their hold.
A. This is because these shows are said to be staged, fabricated and directed to improve TRPs.
B. A group of media persons have now taken the responsibility of educating people regarding the
reality shows.
C. We’ve been working for the largest media entertainment companies for over 30 years, and have
become leaders in the media industry. Options:
AB
CB
BC
AC

 

4.

Instruction: Find out the error in this sentence.
She still remembers the time when I helped her carrying the box
She stil remembers
the time when I helped
her carrying the box
No error
 

 

5.

Instruction: Choose the right fit for the blank.
The boy was able to break the __ log by just stepping on it.
Strapping
Ripped
Brittle
full-flavoured

 

6.

Instruction: Fill in the blank with the most suitable option.
David was orphaned at a very ____(1) age. He lost both of his parents because his family was ___(2)
poor to afford any treatment. He was deeply affected by this. He decided to work hard and stand on
his own feet. Along with his studies he _(3) part-time in a restaurant and earned enough money in
order to _(4) his studies. Being a brilliant student, he earned scholarships and later managed to get
admission in a good medical college. He is now a ___(5) doctor and helps poor patients for free. This
shows that one can survive every __(6) condition. Determination and hard work lead to success in life.
Which option suits blank 4?
Pursue
Practice
Follow
proceed

 

7.

Instruction: Read the passage and the answer the question given below.
Holi celebrations start on the night before Holi with a Holika Dahan where people gather, perform
religious rituals in front of the bonfire, and pray that their internal evil be destroyed the way Holika, the
sister of the demon king Hiranyakashipu, was killed in the fire. The next morning is celebrated as
Rangwali Holi – a free-for-all festival of colors, where people smear each other with colors and drench
each other. Water guns and water-filled balloons are also used to play and colour each other. Anyone
and everyone is fair game, friend or stranger, rich or poor, man or woman, children and elders. The frolic
and fight with colors occurs in the open streets, open parks, outside temples and buildings. Groups
carry drums and other musical instruments, go from place to place, sing and dance. People visit family,
friends and foes to throw coloured powders on each other, laugh and gossip, then share Holi delicacies,
food and drinks. Some customary drinks include bhang (made from cannabis), which is intoxicating. In
the evening, after sobering up, people dress up and visit friends and family.
Question: Choose the statement(s) that summarize the entire passage
i. There are two types of Holi – Holika Dahan & Rangwali Holi
ii. People do not celebrate it with their foes
iii. Food and Drinks are the heart of Holi celebrations
iv. Holi symbolizes the destruction of our inner evil and demons

(i),(iii),(iv)



 

8.

Instruction: Find out the error part in the sentence.
When the girls on the team got to the hotel, they dropped off her luggage.
When the girls on the team
got to the hotel
they dropped off
her luggage
 

 

9.

Instruction: Fill in the blank with the most suitable option .
David was orphaned at a very ____(1) age. He lost both of his parents because his family was ___(2)
poor to afford any treatment. He was deeply affected by this. He decided to work hard and stand on
his own feet. Along with his studies he _(3) part-time in a restaurant and earned enough money in
order to _(4) his studies. Being a brilliant student, he earned scholarships and later managed to get
admission in a good medical college. He is now a ___(5) doctor and helps poor patients for free. This
shows that one can survive every __(6) condition. Determination and hard work lead to success in life.
Which option suits blank 1?
Youth
Childish
Child
early

 

10.

Instruction: Read the passage and the answer the question given below.
Holi celebrations start on the night before Holi with a Holika Dahan where people gather, perform
religious rituals in front of the bonfire, and pray that their internal evil be destroyed the way Holika, the
sister of the demon king Hiranyakashipu, was killed in the fire. The next morning is celebrated as
Rangwali Holi – a free-for-all festival of colors, where people smear each other with colors and drench
each other. Water guns and water-filled balloons are also used to play and colour each other. Anyone
and everyone is fair game, friend or stranger, rich or poor, man or woman, children and elders. The frolic
and fight with colors occurs in the open streets, open parks, outside temples and buildings. Groups
carry drums and other musical instruments, go from place to place, sing and dance. People visit family,
friends and foes to throw coloured powders on each other, laugh and gossip, then share Holi delicacies,
food and drinks. Some customary drinks include bhang (made from cannabis), which is intoxicating. In
the evening, after sobering up, people dress up and visit friends and family.
**Question: Describe the type of adjective of the highlighted word -
People visit family, friends and foes to throw colored powders on each other, laugh and gossip, then
share Holi delicacies, food and drinks.”
 

adjective of quality
of quantity

numerical adjective

demonstrative adjective

 

11.

Instruction: Find out the error in this sentence.
She has told me that it has been snowing from Saturday
She has told me that
It has been snowing
from Saturday
No error
 

 

12.

Instruction: Select the sentence that uses a formal language.
Hey how's it going?
They’ll attend the meeting tomorrow.
I would like to apologize for any inconvenience caused.
I wanna pass my English exam tomorrow.
 

 

13.

Instruction: Read the passage and the answer the question given below.
Holi celebrations start on the night before Holi with a Holika Dahan where people gather, perform
religious rituals in front of the bonfire, and pray that their internal evil be destroyed the way Holika, the
sister of the demon king Hiranyakashipu, was killed in the fire. The next morning is celebrated as
Rangwali Holi – a free-for-all festival of colors, where people smear each other with colors and drench
each other. Water guns and water-filled balloons are also used to play and colour each other. Anyone
and everyone is fair game, friend or stranger, rich or poor, man or woman, children and elders. The frolic
and fight with colors occurs in the open streets, open parks, outside temples and buildings. Groups
carry drums and other musical instruments, go from place to place, sing and dance. People visit family,
friends and foes to throw coloured powders on each other, laugh and gossip, then share Holi delicacies,
food and drinks. Some customary drinks include bhang (made from cannabis), which is intoxicating. In
the evening, after sobering up, people dress up and visit friends and family.
Question: Which word or phrase means “not intoxicated” in the passage?
Free-for-all
Cannabis
Destroyed
Sobering Up

 

14.

Instruction: For the four-sentence (S1 - S4) paragraph given below, sentences S1 and S4 are given.
From the options P, Q, and R, choose appropriate sentences for S2 and S3 respectively.
S1: There is something wrong with a city that remains unperturbed even as its birds desert it.
S2: __
S3: __
S4: Thankfully, the situation is not as hopeless as it seems. A small wooden nest box is all it has taken to
rekindle all the romance of bringing sparrows and other birds back into our Cities and halt them from
fading into the past like a forgotten folktale.
A. And this desertion seems to be true with most metros in India where house sparrows have almost
become a thing of tin past
. B. Much as we try to defend the seemingly irreversible modern life of these cities, we can’t stop our
hearts from crying when we realize that our rapidly degenerating urban eco-system isn’t generous
enough to let these delicate winged creatures build tiny little nests in its nooks and crannies, sit in
solitude, and rear offspring.
C. For some species, a nest is simply a shallow depression made in sand; for others, it is the knot-hole
left by a broken branch, a burrow dug into the ground, a chamber drilled into a tree, an enormous
rotting pile of vegetation and earth, a shelf made of dried saliva or a mud dome with an entrance
tunnel. Options:

AB

 

15.

Instruction: Read the passage and the answer the question given below.
Holi celebrations start on the night before Holi with a Holika Dahan where people gather, perform
religious rituals in front of the bonfire, and pray that their internal evil be destroyed the way Holika, the
sister of the demon king Hiranyakashipu, was killed in the fire. The next morning is celebrated as
Rangwali Holi – a free-for-all festival of colors, where people smear each other with colors and drench
each other. Water guns and water-filled balloons are also used to play and colour each other. Anyone
and everyone is fair game, friend or stranger, rich or poor, man or woman, children and elders. The frolic
and fight with colors occurs in the open streets, open parks, outside temples and buildings. Groups
carry drums and other musical instruments, go from place to place, sing and dance. People visit family,
friends and foes to throw coloured powders on each other, laugh and gossip, then share Holi delicacies,
food and drinks. Some customary drinks include bhang (made from cannabis), which is intoxicating. In
the evening, after sobering up, people dress up and visit friends and family.
Question: Why is Holika Dahan performed?

Because it symbolizes the end of destruction of our internal evil
 

 

16.

Instruction: Choose the right fit for the blank.
If you expose iron to water over time, it will soon be weakened by ____.
corrosion
Erosion
Corruption
Eruption
 

 

17.

Instruction: Choose the right fit for the blank.
The old man was a __ who fenced the entire yard of his house with barbed wires to keep his neighbors
away.
Centenarian
Misanthrope
Philanthropist
Contributor
 

 

18.

Instruction: Fill in the blank with the most suitable option.
David was orphaned at a very ____(1) age. He lost both of his parents because his family was ___(2)
poor to afford any treatment. He was deeply affected by this. He decided to work hard and stand on
his own feet. Along with his studies he _(3) part-time in a restaurant and earned enough money in
order to _(4) his studies. Being a brilliant student, he earned scholarships and later managed to get
admission in a good medical college. He is now a ___(5) doctor and helps poor patients for free. This
shows that one can survive every __(6) condition. Determination and hard work lead to success in life.
Which option suits blank 3?
Employed
Established
Worked
functioned

 

19.

Instruction: Find out the sentence that is grammatically correct.
I drank a hot mug of coffee.
I drank a mug of hot coffee.
I drank a mug of coffee hot.
I drank a hot coffee mug.
 

 

20.

Instruction: Fill in the blank with the most suitable option.
David was orphaned at a very ____(1) age. He lost both of his parents because his family was ___(2)
poor to afford any treatment. He was deeply affected by this. He decided to work hard and stand on
his own feet. Along with his studies he _(3) part-time in a restaurant and earned enough money in
order to _(4) his studies. Being a brilliant student, he earned scholarships and later managed to get
admission in a good medical college. He is now a ___(5) doctor and helps poor patients for free. This
shows that one can survive every __(6) condition. Determination and hard work lead to success in life.
Which option suits blank 6?
Failed
Evil
Tragedy
adverse

 

21.

Instruction: Fill in the blank with the most suitable option.
David was orphaned at a very ____(1) age. He lost both of his parents because his family was ___(2)
poor to afford any treatment. He was deeply affected by this. He decided to work hard and stand on
his own feet. Along with his studies he _(3) part-time in a restaurant and earned enough money in
order to _(4) his studies. Being a brilliant student, he earned scholarships and later managed to get
admission in a good medical college. He is now a ___(5) doctor and helps poor patients for free. This
shows that one can survive every __(6) condition. Determination and hard work lead to success in life.
Which option suits blank 2?
Ample
Little
So
too

 

22.

Instruction: Find out the error in this sentence.
The moment I said that I had a good news, my mother started smiling.
The moment I said that
I had a good news
my mother started smiling
No error

 

23.

Instruction: There are some lines missing in the paragraph. Fill those bu using the three
statements (A, B, C) that are provided.
The concept of homework began so that the pupils could revise that was being taught in the class.
_(1). By doing so, most of the schools took away the leisure time of the children. Lack of such leisure
time does not allow the children to develop creative pursuits. ____(2) Instead, these educationists
should suggest lowering of burden of homework to the commission for educational reforms.
A. The purpose of this concept was, however, defeated when the schools started overburdening
students with so-called homework.
B. Homework is good because it can boost your grades, help you learn the material, and prepare you for
tests.
C. The blame for lacking creativity is, however, put on the present generation by the modern
educationists. Options:
AB
BC
AC

BA

 


24.

Instruction: Fill in the blank with the most suitable option . David was orphaned at a very ____(1)
age. He lost both of his parents because his family was ___(2) poor to afford any treatment. He was
deeply affected by this. He decided to work hard and stand on his own feet. Along with his studies he
_(3) part-time in a restaurant and earned enough money in order to _(4) his studies. Being a brilliant
student, he earned scholarships and later managed to get admission in a good medical college. He is
now a ___(5) doctor and helps poor patients for free. This shows that one can survive every __(6)
condition. Determination and hard work lead to success in life.
Which option suits blank 5?
Worth
Recognize
Know
Respected

 

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

 

Technical Mcq's


1.

What is the output of this C code?
#include<stdio.h>
int main()
{
signed char chr;
 chr = 128;
printf(“%d\n”, chr);
return 0;
 }
128
-128
Depends on the compiler
None of the mentioned

 

 

2.

What does the following fragment of C-program print?
char c[] = "TCSN2019";
char *p=c;
printf(“%s”p+p[3]-p[1]);
TCSN2019
N2019
2019
011
 

 

3.

What will be the output of the C code?
void main()
{
int const *p=5;
printf(“%d”,++(*p));
}
6
5
Garbage Value
Compile Error

 

 

4.

While declaring parameters for main, the second parameter argv should be declared as
char argv[]
char argv
char ** argv[]
char * argv[]

 

 

5.

Which of the following is NOT declared in string.h ?
strlen()
strcpy()
strptr()
strupr()

 

 

6.

atoi() function is used for:
convert ASCII character to an integer value
convert a character string to its equivalent integer value
gets index value of character in an array
converts an array of characters to array of equivalent integers
 

 

 

7.

Strings are character arrays. The last index of it contains the null-terminated character ___
\t
\0
\n
\1
 

 

8.

What will be the output of the C code?
void main()
{
extern int i;
i=20;
printf(“%d”,sizeof(i));
}
20
2
Compiler Error
Linker Error

 

 

9.

What will be the output of the C code?
void main()
{
int i;
printf(“%d”, scanf(“%d”, &i));
 }
10
1
Garbage Value
None of These

 

 

10.

What’s going to happen when we compile and run the following C program snippet?
#include "stdio.h"
int main()
{
int a = 10;
int b = 15;
printf("=%d",(a+1),(b=a+2));
printf(" %d=",b);
return 0;
}
=11 15=
=11 12=
Compiler Error due to (b=a+2) in the first printf()

 

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

 

 Programming


1.

Problem statement
Given a string str consisting of parenthesis from [ “(” , “)” , “{” , “}” , “” , “” ]. If the String is perfectly
balanced return 0 else return the index(starting from 1)at which the nesting is found to be wrong.
Input Format
A single line of input has string 's' which contains the parenthesis
Constraints
1<=|s|<=100
Output Format
As mentioned in the problem statement.

 

PYTHON CODE:

 

string=str(input())
 
# Storing opening braces in list lst1
lst1 =['{', '(', '[']
 
# Storing closing braces in list lst2
lst2 =['}', ')', ']']
 
# Creating an empty list lst
lst =[]
 
# Creating dictionary to map
# closing braces to opening ones
Dict ={ ')':'(', '}':'{', ']':'['}
 
a = b = c = 0
 
# If first position of string contain
# any closing braces return 1
if string[0]  in lst2:
    print(1)
       
else:
    # If characters of string are opening
    # braces then append them in a list
    for i in range(0, len(string)):
        if string[i] in lst1:
            lst.append(string[i])
            k = i + 2
        else:
            # When size of list is 0 and new closing
            # braces is encountered then print its
            # index starting from 1          
            if len(lst)== 0 and (string[i] in lst2):
                print(i + 1)
                c = 1
                break
            else:    
                # As we encounter closing braces we map
                # them with theircorresponding opening
                # braces using dictionary and check
                # if it is same as last opened braces
                #(last element in list) if yes then we
                # delete that elememt from list
                if Dict[string[i]]== lst[len(lst)-1]:
                    lst.pop()
                else:
                    # Otherwise we return the index
                    # (starting from 1) at which
                    # nesting is found wrong    
                    print(i + 1)
                    a = 1
                    break
                       
    # At end if the list is empty it
    # means the string is perfectly nested               
    if len(lst)== 0 and c == 0:
        print(0)
        b = 1
           
    if a == 0 and b == 0 and c == 0:
        print(k)

 

 

2.

Problem statement
Given a string and an integer 'n'. Rotate the string left or (anti-clockwise) if 'n' is odd else rotate the
srtring right or (clockwise)
Input Format
First line of input contains string 's'. Next line of input contains integer 'n'
Constraints
1<=n<=|s|<=100
Output Format
The resultant string.


C++ CODE:

 

#include<bits/stdc++.h>
using namespace std;
 
// In-place rotates s towards left by d
void leftrotate(string &s, int d)
{
    reverse(s.begin(), s.begin()+d);
    reverse(s.begin()+d, s.end());
    reverse(s.begin(), s.end());
}
 
// In-place rotates s towards right by d
void rightrotate(string &s, int d)
{
   leftrotate(s, s.length()-d);
}
 
// Driver code
int main()
{
    string str;
    int n;
    cin>>str>>n;
    if(n%2==0)
        rightrotate(str,n);
    else
        leftrotate(str,n);
    cout<<str;
}

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

 

 

 

 

 

 

 

 


 

 

1 Comments

  1. #include
    #include

    int main()
    {
    int n,t,i,j,s=1;
    scanf("%d",&n);
    if(n%2==1)
    {
    for(i=1;i<=(n/2)+1;i++)
    {
    for(j=1;j<=n;j++)
    {
    printf("%d ",s++);
    }
    printf("\n");
    s+=n;
    }
    s=s-n-n-n;
    for(i=1;i<=(n/2);i++)
    {
    t=s;
    for(j=1;j<=n;j++)
    {
    printf("%d ",t++);
    }
    printf("\n");
    s=s-n-n;
    }
    }
    else
    {
    for(i=0;i<n/2;i++)
    {
    for(j=0;j<n;j++)
    {
    printf("%d ",s++);
    }
    printf("\n");
    s+=n;
    }
    for(i=0;i<n/2;i++)
    {
    s=s-n;
    t=s;
    for(j=0;j<n;j++)
    {
    printf("%d ",t++);
    }
    printf("\n");
    s=s-n;
    }
    }
    }

    ReplyDelete

Post a Comment

Previous Post Next Post