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

INFEED

21-August-Prp |Daily Test | WIPRO

 

Quantitative Aptitude:

1.An air conditioner can cool the hall in 40 minutes while another takes 45 minutes to cool under similar

conditions. If both air conditioners are switched on at same instance, then how long will it take to cool

the room?

About 22 minutes

About 20 minutes

About 30 minutes

About 25 minutes


2.The principal Rs. A borrowed at A% per annum simple interest, for A months will amount to:

A(1+A^2/12)

A((1+ A^2)/1200)

(A+A^3)/1200

A(1+A^2/1200)


3.If the sum of 4 times a number A and three times a number B is equal to the sum of number B and

seven times the number A, then what is the value of A:B?

2:3

3:2

4:3

3:4



CLICK ON ADS



4.Every year before the festive season, a shopkeeper increases the price of the products by 35% and then

introduces two successive discounts of 10% and 15% respectively. What is his percentage loss or gain?

3.27% loss

3.27% gain

No profit, No loss

8.875% loss



CLICK ON ADS


5.The number 456*85 is completely divided by 3. Smallest whole digit number in place of * can be:

0

1

2

3


6.What is the value of the expression 5*(2+16)/2-4*(2+2)+1/4 of 16?

26

13

34

33



7.What is the least number which should be added to 1330 to make it a perfect square?

56

1

41

39


8.Atul bought a machine for Rs. 4,50,000 and sold it to Irrfan at a prot. Irrfan later sold the machine to

Danish at a loss of 10% for Rs. 4,95,000. The prot earned by Atul is:

23%

21%

25%

22.22%


9.What is unit digit of the following sum: 1+ 2^2+ 3^3+4^4+5^5+6^6 ?

0

4

7

9



10.What are the largest 4-digit and the smallest 3-digit numbers divisible by 6, 15, 21 and 24?

9,235,420

9980, 840

9240, 840

9999, 999


CLICK ON ADS


11.Rahul can nish one-fth of his homework in one hour. Neha can nish three-seventh of her homework in

one hour thirty minutes and Riya can nish three fourth of her homework in three hours thirty minutes. If

all of them starts their homework at 12.00 p.m. and can go to play as soon as they all nish their

homework. When can they start to play. If they take a break at 3.30 p.m. for thirty minutes?

5.00 pm

5.30 pm

4.40 pm

6.30 pm


12.A rectangle's length is four times its breadth. It has an area of 2500 square yards. What is the length of

the rectangle?

25 yards

100 yards

625 yards

5 yards


13.Choose the correct answer.

If from a deck of 52 cards, 4 cards are to be selected and one card of it should be a spade and another

card should be a heart, In how many ways can these cards be selected?

132 * (50C2 )

52C4

26*50C2

13C4



CLICK ON ADS


14.Shobhit bought 300 liters of milk at Rs. 19 per liter. He added 200 liters of water to it and sold 400 liters

of that milk at Rs. 20 per liter. To the rest, he added 10 liters more water and then sold it for Rs.15 per

liter. If he used mineral water that costs Rs.10 per liter, then the money earned by Shobhit is:

Rs. 4,000

Rs. 4,150

Rs. 1,800

Rs. 1,850


15.A book store offers a 10% discount on all the books sold plus an additional discount of 5% on the total

bill, if the total bill after the initial discount is more than or equal to Rs. 1000. Dilshan bought 3 books

worth Rs. 450, Rs. 520 and Rs. 250 respectively. How much money was Dilshan able to save as a result

of the various discounts offered by the store?

Rs. 102

Rs. 176.9

Rs. 61

Rs. 183


16.Choose the correct answer Varun is guessing which of the 2 hands holds a coin. What is the probability

that Varun guesses correctly three times in a row?

(1/6)

(1/2)

(1/4)

(1/8)




Logical Ability:


1.Decode the word(S) / pattern given in the question. If SAME is coded as VDPH, then IDENTICAL is coded

