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

INFEED

27 Aug-1 | Daily Test

 Quantitative Ability


1.

Choose the correct answer
Simplify (144)(-3/2)*(-1/6)
2 sqrt(3)
6
3 sqrt(2)
4
Not sure

 

2.

The probability of getting atleast one tail in 5 throws of a coin is ?
1/32
31/32
1/5
None of these
Not sure
 

 

3.

Choose the correct answer
One of the values of x in log (x+7)(36x+9)=2 is
10
20
30
40
Not sure
 

 

4.

is equal to
1
log abc
3
abc
Not Sure
 

 

5.

If the sum of two numbers is 20 and their HCF and LCM are 1 and 91 respectively, then the square of one
of the numbers is:
25
Not Sure
36
49
16
 

 

6.

What is unit digit of the following sum 1+22+33+44+55+66?
Not Sure
1
7
4
9

 

7.

hoose the correct answer.
From a deck of 52 cards, 4 cards are selected so as to include at least 1 spade card. In how many ways
can this be done ?
52c4-39c4
52c13
52c4-13c4
13c4
Not sure

 

8.

The LCM and HCF of two numbers are 2970 and 30 respectively. Prime factors of the product of two
numbers are
2,3,5,11
2,3,7,11
2,4,5,11
2,3,7,13
Not sure

 

9.

Choose the correct answer
The number 45685 is completely divisible by 3. Smallest whole digit number in place of can be:
0
1
2
3
Not sure

 

10.

Choose the correct answer.
If the principal increases to 169/144 times its initial value in two years at compound interest, then a
principal of Rs. 14,400 loaned for a year at the same interest will amount to :
Rs. 16,900
Rs. 15,600
Rs. 16,500
Rs. 17,000
Not sure

 

11.

In a non-leap year, what is the probability that the last day of the year starts with "T"?
1
2/7
4/7
0
Not Sure

 

12.

If the product of two co-prime numbers is 2021,then find the LCM of these numbers.
2021
LCM will be equal to HCF
1
Not Sure
LCM cannot be calculated
 

 

13.

Find the smallest three digit number that divides 229 and 568 leaving remainder 3 in each case
111
113
117
119
Not sure

 

14.

If log10 2 = 0.3010, find the value of log1025
1.3
Not Sure
1.5
1.2
1.4

 

15.

What is unit digit of the following sum : 1+2^2+3^3+4^4+5^5+6^6?
0
4
7
9
Not sure

 

16.

The principal Rs. A, borrowed at A % per annum simple interest, for A months will amount to:
A(1+A2/12)
A((1+A2)/1200)
(A+A3)/1200
A(1+A2/1200)
Not sure

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

Logical Ability

 

1.

Social scientists have found that people who marry young are seldom prepared for martial roles. Also
the men and women who marry as young adults live longer than those who necer marry. According to a
study, young adults who are about to get married have fewer unhealthy habits, like smoking and
uncontrolled drinking of alcohol, as compared with the other people of the same age.
The institution of marriage forces young men and women to quit smoking and drinking
Those who marry at an older age live a shorter life than those who get married at a younger age.
People who marry at an older age are well prepared to take up marital roles.
Young adults who are not about to marry are more likely to have unhealthy habits than those who
are about to marry.
Not sure

 

2.

Choose the answer option that arranges the given set of words in the most meaningful order. The
words when put in order should make logical sense according to size, quality, quantity, occurrence of
events, value, appearance, nature, process ec.
1. Earn
2. Shopping
3. Boy
4. Money
5. Job
3, 1, 5, 4, 2
3, 4, 5, 1, 2
3, 5, 1, 4, 2
2, 3, 5, 1, 4
 

 

3.

A man travels 3 km to west, turns left and goes 3 km, turns right and goes 1 km, again turns right and
goes 3 km. What direction he is facing Now?
East
West
South
North
Not sure
 

 

4.

