AMCAT Previous Papers with Answers 4 - GeekMonkey

Ques. PUBLICATION is related to LIBEL in the same way as SPEECH is related to

Op 1: Liability

Op 2: Slander

Op 3: Attack

Op 4: Information

Op 5:

Correct Op : 2

slander false malicious statement spoken or if it is pulished then libel

Ques. Earth : Grass :: ?

Op 1: Sky: Star

Op 2: Tree: Leaf

Op 3: Scalp: Hair

Op 4: Pond : Fish

Op 5:

Correct Op : 3

grass grows on grows on scalp

Ques. Vehicle : Cart :: ?

Op 1: Country : State

Op 2: Ocean : Sea

Op 3: Man : Child

Op 4: Music : Jazz

Op 5:

Correct Op : 4

cart is a type of vehicle, jazz is a type of music.

Ques. Prodigious : Meagre
Op 1: Sleep : Relaxation
Op 2: Handsome : Beautiful
Op 3: Regard: Honour
Op 4: Exhilarated : Depressed
Op 5:
Correct Op : 4
prodigious-remarkably or impressively great in extent, size, or degree
Meagre-lacking in quantity or quality
*Both are opposite of each other*
Exhilarated-make (someone) feel very happy, animated, or elated.
Depressed- state of unhappiness or despondency.
Ques. Mundane : Spiritual :: ?
Op 1: Common : Ghostly
Op 2: Worldly : Unworldly
Op 3: Secular : Clerical
Op 4: Novel: Routine
Op 5:
Correct Op : 2
The average weight of 8 persons increases by 2.5kg when a new person comes in a place of one of them weighing 45kg.what is the weight of the new person??
total weight increased=(2.5kg*8)=20kg
weight of the new person=(45+20)=65kg
Ques. Statements
(a) No vest is shirt.
(b) All shirts are jackets.
I. All vests are jackets.
II. No vest is a jacket.
III. Some jackets are shirts.
IV. All jackets are shirts.
only III follow
Ques. Electrical Engineers : Grid :: Cosmologists : ?
Op 1: Group
Op 2: Faculty
Op 3: Galaxy
Op 4: Syndicate
Op 5:
Correct Op : 3
cosmos means celestial object found in galaxy
Ques. Statements:
Some metals are minerals.
All minerals are solids.
I. All solids are made up of metals and minerals.
II. Some minerals are metals.
Op 1: Only conclusion I follows.
Op 2: Only conclusion II follows.
Op 3: Either I or II follows.
Op 4: Neither I nor II follows.
Op 5: Both I and II follow.
Correct Op : 2
Ques. Statements:
Some pens are books. All schools are books.
Some colleges are schools.
I. Some colleges are pens.
II. Some pens are schools.
III. Some colleges are books.
Op 1: All follows
Op 2: Only I and II follows
Op 3: Only II and III follow
Op 4: Only I and III follows
Op 5: None of these
Correct Op : 5

Ques. Statements:
Some buses are houses. All houses are taxis.
All rickshaws are taxis.
I. Some rickshaws are houses.
II. Some taxis are houses.
III. Some taxis are buses.

Op 1: None follows
Op 2: Only I follows
Op 3: Only II follows
Op 4: Only II and III follow
Op 5: All follow
Correct Op : 4
Ques. Statements:
All oceans are rivers. Some springs are rivers.
All wells are springs.
I. Some springs are oceans.
II. Some wells are rivers.
III. Some rivers are oceans.
IV. No well is river.

Op 1: Only either II or IV and III follow.
Op 2: Only either II or IV and I follow.
Op 3: Only either I or III and IV follow.
Op 4: None follows
Op 5: All follow
Correct Op : 1
Ques. Statements:
Some buses are rivers.
All rivers are mountains.
Some roads are mountains.
I. Some mountains are buses.
II. Some roads are buses.
III. Some roads are rivers.
IV. Some mountains are roads.

