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

INFEED

Mock Test | 10 august

 Numerical Ability


1.

A plot is sold for Rs. 18,700 with a loss of 15%. At what price it should be sold to get a profit of 15%.
Rs 25300
Rs 22300
Rs 24300
Rs 21300

 

2.

How many 3 digit numbers can you form using 2,3,5,6,7 and 9, which are divisible by 5 and none of the
digits repeat?
10
15
5
20

 

3.

If a boat goes 7 km upstream in 42 minutes and the speed of the stream is 3 kmph, then the speed of
the boat in still water is
12kmph
13 kmph
14 kmph
15 kmph

 

4.

A man bought an article and sold it at a gain of 5 %. If he had bought it at 5% less and sold it for Re 1
less, he would have made a profit of 10%. The C.P. of the article was
Rs 100
Rs 150
Rs 200
Rs 250

 

5.

To complete a work A and B takes 8 days, B and C takes 12 days, A.B and C takes 6 days. How much time
A and C will take
24 days
16 days
12 days
8 days

 

6.

How many numbers are divisible by 4 between 1 to 100
20
22
18
24
 

 

7.

A grocer has a sale of RS 6435, RS. 6927, as. 6855, RS. 7230 and RS.6562 for 5 consecutive months. How
much sales must he have in the sixth month so that he gets an average sale of Rs, 6500 ?
4991
5467
5987
6453

 

8.

1, 4, 6, 10, 14, 22, 26, 34, 38, 46, __ what is the next term in the series?
50
56
52
58
 

 

9.

A sum of money at simple interest amounts to Rs. 2240 in 2 years and to Rs. 2600 in 5 years. What is
the principal amount
1000
1500
2000
2500

 

10.

Three numbers are in the ratio of 3 : 4 : 5 and their L.C.M. is 2400. Their H.C.F is ?
40
80
120
200
 

 

11.

A mixture contains alcohol and water in the ratio 4 : 3. If 5 liters of water is added to the mixture, the
ratio becomes 4: 5. Find the quantity of alcohol in the given mixture.
10
12
15
18
 

 

12.

The cost price of an article is Rs. 480. If it is to be sold at a profit of 6.25 percent, what would its selling
price be?
Rs. 510
Rs. 530
Rs. 503
Rs. 519
 

 

13.

A man can row 6 kmph in still water. When the river is running at 1.2 kmph, it takes him 1 hour to row to a
place and back. What is the total distance traveled by the man ?
4.58 kms
6.35 kms
5.76 kms
5.24 kms

 

14.

Out of 7 consonants and 4 vowels, how many words of 3 consonants and 2 vowels can be formed?
25200
52000
120
24400
 

 

15.

10 women can complete a work in 7 days and 10 children take 14 days to complete the work. How many
days will 5 women and 10 children take to complete the work?
6 days
7 days
8 days
9 days

 

16.

8+88+888+ .. . . . . + 8888...8888. There are 21 “8" digits in the last term of the series. Find the last three
digits of the sum.
458
648
658
968
 

 

17.

The ratio between the speeds of two trains is 7: 8. If the second train runs 400 kms in 4 hours, then the
speed of the first train is ?
83.5 km/hr
84.5 km/hr
86.5 km/hr
87.5 km/hr

 

18.

10 women can complete a work in 7 days and 10 children take 14 days to complete the work. How many
days will 5 women and 10 children take to complete the work?
6 days
7 days
8 days
9 days
 

 

19.

The value of a scooter depreciates in such a way that at the end of each year, is 75% of its value at the
beginning of the same year. If the initial value of the scooter is rs40,000. What is the value at the end of
3yrs?
23125
19000
13435
16875
 

 

20.

In a box, there are 8 red, 7 blue and 6 green balls. One ball is picked up randomly. What is the probability
that it is neither blue nor green?
2/3
8/21
3/7
9/22

 

21.

How many 4 digit numbers contain number 2.
3170
3172
3174
3168

 

22.

If LCM of two number is 693, HCF of two numbers is 11 and one number is 99, then find other:
34
77
12
45
 

 

23.

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
 

 

24.

In one hour, a boat goes 11km along the stream and 5 km against it. Find the speed of the boat in still
water.
6
7
8
9
 

 

25.

Find the missing number in 25, 38,__, 70, 89,
-1
53
39
-32

 

26.

Find the simple interest on Rs. 306.25 from March 3rd to July 27th( In the same year ) at 3.75 %
Rs. 4.57
Rs. 4.59
Rs. 4.53
Rs 4.58
 

 

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

 Reasoning Ability


1.