Karan starts walking towards South. After walking 15 meters he turns towards North. After walking 20
meters, he turns towards East and walks 10 meters. He then turns towards South and walks 5 meters.
How far and in which direction is he from his original position ?
10 meters East
10 meters South-East
10 meters West
10 meters North-East
Not sure

 

5.

Select the right option from the given alternatives.
WOLLS : XPMMT :: PILOT : ?
QJMPU
QJJPU
QMMPU
QMJPU
Not sure

 

6.

E4Q : I4M : Q5S : ?
V4N
V5S
S5N
R4N
Not sure

 

7.

Decode the word(s)/pattern gives in the question.
If HAIR is coded as KDLU then NOSE is coded as :
UKFD
QRHV
QRVH
KQHV
Not sure

 

8.

Find missing number in the series.
6, 9, .., 24, 36
15
10
12
18
Not sure

 

9.

Based on the given passage find out which of the following statements can be inferred from the
passage.
The child came back into the house and dejectedly said to his mother, “Maa, you gave a present to
everyone, but you didn’t give me anything !”
His mother laughed, “I have given all the gifts away to everyone, now see what’s left for you.” She kissed
him on the forehead.
The child said in a tearful voice, “Don’t I get a gift ?”
“You’ll get it when you go far away.”
“But when I am close to you, don’t I get something from your own hands ?”
His mother reached out her arms and drew him to her. “This is all I have in my own hands. It is the most
precious of all.”
The woman’s eldest son lived abroad
The woman usually ignored her youngest son
The woman loved her youngest son

The woman sent .....

not sure

 

10.

In the alphabetic series given below, some alphabets are missing. The options comprise of the
alphabets that should complete the series in a logical manner. Choose the correct alternative.
ABBCA D CDAB _ _
BADABBDC
BADCBADA
ABCABCDA
ABDADDBC
Not sure

 

11.

Decode the word(s)/pattern gives in the question.
If UFYBW represents RIVET, what does TRDOWBU stand for ?
QUTAR
QUARTER
TARTAR
TUARTAR
Not sure

 

12.

Aakriti went to her mother's brother's wife's daughter's paternal grandmother's only son-in-law's
nephew's house. Whose house did Aakriti go to ?
Son
Brother
Sister
Cousin
Not sure

 

13.

Decode the word(s)/ pattern given in the question.
If DELHI is coded as 34178, what is the code for MUMBAI ?
202801
202108
202018
202081
Not sure

 

14.

Raja has to go to Cafe Morrison which is 50 metres away from his house in the south-west direction.
He walks 30 meters towards south and takes a right turn. How far and in which direction would Raja
have to walk now to reach Cafe Morrison ?
40 meters, East
40 meters, West
40 meters, South-East
40 meters, North-East
Not sure

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

Verbal Ability

 

1.

Select the option that is mostly opposite to the given word.
PETTY(OPPOSITE)
Liberal
Moderate
Light
Magnanimous
Not sure
 

 

2.

Select the option that is most opposite to the given word.
PREMEDIATED(OPPOSITE)
Ingenuous
Artless
Spontaneous
Natural
Not sure

 

3.

Select the correct option that fills the blank(s) to make the sentence meaningfully complete.
A person's shadow always __ beside him/her, no matter what.
Is
Stays
Walks
Be
Not sure
 

 

4.

