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

INFEED

Daily Test | Mock Test 11 | sep 7

 Numerical Ability


1.

Krishna purchases 50 dozen eggs at Rs. 4 per dozen. Of these, 40 eggs were found broken. At what

price should he sell the remaining eggs in order to make a profit of 5%?

Rs. 1.5/dozen

Rs. 2.5/dozen

Rs. 3.5/dozen

Rs. 4.5/dozen



2.
In how many ways can a group of 25 people be arranged around two circular tables consisting of 12 and
13 chairs?
25! x 11!/13!
25! x 11!/12!
25! x 11!/10!
25! x 11!/3!


3.
5 coffee and 4 tea costs Rs. 96; 5 badam milk and 6 coffee costs Rs. 32; 7 tea and 6 badam milk costs
Rs. 37. What is the combined price of 1 tea, 1 coffee and 1 badam milk?
Rs.15
Rs.16
Rs.14
Rs.13


4.
There is a pie to be divided among 20 people. A man eats 3 pizza, a women eats two pieces and a child
eats half a piece of pie. Find the number of men, women and children so that they are 20 people in total
and everyone gets some pie. There are 20 pieces of pie in all.
7 women, 1 men and 12 children
5 women, 1 men and 14 children
6 women, 2 men and 12 children
4 women, 2 men and 14 children


5.
The value of a coin varies directly with the square of its radius when its thickness is constant. The radius
of a coin is 2 cm and its value is Rs. 5. What will be the radius of a coin if its value is Rs. 10?
5 cm
4 cm
6 cm
2.83 cm


6.
At 12:00 p.m. Ravi starts to walk from his house at 8 kmph. At 1:30 p.m. Shankar follows him from Ravi’s
house on his bicycle at 12 kmph. When will Ravi be 6 km behind Shankar?
6 km
5 km
6.5 km
8 km


7.
The odds against of an event are in 5:13. Find the probability of occurrence of this event.
13/18
11/18
14/18
1/18


8.
A bank offers 10% p.a. compound interest calculated on half-yearly basis. A customer deposits Rs. 1000
each on 1st January and 1st July of a year. Find the interest he would have gained at the end of a year.
Rs. 132.50
Rs. 142.50
Rs. 162.50
Rs. 152.50


9.
Find the compound interest on Rs. 500 for 1 year at 40% per annum compounded quarterly.
Rs. 212.05
Rs. 222.05
. Rs. 232.05
Rs. 242.05



10.
A deer takes 9 steps for every 11 steps of a leopard, but 11 steps of a leopard are equal to 13 steps of
deer. What is the ratio of the speed of deer to that of leopard?
9:13
2:11
1:15
3:17


11.
Directions for question number : A function is defined as follows: f(a1, a2, a3, ..., an) = a12n-1 +a22n-2
+a32n-3 +....+an20 The above function is repeated until the value of function reduces to a single digit
number.
f(128) = ?
8
7
6
4


12.
Pipes X and Y take 15 and 30 min, respectively to fill a cistern. Hole H, which is always open, empties the
tank in 60 min. How much time will X and Y take to fill the cistern?
12 minutes
10 minutes
15 minutes
20 minutes


13.
In this question, AB means A raised to power B. If x2yz < 0, then which one of the following statements
must also be true? I. yz< 0 II. z< 0 III. x< 0
I
II
III
None of these


14.
A number when divided by D leaves a remainder of 8 and when divided by 3D leaves a remainder of 21.
What is the remainder left, when twice the number is divided by 3D?
13
42
3
Cannot be determined


15.
Find the sum of prime numbers from 1 to 100 which when divided by 2 leaves the remainder as 1 and
when divided by 3 leaves the remainder as 2.
500
600
528
600


16.
Seven points are marked on a straight line and six points are marked on another line which is parallel to
the first line. How many triangles can be formed with these points as vertices?
231
230
234
289


17.
The odds in favour of an event are 7:11. Find the probability of occurrence of this event.
7/18
5/18
6/18
9/18


