You are on page 1of 9

CORPORATE INTERFACE DAY (IVP)

Date 4th July, 2016


Duration 2 hours

APTITUDE
1. Ronald and Elan are working on an assignment. Ronald takes 6 hours to type 32
pages on a computer while Elan takes 5 hours to type 40 pages. How much time
will they take working together on two different computers to type an assignment
of 110 pages?
(a) 7hrs 30 min
(b) 8 hours
(c) 8hrs15min
(d) 8hrs25min
2. Kim can do a work in 3 days while David can do the same work in 2 days. Both of
them finish the work together and get Rs 150. What is the share of Kim?
(a) Rs 30
(b) Rs 60
(c) Rs 70
(d) Rs 75
3. 3 men, 4 women and 6 children can complete work in 7 days. A woman does
double the work a man does and a child does half the work a man does. How
many women alone can complete this work in 7 days?
(a) 7
(b) 8
(c) 12
(d) Cannot be determined
(e) None of these
4. A and B can do a piece of work in 5 days, B and C can do it in 7 days, A and C can
do it in 4 days. Who among these will take the least time if put to do it alone
(a) A
(b) B
(c) C
(d) Data inadequate
5. A is 30% more efficient than B. How much time will they working together take to
complete a job while A alone can do it in 23days.
(a) 11 days
(b) 13 days
(c) 20

3
17

(d) None of these

6. 45 men can complete a work in 16 days. 6 days after they started working 30
more men joined. How many days will they take to complete their remaining
work?(a) 3
(b) 5
(c) 6
(d) None of these
7. 2 cars P and Q start at the same time from A and B which are 120 km apart. If
two cars travel in opposite direction they meet after 1 hour and if they travel in
the same direction ( from A towards B) then P meets Q after 6 hours. What is the
speed of car P?
(a) 60Kmph
(b) 70Kmph
(c) 120Kmph
(d) Data in adequate
(e) None of these
8. It takes 8 hours for a 600 km journey, If 120 km is done by train rest by car. it
takes 20 minutes more, if 200 km is done by train and rest by car. The ratio of the
speed of the train to the car
(a) 2:3
(b) 3:2
(c) 3:4
(d) 4:3
9. A man performs 3/5 of the total journey by rail, 17/20 by bus and remaining 6.5
km on foot. His total journey is
(a) 65
(b) 100
(c) 120
(d) 130
10.A person travels from P to Q at a speed of 40kmph and returns by increasing his
speed by 50%. What is his average speed for both the trips?
(a) 36kmph
(b) 45kmph
(c) 48kmph
(d) 50kmph
11.I started on a bicycle at 7 am to reach a certain place. After going a certain
distance, mu bicycle went out of order. Consequently, I rested for 35 minutes and
came back to my house walking all the way. I reached my house at 1 pm. If my
cycling speed is 10kmph and my walking speed is 1kmph, then on my bicycle I
covered a distance of

(a) 4
(b) 13

61
66

km

4
9

km

(c) 14 8

10

(d) 15 21

km
km

12.Robert is travelling on his cycle and has calculated point A at 2pm. If he travels at
10kmph; he will reach there at 12 noon if he travels at 15kmph. At what speed
must he travel to reach A at 1pm
(a) 8kmph
(b) 11kmph
(c) 12kmph
(d) 14kmph
13.A train 220 m long is running with the speed of 59kmph.In what time will it pass a
man who is running at 7kmph in the direction opposite to that in which the train
is going.
(a) 8 sec
(b) 14 sec
(c) 13 sec
(d) 12 sec
14.Two trains 137m and 163m in length are running towards each other on parallel
lines, one at the rate of 42kmph and another at 48kmph.In what time will they be
clear off each other from the moment they meet?
(a) 12 sec
(b) 10 sec
(c) 11.5 sec
(d) 13 sec
15.A train running at 54 kmph takes 20 seconds to pass a platform. Next it takes 12
seconds to pass a man walking at 6kmph in the same direction in which the train
is going .Find the length of train and length of platform.
(a) 150m,110m
(b) 160m ,140m
(c) 130m,100m
(d) 170m,150m
16.Two trains are moving in opposite directions @60kmph and 90kmph.Their lengths
are 1.10km and 0.9kms respectively. The time taken by the slower train to cross
faster train in sec is
(a) 36