as

KFHPVKEDN

LACITNEDI

LGHQWLFDO

KACITNEDI



2.M and N have two children A and B. F is the spouse of B. D is the child of F. P is the son -in-law of N. K is

the child of P. Who is the male child of M and N?

B

D

A

K



CLICK ON ADS


3.Pick the odd man out.

ACFJ

CEHL

PRUY

SUXZ


4.Find the next number in the series 5,25,61,113,___

181

121

212

241


5.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, occurrence of events,

value, appearance, nature, process etc. 1.Tree 2.Wood 3.Plant 4.seed 5.Furniture

3,4,2,1,5

3,4,1,2,5

4,1,3,2,5

4,3,1,2,5



6.M is P's brother's son. N is only Brother of P. How is N related to M

Nephew

Father

Cousin

Uncle



7.A contract must be honored. You cannot __ on it.

Back out

Give up

Renege

Renounce


8.If RESULT is coded as SFTVMU, then EXAM is coded as:

FWBO

DYZL

FYBN

DXZL


9.If North-West becomes East and North-East becomes South and so on, Then what does East becomes

?

South-West

North-East

North-West

South-East


10.The question consists of a problem question followed by two statements I and II. Find out if the

information given in the statement(s) is sufcient in finding the solution to the problem. Problem

question: Among ve friends A,B,C,D and E. who is the tallest? Statements:

I) B is taller than A, but smaller than D and E

II) C is smaller than B

Statement I alone is sufcient in answering the problem question

Statement II alone is sufcient in answering the problem question

Both statements put together are sufcient in answering the problem question

Both statements even put together are not sufcient in answering the problem question



CLICK ON ADS



11.A man walks 20 km towards south and then 15 km towards east. How far is he from his initial position?

25 km

30 km

40 km

50 km



12."Find the next number in the series 7,8,15,23,38,____

61

57

62

59



13.The question consists of a problem question followed by two statements I and II. Find out if the

information given in the statement(s) is sufcient in nding the solution to the problem. Problem

question: If the product of two numbers are given. Find the numbers Statements I) Difference of the

numbers is given II) Sum of the numbers is given

Statement I alone is sufcient in answering the problem question

Statement II alone is sufcient in answering the problem question

Both statements put together are sufcient in answering the problem question

Both statements even put together are not sufcient in answering the problem question

Either of the statements is sufcient in answering the problem question



14.Determine the relationship between the rst two words and then identify the missing word of the second pair such that it is analogous to the rst pair. POLICY: NPJJAZ:: INSURANCE:

GOQVPBLDC

GOQVQBLDC

GOQVRBLDC

GOQVPBLEC



Verbal Ability:


1.All the faculty members except the HOD __ to the new curriculum proposed by Prof. Bhasin.

Agreed

Agrees

Has agreed

Was agreed


2.Based on the given passage nd out which of the statement can be inferred from the passage Of all the

tness and wellness activities customary in India, Artistic yoga is the new kid in town. It has successfully

earned a pat on the back from whosoever has lent an ear to the latest advancements. Artistic yoga

combines the suaveness of yoga and the frenzy of modern cardio-vascular exercises. The technique

involves performance of various aasanas and pranayams followed by walking on treadmill, stair

climbing, cycling and so on. The activities are performed in a cyclic order and the aasana or pranayam

that is done in the beginning is repeated in the end . This helps an individual at the physical level as well

as the mental and spiritual level, thus helping bring about a complete transformation of body, mind and

soul

Artistic yoga helps in the overall development of those who practice it

Artistic yoga has been adopted by modern people since it is in fashion these days

All the activities performed at the beginning of artistic yoga are also repeated in the end

Since it combines yoga and exercises, artistic yoga will replace other tness and wellness

programmes



CLICK ON ADS


3.Read the following passage and answer the question given below: Environmental toxins which can

affect children are frighteningly commonplace. Besides lead, there are other heavy metals such as