Op 1: All follow
Op 2: Only II, III and IV follow
Op 3: Only III and IV follows
Op 4: Only I and IV follows
Op 5: None of these
Correct Op : 4
Ques. Statements
(a) All shares are debentures.
(b) No debenture is an equity.
I. No equity is a share.
II. Some debentures are shares.
III. No share is an equity.

Op 1: Only I follows
Op 2: Only II follows
Op 3: All follow
Op 4: Only III follows.
Op 5:
Correct Op : 3
Ques. Statements
Some ship are boats. All boats are submarines. Some submarines are yatches.
I. Some yatches are boats.
II. Some submarines are boats.
III. Some submarines are ships.
IV. Some yatches are ships.

Op 1: All follow
Op 2: Only II and III follows
Op 3: Only III follows
Op 4: Only either III or IV follows.
Op 5: None of these
Correct Op : 2

Ques. 5: 124 :: 7 :?
Op 1: 342
Op 2: 343
Op 3: 248
Op 4: 125
Op 5:
Correct Op : 1
Ques. Statements
P: Some bags are hot.
Q: All hots are cakes.
I. All cakes are bags.
II. Some bags are cakes.
Op 1: Only conclusion I follows.
Op 2: Only conclusion II follows.
Op 3: Neither I nor II follows
Op 4: Both I and II follow.
Op 5:
Correct Op : 2
Ques. Statements
P: All doctors are surgeons.
Q: Some chemists are doctors
I. Some chemists are surgeons.
II. All surgeons are chemists.
Op 1: only conclusion I follows.
Op 2: only conclusion II follows.
Op 3: neither I nor II follows
Op 4: both I and II follow.
Op 5:
Correct Op : 1
If logx (0.1) = -1/3, then the value of x is:
Option 1 : 10 Option 2 : 100 Option 3 : 1000 Option 4 : 1/1000
log x(0.1) = -1/3
x^(-1/3) = 0.1
x = (0.1)^(-3)
x = 1/(0.1^3)
x = 1/0.001
x = 1000

X and Y are two independent events. The probability that X and Y occur is 1/12, and the probability that neither occur is 1/2, the probability of occurrence of X can be:
Option 1 : 1/3 Option 2 : 1/5 Option 3 : 1/2 Option 4 : 1/10
And, (1-P(X))(1-P(Y))=1/2
Solving both, we get, P(X)=1/3
An unbiased coin is tossed n times. If the probability of getting 4 tails equals the probability of getting 7 tails, then the probability of getting two tails is:
Option 1 : 55/2048 Option 2 : 3/4096 Option 3 : 1/1024 Option 4 : None of these
Sudhanshu and Pankaj stand in a circle with 10 other persons. If the arrangement of the person is at random, then the probability that there are exactly 3 persons between Sudhanshu and Pankaj is?
Option 1 : 9/11 Option 2 : 2/11 Option 3 : 1/11 Option 4 : None of these
First Fix position of Sudhanshu and Pankaj with 3

guys between them.
Select 3 guys -> 10c3
Arrange them -> 3!
Arrange pos. of both -> 2!
Treate all 5 as 1 and arrange all -> 7!

ANS -> (10C3 * 3! * 2! * 7!)/11! = 2/11
Three numbers are chosen from 1 to 30 randomly. The probability that they are not consecutive is:
Option 1 : 1/145 Option 2 : 144/145 Option 3 : 139/140 Option 4 : 1/140
Ways of selecting 3 consecutive number from 1 to 30
is 28
Ways of selecting 3 number from 1 to 30 is 30c3
Probabilty that they are not consecutive is 1-(28/
(30C3)) = 1/145

A bag is full of 20 bananas and no other fruit. Rajeev draws a fruit from the bag. What is the probability that he will draw a banana?
Option 1 : 1 Option 2 : 0 Option 3 : 1/2 Option 4 : None of these
No other fruit present, than he will always draw a