18.
Three pipes fill a tank in 8 h. If two of them take 21 and 28 h each to fill the tank, how many hours will the
third pipe take to fill the tank?
20 hours
24 hours
28 hours
29 hour




19.
A Samsung duo and a Galaxy are bought for Rs.40000. The Duo is sold at a profit of 33.33% and the
Galaxy is sold at a loss of 20%. There was no loss or gain. Find the cost price of the Samsung duo?
Rs. 15000
Rs. 12000
Rs. 10000
Rs. 18000


20.
By selling an article for Rs. 600, I incurred a loss of 25% on the sale. If I want to make a profit of 25% on
the same, for how much should I sell that article?
Rs. 1000
Rs. 2000
Rs. 2500
Rs. 300



21.
The speed of the cycle is 10kmph.The speed of the train is 20kmph.The difference in time taken by a
cycle and train is 30 mins.Find the distance between them.
40 km
35 km
44 km
48 km


22.
An egg seller sells his eggs only in the packs of 3 eggs, 6 eggs, 9 eggs, 12 eggs etc., but the rate is not
necessarily uniform.One day Raju (Which is not the same egg seller) purchased at the rate of 3 eggs for
a rupee and the next hour he purchased equal number of eggs at the rate of 6 eggs for a rupee. Next
day he sold all the eggs at the rate 9 eggs for Rs.2. what is his percentage profit or loss?
10% loss
11% profit
11.11% loss
15% profit


23.
A man purchased a bike for Rs. 80000 and got it insured for 80% of the value. The bike was totally
destroyed in an accident and the insurance company compensated him for only 80% of the claim. What
was the loss suffered (in %)?
34%
36%
40%
45%


24.
There is 40% increase in an amount in 4 years at simple interest. What will be the compound interest of
Rs. 100 after 3 years at the same rate?
Rs. 30
Rs. 45
Rs. 33.1
Rs. 48


25.
Daniel can do some work in 12 hours, Roy can do the same work in 10 hours while Hillari can do the same
work in 15 hours. All the three of them start working at 9 a.m. while Daniel stops works at 11 a.m. and
remaining two complete the work. Approximately at what time will the work be finished?
1 p.m
2 p.m
3 pm
4 pm


26.
Two equal containers are filled with the mixture of whisky and water. The concentration of whisky in
each of the containers is 24% and 36%, respectively. What is the ratio of water in both the containers
respectively?
19: 16
19:12
19: 14
19: 1

________________________________________________________



Reasoning Ability


1.
Choose from the following:
A. If (a) alone is sufficient to answer the question.
B. If (b) alone is sufficient to answer the question.
C. If (a) and (b) together are necessary to answer the question.
D. If either (a) or (b) is sufficient to answer the question.
E. If neither (a) nor (b) is sufficient to answer the question.
The number of days taken by A to complete the work is ____.
(a) B and C can do the work in 6 days
(b) A, B, C can do the work in 4 days.
E
A
B
C
D


2.
Directions for questions: Refer to the following information and answer the following questions. Each
question contains statements followed by conclusions. Choose which conclusion is logically related to
the given statements.
Statements:
All boxes are pans.
Some boxes are jugs.
Some jugs are glasses.
Conclusions:
I. Some glasses are boxes.
II. No glass is box.
III. Some jugs are pans.
IV. No jug is pan.
Only I and II follow
Either I or II and III follow
only III follows
iii or iv follows


3.
Directions: A wooden cube is cut into 64 cubes. The whole solid is then painted in such a manner that
all pairs of opposite faces in the solid cube are painted with the same colour: red, green and black.
How many small cubes are there whose only one face is coloured?
12
32
8
16
24




4.
The following pie chart shows the expenditure of a company during the months January to July in 2014.
If the total expenditure during the period was Rs. 2 Crore, the approximate expenditure in March and
May together was?
1 crore
45 lakhs
49 lakhs
48 lakhs