mercury, which is found frequently in sh, that are spewed into the air from coal-red power plants, says

Maureen Swanson, MPA, director of the Healthy Children Project at the Learning Disabilities Association

of America. Mercury exposure can impair children's memory, attention, and language abilities and

interfere with ne motor and visual-spatial skills. A recent study of school districts in Texas showed

significantly higher levels of autism in areas with elevated levels of mercury in the environment.

Researchers are finding harmful effects at lower and lower levels of exposure, says Swanson. They're

now telling us that they don't know if there's a level of mercury that's safe. Unfortunately, some of these

chemicals make good ame retardants and have been widely used in everything from upholstery to

televisions to children's clothing. Studies have found them in high levels in household dust, as well as in

breast milk. Two categories of these ame retardants have been banned in Europe and are starting to be

banned by different / states in the United States. The number of toxins in our environment that can

affect children may seem overwhelming at times. On at least some fronts, however, there is progress in

making the world a cleaner place for kids and just possibly, reducing the number of learning disabilities

and neurological problems. With a number of efforts to clean up the environment stalled at the federal

level, many state governments are starting to lead the way. And rather than tackle one chemical at a

time, at least eight states are considering plans for comprehensive chemical reform bills, which would

take toxic chemicals off the market.

All these are harmful effects of mercury in children EXCEPT

Affects driving skills

Causes attention decit disorder

Lead to neurological problems

Impacts ability to learn languages



4.In the questions given below, a part of the sentence is italicized. Alternatives to the italicized part are

given which may improve the construction of the sentence. Select the correct alternative.

For as long as she could remember, Divya has loved to cook to dance and until her poor vision made it

impossible for her to do so, reading books.

To cook, to dance and until her poor vision made it impossible for her to do so

Cooking, to dance and until her poor vision made it impossible for her to do so

Cooking, dancing and until her poor vision made it impossible for her to do so

To cook, to dance and until she lost her vision


5.Improve the sentence by selecting the correct alternative to the italicized part of the sentence.

Surprisingly Manipur received scantly rainfall this year.

Rare

Heavy

Little

Scattered




CLICK ON ADS



6.Select the option that is most nearly opposite in meaning to the given word TIMOROUS

Meek

Brave

Faulty

Hesitant



7.Read the sentences to nd out whether there is any grammatical error in it. The error, if any, will be in one

part of the sentence. The letter of that part is the answer. Ignore the error of punctuation. If any. (A)

Shalini win the race/(B) as she practiced too/(C) hard for the tournament.

a

b

c

d


8.Read the following passage and answer the question given below: Environmental toxins which can

affect children are frighteningly commonplace. Besides lead, there are other heavy metals such as

mercury, which is found frequently in sh, that are spewed into the air from coal-red power plants, says

Maureen Swanson, MPA, director of the Healthy Children Project at the Learning Disabilities Association

of America. Mercury exposure can impair children's memory, attention, and language abilities and

interfere with ne motor and visual spatial skills. A recent study of school districts in Texas showed

signicantly higher levels of autism in areas with elevated levels of mercury in the environment.

Researchers are nding harmful effects at lower and lower levels of exposure, says Swanson. They're now

telling us that they don't know if there's a level of mercury that's safe. Unfortunately, some of these

chemicals make good ame retardants and have been widely used in everything from upholstery to

televisions to children's clothing. Studies have found them in high levels in household dust, as well as in

breast milk. Two categories of these ame retardants have been banned in Europe and are starting to be

banned by different states in the United States. The number of toxins in our environment that can

affect children may seem overwhelming at times. On at least some fronts, however, there is progress in

making the world a cleaner place for kids and just possibly, reducing the number of learning disabilities

and neurological problems. With a number of efforts to clean up the environment stalled at the federal

level, many state governments are starting to lead the way. And rather than tackle one chemical at a

time, at least eight states are considering plans for comprehensive chemical reform bills, which would