banana, so Probability is 1
An unbiased dice is rolled 5 times and the outcomes are 1, 2, 3, 4 and 5 respectively. If it is rolled again, what is the probability that the outcome is 6?
Option 1 : 1 Option 2 : 5/6 Option 3 : 1/6 Option 4 : None of these
Probability of any number in dice roll is 1/6
The probability of drawing an apple from a bag of fruits is 6/25. How many apples should Ravi draw, so that there is a chance he will draw 12 apples on average?
Option 1 : 25 Option 2 : 50 Option 3 : 12 Option 4 : None of these
25 draws -> 6 apples
50 draws -> 12 apples
What is the probability for a day to be Sunday?
Option 1 : 1/7 Option 2 : 1/5 Option 3 : 52/365 Option 4 : None of these
Rani has a bag with three blue and three yellow coins. She takes out a coin, sees its colour and puts it back in the bag. She does this thrice. What is the probability that she saw all blue coins.
Option 1 : 1/8 Option 2 : 1/2 Option 3 : 1/3 Option 4 : None of these
Probability of coin being blue -> 1/2
Ans:- (1/2)(1/2)(1/2) = 1/8
Shikhar has a bag with 2 balls, each of which can be black or white with equal probability. Now, he draws out a ball and it turns out to be black. After this event, what is the probability that both balls are black?
Option 1 : 1/2 Option 2 : 1/4 Option 3 : 1 Option 4 : None of these
one ball is black.
Probability of other being black is 1/2
A coin is tossed thrice. What is the probability that the first toss of coin lands head, second tail and third lands tail as well?
Option 1 : 1/16 Option 2 : 3/8 Option 3 : 1/8 Option 4 : None of these
(1/2)(1/2)(1/2) = 1/8
The probability of occurrence of event A is 0.3 and that of event B is 0.4. The events are independent. What is the probability of occurrence of both A and B?
Option 1 : 0.7 Option 2 : 0.1 Option 3 : 0.12 Option 4 : Cannot be determined
For independent events
P(AUB) = P(A) * P(B) = 0.12
The probability of occurrence of event A is 0.1 and that of event B is 0.2. The events are mutually exclusive. What is the probability of occurrence of both A and B?
Option 1 : 0.1 Option 2 : 0 Option 3 : 1 Option 4 : Cannot be determined
For mutually exclusiveP(A and B) = 0
The probability of occurrence of event X is 0.8 and that of event Y is 0.05. The events are mutually exclusive. What is the probability of occurrence of either X or Y?
Option 1 : 0.85 Option 2 : 0.75 Option 3 : 0 Option 4 : Cannot be determined
P(A or B) = P(A) + P(B) = 0.85
10% of the voters did not cast their vote in an election between two candidates. 10% of the votes polled were found invalid. The successful candidate got 54% of the valid votes and won by a majority of 1620 votes. The number of voters enrolled on the vo
Option 1 : 25000 Option 2 : 33000 Option 3 : 35000 Option 4 : 40000
Let total voters be x
Total number of voters who cast their vote = 0.9x
Total number of valid vode = 0.9x - 0.09x = 0.81x
(54-48)(valid votes)/100 = 1620
Therfore, Valid votes = 27,000
Hen,ce 0.81x = 27000
x= 330000
A, B, C started a business with their investments in the ratio 1:3:5. After 4 months, A invested the same amount as before and B as well as C withdrew half of their investments. The ratio of their profits at the end of the year is:
Option 1 : 4:3:5 Option 2 : 5:6:10 Option 3 : 6:5:10 Option 4 : 10:5:6
Tea worth Rs. 126 per kg and Rs. 135 per kg are mixed with a third variety in the ratio 1:1:2. If the mixture is worth Rs. 153 per kg, the price of the third variety per kg will be:
Option 1 : Rs. 169.50 Option 2 : Rs. 170 Option 3 : Rs. 175.50 Option 4 : Rs. 180
In 4 kg of mixture, 1 kg is Tea of each and 2 kg in
other substance
Hence, 126 + 135 + 2x = 4.153
x= 175.50
A can contains a mixture of two liquids A and B in the ratio 7:5. When 9 litres of mixture are drawn off and the can is filled with B, the ratio of A and B becomes 7:9. How many litres of liquid A was contained by the can initially ?
Option 1 : 10 Option 2 : 20 Option 3 : 21 Option 4 : 25
Let total liquid = x
a = 7x/12
b = 5x/12
when 9 litre is drawn
Than 9 litre of b is added
hence, b = (5(x-9))/12 + 9
Now a:b = 7:9
Hence ->
((7(x-9))/12) / ((5(x-9))/12 + 9) = 7/9
x = 31
Hence, a = 7.36/12 = 21
A man bought a number of clips at 3 for a rupee and an equal number at 2 for a rupee. At what price per dozen should he sell them to make a profit of 20% ?
Option 1 : Rs 4 Option 2 : Rs 5 Option 3 : Rs 6 Option 4 : Rs 7
Price of x clips = x/3
Again, Price of another x clips = x/2
Hence Price of 2x clips = x/3 + x/2 = 5x/6
Hence price of 1 clip = 5/12
Hence price of 12 clip = 5
20% profit = 5 + 1 = 6
Padam purchased 30 kg of rice at the rate of 17.50 per kg and another 30 kg rice at a certain rate. He mixed the two and sold the entire quantity at the rate of Rs. 18.60 per kg and made 20% overall profit. At what price per kg did he purchase the lot
Option 1 : Rs.12.50 Option 2 : Rs. 13.50 Option 3 : Rs. 14.50 Option 4 : Rs. 15.50
20% profit means 1.2*Cost-Price = 18.60 * 60(kg)
1.2(17.5*30 + x*30) = 18.60 * 60
x= 14.5
The manufacturer of a certain item can sell all he can produce at the selling price of Rs. 60 each. It costs him Rs. 40 in materials and labour to produce each item and he has overhead expenses of Rs. 3000 per week in order to operate the plant. The numb
Option 1 : 200 Option 2 : 250 Option 3 : 300 Option 4 : 400
anybody wants to come with me ?
a does anybody want to come with me ?
b is anybody want to come with me ?
c anybody want to come with me ?
d anybody wants to come with me ?
a). because it is in present indefinite affirmative so its correct interrogative will only option a)
out of 26 13 and 34 which two numbers are co prime
co primes are numbers having HCF equal to 1.
here 13 and 34 are having HCF equal to 1, hence they are co primes.
A tv manufacturer has decided to increase the sale to beat the economic slow down it decides to reduce the price of tv sets of 25% as a result of which the sales increased by 20 % what is the effect on total revenue of company
a) Decrease by 20%
b)increase by 20%
c)increase by 10%
d)decrease by 10%
Let c.p=100 so,marked price=75
Final price=120% of 75=90
hence,decrease in price=100-90=10
op(d). decrease by 10%.
Bullcart A cover a certain distance at the speed of 15 km/hr, another bullcart B covers the same distance at the speed of 16 km/hr. If Bull cart A takes 16 minutes longer than B to cover the same distance find the distance?
distance travelled by
distance travelled by B
so t=d/16
now putting in A
so ans is 64km
Which one of the following is the lowest level format to which the computer converts a higher language program before
Option 1 : English code
Option 2 : Machine Code
Option 3 : Assembly Language
Option 4 : System Language
Arrange in order:
=> logx^2(81-24x) = logx^2(x^2)
=> 81-24x = x^2
=> x^2+24x-81=0
=> (x+27)(x-3)=0
=> x = -27, 3
so, x= -27 , 3
In the following question select the word which is OPPOSITE in the
meaning of the given word.
a. reliable
b. honest
c. prudent
d. stupid
a. insouciance
b. ingenuity
c. propriety
d. austerity
'Please do not wait for me, I may be late, start taking lunch as soon as the guests arrive.' - a message from a Director
of a Company to his Office managers.
I. Keeping guests waiting is not desirable.
II.Lunch may not be ready in time.
Op 1: Only Assumption I is implicit.
Op 2: Only Assumption II is implicit.
Op 3: Either Assumption I or II is implicit.
Op 4: Neither Assumption I nor II is implicit.
Op 5: Both Assumptions I and II are implicit.
Correct Op : 1