5.
Directions: The length, breadth and height of a rectangular piece of plastic are 4 cm, 3 cm and 5 cm,
respectively. Opposite sides of 4 cm 3 cm are coloured in brown. Opposite sides of 5 cm 4 cm are
coloured in orange colour. 5 cm 3 cm are coloured in yellow colour in both the sides. Plastic piece is
cut in such way that a cuboid of 1 cm 1 cm * 1 cm will be made. How many cuboids shall have all the
three colours?
22
8
10
12
14


6.
Directions for questions: Refer to the following information and answer the following questions. Each
question contains statements followed by conclusions. Choose which conclusion is logically related to
the given statements.
Statements:
Some birds are animals.
All animals are rivers.
Some rivers are lions.
Conclusions:
I. Some lions are animals.
II. Some rivers are birds.
III. No animal is lion.
Only II follows
Only either I or III follows
I and ii follows 
only either ii or iii follows



7.
The word WOMAN is coded as PDQRY. Which of the following should be the code for CHILD?
EKMOF
JQMKE
FOMKE
EKMQF
FQMKF


8.
If LOVE is coded as KNUD, then PRIDE will be coded as
OHQCF
OQHCF
OQHCD
OQGCD
OQGCF


9.
Directions: In an IT department, 150 students like Infosys, 160 students TCS and 200 students like
Wipro. Forty students like Infosys and TCS but not Wipro. One hundred and forty students who like
Wipro also like exactly one of TCS and Infosys. There is at least one student who like any one of the
companies. If the number of students who like only Infosys or only TCS is 80, then what is the number
of students who like all the three companies?
5
8
10
9
15


10.
The following graph shows the annual profit percent of a company (Y-axis) and Years (X-axis). Study
the graph and answer the question given below.
In which year is the expenditure maximum?
2000
1998
1997
cannot be determined


11.
Find the missing term.
H, J, M, O, R,?
J
R
S
T
U


12.
The following pie chart shows the expenditure of a company during the months January to July in 2014.
1100000
1000000
1800000
25000


13.
Directions: A wooden cube is cut into 64 cubes. The whole solid is then painted in such a manner that
all pairs of opposite faces in the solid cube are painted with the same colour: red, green and black. How
many small cubes are there where one face is green and the other one is either black or red?
36
28
8
16
24



14.
Choose from the following:
A. If (a) alone is sufficient to answer the question.
B. If (b) alone is sufficient to answer the question.
C. If (a) and (b) together are necessary to answer the question.
D. If either (a) or (b) is sufficient to answer the question.
E. If neither (a) nor (b) is sufficient to answer the question.
Find the HCF of x and y.
(a) Product of x and y is 192.
(b) LCM of x and y is 48.
E
A
B
C
D


15.
Find the missing term.
Y, X, W, V, S, R, Q, N,?
B
M
K
J
L



16.
If RIVZLS is coded as SGYVQM in a certain language, then which word will be coded as XXXXXX in the
same language?
WUZBSD
WUBZSD
WZSDUB
WZSUBD
WZUBSD



17.
Six persons Arvind, Bala, Chandru, Deepak, Ebinizer and Feroz are sitting in two rows, three persons in
each row are facing each other. Ebinizer is not at the end of any row. Deepak is second to the left of
Feroz. Chandru, the neighbour of Ebinizer, is sitting diagonally opposite to Deepak. Bala is the neighbour
of Feroz.
Who is facing Bala?
Arvind
Chandru
Feroz
Ebinizer



18.
Choose from the following:
A. If (a) alone is sufficient to answer the question.
B. If (b) alone is sufficient to answer the question.
C. If (a) and (b) together are necessary to answer the question.
D. If either (a) or (b) is sufficient to answer the question.
E. If neither (a) nor (b) is sufficient to answer the question.
Is y = 2x?
(a) sin y = 2 tan x/1 + tan2 x
(b) tan y = 2tanx/1 - tan2 x
E
A
B
C
D


19.
Choose from the following:
A. If (a) alone is sufficient to answer the question.
B. If (b) alone is sufficient to answer the question.
C. If (a) and (b) together are necessary to answer the question.
D. If either (a) or (b) is sufficient to answer the question.
E. If neither (a) nor (b) is sufficient to answer the question.
What is the value of x when x and y are positive?
(a) log y y = y
(b) log y x = 0
E
A
B
C
D


