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

INFEED

TCS | MOCK TEST | 9 th August

CLICK ON ADS

 Numerical Ability


1.

A solid cylinder has a total surface area of 462 cm2 . If the total surface area of the cylinder is thrice of
its curved surface area. Then the volume of the cylinder is:
539 cm3
545 cm3
531 cm3
562 cm3

 

2.

Which of the following is the fraction for 0.36?
9/25
51/25
3/400
2081/250
 

 

3.

Evaluate: log3 (27)
3
9
27
81
 

 

4.

Today is Monday. After 61 days, it will be :
Tuesday
Monday
Sunday
Saturday

 

5.

There are three numbers, which are co-prime to each other, such that the product of the first two is 551
and that of the last two is 1073. What will be the sum of three numbers :
80
82
85
87
 

 

6.

Manu, Manju and Maya can do work in 90, 30 and 45 days respectively. If they work together, in how
many days will they complete work?
15
10
20
25
 

 

7.

In an Octagon the number of possible diagonals are?
20
12
16
15
 

 

8.

A person incurs a loss of 5% by selling a watch for Rs. 1140. At what price should the watch be sold to
earn 5% profit.
Rs.1200
Rs.1230
Rs.1260
Rs.1290

 

9.

17 x 8 m rectangular ground is surrounded by a 1.5 m width path. Depth of the path is 12 cm. Gravel is
filled and find the quantity of gravel required.
5.5 m^3
7.5 m^3
6.05 m^3
10.08 m^3
 

 

10.

In a km race, A beats B by 28 metres or 7 seconds. Find A's time over the course.
250 sec
243 sec
255 sec
280 sec
 

 

11.

Find the H.C-F, if the numbers are in the ratio of 4: 5 : 6 and their L.C.M. is 2400.
35
20
40
67
 

 

12.

How many of the following numbers are divisible by 132?
264, 396, 462, 792, 968, 2178, 5184, 6336
4
5
6
7
 

 

13.

What is the next number of the following sequence 7, 14, 55, 110,
120
121
150
135

 

14.

In how many possible ways can write 3240 as a product of 3 positive integers a, b and c
450
420
350
320
 

 

15.

The HCF of two numbers is 24. The number which can be their LCM is
84
128
120
274
 

 

16.

Find the roots of the quadratic equation: x^2 + 2x - 15 = 0?
5,3
3,5
-3,5
-3,-5
 

 

17.

What will be the unit digit in 658539436*312?
8
9
4
6

 

18.

A rectangular grassy plot 110 m. by 65 m has a gravel path 2.5 m wide all round it on the inside. Find the
cost of gravelling the path at 80 paise per sq. metre.
680
560
640
580

 

19.

7528 : 5306 :: 4673: ?
2367
2451
2531
2489

 

20.

If HCF of two numbers is 8, which of the following can never be their Lcm?
32
48
60
152
 

 

21.

The letters in the word ROADIE are permuted in all possible ways and arranged in alphabetical order.
Find the word in the 44th rank.
AERIOD
AERDOI
AERODI
AEODRI

 

22.

Dhruv and Naksh drive at the speeds of 36 Kmph and 54 kmph respectively. If Naksh takes 3 hours less
than what Dhruv takes for the same distance. Then distance is :
324km
524km
320 km
420 km

 

23.

Raj divided 50 into 2 parts such that the sum of their reciprocal is 1/12, we get the parts as
28, 22
24, 36
36, 14
20, 30

 

24.

Libra had three diamonds weighing equal. One of the diamonds fell and broke into 4 equal pieces
weighing 20gm each. What was the total weight of three diamonds?
200 gm
280 gm
320 gm
240 gm

 

25.

If 0.75: x :: 5:8, then x is equal to:
112
1.16
1.20
1.30
 

 

26.

Discover the coordinates of the centroid of ∆ABC whose vertices are A(6, -2) and B(4, -3) what’s more
C(-1, -4)
(-3, -3)
(3, 3)
(3, -3)
(-3, 3)

 

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

 

CLICK ON ADS

 Reasoning Ability


1.

In the following question three numbers are given which are inter- connected in some way.
Select the option that bears an analogy similar to the main words.
21:51:15
21 : 31 : 51
21 : 36 : 51
21 : 51 : 61
21 : 91 : 35

 

2.

Decode the word(s) / pattern given in the question If STUDENT is coded as RUTEDOS, which word would
be coded as RDGPKBQ?
SHACKLE
SHINGLE
SNOBBER
SCHOLAR

 