How many stack/s need for implementing a queue ?
a) 2
b) 3
c) 1
d) 5
minimum 2 are required...
One for push and One for pop
Opposite meaning of ENDORSE
synonym for endorse = support
antonym = oppose
(1) puzzle (2) orthodox
(3) sink (4) gratitude
puzzle is synonym of confuse
What is the greatest positive power of 5 that divides 30! exactly?
ans :7
step 1: 30/5 = 6
step 2: 30/25 = 1
step 3 : 6+1 =7
if (7^4+a)*5^b=1725 then what is the value of ab=?
hence, b=2
putting value of b, we get a=-2332
ab= -2332*2 = -4664
The value of 21/2 upto three places of decimal is
if an integer k is divisible by 2,5 and 13, what is the next largest number that is divisible by all the three given numbers ?
Let k=130 bcz it is divisible by 2,5 & 13
Nxt largest no will be 260 i.e (k+130) which is divided by k=130
hence ans will be (e) k+130
log(p+q)(p-q) = -1...log(p+q)log(p^2-q^2) = ?
option: a)2 b)1 c) -1 d) 0
log p^2/ log q^2=-1
log p/ log q=-1
Again log (p+q)(p-q)=-1
log(p+q) -1 =-1
So log(p+q)log(p^2-q^2)=0
Ans: d) 0
A train runs at a speed of 42 m/s and takes 35 seconds to pass a tu8nnel . After travelling some distance it takes 15 seconds to pass a pole . What is the length of the tunnel?
Total distance travel =42*35=1470
Now length of the train=42*15=630
So length of the tunnel=1470-630=840m
so option c is correct
The labour union decided to go on strike since the management was adamant and did not agree to their terms .The discussion came to ----------
impasse-it means not in progress
Ques. Introducing Sarita, Meena, said, "She is the only daughter of my father's only daughter". How is Meena related
to Sarita?
Op 1: Niece
Op 2: Cousin
Op 3: Aunt
Op 4: None of these
Op 5:
Correct Op : 4
op4 none of these as meena is sarita's mother.
A content manager is working on an excel sheet . She has 6 columns in the sheet A,B,C,D,E and F. She has to check that no two columns should have the same entry . She can check only 2 columns at a time . How many times will she have to repeat the comparing process to complete process for the whole file?
6c2 = 15 ans
Three successive discounts of 6%,10%,15% is equal to a single discount of
a 25%
b 28.90%
c 30%
d 31%
e 28.09%
6 % of 100 = 6 , 100-6=94
10% of 94 = 9.4, 94-9.4=84.6
15% of 84.6 = 12.69, 84.6-12.69 = 71.91
Altaf writes a piece of code where a set of three lines occur around 10 times in a differnrt parts of your program. What programming concept can he use to shorten program code length?
a) use for loops
b) use functions
c) use arrays
d)use classes
To shorten program code length, he must use functions...
If that 3 lines be placed inside a function once, v can just call that function whenever need... No need to write those 3 lines again nd again...
(b) use functions
How many comparisons are needed to sort an array of length 5 if a straight selection sort is used and array is already in
the opposite order?
Option 1 : 1
Option 2 : 10
Option 3 : 50
Option 4 : 20
option 2:10
1st iteration it will compare 4 number with the 5
2nd iteration it will compare 3 numbers with the 4
3rd iteration it will compare 2 number2 with the 3
4th iteration it will compare 1 number with the 2
so the total number of comparisons is 4+3+2+1 = 10
a) A boat travels 300m up stream in 15 minutes
b)Its speed down stream is 8/5 times its speed upstream
Which of the options provide the correct realationship between speed of current and speed of
1)Speed of current=12/10 times of speed of boat
2)Speed of current=3/13 times of speed of boat
3)Speed of current=12/10 times of speed of boat
4)Speed of current=9/13 times of speed of boat
2) Speed of current=3/13 times of speed of boat
If speed of the boat=x and that of current=y
Upstream speed=x-y & Downstream speed=x+y
Given, x+y=(8/5)*(x-y)
13y=3x, so y=(3/13)*x