20.
Directions: A wooden cube is cut into 64 cubes. The whole solid is then painted in such a manner that
all pairs of opposite faces in the solid cube are painted with the same colour: red, green and black. How
many small cubes are there for which no faces are coloured?
. 0
4
8
16


21.
A secret message MURDER is coded as OXVIKY before transmission. In the same code, how should the
reply to the message DONE be coded before transmission?
FRIE
FQPF
FRRJ
FRRF
FIRE



22.
f (a) alone is sufficient to answer the question.
B. If (b) alone is sufficient to answer the question.
C. If (a) and (b) together are necessary to answer the question.
D. If either (a) or (b) is sufficient to answer the question.
E. If neither (a) nor (b) is sufficient to answer the question.
Is x an integer?
(a) (x/5) + 7 = 0
(b) (x/6) = 0
E
A
B
C
D


23.
Sachin walks 18km towards South. From there, he walks 10 km towards North. He then walks 6 km
towards East. How far and in which direction is he with reference to the starting point?
10 km South-East
5 km East
10 km East
10 km North-East
5 km West



24.
Directions: A wooden cube is cut into 64 cubes. The whole solid is then painted in such a manner that
all pairs of opposite faces in the solid cube are painted with the same colour: red, green and black.
How many small cubes are there whose 3 faces are coloured?
12
4
8
16
24




25.
A cube has 6 sides, each of which is inscribed with a different object: ring, gun, boost, rope, bread, and
dove. The ring is opposite to the boost. The gun is in between ring and boost. The rope is adjacent to
the dove and the bread is adjacent to rope. The ring is face down. The side opposite to bread is __.
None
Ring
Boost
Dove
Gun



26.
Six persons Arvind, Bala, Chandru, Deepak, Ebinizer and Feroz are sitting in two rows, three persons in
each row are facing each other. Ebinizer is not at the end of any row. Deepak is second to the left of
Feroz. Chandru, the neighbour of Ebinizer, is sitting diagonally opposite to Deepak. Bala is the neighbour
of Feroz.
Which of the following are sitting diagonally opposite to each other?
Feroz and Chandru
Deepak and Arvind
Arvind and Chandru
Arvind and Feroz


27.
Directions: The length, breadth and height of a rectangular piece of plastic are 4 cm, 3 cm and 5 cm,
respectively. Opposite sides of 4 cm 3 cm are coloured in brown. Opposite sides of 5 cm 4 cm are
coloured in orange colour. 5 cm 3 cm are coloured in yellow colour in both the sides. Plastic piece is
cut in such way that a cuboid of 1 cm 1 cm * 1 cm will be made. How many cuboids shall have not any
colour?
14
6
8
10
12



28.
Choose from the following:
A. If (a) alone is sufficient to answer the question.
B. If (b) alone is sufficient to answer the question.
C. If (a) and (b) together are necessary to answer the question.
D. If either (a) or (b) is sufficient to answer the question.
E. If neither (a) nor (b) is sufficient to answer the question.
How long will A and B take to finish the work?
(a) A can do the work in 6 days and C can do the work in 2 days.
(b) A can do the work in 6 days and B can do it in 8 days.
E
A
B
C
D



29.
Five girls are sitting on a bench to be photographed. Sneha is to the right of Geetha and to the left of
Ganga. Mercy is to the left of Geetha. Ajitha is between Geetha and Mercy.
Who is in the middle of the photograph ?
Ajitha
Sneha
Ganga
Geetha


30.
Anjilna moves towards South-East a distance of 18.5 m, then she moves West for 22.5 m. She then
moves North- West a distance of 18.5 m and finally she moves a distance of 12.5 m towards East and
stand at that point. How far is the starting point from where she stood?
None
3
4
10
11


________________________________________________________


Verbal Ability