3.

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 firecrackers be completely banned in India?
Arguments :
I. Yes, firecrackers cause a lot of air pollution and noise pollution.
II.No,this will render thousands of people working in this industry jobless. .
Only argument I is strong.
Only argument II is strong
Either I or Il is strong.
Both I & II are strong

 

4.

In certain code language Sue Re Nik means She is brave, Pi Sor re nik means She is always smiling and
Sor Re Zhi means is always cheerful. What is the code used for the word smiling ?
Nik
Re
Pi
Sor
 

 

5.

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.
Electrical Engineers : Grid :: Cosmologists : ?
Group
Faculty
Galaxy
Syndicate

 

6.

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 :
Some people feel that the rural areas are the only potential markets
Arguments :
I. Yes, the demand of goods and services has stagnated in the cities.
II. No, rural areas will take a long time to develop before they can become a potential market.
 

 Only argument I is strong.
Only argument II is strong
Either I or Il is strong.
Neither I nor II is strong


7.

IN a certain code "MOUSE" written as "PRUQC". How is "SHIFT" written in that code ?
VJIDR
VIKRD
RKIVD
VKIDR
 

 

8.

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

 

9.

A group of three words are given, which are interconnected in some way. Find a similar relationship from
the given options.
Cobbler : Leather :: Carpenter :?
Furniture
Wood
Hammer
Chair

 

10.

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

 

11.

SEND + MORE =MONEY Then what is the value of M+ O +N+E+Y?
13
14
15
16
 

 

12.

From the given choices select the odd man out:
Shapeliness
Adorn
Beautify
Conserve
Deformity

 

13.

If 'GLOSSORY' is coded as 97533562 and GEOGRAPHY’ = 915968402, then ‘GEOLOGY ' can be coded as
915692
9157592
9057592
9157591

 

14.

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
Which of the following is the sixth to the left of the fifth to the left of "V"?
3
D
T
A
 

 

15.

The question shows a pair of words which are related to each other in some way.Select that pair that
expresses the relationship that is most similar to the given pair.
ODOMETER : DISTANCE ::
inch : foot
mileage : speed
length : width
scale : weight
 

 

16.

Select that pair that expresses the relationship that is most similar to the given pair.
Monolith : Rock :: ?
Continent : Ocean
Tor: Lea
Grain : Sand
Cataract : Waterfall

 

17.

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.
House : Door :: Compound : ?
Gate
Fence
Foundation
wall
 

 

18.

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.
CONVICTION : INCARCERATION ::
marginalization : intimidation
radicalization : estimation
induction : amelioration
reduction : diminution
 

 

19.

From the given choices select the odd man out:
Assert
Acknowledge
Claim
Uphold
Forswear

 

20.

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 the reservations given to SC/ST be done away with ?
Arguments :
I. Yes, the reservations for SC/ST, etc. were to remain for a period of ten years as per the constitution.
II. No, it will frustrate these classes and lead to social unrest.
Only argument I is strong.
Only argument II is strong
Either I or Il is strong

Neither I nor II is strong

 

21.

Find the correct alternative to complete the analogy.
Electrical Engineers : Grid :: Cosmologists : ?
Group
Faculty
Galaxy
Syndicate

 

22.

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

 

23.

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
Which of the following is the eighth to the right of the fourteenth from the left end of the above
arrangement?
$
E
V
4
 

 

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.

Find the correct alternative to complete the analogy.
Abjure : Adopt :: Forfeit : ?
Squander
Lavish
Redeem
Deposit

 

26.

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

 

27.

From the given choices select the odd man out:
Beefy
Stocky
Husky
Thin
Brawny

 

28.

The question shows a pair of words which are related to each other in some way. Select that pair that
expresses the relationship that is most similar to the given pair.
Monolith : Rock :: ?
Continent : Ocean
Tor: Lea
Grain : Sand
Cataract : Waterfall

 

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.

In the following question three numbers are given which are inter- connected in some way.
Select the option that bears an analogy similar to the main words.
264: 275: 385
145 : 253: 325
143 : 235 : 246
372 : 563 : 736
233 : 343: 345

 

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

 

CLICK ON ADS

Verbal Ability


1.

Directions for questions: Choose the most logical fit for the blank.
Kalyan found it hard to __ himself from the problem he had created by producing fake documents.
Extricate
Abstain
Alienate
estrange

 

2.

Instruction: Select the word which is farthest in meaning to the word given in the question.
In each of the questions given below from the given options select the word which is farthest in
meaning to the word given in the question.
Culpable
ineffable
Incriminated
innocent
Indignant
 

 

3.

Directions:
Which of the phrases given below each sentence should replace the phrase printed in bold to make the
grammatically correct? If the sentence is correct as it is, mark 'D' as the answer.
Instruction: Choose the best fit for the underlined phrase.
If you would have remembered to bring the map, we would not have lost our way.
had remembered
were remembering
remembered
No improvement
 

 