Choose the correct alternative from the following options as given below for the Assertion (A) and
Reason (R) given in each of the questions.
Assertion (A) The world bank is a leading International Financial Institution.
Reason (R) Ever, since its formation, it has played a major role in disbursing aid and support to
economies across the world.
if both A and R are true and R is the correct explanation of A
if both A and R are true and R is not the correct explanation of A
if A is true but Ris false
if A is false but R is true
 

 

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?


6

8

9



3.

Waves: Air : : Ripples :
Light
Wind
Sound
Water

 

 

4.

Find the correct alternative to complete the analogy.
NDA: BJP :: ? : Congress
UPS
PUA
UPA
NPA
 

 

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.

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 

 


7.

If RIDE + DRIVE = NEVER. What is the value of R +I +D +E ?
(Given that value of E is 3)
23
24
22
25 



8. 

Read the following information and answer the question below. In a certain code language, ‘sea is deep’
means ‘213’, ‘sky is blue’ means ‘514’ and ‘sea looks blue’ means ‘264’ What number is the code for ‘sky’?
1
2
3
4
5


9.

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

 

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.

Given:
Find the value of E+N+E+R+G+Y.
11
14
13
17

 

 

13.

Selecting the right option from the given alternatives:
Seema told Sanjiv, “The girl I met yesterday at the beach was the youngest daughter of the brother-inlaw of my friend’s mother.” How is the girl related to Seema’s friend?
Niece
Friend
Aunt
Cousin

 

 

14.

Selecting the right option from the given alternatives:
Introducing Sarita, Meena said, “She is the only daughter of my father’s only daughter”. How is Meena
related to Sarita?
Niece
Cousin
Aunt
None of these
 

 

 

15.

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. 6 4 15
Il. 18 Q 10
If ‘Q’ is the resultant of the first row, what will be the resultant of the second row ?

85

101

69

None 

 

 

16.

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 cities are towns.
Some cities are villages.
Conclusions
I. All villages are towns.
II. No village is a town.
Ill. Some villages are towns.
Only I follows.
Only Il follows
Only III follows

None 

 

 

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.
Select that pair that expresses the relationship that is most similar to the given pair.
Abduct : Kidnap : : ?
Pilfer : Steal
Derail : Further
Jump: Enjoy
Clarify : Cuneal
 

 

18.

Choose the correct alternative from the following options as given below for the Assertion (A) and
Reason (R) given in each of the questions.
Assertion (A) Amartya Sen was awarded the Nobel Prize for Economics.
Reason (R) Amartya Sen has made an invaluable contribution in the field of developmental Economics.
if both A and R are true and R is the correct explanation of A
if both A and R are true and R is not the correct explanation of A
if A is true but R is false
if A is false but R is true

 

19.

If HOW + MUCH = POWER, then what is the value of P+O +W+E+R?
10
11
13
12
 

 

20.

Select the right option from the given alternatives Sandhya walks straight from point A to B which is 2
kms away. She turns left at 90 degrees and walks 8 kms to point C, where she turns left again at 90
degrees and walks 5 kms to point D. And she turns left at 90 degrees and walks for 8 kms to point
E.What is the distance between A and E?
2 km
3 km
5 km
8 km

 

 

21.

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.
Pascal:Programming::Oracle: ?
Internet
Greek
Java
Teletext

 

 

22.

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 mobiles are cameras.
Some cameras are calculators.
Conclusions
I. All calculators are mobiles.
Il. All cameras are mobiles.
Only conclusion I follow.
Only conclusion II follows.
Neither I nor II follows

Both 

 

 

23.

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

 

 

24.

Find a similar relationship from the given options.
Conductor : Orchestra : Symphony
Judge : Convict : Justice
Player : Opponent : Game
Author : Book : Magazine
Teacher : Class : Lesson

 

 

25.

COCA + COTA = OASIS each letter consist unit digit(0-9) then find S+O+T+I+C+A
27
28
26
29
 

 

26.

Read the following information and answer the question below. In a certain code language, ‘sea is deep’
means ‘213’, ‘sky is blue’ means ‘614’ and ‘sea looks blue’ means ‘264’ What number is the code for ‘is’?
1
2
3
4
5

 

27.

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 ships are boats.
All boats are submarines.
Some submarines are yachts.
Conclusions:
I. Some yachts are boats.
II. Some submarines are boats.
III. Some submarines are ships.
IV. Some yachts are ships.
All follow
Only Il and Ill follows

only iii follows

only either iii or iv follows

 

 

28.

Choose the odd one
Marigold
Grapes
Rose
Lotus
 

 

29.

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 above

 

30.