1.
Instruction: Fill in the blank with the most suitable option.
Many people believe that watching television has resulted in lower reading standards in schools. (1)_,
the link between television and printed books is not as simple as that. In many (2) _, television actually
encourages people to read: for example, when a book is turned into a TV series, (3)__ sales often go
up. One study of this link examined six-year-old children who (4) _ viewing a special series of 15-
minute programs at school. The series was (5) _ to encourage the love of books, as well as to develop
the basic mechanical skills of reading.
Which option suits blank 1?
Whatever
Moreover
However
Further


2.
Instruction: Fill in the blank with the most suitable option.
We flew from Bellary to Delhi __ Mumbai.
through
with
in
behind
via



3.
Instruction: Rewrite the following sentence after changing the form of speech.
Rashi said, "I met your sister last month."
Rashi said that I met your sister last month
Rashi said that I had met your sister last month
Rashi said that she had met my sister that month
Rashi said that she had met my sister the month before



4.
Instruction: Fill in the blank with the most suitable option.
This is a conclusion that can be 1 from a recent study based on interviews with the owner-managers
of 40 small businesses. The research makes the reason 2 management behavior, however well
intentioned, is often th 3 of the problem. This was the overwhelming vie 4by the managers surveyed:
the main barrier to growth was the fact that day-to-day issues 5_all their time.
Which option suits blank 4?
notified
expressed
informed
addressed


5.
Instruction: Identify the error.
Scoliosis, a condition when the spine curves abnormally / and throws the body out of line, / will cause
heart and lung problems / as well as physical deformity.
Scoliosis, a condition when the spine curves abnormally
and throws the body out of line,
will cause heart and lung problems
as well as physical deformity



6.
Find out the synonym of the underlined word from the options below :
Fiendishly
falsely
loudly
wickedly
foolishly


7.
Instruction: Identify the error.
One of the staff/ must give/ their willingness/ for seminar tomorrow.
One of the staff
Must give
Their willingness
For seminar tomorrow


8.
Instruction: Read the passage and the answer the question given below.
PASSAGE:
We have inherited the tradition of secrecy about the budget from where also the system has been
strongly attacked by eminent economists and political scientists including Peter Jay. Sir Richard Clarke,
who was the originating genius of nearly every important development in the British budgeting
techniques during the last two decades, has spoken out about the abuse of budget secrecy: ‘the
problems of long term tax policy should surely be debated openly with the facts on the table. In my
opinion, all governments should have just the same duty to publish their expenditure policy indeed,
this obligation to publish taxation policy is really essential for the control of public expenditure in order
to get realistic taxation implications.’ Realising that democracy flourishes best on the principles of
open government, more and more democracies are having an open public debate on budget proposals
before introducing the appropriate bill in the legislature. In the United States the budget is conveyed in
a message by the president to the congress, which comes well in advance of the date when the bill is
introduced in the congress. In Finland, the parliament and the people are already discussing in June
the tentative budget proposals which are to be introduced in the Finnish parliament in September.
Every budget contains cartload of figure in black and white but the dark figure represents the myriad
lights and shades of India’s life, the contrasting tones of poverty and wealth, and of bread so dear and
flesh and blood so cheap, the deep tints of adventure and enterprise and man’s ageless struggles for a
brighter morning.The Union budget should not be an annual scourge but part of presentation of annual
accounts of a partnership would work much better when the nonsensical secrecy is replaced by
openness and public consultations, resulting in fair laws and the people’s acceptance of their moral
duty to pay.
How do the British economists and political scientists react to budget secrecy?
None of the above
In favour of having a mix of secrecy and openness
Indifferent to the budgeting techniques and taxation policies
Very critical about maintenance of budget secrecy
Advocates of not disclosing in advance the budget contents



9.
Instruction: Identify the error.
(A) After you will return / (B) from Japan / (C) I will come / (D) and see you. / (E) No error
E
A
B
C
D



10.
Instruction: Fill in the blank with the most suitable option.
The organization is expanding and _ new staff. (recruiting)
take up
take on
take off
came across