4.

Instruction: Find out the error part in the sentence.
Find out which part of the sentence has an error.
Work hard(a) / lest you will(b) / fail(c) No error(d)
A
B
C
D
 

 

5.

Instruction: Arrange the sentence in the logical order.
12. Choose the most logical order of sentences among the given choices to construct a coherent
paragraph
A. Besides this, no organ of the government can act in a manner that violates them.
B. While ordinary legal rights are protected and enforced by ordinary law, fundamental rights are
protected and guaranteed by the constitution of the country.
C. Ordinary rights may be changed by the legislature by the ordinary process of law making,
fundamental rights may only be changed by amending the constitution itself.
D. Fundamental rights are different from other rights available to us.
DCBA
DBCA
DCAB
ACDB

 

6.

Instruction: Find out the error part in the sentence.
Identify the part that has an error. Select ‘D’ if you find no error.
Though the elephant, because of its size, (A)/ appears to be a rather slow animal, (B)/ it can in fact run
faster than (C)/ any other man. (D)
A
B
C
D

 

7.

Explanation The correct answer DBCA The opening sentence can only be sentence B introduces us to
the differences between ordinary and fundamental rights Sentence C demarcates the two kinds of
rights further and sentence A concludes t Thus the sequence is DBCA.
accurate
Popular
Erroneous
ineffective
 

 

8.

Directions:
Which of the phrases given below each sentence should replace the phrase printed in bold to make
the grammatically correct? If the sentence is correct as it is, mark 'D' as the answer.
Instruction:Choose the best alternative for the bold phrase.
No one could explain how a calm and balanced person like him could penetrate such a mindless act on
his friends.
perpetuate
perpetrate
precipitate
No improvement
 

 

9.

Directions:
Which of the phrases given below each sentence should replace the phrase printed in bold to make the
grammatically correct? If the sentence is correct as it is, mark 'D' as the answer.
Instruction:Choose the best fit for the bold phrase.
The criteria used to select the finalist were unclear to the audience.
the finalist was unclear
the finalist were unclearing
the finalist were unclearly
No improvement

 

10.

Instruction: Select the word which is farthest in meaning to the word given in the question.
In each of the questions given below from the given options select the word which is farthest in
meaning to the word given in the question.
INFIRM
hospitable
equestrian
. tremulous
robust

 

11.

Instruction: Find out the error part in the sentence.
Identify the part that has an error. Select ‘D’ if you find no error.
She was a young girl with a pretty face, (A)/ very well trained in dancing (B)/ and who gave much
promise of (C)/ a brilliant career as a film artist. (D)
A
B
C
D
 

 

12.

Choose the most logical fit for the blank.
My computer needs up-gradation since it __ a very old version.
is
. was
were
must
 

 

13.

Choose the most logical fit for the blank.
An honest man never __ to lie in order to fulfill his goals.
Helps
Tells
Resorts
forms

 

14.

Directions:
Which of the phrases given below each sentence should replace the phrase printed in bold to make the
grammatically correct? If the sentence is correct as it is, mark 'D' as the answer.
Instruction:Choose the best fit for the bold phrase.
The man to who I sold my house was a cheat
to whom I sell
to who I sell
to whom I sold
No improvement

 

15.

Instruction: Select the word which is closest in meaning to the word given in the question.
In each of the questions given below from the given options select the word which is closest in meaning
to the word given in the question.
PROSAIC
pedestrian
creative
exceptional
different
 

 

16.

Instruction: Replace the Underlined sentence.
. Choose the most appropriate sentence which can replace the Underlined sentence
The publishers, unwilling to shoulder the entire nisk insisted that the author should pay half the cost of
the initial print run of his controversial new book.
The publishers, unwilling to shoulder the entire risk, insisted that the author should pay half the
cost of the initial print run of his controversial new book
The publishers, unwilling to shoulder the entire risk, insisted that the author should be paying half
the cost of the initial print run of the author's controversial new book
The publishers, unwilling to shoulder the entire risk, insisted that the author pay half the cost of
the initial print run of his controversial new book

Unwilling to shoulder the entire risk the publishers insisted the author should pay half the cost of
the initial print run of his controversial new book

 

17.

Instruction:Fill in the blanks..
She __ at a shop.
works
work
working
be working
 

 

18.

Instruction:Fill in the blanks..
23. Nothing __ convinced her to cancel her trip to Goa.
was going to
could have
could
will have

 

19.