Read the following information to answer the given question Six people Nitro, Nemesis, Nick Fury, Viper,
Kronos and Hulk are attending a hexagonal table conference. All the sides of the hexagon table so
formed are of the same length. Nitro is not adjacent to Nemesis or Nick Fury, Viper is not adjacent to
Nick Fury or Kronos. Nemesis and Nick Fury are adjacent, Hulk is in the middle of Viper and Nick Fury.
Who is at the same distance from Viper as Kronos is from Viper?
Nemesis
Nick Fury
Viper
Hulk

 

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

Verbal Ability

1.

Instruction: Choose the best fit for the underlined phrase.
As soon as I turn the ignition key, the engine caught fire
turn on ignition key
I turned the ignition key
I was turning the ignition key
No change

 


2.

Select the word which best expresses the MEANING of the word in CAPITALS CEASE
Capture
hold
Stop
Stege
 

 

3.

Decide which sentence is the most preferable with respect to grammar, meaning and usage, suitable for
formal writing in English Find the correct sentence
From which train did you come?
A series of incidents have taken place
it is a five-men committee
The pronunciation is peculiar to Bengalis

 

4.

27. Select the word which best expresses the MEANING of the word in CAPITALS
ADORN
Decorate
Enjoy
Admire
hate
 

 

5.

Which of the following explains the meaning of the proverb "Every cloud has a silver lining?
When the cloud has a silver lining after the rain
Every sad or difficult situation has a positive side
Good times follow difficult ones
A need to face the difficult times with courage

 

6.

Instruction: Choose the most appropriate sentence which can replace the Underlined sentence
It is probable that the prototype celular motor might be ready for testing around the end of next year.
might be ready for testing around the end of next year
may be ready for testing about the end of next year
might be ready for testing toward next year's end
will be ready for testing toward the end of next year
 

 

7.

Instruction: Choose the most logical order of sentences among the given choices to construct a
coherent paragraph.
A. Right to equality provides for all equal access to public places like shops, hotels, places of
entertainment, wells, bathing ghats and places of worship. B. This right is very important because our
society did not practice equal access in the past. C. There cannot be any discrimination in this access
on the basis of caste, creed, colour, sex, religion, or place of birth. D. It also provides which any
discrimination in public employment on any of the above mentioned bases.
ACDB
BCDA
DBCA
ACBD

 

8.

Instruction: Find the part of the sentence that contains an error.
The clothes/ were neatly / hanged / on the cloth line
A
B
C
D
 

 

9.

One of the four sentences given in each question is grammatically wrong. Find the incorrect sentence
Our followers are but a handful
Neither he nor I was there
Many a glorious deeds were done
Everyone of the boys loves to ride
 

 

10.

Decide which sentence is the most preferable with respect to grammar, meaning and usage, suitable for
formal writing in English Find the correct sentence
it is far too hard an essay to me to attempt
it is too to hard an essay to attempt for me
Too far it is an essay hard for me to attempt
it is too hard an essay for me to attempt

 

11.

Select the word which best expresses the MEANING of the word in CAPITALS EMANATE
End
Culminate
Originate
Retreat
 

 

12.

Select the option that is most nearly ANTONYM a meaning to the word in CAPITALS
ENDORSE
Approve
Revoke
oppose
Reveal
 

 

13.

Decide which sentence is the most preferable with respect to grammar, meaning and usage, suitable for
formal writing in English Find the correct sentence
They have placed order for books
He has applied for lectureship
The river has overtown its bank
Give me rupees two and a half.

 

14.

Select the word which best expresses the MEANING of the word in CAPITALS PRODUCT
Result
Cause
Resource
Split

 

 

15.

In the question there is a sentence of which some parts have been jumbled up Rearrange these parts
which are labelled P Q R and 5 to produce the correct sentence Choose the proper sequence. People P.
at his dispensary Q. went to him R. of all professions S. for medicine and treatment
QPRS
RPQS
RQSP
QRPS

 

16.

Select the word which best expresses the MEANING of the word in CAPITALS FAMISHED
Finished
Full
Hungry
Thirsty
 

 

17.

In each of the Questions given below from the given options select the word which is the farthest in
meaning to the word given in the question.
YOKE
mar
fell
pervert
split
 

 

 

18.

In the following sentences there may be some errors in the parts which are marked as A, B, C, D . Identify
the part which has errors.
The University has announced that
everyone will take the examination now
will receive the results within
eight weeks at the latest

 

19.

. Select the word which best expresses the MEANING of the word in CAPITALS HATE
Abuse
Abhor
Nasty
Tardy

 

20.

Instruction: Choose the most appropriate sentence which can replace the Underlined sentence
China's economy continues to Mounish this year; industrial producti grew, inflation has eased and the
trade surplus swelled. .
grew inflation has eased and the trade surplus swelled
is growing inflation, is easing, and the trade surplus is swelling
has grown inflation eased and the trade surplus has swelled
has grown inflation eased and the trade surplus is swelling

 