what is the number that is to be added to 0.00272 to make it a perfect square?
The correct answer is 0.00017
because after point has two zero that means it is a square no...if u see the 272 ,is not square no. so u have to make it is a perfect the whole no will be a perfect square..after 272 the nearest square no 289 0.002879-0.00272=0.00017....u hv to add this after that the no. will be a perfect square
martha was supposed to multiply the number of cans sold with the price of one can to ascertain the amount earned by her, Instead of taking 41 as the number of cans , she wrote 14 by mistake . As a result the product went down by 135. What is the other multiplier
a] 41x=14x+135
ie x=5
At a certain party the ratio of gents and ladies was 1 : 2. But when 2 gents and 2 ladies left the party, the ratio became 1 : 3. How many people were initially present in the party?
4 gents 8 ladies
G/L=1/2 G-2/L-2=1/3
if x^4+1/x^4=47
then x^3+1/x^3=?
lets add 2 to both sides so, x^4+1/x^4+2=47+2
then x^2+1/x^2+2=7+2
so ans is 18.
if the product of two co-prime number is 783.then find the L.C.M
of these numbers.
a 1
b 783
c lcm will be equal to hcf
d lcm cant be calculated
product of 2 numbers = of 2 numbers *l.c.m of 2 numbers
hcf of 2 co-prime number= 1
so lcm=783
A man earns Rs. 24,000 pm. He spends 1/3rd of his income on personal expenditures. Half of the remaining income is invested in a scheme at 15% interest pa. After investing, half of what is left is invested in a scheme which gives 10% interest pa. The remaining lies in a bank, where it earns an interest of 4% pa. The effective rate of interest earned by the man on his investments at the end of the year is ?
amount remaining= 24000-24000/3=16000
1. 16000/2=8000 SI=PRT/100=8000*15*1/100=1200
2. 8000/2=4000 SI=4000*10*1/100=400
3. 4000 SI=4000*4*1/100=160
adding total interest=1200+400+160=1760
SI=PRT/100 1760=16000*R*1/100
Solving this R=11% Ans......
Geetika writes a piece of code, where a set of eight lines occur around 10 times in different parts of the program (Code
A). She passes on the code to Deva. Deva puts the set of eight lines in a function definition and calls them at the 10
points in the program (Code B). Which code will run faster using an interpreter?
Option 1 : Code A
Option 2 : Code B
Option 3 : Code A and Code B will run with the same speed
Option 4 : None of these
I think code A. this is a case of function vs macro.
in code A the space occupied in memory will be larger but the code will run faster and in B code space will be same, but the time taken to execute will be more.
Diesel costs Rs.4per lit and petrol costs5.23 per litre.If the price of diesel rise by 10% a month and the price of petrol is unchanged.How many months will it take untill a litre of Diesel costs more thatn a litre of petrol.
Answer is 3 Months.
In the First Month the price of the diesel would be 4*110/100 = 4.4
In the Second Month the price of the diesel would be 4.4*110/100 = 4.84
In the Third Month the price of the diesel would be 4.84*110/100 = 5.324 which is higher than the price of the patrol!
What does this function compute for positive n?
function f(int n)
if (n equals 1)
{ return 1 }
{ return f(n-1)/f(n-1) + n }
Option 1 : 1 + n
Option 2 : 1 + 2 + 3 + ... + n
Option 3 : 1 + n, if n > 1, 1 otherwise
Option 4 : None of the above
option 3 : suppose n=2 the it will return f(2-1)/f(2-1)+2 i.e. f(1)/f(1) +2 which implies 1 +2 ..
similarly in case of n >1 say 3 we get 1+3...
so the ans is 1+n ,if n>1 ,otherwise 1
what is the least amount that a person can have, such that when he distributes it into groups of rs 16 or rs 18 or rs 20 or rs 25, he is always left with rs 4?
a)rs 1796
b) rs 1804
g)rs 2596
ans is d)3604
the amount is 4 greater than the lcm of 20 25 16 and 18
so the lcm is 3600.
so the amount is 3604