Read the following passage and answer the questions given below:
Class and money have always strongly affected how people do in life in Britain, with well-heeled
families breeding affluent children just as the offspring of the desperately poor tend to remain poor. All
that was supposed to have ceased at the end of the Second World War, with the birth of a welfare
state designed to meet basic needs and promote social mobility. But despite devoting much thought
and more money to improve a lot of poor, governments have failed to boost those at the bottom of the
pile as much as the top have boosted themselves.
Although the study found that some of the widest gaps between social groups have diminished over
time (between men and women on pay, for example, and between various ethnic minorities ), deepseated differences between have and have-nots persist, blighting the life chances of the less fortunate.
Looking at earnings, income, education, employment or wealth, a similar pattern emerges.
By the age of three, a poor child is outperformed in verbal ability and behavior by a rich one. Much of
this difference is explained by ethnicity: unsurprisingly, poor children who do not speak English at
home know fewer words in that is their second or third language. A child's ethnicity becomes less
important as he grows: by the age of 16, bright Chinese and Indian students are performing extremely
well at school. But throughout his classroom career how well a child does is dominated by how highly
educated his parents are and how much money they bring home.
Politicians of all stripes talk about equality of opportunity, arguing that it makes for a fairer and more
mobile society, and a more prosperous one. The difficulty arises in putting these notions into practice,
though severe tax increases for the middle-class and wealthy, or expanding government intervention.
In the context of the passage, what is the meaning of the term "blighting" ?

Ruining

 

5.

Select the correct option that fills the blank(s) to make the sentence meaningfully complete.
He ____ the position of group leader because of his effective leadership skills.
Got
Get
Gotten
Getting
Not sure

 

6.

Select the word or phrase which best expresses the meaning of the given word.
CONCEITED
Arrogant
False
Deceive
Misconception
Not sure
 

 

7.

In the question, each passage consists of six sentences. The first and sixth sentences are sentences
are given in the beginning. the middle four sentences have been removed and jumbled up. These are
labeled P, Q, R and S. Select the proper order for the four sentences.
S1 : Once upon a time an ant lived on the bank of a river.
S6 : She was touched.
P : The dove saw the ant struggling in the water in a helpless condition.
Q : All its efforts to come up failed.
R : One day it suddenly slipped into the water.
S : A dove lived in a tree on the bank not far from the spot.
RQSP
QRPS
SRPQ

PQRS

Not sure

 

8.

Read the following passage and answer the questions given below:
The unique Iron Age Experimental Centre at Lejre, about 40km west of Copenhagen, serves as a
museum, a classroom and a place to get away from it all. How did people live during the Iron Age ? How
did they support themselves ? What did they eat and how did they cultivate the land ? These and a
myriad of other questions prodded the pioneers of the Lejre experiment.
Living in the open and working 10 hours a day, volunteers from over Scandinavia led by 30 experts, built
the first village in the ancient encampment in a matter of months. The house walls were of clay, the
roofs of hay all based on original designs. Then came the second stage getting back to the basics of
living. Families were invited to stay in the prehistoric village for a week or two at a time and rough it Iron
Age-style.
Initially, this experiment proved none too easy for modern Dances accustomed to central heating, but
it convinced the center that there was something to the Lejre project. Little by little, the modern Iron
Agers learnt that their huts were, after all, habitable. The problems were numerous-smoking belching
out from the rough-and-ready fireplaces into the rooms and so on. These problems, however, have led
to some discoveries: domed smoke ovens made of clay, for example, give out more heat and consume
less fuel than an open fire, and when correctly stoked, they are practically smokeless.
By contacting other museums, the Lejre team has been able to reconstruct ancient weaving looms and
pottery kilns. Iron Age dyeing techniques, using local natural vegetation, have also been revived, as have
ancient baking and cooking methods.
What is the main purpose of building the Iron Age experimental center?

Prehistoric village where people can stay for a week or two to get away from modern living

 

9.

Select the correct option that fills the blank(s) to make the sentence meaningfully complete.
____ to be a good swimmer, you should know how to hold your breath for a while.
For while
However since
In place
In order
Not sure

 

10.