(b) 45
(c) 48
(d) 49
17.A train overtakes two persons walking along a railway tracks .The first one walks
at 4.5kmph.The other one walks at 5.4kmph.The train needs 8.4 and 8.5 seconds
respectively to overtake them. What is the speed of the train if both the persons
are walking in the same direction as the train?
(a) 66kmph
(b) 72kmph
(c) 78kmph
(d) 81kmph
18.A train X starts from Meerut at 4 pm and reaches Ghaziabad at 5 pm while
another train Y starts from Ghaziabad at 4 pm and reaches Meerut at 5:30 pm
.The two trains will cross each other at
(a) 4.36pm
(b) 4.42 pm
(c) 4.48pm
(d) 4.50pm
19. A man bought 20 shares of Rs. 50 at 5 discount, the rate of dividend being 13 . The rate of
interest obtained is:

(a) 12 2 %

(b) 13 2 %
(c) 15%

(d) 16 3 %
20. A man buys Rs. 20 shares paying 9% dividend. The man wants to have an interest of 12% on his
money. The market value of each share is:
(a) Rs 12
(b) Rs 15
(c) Rs 18
(d) Rs 21
21. Rs. 9800 are invested partly in 9% stock at 75 and 10% stock at 80 to have equal amount of
incomes. The investment in 9% stock is:
(a) Rs 4800
(b) Rs 5000
(c) Rs 5400
(d) Rs 5600

22. The market value of a 10.5% stock, in which an income of Rs. 756 is derived by investing Rs.
9000, brokerage being
(a) Rs
(b) Rs
(c) Rs
(d) Rs

1
4

% is:

108.25
112.20
124.75
125.25

23.Virtually all health experts agree that second-hand smoke poses a serious health
risk. After the publication of yet another research paper explicating the link
between exposure to second-hand smoke and a shorter life span, some members
of the State House of Representatives proposed a ban on smoking in most public
places in an attempt to promote quality of life and length of lifespan. Which of
the following, if true, provides the most support for the actions of the State
Representatives?
(a) The amount of damaging chemicals and fumes released into the air by cigarette
smoke is far less than the amount released from automobiles, especially from
older models.
(b) Banning smoking in most public places will not considerably reduce the percent
of the population in the state in question that smokes.
(c) The state whose legislators are proposing the tough smoking legislation has a
relatively high percent of its population that smoke.
(d) Another state that enacted a similar law a decade ago saw a statistically
significant drop in lung-cancer rates among non-smokers.
(e) A nearby state up-wind has the highest number of smokers in the country.
24.In a survey of job applicants, 2/5ths admitted of being at least a little dishonest.
However, the survey may underestimate the proportion of job applicants who are
dis honest, because _____. Which of the following best completes the passage
above?
(a) Some dishonest people taking the survey might have claimed in the survey to be
honest.
(b) Some generally honest people taking the survey might have claimed to be
dishonest.
(c) Some people have claimed on the survey to be at least a little dishonest may be
very dishonest.
(d) Some people who claimed to be dishonest must have answered honestly.
25.Statement: As advice to B Go to Jammu via Amritsar the shortest route.
Assumptions:
I.
B wishes to go to Jammu
II.
A gives advice to everybody.
(a) If only assumption I is implicit.
(b) If only assumption II is implicit.

(c) If either I or II is implicit


(d) If neither I nor II is implicit.
(e) If both is implicit.
26.Statement: All existing inequalities can be reduced, if not utterly eradicated, by
action of governments or by revolutionary change of government.
Assumptions:
I.
Inequality is a man-made phenomenon.
II.
No person would voluntarily part with what he possesses.
(a) If only assumption I is implicit.
(b) If only assumption II is implicit.
(c) If either I or II is implicit
(d) If neither I nor II is implicit.
(e) If both is implicit.
27.Statement: The campaign of Keep your city clean started by the Civil council did
not evoke any response from the citizens.
Assumptions:
I.
People do not desire to keep their city clean.
II.
The Civil Council has failed in its campaign.
(a) If only assumption I is implicit.
(b) If only assumption II is implicit.
(c) If either I or II is implicit
(d) If neither I nor II is implicit.
(e) If both is implicit.
28.In a family of six, C is the sister of F, B is the brother of Es husband, D is the
father of A and grandfather of F, there are two fathers and three brothers in the
family. How is D related to B?
(a) Father
(b) Mother
(c) Brother
(d) Cant be determined
29.Ram and Mohan are a married couple having two daughters named Smita and
Devika. Devika is married to a man who is the son of Madhu and Jeevan. Romila is
the daughter of Aman. Krishna who is Amans sister is married to Sushil and has
two sons Anuj and Ankur. Ankur is the grandson of Madhu and Jeevan. What is the
relationship between Anuj and Romila?
(a) Uncle, niece.
(b) Father, daughter.
(c) Husband, wife.
(d) Cousins
30.In a certain code language, 743 means mangoes are good; 657 means Eat good
food; and 943 means Mangoes are ripe. Which digit means ripe in that language?
(a) 5
(b) 4
(c) 9