the interior decarator was asked to cover the rectangula walls of an office with identicl rectangular wall papers of exactly the same size.if a wall is 5.2m high and 5.0m wide,what is the largest size of the wall paper which can be used for this purpose.1)100cm 2)50cm 3)25cm 4)20cm
for largest size means largest common
HCF of 5.2 ,5.0 = 0.2m =20cm
function g(int n)
if (n > 0) return 1;
else return -1;
function f(int a, int b)
if (a > b) return g(b-a);
if (a < b) return g(a-b);
return 0;
If f(a,b) is called, what is returned?
Option 1 : Always -1
Option 2 : 1 if a > b, -1 if a < b, 0 otherwise
Option 3 : -1 if a > b, 1 if a < b, 0 otherwise
Option 4 : 0 if a equals b, -1 otherwise
option 4:0 if a equals b, -1 otherwise.
Let a=10,b=5=> a>b => g(-5);then return -1;
a=5,b=10=> a g(-5);then also return -1;
a=b => return 0;
A sorting algorithm iteratively traverses through a list to exchange the first element with any element less than it. It then
repeats with a new first element. What is this sorting algorithm called?
Option 1 : insertion sort
Option 2 : selection sort
Option 3 : heap sort
Option 4 : quick sort
It is Insertion Sort:
selection sort searches for the minimum element in the list then replaces with the first element:
Insertion sort is the one which selects first element and replaces with the next element less than it!!
if logi2base10=0.3010. find the value of log25base 10
log 25 base 10 = log(100/4) base 10 = log 100 base 10 - log 4 base 10 = 2 - 2(0.3010)
=2 - 0.6020
Q5. Any program residing in the memory contains a set of instructions that need to be executed by the computer in a sequential manner. This cycle for every instruction is known as the instruction cycle. The cycle consists of the following steps which may or may not be the proper sequence of the execution.
1. Fetch the operand from the memory
2. Execution
3. Fetch instruction
4. Decode the instruction
5. Result
In which of the following steps, is the Program Counter(PC) loaded with the address of the next instruction?
o 5.2
o 6.2
o 7
o 8
o Execution
o Fetch instruction
o Decode the instruction
o Result
it is case of subroutine in program when we call the SB for execute the instr..then PC is set on the stack for fetching the next instruction
4^x+3 = 2^x+7
a)3 b)2 c)1 d)none of the above
A hash table can store a maximum of 10 records. Currently there are records in locations 1, 3, 4, 7, 8, 9, 10. The
probability of a new record going into location 2, with a hash function resolving collisions by linear probing is
Option 1 : 0.6
Option 2 : 0.1
Option 3 : 0.2
Option 4 : 0.5