take toxic chemicals off the market.

Researchers are finding harmful effects at a lower level of exposure. How can this line be interpreted?


Lower level of exposure are harmful

Harmful effects from exposure are becoming less intense

Amount of clothing has an impact on harmful effect

Even little exposure, can cause harm


9.Improve the sentence by selecting the correct alternative to the italicized part of the sentence.

The boss was unsure as to what triggered the argument between Shyam and Shankar

Spread

Broke

Halted

Provoked


10.Select the option that is most nearly opposite in meaning to the given word EMINENT (OPPOSITE)

Inferior

Credited

Prestigious

Important



CLICK ON ADS


11.Read the following passage and answer the question given below: My cell phone rings again. It is futile

to ignore it anymore; Valerie is persistent. When Valerie wants something, she will continue to bedevil

me until I acquiesce. “Hello,” I answer. “State Fair, Bobbie?” she asks in her singsong voice. “When are we

heading out? Only two more days left!” I abhor the State Fair. The boisterous crowds, the insanely long

lines and the impossibility of nding a clean restroom all combine to make this an event that I dread For

Valerie, my best friend since the angst of middle school, the State Fair is a sign that divine powers

really do exist. “Really, Bobbie, where else can you pet a cow, ride a horse, fall ten stories, see the

world’s smallest person and eat fried macaroni and cheese?” Valerie asks gleefully “Hell?” I guess. The

fried food at the State Fair is a gastronomical nightmare on its own. I once tried a fried pickle at the fair

and was sick to my stomach for hours. And a fried doughnut hamburger with bacon, cheese AND a

greasy egg? How could that not be deleterious? I have not seen Valerie for a good month; our

schedules are both so hectic. My hatred of the State Fair becomes inconsequential compared to my

desire to hang with Val. Alas, I ignore my anti-fair bias for the umpteenth year. “Pick me up at noon,” I

say and hang up the phone.

What does the term gastronomical suggest?


Enormous

Health risk

Culinary issue

Resulting in gas


12.Read the following passage and answer the questions below:

\ Environmental toxins which can affect children are frighteningly commonplace. Besides lead, there

are other heavy metals such as mercury, which is found frequently in fish, that are spewed into the air

from coal-red power plants, says Maureen Swanson, MPA, director of the Healthy Children Project at

the Learning Disabilities Association of America. Mercury exposure can impair children's memory,

attention, and language abilities and interfere with ne motor and visual spatial skills. A recent study of

school districts in Texas showed significantly higher levels of autism in areas with elevated levels of

mercury in the environment. Researchers are finding harmful effects at lower and lower levels of

exposure, says Swanson. They're now telling us that they don't know if there's a level of mercury that's

safe. Unfortunately, some of these chemicals make good flame retardants and have been widely used

in everything from upholstery to televisions to children's clothing. Studies have found them in high

levels in household dust, as well as in breast milk. Two categories of these States flame retardants have

been banned in Europe and are starting to be banned by different states in the United . The number of

toxins in our environment that can affect children may seem overwhelming at times. On at least some

fronts, however, there is progress in making the world a cleaner place for kids and just possibly,

reducing the number of learning disabilities and neurological problems. With a number of efforts to

clean up the environment stalled at the federal level, many state governments are starting to lead the

way. And rather than tackle one chemical at a time, at least eight states are considering plans for

comprehensive chemical reform bills, which would take toxic chemicals off the market.

On at least some fronts, however, there is progress in making the world a cleaner place for kids-and

just possibly, reducing the number of learning disabilities and neurological problems. What 'front' is

being referred to?


Effort of Healthy children project at the learning disabilities association of America

Banning of flame retardant in Europe and various states of America.

More and more states are joining the 2 states in Europe and various states in America that have

already banned harmful chemicals.

Proposed bill resulting in a blanket ban on all harmful chemicals.


13.Read the sentences to nd out whether there is any grammatical error in it. The error, if any, will be in one