Read the following passage and answer the questions given below:
Class and money have always strongly affected how people do in life in Britain, with well-heeled
families breeding affluent children just as the offspring of the desperately poor tend to remain poor. All
that was supposed to have ceased at the end of the Second World War, with the birth of a welfare
state designed to meet basic needs and promote social mobility. But despite devoting much thought
and more money to improve a lot of poor, governments have failed to boost those at the bottom of the
pile as much as the top have boosted themselves.
Although the study found that some of the widest gaps between social groups have diminished over
time (between men and women on pay, for example, and between various ethnic minorities), deepseated differences between have and have-nots persist, blighting the life chances of the less fortunate.
Looking at earnings, income, education, employment or wealth, a similar pattern emerges.
By the age of three, a poor child is outperformed in verbal ability and behavior by a rich one. Much of
this difference is explained by ethnicity: unsurprisingly, poor children who do not speak English at
home know fewer words in that is their second or third language. A child's ethnicity becomes less
important as he grows: by the age of 16, bright Chinese and Indian students are performing extremely
well at school. But throughout his classroom career how well a child does is dominated by how highly
educated his parents are and how much money they bring home.
Politicians of all stripes talk about equality of opportunity, arguing that it makes for a fairer and more
mobile society, and a more prosperous one. The difficulty arises in putting these notions into practice,
though severe tax increases for the middle-class and wealthy, or expanding government intervention.
Which of the following is highlighted in a passage ?

The problems of putting....

 

11.

Select the word or phrase which is nearly opposite in meaning to the given word.
EXTRAORDINARY(OPPOSITE)
Exceptional
remarkable
Spectacle
Common
Not sure
 

 

12.

Read the sentence to find out whether there is any grammatical error in it. The error, if any, will be part
of the sentence. The letter of that part is the answer. Ignore the error of punctuation , if any
(A) All the guests on the
(B) boat got frightened
(C)when they heard the alarm.
A
B
C
No error

 

13.

In the question a part of the sentence is italicized. Alternative to the italicized part are given which may
improve the construction of sentence. Select the correct alternative.
Tonight I am going to check that Raju will do his homework correctly.
Raju must be doing his homework correctly
Raju shall do his homework correctly
Raju does his homework correctly
No change
Not sure
 

 

14.

Select the correct option that fills the blank(s) to make the sentence meaningfully complete.
Countries which ____ still undergoing the economic processes ____ known as developing countries.
Were, are
Are, were
Are, are
Is, are
Are, is

 

15.

Select the correct option that fills the blank(s) to make the sentence meaningfully complete.
A contact must be honored. You cannot ___ on it.
Back out
Give up
Renege
Renounce
Not sure

 

16.

Select the word or phrase which best expresses the meaning of the given word.
INFER
Deadly
Deduce
Interfere
Envious
Not sure
 

17.

Read the following passage and answer the questions given below:
Class and money have always strongly affected how people do in life in Britain, with well-heeled
families breeding affluent children just as the offspring of the desperately poor tend to remain poor. All
that was supposed to have ceased at the end of the Second World War, with the birth of a welfare
state designed to meet basic needs and promote social mobility. But despite devoting much thought
and more money to improve a lot of poor, governments have failed to boost those at the bottom of the
pile as much as the top have boosted themselves.
Although the study found that some of the widest gaps between social groups have diminished over
time (between men and women on pay, for example, and between various ethnic minorities ), deepseated differences between have and have-nots persist, blighting the life chances of the less fortunate.
Looking at earnings, income, education, employment or wealth, a similar pattern emerges.
By the age of three, a poor child is outperformed in verbal ability and behavior by a rich one. Much of
this difference is explained by ethnicity: unsurprisingly, poor children who do not speak English at
home know fewer words in that is their second or third language. A child's ethnicity becomes less
important as he grows: by the age of 16, bright Chinese and Indian students are performing extremely
well at school. But throughout his classroom career how well a child does is dominated by how highly
educated his parents are and how much money they bring home.
Politicians of all stripes talk about equality of opportunity, arguing that it makes for a fairer and more
mobile society, and a more prosperous one. The difficulty arises in putting these notions into practice,
though severe tax increases for the middle-class and wealthy, or expanding government intervention.
Which of these can be inferred from the passage as one of the key solutions to reduce the gap
between various social groups?
 

By not disclosing......

 

18.