If the new record hashes onto one of the six locations 7, 8, 9, 10, 1 or 2, the location 2 will receive the new record. THe probability is 6/10 (as 10 is the total possible number of locations).
Rajini is given an efficient code for summing two nXn matrices and putting the result in a third matrix. She is asked to
find it's time complexity. She realizes that the number of iterations required is more than n. What can she claim with
regard to the complexity of the code?
Option 1 : It is O(n)
Option 2 : It is O(n2)
Option 3 : It is ?(n)
Option 4 : It is ?(n)
option 2: it is O(n^2)
In a town the population grows at a simple rate of 10% in a decade and compounds from decade to decade. Find the population at the beginning of the 1970s if the population at the beginning of the 1990s is 3,63,000 people.
here the rate is compounded decade to decade.formula to calculate the population n years ago is
p/(1+r/100)^n where p=current population,r=rate of increase of n=2 as from 1970 to 1990 is 20 years .by putting the values in the formula we get the answer as 300000.
Stack is useful for implementing
Option 1 : radix search
Option 2 : breadth first search
Option 3 : recursion
Option 4 : none of these

6,3,18,36... next digit of no;

6+3 = 9+9 =18
6+3+18 = 27+9 =36
6+3+18+36=63+9 =72
find the odd no:2,3,12,36,86,167
given series. 2,3,12,36,86,167
3-2=1 => 1^2=1
12-3=9 => 3^2=9
36-12=24 => here if we change 36 into 37 then 36-12=25 =>5^2=25
86-36=50 => Similary 86-37=49 =>7^2=49
167-86=81 =>9^2=81
so answer will be 36.
Q)what is the greatest positive power of 5 that divides 30! exactly.
power of 5 =30/5=6
power of 5=6/5=1
total power of 5 =6+1=7
Five student have not been absent for the entire first sem .They asked to draw one pass each from a bag that has 5 movies passes and 5 meal passes.parul and maru are the first two students to draw a pass simultaneously.what is the probability that both drawn movie passes?
When the price of a product was increased by 15% the number of items sold where decreased by 20% . what is the net effect?
X+Y+XY/100 Apply these formula
Than 15-20-15*20/100=-8%
8% ka loss
Integer n,i,j
input n
for i=0 to n increment 1
print end of line
for j=0 to i increment
if(i-j equals 1)
print "1"
option: 1
b) 1
c) 1
d) 1
the condition is
for i=0 to n increment 1
so in first loop ll take i=0
now, for j=0 to i increment
now j=0
now i-j=1
then print 1 else 10
so here i-j=0-0=0,therefore ll print 10
then in second loop i=1 nd j=0,1 coz we hav to take from 0 to i
so here for j=0, i-j=1-0=1 and for j=1.i-j=1-1=0
therefore ll print 110
and so on and the answer is option (e)
in non leap year what is the probability that last day of the year starts with t?
Total monday in a non leap year day=52
similarly tue,wed,thu,fri,sat,sun=52 indvidually
probability of last day of year starts with t/ Total no. of days=
in simplify form=2/7 ans..
Zenab and Shashi independently write a program to find the the mass of one mole of water, which includes mass of
hydrogen and oxygen. Zenab defines the variables:
integer hydrogen, oxygen, water // Code A
while Shashi defines the three quantities as:
integer a, b, c // Code B
Which is a better programming practice and why?
Option 1 : Code B is better because variable names are shorter
Option 2 : Code A is better because the variable names are understandable and non-confusing
Option 3 : Code A will run correctly, while Code B will give an error.
Option 4 : Code B will run correctly, while Code A will give an error.
Option 2 : Code A is better because the variable names are understandable and non-confusing
Afzal writes a piece of code, where a set of three lines occur around 10 times in different parts of the program. What
programming concept can he use to shorten his program code length?
Option 1 : Use for loops
Option 2 : Use functions
Option 3 : Use arrays
Option 4 : Use classes
option 2 : Use functions
A for-loop is used for which of the following purposes?
Option 1 : Decision-Making
Option 2 : Iteration
Option 3 : Recursion
Option 4 : None of these
Consider the statement
while (a < 10.0) { a = a*a }
Assuming a is positive, for what value of a will this code statement result in an infinite loop?
Option 1 : a < 1.0 Option 2 : a < sqrt(10) Option 3 : a > sqrt(10) Option 4 : a = 0
Option 4 : for a= 0
While loop check: ( 0 infinite will also remain true as condition remains satisfied always !
Causing loop to enter an infinite state.
what is next number in the below series?
its 7,8,15,23,38..
Let A be containing 10 distinct elements ,then the total number of distinct functions from A to A IS
Ques. Statements
P: Some children are adults.
Q: Some adults are not old
I. Some children are not old.
II. Some children are old.
Op 1: Only conclusion I follows
Op 2: Only conclusion II follows.
Op 3: Neither I nor II follows.
Op 4: Both I and II follows.
Op 5:
Correct Op : 3
ans. either I or II

A car engine is half filled and holds 15lt of petrol.what fraction of the engine is full if it contains 18 lt of petrol?
1/2 of x = 15
x= 30 ltrs
18/30= 3/5
Surbhi wants to implement a particular data structure using a static array. She uses the concept of circular list to
implement the data structure, because this allows her to efficiently use all fields of the array. Which data structure is
Surbhi implementing?
Option 1 : a stack
Option 2 : a queue
Option 3 : Binary Tree
Option 4 : None of these
What is the value of log3 1.5 + log3 6 ?
log3 1.5+ log3 6
=2*log3 3
=2 ans

No comments:

Post a Comment