21.

Instruction: One of the four sentences given in each question is grammatically wrong. Find the incorrect
sentence
She had finished her work when I met her
Do you believe in God?
He cut his hand with a knife
He challenged me for a duel

 

22.

Select the word which best expresses the MEANING of the word in CAPITALS CORRESPONDENCE
Agreements
Contacts
Documents
Letters
 

 

23.

Select the option that is most nearly ANTONYM a meaning to the word in CAPITALS SORROW
Sympathy
joy
Woe
Empathy

 

24.

Read each sentence to find if there is any grammatical error in it. If there is any error, it will be only one
part of the sentence. The number or alphabet of that part is your answer. (Disregard punctuation errors
if any)
I never have / visited / or intend to visit/ foreign countries /
A
B
C
D

 

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

 Technical Mcq

1.

What is the term given to the variable whose scope is beyond all the scopes i.e., it can be accessed by
all the scopes?
Universal variable
Global variable
External variable
Static variable

 

2.

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

Depends on standard

 

 

3.

What will be the output of the following C code?
 #include <stdio.h>
 void m()
 {
 printf("hi");
 }
 void main()
 {
 m();
 }
hi
Run time error
Nothing
varies

 

4.

What is the output?
#include <stdio.h>
int main()
{
int i = 0;
do {
i++;
printf("Inside while loop\n");
} while (i < 3);
}
Inside while loop
Outside while loop
Inside while loop will print three times

none of the above

 

 

5.

What is the return-type of the function sqrt()?
int
float
double
depends on the data type of the parameter

 

6.

The correct syntax for running two variable for loop simultaneously is.
for (i = 0; i < n; i++) for (j = 0; j < n; j += 5)
for (i = 0, j = 0;i < n, j < n; i++, j += 5)
for (i = 0; i < n;i++){}
for (j = 0; j < n;j += 5){}
 

 

7.

Choose the correct answer Tanuj writes the code for a function that takes as input n and calculates the
sum of first n natural numbers.
Function sum( n )
{
if(??)
return 1
else
return (n + sum(n-1))
end
}
Fill in ?? in the code.
Friend function
Anonymous function
NULL function

Global function

 

 

8.

Which of these jump statements can skip processing the remainder of the code in its body for a
particular iteration?
break
return
exit
continue

 

 

9.

What will be the data type returned for the following C function?
 #include <stdio.h>
 int func()
 {
 return (double)(char)5.0;
 }
char
int
double
multiple type-casting in return is illegal

 

10.

What will be the output of the following C code?
 #include <stdio.h>
 void m();
 void n()
 {
 m();
 }
 void main()
 {
 void m()
 {
 printf("hi");
 }
 }
hi
Compile time error

nothing

varies

 

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

Programming

1.

Problem statement
Ted has a pineapple. This pineapple is not an ordinary pineapple rather it is able to bark like a bulldog!
At time t (in seconds) it barks for the first time. Then every s seconds after it, it barks twice with 1
second interval. Thus it barks at times t, t + s, t + s + 1, t + 2s, t + 2s + 1, etc.
Ted woke up in the morning and wants to eat the pineapple, but he can't eat it when it's barking. Ted
plans to eat it at time x (in seconds), so he asked you to tell him if it's gonna bark at that time.
Input Format
The first and only line of input contains three integers t, s and x — the time the pineapple barks for the
first time, the pineapple barking interval, and the time Barney wants to eat the pineapple respectively.
Constraints
(0 ≤ t, x ≤ 109, 2 ≤ s ≤ 10^9)
Output Format
Print a single "YES" (without quotes) if the pineapple will bark at time x or a single "NO" (without quotes)
otherwise in the only line of output

 

PYTHON CODE:

t,s,x=map(int,input().split())
print('NO'if(x<t)or(x-t)%s>>(x!=t+1)else'YES')
 

 

2.

Problem statement
Little Robert likes mathematics. Today his teacher has given him two integers and asked to find out
how many integers can divide both the numbers. Would you like to help him in completing his school
assignment?
Input Format
There are two integers, a and b as input to the program.
Constraints
Output Format
Print the number of common factors of a and b. 


python code:

data  = input()
li = data.split()
 
a = int(li[0])
b = int(li[1])
 
def gcd(a, b):
    if (a == 0):
        return b;
    return gcd(b%a, a);
 
if (a>0 and a<(10**12+1) and b>=1 and b<(10**12+1)):
    count = 1
    for i in range(2, gcd(a, b)+1):
        if a%i==0 and b%i==0:
            count = count+1
    print(count)

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




 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 


 

 

 

 

 


Post a Comment

Previous Post Next Post