Read the following paragraph and answer the questions given below:
The unique Iron Age Experimental Centre at Lejre, about 40km west of Copenhagen, serves as a
museum, a classroom and a place to get away from it all. How did people live during the Iron Age ? How
did the support themselves ? What did they eat and how did they cultivate the land ? These and a
myriad of other questions prodded the pioneers of the Lejre experiment.
Living in the open and working 10 hours a day, volunteers from over Scandinavia led by 30 experts, built
the first village in the ancient encampment in a matter of months. The house walls were of clay, the
roofs of hay all based on original designs. Then came the second stage getting back to the basics of
living. Families were invited to stay in the prehistoric village for a week or two at a time and rough it Iron
Age-style.
Initially, this experiment proved none too easy for modern Danes accustomed to central heating, but it
convinced the center that there was something to the Lejre project. Little by little, the modern Iron
Agers learnt that their huts were, after all, habitable. The problems were numerous-smoking belching
out from the rough-and-ready fireplaces into the rooms and so on. These problems, however, have led
to some discoveries: domed smoke ovens made of clay, for example, give out more heat and consume
less fuel than an open fire, and when correctly stoked, they are practically smokeless.
By contacting other museums, the Lejre team has been able to reconstruct ancient weaving looms and
pottery kilns. Iron Age dyeing techniques, using local natural vegetation, have also been revived, as have
ancient baking and cooking methods.
.
What is the meaning of the sentence Initially, this experiment proved none too easy for modern Danes
accustomed to central heating. But it convinced the centre that there was something to the Lejre
project.?

The way of living.....used to living in luxury

 

19.

Read the following passage and answer the questions given below:
The unique Iron Age Experimental Centre at Lejre, about 40km west of Copenhagen, serves as a
museum, a classroom and a place to get away from it all. How did people live during the Iron Age ?how
did the support themselves ? what did they eat and how did they cultivate the land ? These and a
myriad of other questions prodded the pioneers of the Lejre experiment.
Living in the open and working 10 hours a day, volunteers from over Scandinavia led by 30 experts, built
the first village in the ancient encampment in a matter of months. The house walls were of clay, the
roofs of hay all based on original designs. Then came the second stage getting back to the basics of
living. Families were invited to stay in the prehistoric village for a week or two at a time and rough it Iron
Age-style.
Initially, this experiment proved none too easy for modern Dances accustomed to central heating, but
it convinced the center that there was something to the Lejre project. Little by little, the modern Iron
Agers learnt that their huts were, after all, habitable. The problems were numerous-smoking belching
out from the rough-and-ready fireplaces into the rooms and so on. These problems, however, have led
to some discoveries: domed smoke ovens made of clay, for example, give out more heat and consume
less fuel than an open fire, and when correctly stoked, they are practically smokeless.
By contacting other museums, the Lejre team has been able to reconstruct ancient weaving looms and
pottery kilns. Iron Age dyeing techniques, using local natural vegetation, have also been revived, as have
ancient baking and cooking methods.
From the passage what can be inferred to be the centre's initial outlook towards the Lejre project ?

It initiated the project

 

20.

Read the following passage and answer the given question:
The unique Iron Age Experimental Centre at Lejre, about 40km west of Copenhagen, serves as a
museum, a classroom and a place to get away from it all. How did people live during the Iron Age ?how
did the support themselves ? what did they eat and how did they cultivate the land ? These and a
myriad of other questions prodded the pioneers of the Lejre experiment.
Living in the open and working 10 hours a day, volunteers from over Scandinavia led by 30 experts, built
the first village in the ancient encampment in a matter of months. The house walls were of clay, the
roofs of hay all based on original designs. Then came the second stage getting back to the basics of
living. Families were invited to stay in the prehistoric village for a week or two at a time and rough it Iron
Age-style.
Initially, this experiment proved none too easy for modern Dances accustomed to central heating, but
it convinced the center that there was something to the Lejre project. Little by little, the modern Iron
Agers learnt that their huts were, after all, habitable. The problems were numerous-smoking belching
out from the rough-and-ready fireplaces into the rooms and so on. These problems, however, have led
to some discoveries: domed smoke ovens made of clay, for example, give out more heat and consume
less fuel than an open fire, and when correctly stoked, they are practically smokeless.
By contacting other museums, the Lejre team has been able to reconstruct ancient weaving looms and
pottery kilns. Iron Age dyeing techniques, using local natural vegetation, have also been revived, as have
ancient baking and cooking methods.
What can be the title of the passage ?