part of the sentence. The letter of that part is the answer. Ignore the error of punctuation. If any. (A) We

all know that Shakespeare is /(B) the better novelist/(C) in the world.

a

b

c

No error


14.In the question each passage consists of six sentences. The rst and the sixth 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: He has always been actively involved in charity work

S2: Wish we had more such people coming up for good causes like this

P: Recently he donated 50 thousand to a school

Q: Every year , more than 500 slum children get free education from there.

R: They are also considering opening more branches in India

S: It was for education of slum children

QRSP

PSQR

QPRS

SQRP



CLICK ON ADS


15.I always wanted a basket ball and _ I-pod in my collection.

The

A

An

None of the above


16.The spectacular landscape of Switzerland makes it one of the most visited __ in the world

Place

Destination

Areas

Country


17.Improve the sentence by selecting the correct alternatives to the italicized part of the sentence.

I said to my teacher that I was not well and wanted to leave early.

I told my teacher that I was not

I said to my teacher that I am not

I told my teacher that I am not

No improvement needed


18.Select the word or phrase which best express the meaning of the given word

PREAMBLE

Rules

Law

Rights

Introduction



19.Select the word or phrase which best express the meaning of the given word.

CONCEITED

Arrogant

FALSE

Deceive

Misconception


20.Read the following passage and answer the question given below: My cell phone rings again. It is futile

to ignore it anymore; Valerie is persistent. When Valerie wants something, she will continue to bedevil

me until I acquiesce. “Hello,” I answer. “State Fair, Bobbie?” she asks in her singsong voice. “When are we

heading out? Only two more days left!” I abhor the State Fair. The boisterous crowds, the insanely long

lines and the impossibility of nding a clean restroom all combine to make this an event that I dread For

Valerie, my best friend since the angst of middle school, the State Fair is a sign that divine powers

really do exist. “Really, Bobbie, where else can you pet a cow, ride a horse, fall ten stories, see the

world’s smallest person and eat fried macaroni and cheese?” Valerie asks gleefully “Hell?” I guess. The

fried food at the State Fair is a gastronomical nightmare on its own. I once tried a fried pickle at the fair

and was sick to my stomach for hours. And a fried doughnut hamburger with bacon, cheese AND a

greasy egg? How could that not be deleterious? I have not seen Valerie for a good month; our

schedules are both so hectic. My hatred of the State Fair becomes inconsequential compared to my

desire to hang with Val. Alas, I ignore my anti-fair bias for the umpteenth year. “Pick me up at noon,” I

say and hang up the phone.

Why might the author have chosen to capitalize all the letters in the word "AND" when writing about the

doughnut hamburger in paragraph 8?


to make sure the reader understood it was a list

to show that a greasy egg was the last ingredient

to highlight that the sentence was intentionally written incorrectly

to emphasize how many ingredients were on the hamburger



21.Select the option that is most nearly opposite in meaning to the given word SHUNNING (OPPOSITE)

Embracing

Avoiding

Eluding

Dodging



CLICK ON ADS


22.Read the following passage and answer the given question: My cell phone rings again. It is futile to

ignore it anymore; Valerie is persistent. When Valerie wants something, she will continue to bedevil me

until I acquiesce. “Hello,” I answer. “State Fair, Bobbie?” she asks in her singsong voice. “When are we

heading out? Only two more days left!” I abhor the State Fair. The boisterous crowds, the insanely long

lines and the impossibility of finding a clean restroom all combine to make this an event that I dread

For Valerie, my best friend since the angst of middle school, the State Fair is a sign that divine powers

really do exist. “Really, Bobbie, where else can you pet a cow, ride a horse, fall ten stories, see the

world’s smallest person and eat fried macaroni and cheese?” Valerie asks gleefully “Hell?” I guess. The

fried food at the State Fair is a gastronomical nightmare on its own. I once tried a fried pickle at the fair