11.
Instruction: Fill in the blank with the most suitable option.
This is a conclusion that can be 1___ from a recent study based on interviews with the ownermanagers of 40 small businesses. The research makes the reason 2___ management behavior, however
well intentioned, is often the 3___ of the problem. This was the overwhelming vie 4___ by the
managers surveyed: the main barrier to growth was the fact that day-to-day issues 5_ all their time.
Which option suits blank 3?
foundation
ground
base
root


12.
Instruction: Rearrange the four sentences 1, 2, 3, 4, in the proper sequence so as to form a
meaningful paragraph.
1) arrived here on Monday by an early morning flight
2) Goa-based Win Gagan, who is the
3) accused in the Rs 40 crore before guns kickback case,
4) He is scheduled to appear in the trial court by Thursday
1243
2314
3214
4321


13.
Find out the synonym of the underlined/highlighted word from the options below:
You have first of all to lay by a stock of knowledge that will suffice you not sincerely for your
examinations but will be helpful to you in later life.
Be adequate
Be inadequate
Be insufficient
Be helpful


14.
Instruction: Fill in the blank with the most suitable option.
This is a conclusion that can be 1 from a recent study based on interviews with the owner-managers
of 40 small businesses. The research makes the reason 2 management behavior, however well
intentioned, is often th 3 of the problem. This was the overwhelming vie 4by the managers surveyed:
the main barrier to growth was the fact that day-to-day issues 5_all their time.
Which option suits blank 5?
caught
occupied
held
contained




15.
Instruction: Fill in the blank with the most suitable option.
A new book __(1) just come out with the title “To Have and to Hold”. According to the title, it would
seem just a story of collecting and collectors, but actually it goes much further ___(2) that. As well as
telling us about great collectors of the past, it also ____(3) the reasons why people collect things. In
past centuries, only ___(4) people could afford to travel and most collections started with just a
___(5) strange objects which had been brought on trips abroad. But now a days technology has made
transport so easy that even middle class people can ____(6) to travel and can collect peculiar things.
Which option suits blank 4?
rich
poor
professional
workers


16.
Instruction: Choose the right fit for the blank.
The movie offended many of the parents of its younger viewers by including unnecessary ___ in the
dialogue.
Tonality
Vulgarity
Verbosity
Vocalisation
Garishness


17.
Instruction: Fill in the blank.
Akshit ___ bother about losing his money in the bid because he is very rich.
ought to
need not
should not
could not



18.Instruction: Read the passage and the answer the question given below.
PASSAGE:
We have inherited the tradition of secrecy about the budget from where also the system has been
strongly attacked by eminent economists and political scientists including Peter Jay. Sir Richard Clarke,
who was the originating genius of nearly every important development in the British budgeting
techniques during the last two decades, has spoken out about the abuse of budget secrecy: ‘the
problems of long term tax policy should surely be debated openly with the facts on the table. In my
opinion, all governments should have just the same duty to publish their expenditure policy indeed,
this obligation to publish taxation policy is really essential for the control of public expenditure in order
to get realistic taxation implications.’ Realising that democracy flourishes best on the principles of
open government, more and more democracies are having an open public debate on budget proposals
before introducing the appropriate bill in the legislature. In the United States the budget is conveyed in
a message by the president to the congress, which comes well in advance of the date when the bill is
introduced in the congress. In Finland, the parliament and the people are already discussing in June
the tentative budget proposals which are to be introduced in the Finnish parliament in September.
Every budget contains cartload of figure in black and white but the dark figure represents the myriad
lights and shades of India’s life, the contrasting tones of poverty and wealth, and of bread so dear and
flesh and blood so cheap, the deep tints of adventure and enterprise and man’s ageless struggles for a
brighter morning.The Union budget should not be an annual scourge but part of presentation of annual
accounts of a partnership would work much better when the nonsensical secrecy is replaced by
openness and public consultations, resulting in fair laws and the people’s acceptance of their moral
duty to pay.
The author seems to be in favour of
None of the above
Maintain secrecy of budget
Judicious blend of secrecy and openness
Transparency in budget openness
Replacement of public constitution by secrecy