Instruction: Find out the error part in the sentence.
Identify the part that has an error. Select ‘D’ if you find no error.
Fluosol is a transparency liquid (A)/ that closely resembles water (B)/ but in fact is twice (C)/ as dense
as it is.(D)
A
B
C
D
 

 

20.

Instruction: Select the word which is closest in meaning to the word given in the question.
Contrary to my belief, he turned out to be peevish.
proud
irritable
selfish
greedy

 

21.

Choose the most logical fit for the blank.
All members will have a fixed five years _
Tenet
Tenor
Tenure
tenemen

 

22.

Instruction: Find out the error part in the sentence.
Identify the part that has an error. Select ‘D’ if you find no error.
Everyone who saw the movie ‘Star wars’ (A)/ is unanimous in their view (B)/ that it is the best science
fiction movie (C)/ ever produced. (D)
A
B
C
D
 

 

23.

Instruction: Select the word which is closest in meaning to the word given in the question.
In each of the questions given below from the given options select the word which is closest in meaning
to the word given in the question.
Bairn
Adult
Child
Senior
Sophomore
 

 

24.

Instruction: Find out the error part in the sentence.
Identify the part that has an error. Select ‘D’ if you find no error.
Raji found it difficult (A)/ to manage single-handedly the three children (B)/ who were always quarreling
(C)/ between themselves. (D)
A
B
C
D

 

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

 Technical Mcq

 

CLICK ON ADS

1.

What will be the output of the following C program?
void main()
 {
 int x = 2;
 int y = 0;
 for ( ; y < 10; ++y)
 {
 if (y % x == 0)
 continue;
 else if (y == 8)
 break;
 else
 printf(“ %d”,y);
 }
 } 

1 3 5 7 9
 

 

 

2.

Which of these selection statements test only for equality?
if
switch
if & switch
none of the mentioned

 

 

3.

Which of this statement is incorrect?
switch statement is more efficient than a set of nested ifs
two case constants in the same switch can have identical values
switch statement can only test for equality, whereas if statement can evaluate any type of boolean
expression
it is possible to create a nested switch statements

 

 

4.

Which of the following loops will execute the body of loop even when condition controlling the loop is
initially false?
do-while
while
for
none of the mentioned

 

5.

What will be the output of the following C code?
 #include <stdio.h>
 void foo();
 int main()
 {
 void foo(int);
 foo(1);
 return 0;
 }
 void foo(int i)
 {
 printf("2 ");
 }


2
Compile time error
Depends on the compiler
 

 

6.

What will be the output of the following C code?
 #include <stdio.h>
 void foo();
 int main()
 {
 void foo();
 foo();
 return 0;
 }
 void foo()
 {
 printf("2 ");
 }


Compile time error
2
Depends on the compiler

 

 

7.

What will be the output of the following C code?
 #include <stdio.h>
 int main()
 {
 void foo();
 printf("1 ");
 foo();
 }
 void foo()
 {
 printf("2 ");
 }


1 2
Compile time error
1 2 1 2
 

 

8.

What will be the output of the following C code?
 #include <stdio.h>
 int main()
 {
 void foo(), f();
 f();
 }
 void foo()
 {
 printf("2 ");
 }
 void f()
 {
 printf("1 ");
 foo();
 }


Compile time error as foo is local to main
1 2
 

 

 

9.

What will be the output of the following C program?
 int void main()
 {
 int var1 = 5;
 int var2 = 6;
 if ((var2 = 1) == var1)
 printf(“%d”,var2);
 else
 printf(“%d”,++var2);
 }


1
2
3
4

 

10.

What will be the output of the following C code?
#include <stdio.h>
 int main()
 {
 void foo();
 void f()
 {
 foo();
 }
 f();
 }
 void foo()
 {
 printf("2 ");
 }


2 2

Depends on the compiler


 

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

Programming 

 

CLICK ON ADS

1.

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


PYTHON CODE :

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

 

2.

Problem statement
The ZCO Scholarship Contest has just finished, and you finish with a rank of R. You know that Rank 1 to
Rank 50 will get 100% scholarship on the ZCO exam fee and Rank 51 to Rank 100 will get 50%
percentage scholarship on the ZCO exam fee. The rest do not get any scholarship. What percentage of
scholarship will you get ?
Input Format
Input consist of single line of input containing one integer R.
Constraints
1≤R≤10^9
Output Format
Output a single line containing one integer — the percentage of scholarship you will get.

 Python 3:

r = int(input())
if r>=1 and r<=50:
    print("100")

elif r>50 and r<=100:
    print("50")

else:
    print("0")


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



 

 

 



 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 


 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 


 

 

 

 



 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 


Post a Comment

Previous Post Next Post