and was sick to my stomach for hours. And a fried donut hamburger with bacon, cheese AND a greasy

egg? How could that not be deleterious? I have not seen Valerie for a good month; our schedules are

both so hectic. My hatred of the State Fair becomes inconsequential compared to my desire to hang

with Val. Alas, I ignore my anti-fair bias for the umpteenth year. “Pick me up at noon,” I say and hang up

the phone.

How does Valerie seem to feel about the circus?


Ambivalent

Condescending

Jubilant

Nonchalant



PROGRAMMING:


1.Confused? Well it stands for Welcome To HackerEarth September Easy Challenge :). It's quite amazing

when long words like this get reduced to such a short string. They sound pretty cool and often make

the chat interesting. They are almost used everywhere these days.

Our friend Harsh has been recently reducing every sentence he receives to acronym. Since Harsh is a

young lad he has his own personal likes and dislikes. There are some words which he just does not want

to see in a sentence. So whenever he encounters such a word he simply ignores it. Harsh is thinking of

converting a book to an acronym book where each sentence of the book is reduced to its short form.

Since Harsh is quite busy in promoting his new book he wants you to help him in doing so.

So he gives you a set of words which he dislikes and a sentence for which he wants to abbreviate. Help

him in getting the required abbreviation.

Input Format

The first line contains an integer K which denotes the number of disliked words, This is followed by k

lines where each line contains a disliked word, the next line will contain an integer donating the number

of words in the given sentence, The last line contains the sentence of which Harsh wants to abbreviate.

The sentence will consist of number of words separated by a space

All words will consist of lowercase English alphabets(a-z)

Constraints

1<= K <=10

1<= length of each word <=100

1<= length of the sentence <=100

Output Format

In a single line print the required acronym. The Acronym should be printed in Upper Case English

alphabets separated by "." (dots)

Changing a sentence to an acronym means taking the first character of each word of the sentence and

changing it to upper case then writing the characters separated by "." (dots), remember that Harsh

doesn't like some words so he will not take their first character if they appear in the sentence

If a disliked word is present as a proper substring of a word in the given sentence then it should not be

ignored.

The final Output will never be an empty string.

Sample input:

6

oik

ppui

aw

xs

x

itxoohe

15

qd tkrvcifam aqvzmdgj blutejpglx oik quiy aw mj oajrzmuat ecxbpasqq scdbolfur x fhdktmmsy qsqq xs

Sample Output:

Q.T.A.B.Q.M.O.E.S.F.Q


C++ PROGRAM:

#include <iostream>

#include <vector>

#include <algorithm>

#include <string>

#include <stdio.h>

#include <assert.h>

#include <queue>

using namespace std;


int n;

string bad[11];

string hh;

int m;

char sol[111];

int r=0;

int main(){

cin>>n;

assert(1<=n && n<=10);

for(int i=0;i<n;i++){

cin>>bad[i];

assert(bad[i].length()<=100);

}

cin>>m;

int y=m;

int l=0;

while(y--){

cin>>hh;

l+=hh.length();

bool found=false;

for(int i=0;i<n;i++){

if(hh==bad[i]){

found=true;

break;

}

}

if(!found){

sol[r++]=(char)(hh[0]-'a'+'A');

}

}

assert(l+m-1<=100);

string g;

if(cin>>g)

assert(false);

cout<<sol[0];

assert(r!=0);

for(int i=1;i<r;i++){ 

cout<<'.'<<sol[i];

}

cout<<endl;

}



2.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

jhbcolmnfmpk

nlloiipmeofg

noehebeeamho

Sample Output:

2

18

4

8

2

8

16


PYTHON PROGRAM:

from collections import Counter

 

for i in range(int(input())):

   # s= list(set(input()))

   s=input()

   ans=1

   c=Counter(s).values()

   for i in c:

       ans*=i

   print(ans%(10**9+7))


Post a Comment

Previous Post Next Post