(d) 7
31.A + B means A is the son of B; A B means A is the wife of B; A x B means A is
the brother of B; A / B means A is the mother of B and A = B is the sister of B, by
using the same form of codes, what does P + R Q mean?
(a) Q is the father of P
(b) Q is the son of P
(c) Q is the uncle of P
(d) Q is the brother of P
(e) None of these
32.An excel worksheet contains rows:
(a) 65536
(b) 256
(c) 400
(d) 17

CODING
I.

A number is called a square free number if there does not exist a number greater
than 1, whose square divides the number evenly/perfectly. For example, number 8
is not a square free number as number 4 (which is square of 2), divides 8. Similarly,
number 4 is also not a square free number. However numbers 1, 3, 6 all are square
free numbers.
A number n is called a good number if following properties hold.
It is a square free number.
Let s denote the sum of all divisors of n (including non-trivial divisors like 1 and
itself). Let c denote the number of prime numbers dividing s. Number c should
be a prime number.
You will have two numbers L, R, you have to find sum of divisors (including nontrivial) of all the good numbers in the range L to R, both inclusive.
Please note that 0 is not considered a prime number.
Input
The first line of the input contains an integer T denoting the number of test cases.
The description of T test cases follows.
The only line of the each test case contains two space separated integers L, R
denoting the range for which you have to find sum of divisors of good numbers.
Output
For each test case, output a single line corresponding to answer of the test case.
Constraints and Subtasks

Subtask #1 (30 points)


1 T 103
1 L R 103
Subtask #2 (70 points)
1 T 105
1 L R 105
ExampleInput
2
15
6 10
Output
6
30
Explanation
Following number in the range 1 to 10 are square free numbers: 1, 2, 3, 5, 6, 7, 10.
Sum of their divisors will be 1, 3, 4, 6, 12, 8, 18 respectively.
Number of prime divisors of their sum of divisors will be 0, 1, 1, 2, 2, 1, 2
respectively.
So, the number 5, 6, 10 are good numbers.
Example case 1. Only good number in 1 to 5 is 5. Sum of divisors of 5 is 6.
Example case 2. In the range 6 to 10, number 6 and 10 are good. Sum of their
divisors is 12 + 18 = 30.
II.

Chef has a string S consisting of N lowercase English alphabets. He has prepared a


list L consisting of all non-empty substrings of the string S.
Now he asks you Q questions. To ith question, you need to count the number of
ways to choose exactly Ki equal strings from the list L. As answer could be large you
need to find it modulo 109+7.
Input
The first line of the input contains an integer T denoting the number of test cases.
First line of each test case contains two space-separated integers N and Q denoting
the length of the string S and amount of questions. The next line of each test case
contains a single string S. Each of the next Q lines contains a single integer Ki.
Output
For each test case, output Q lines, each line should contain one integer - amount of
ways to choose exactly Ki equal strings from the list L.

Example
Input:
1
54
ababa
2
1
3
4
Output:
7
15
1
0
Explanation
L = {"a", "b", "a", "b", "a", "ab", "ba", "ab", "ba", "aba", "bab", "aba", "abab",
"baba", "ababa"}.
k1 = 2: There are seven ways to choose two equal strings ("a", "a"), ("a", "a"), ("a",
"a"), ("b", "b"), ("ab", "ab"), ("ba", "ba"), ("aba", "aba").
k2 = 1: We can choose any string from L (15 ways).
k3 = 3: There is one way to choose three equal strings - ("a", "a", "a").
k4 = 4: There are no four equal strings in L.

You might also like