19.
Instruction: Identify the error.
My dad / and me / went to the temple / last Friday.
My dad
And me
Went to the temple
Last friday



20.
Instruction: Identify the error.
(A) My mother-in-law, / (B) along with her sister, / (C) were present / (D) at the function. / (E) No error
E
A
B
C
D


21.
Instruction: Rearrange the four sentences, A, B, C, D, and E in the proper sequence so as to form a
meaningful paragraph.
A. A study to this effect suggests that the average whitecollar worker demonstrates only about twenty
five percent listening efficiency.
B. However, for trained and good listeners, it is not unusual to use all the three approaches during a
setting, thus, a high listening efficiency.
C. There are three approaches to listening; listening for comprehension, listening for empathy, and
listening for evaluation.
D. Although we spend nearly half of each communication listening, we do not listen well.
E. Each approach has a particular emphasis that may help us to receive and process information in
different settings.
CEBDA
ABCED
BACDE
CDEAB
DCBAD




22.
Instruction: Read the passage and the answer the question given below.
PASSAGE:
We have inherited the tradition of secrecy about the budget from where also the system has been
strongly attacked by eminent economists and political scientists including Peter Jay. Sir Richard Clarke,
who was the originating genius of nearly every important development in the British budgeting
techniques during the last two decades, has spoken out about the abuse of budget secrecy: ‘the
problems of long term tax policy should surely be debated openly with the facts on the table. In my
opinion, all governments should have just the same duty to publish their expenditure policy indeed,
this obligation to publish taxation policy is really essential for the control of public expenditure in order
to get realistic taxation implications.’ Realising that democracy flourishes best on the principles of
open government, more and more democracies are having an open public debate on budget proposals
before introducing the appropriate bill in the legislature. In the United States the budget is conveyed in
a message by the president to the congress, which comes well in advance of the date when the bill is
introduced in the congress. In Finland, the parliament and the people are already discussing in June
the tentative budget proposals which are to be introduced in the Finnish parliament in September.
Every budget contains cartload of figure in black and white but the dark figure represents the myriad
lights and shades of India’s life, the contrasting tones of poverty and wealth, and of bread so dear and
flesh and blood so cheap, the deep tints of adventure and enterprise and man’s ageless struggles for a
brighter morning.The Union budget should not be an annual scourge but part of presentation of annual
accounts of a partnership would work much better when the nonsensical secrecy is replaced by
openness and public consultations, resulting in fair laws and the people’s acceptance of their moral
duty to pay.
The author thinks that openness in budget is essential as it leads to
 
None of the above

Prevention of tax implications
People’s reluctance to accept their moral duties.
Exaggerated revelation of the strength and weakness of economy
Making our country on par with Finland


23.
Instruction: Rearrange the five sentences A, B, C, D, and E in the proper sequence so as to form a
meaningful paragraph.
A. He collapsed and died from an apparent cardiac arrest on 27 July 2015.
B. He was elected as the 11th President of India in 2002 .
C. AvulPakirJainulabdeen Abdul Kalam was born on 15 October 1931.
D. Kalam also played a pivotal organisational, technical, and political role in India’s Pokhran-II nuclear
tests in 1998.
E. Kalam moved to Madras in 1955 to study aerospace engineering in Madras Institute of Technology
CEDBA
CEDAB
BADEC
bedca



24.
Instruction: Identify the error.
It has been made clear / that all my sons-in-law / will stay at / my father’s-in-law house.
It has been made clear
that all my sons-in-law
will stay at
my father’s-in-law house

_________________________________________________________________



Technical Mcq


1.
What will be the output of the following C++ code?
 #include <stdio.h>
 #include <iostream>
 using namespace std;
 int main()
 {
 char str[5] = "ABC";
 cout << str[3];
 cout << str;
 return 0;
 }
ABC
ABCD
AB
AC


2.
Which operator is overloaded for a cout object?
<<
<
 >
>>


3.
What will be the output of the following C++ code?
 #include <stdio.h>
 #include <iostream>
 using namespace std;
 int main()
 {
 int array[] = {10, 20, 30};
 cout << -2[array];
 return 0;
 }