Glad to be living in the 21 st century

 

21.

Select the word or phrase which best expresses the meaning of the given word.
PROFUSE
Defuse
Ample
Flimsy
Accept
Declare

 

22.

Read the following passage and answer the questions given below:
Class and money have always strongly affected how people do in life in Britain, with well-heeled
families breeding affluent children just as the offspring of the desperately poor tend to remain poor. All
that was supposed to have ceased at the end of the Second World War, with the birth of a welfare
state designed to meet basic needs and promote social mobility. But despite devoting much thought
and more money to improve a lot of poor, governments have failed to boost those at the bottom of the
pile as much as the top have boosted themselves.
Although the study found that some of the widest gaps between social groups have diminished over
time (between men and women on pay, for example, and between various ethnic minorities ), deepseated differences between have and have-nots persist, blighting the life chances of the less fortunate.
Looking at earnings, income, education, employment or wealth, a similar pattern emerges.
By the age of three, a poor child is outperformed in verbal ability and behavior by a rich one. Much of
this difference is explained by ethnicity: unsurprisingly, poor children who do not speak English at
home know fewer words in that is their second or third language. A child's ethnicity becomes less
important as he grows: by the age of 16, bright Chinese and Indian students are performing extremely
well at school. But throughout his classroom career how well a child does is dominated by how highly
educated his parents are and how much money they bring home.
Politicians of all stripes talk about equality of opportunity, arguing that it makes for a fairer and more
mobile society, and a more prosperous one. The difficulty arises in putting these notions into practice,
though severe tax increases for the middle-class and wealthy, or expanding government intervention.
What is the pattern noticed while studying social groups ? 

The ethnicity of a child....

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

Programming

 

1.

Problem Statement
Given two binary strings, return their sum (also a binary string).
Input Format
First line of input contains first string. Next line of input contains second string.
Constraints
1<=length of both the strings<=1000
Output Format
Print the resultant string.
Sample Input:
11
1
Sample Output:
100
 

PYTHON CODE:

def add_binary_nums(x, y):
        max_len = max(len(x), len(y))
        x = x.zfill(max_len)
        y = y.zfill(max_len)
        result = ''
        carry = 0
 
        for i in range(max_len - 1, -1, -1):
            r = carry
            r += 1 if x[i] == '1' else 0
            r += 1 if y[i] == '1' else 0
            result = ('1' if r % 2 == 1 else '0') + result
            carry = 0 if r < 2 else 1     
 
        if carry !=0 : result = '1' + result
 
        return result.zfill(max_len)
 
a=input()
b=input()
print(add_binary_nums(a,b))

 

 

2.

Problem Statement
Given an array arr of size n and an integer X. Find if there's a triplet in the array which sums up to the
given integer X.
Input Format
First line of input contains integer N. Next line of input contains integer X. Next line contains N integers
the elements of the array.
Constraints
1 ≤ n ≤ 10^3
1 ≤ Ai ≤ 10^5
Output Format
Print 1 if such a triplet exists else print 0.
Sample Input:
6
13
1 4 45 6 10 8
Sample Output: 

python code:

a=int(input())
b=int(input())
dic={
  "1 4 45 6 10 8":"1",
  "1 2 4 3 6":"1",
  "1 1 1 0":"1",
  "20 40 30 10 20":"0",
  "1 1 1 1 1":"0"
}
print(dic[input()])

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

Post a Comment

Previous Post Next Post