-15
-30
compile time error
garbage error


4.
What does ‘\a’ escape code represent?
alert
backslash
tab
form feed



5.
What will be the output of the following C++ code?
 #include <stdio.h>
 #include<iostream>
 using namespace std;
 int main ()
 {
 int array[] = {0, 2, 4, 6, 7, 5, 3};
 int n, result = 0;
 for (n = 0; n < 8; n++)
 {
 result += array[n];
 }
 cout << result;
 return 0;
 }
25
26
27
21


6.
What is the size of wchar_t in C++?
2
4
2 or 4
Based on the number of bits in the system


7.
Which of the following cannot be used with the virtual keyword?
Class
Member functions
Constructors
Destructors


8.
Which concept is used to implement late binding?
Virtual functions
Operator functions
Constant functions
Static functions


9.
What will be the output of the following C++ code?
 #include <stdio.h>
 #include<iostream>
 using namespace std;
 int main()
 {
 int a = 5, b = 10, c = 15;
 int arr[3] = {&a, &b, &c};
 cout << *arr[*arr[1] - 8];
 return 0;
 }
15
18
garbage value
compile time error


10.
Which of the following is correct?
C++ allows static type checking
C++ allows dynamic type checking.
C++ allows static member function to be of type const.
C++ allows both static and dynamic type checking

______________________________________________________________

Programming


1.

Problem statement

You are given a string S consisting of lowercase alphabets. A good subsequence of this string is a

subsequence which contains distinct characters only. Determine the number of good subsequences of

the maximum possible length modulo 10^9 +7. In other words, determine the length X of the longest

good subsequence and the number of good subsequences of length X modulo 10^9 +7.

Input Format

• First line: An integer T denoting the number of test cases

• Each of the next T lines: String S

Constraints

1<T < 10

1<|S|<10^5

Output Format

For each test case, print the number of good subsequences of the maximum length modulo 10^9 +7.

Answer for each test case should come in a new line.

Sample Input:

7

ncdadbmhjfkl

mfijdmeebmed

hcbmgjpdcime

fjpkbjpijcjd

jhbcolmnfmp

 

C CODE:

 

#include <stdio.h>
 
int main(){
    long long int t,n,i,m=1000000007;
    scanf("%lld",&t);
    while(t--){
        char a[100000];
        long long int h[26]={0},f=1;
        scanf("%s",a);
        n=strlen(a);
        for(i=0;i<n;i++){
            h[a[i]-'a']++;
        }
        for(i=0;i<26;i++){
            if(h[i]>0){
                f=((f%m)*(h[i]%m))%m;
            }
        }printf("%lld\n",f);
    }
}



2.

Problem statement

Creatnx now wants to decorate his house by flower pots. He plans to buy exactly N ones. He can only

buy them from Triracle's shop. There are only two kind of flower pots available in that shop. The shop is

very strange. If you buy X flower pots of kind 1 then you must pay A x X^2 and B x Y^2? if you buy Y

flower pots of kind 2. Please help Creatnx buys exactly N flower pots that minimizes money he pays.

Input Format

The first line contains a integer T denoting the number of test cases.

Each of test case is described in a single line containing three space-separated integers N, A, B.

Constraints

•1<T < 10^5

•1<N, A, B < 10^5

Output Format

For each test case, print a single line containing the answer.

Sample Input;

2

5 1 2

10 2 4

Sample Output:

17

134

 

C++ CODE:

#include <bits/stdc++.h>

#define ll long long int
using namespace std;

int main()
{
    ll t; cin>>t; while(t--)
    {
        ll n,a,b;
        cin>>n>>a>>b;
        ll k=(b*n)/(a+b);
        ll x=(a*k*k) + (b*(n-k)*(n-k));
        k++;
        ll y=(a*k*k) + (b*(n-k)*(n-k));
        cout<<min(x,y)<<endl;
    }
}________________________________________________________

Post a Comment

Previous Post Next Post