Sei sulla pagina 1di 131

1) There are two balls touching each other circumferencically.

The radius of the big ball is 4 times the diameter of the small
ball.The outer small ball rotates in anticlockwise direction
circumferencically over the bigger one at the rate of 16 rev/sec.
The bigger wheel also rotates anticlockwise at Nrev/sec. what is
'N' for the horiontal line from the centre of small wheel always
is horiontal.
!) 1 ! " 4
# " 4 $ $
%%%%%%%%%%
4 6 & '
% ! " 4 $
%%%%%%%%%%
! " 4 4
# 1 ! $ 4
%%%%%%%%%%%%
" 6 ' &
() )trike off any digit from each number in seven rows *need not
be at same +lace) and combine the same o+erations with " digit numbers
to get the same addition. ,fter this strike off another digit from all
and add all the No.s to get the same ! digit No. +erform the same
+rocess again with 1 digit No.s. -ive the ' no.s in . rows at
each stage.
") there is a safe with a $ digit No. The 4th digit is 4 greater than
second digit/ while "rd digit is " less than !nd digit. The 1st digit
is thrice the last digit. There are " +airs whose sum is 11. 0ind
the number. ,ns) 6$!'!.
4) there are ! guards 1al and 2al walking on the side of a wall of a
wearhouse*1!m 3 11m) in o++osite directions. They meet at a +oint and
1al says to 2al 4 )ee you again in the other side4. ,fter a few moments
of walking 1al decides to go back for a smoke but he changes his
direction again to his +revious one after 15 minutes of walking in
the other*o++osite) direction remembering that 2al will be waiting
for to meet.6f 1al and 2al walk & and 11 feet res+ectively/ how
much distance they would have travelled before meeting again.
$) 777)77777*777
"77
%%%%%%%
777
7"7
%%%%%%
777
"77
%%%%%%
() 0ind the $ digit No.
8int9 $ is used atleast once in the calculation.
6) ,fly is there 1 feet below the ceiling right across a wall length
is "5m at e:ual distance from both the ends. There is a s+ider 1 feet
above floor right across the long wall e:idistant from both the ends.
6f the width of the room is 1!m and 1!m/ what distance is to be
travelled by the s+ider to catch the fly; if it takes the shortest
+ath.
.) <amesh sit around a round table with some other men. 8e has one
ru+ee more than his right +erson and this +erson in turn has 1 ru+ee
more than the +erson to his right and so on/ <amesh decided to give
1 ru+ee to his right = he in turn ! ru+ees to his right and " ru+ees
to his right = so on. This +rocess went on till a +erson has
'no money' to give to his right. ,t this time he has 4 times the
money to his right +erson. 8ow many men are there along with <amesh
and what is the money with +oorest fellow.
&)(uestion related to +robabilities of removing the red ball from a
basket/given that two balls are removed from the basket and the other
ball is red. The basket contains blue/red/yellow balls.
')>enkat has 1boy=!daughters.The +roduct of these children age is .!.
The sum of their ages give the door numberof >enkat.1oy is elder of
three.?an you tell the ages of all the three.
,N,@AT6?,@
%%%%%%%%%%
1)@9says all of my other 4 friends have money
B9says that 2 said that e7act one has money
N9says that @ said that +recisely two have money
C9says that B said that " of others have money.
29@and N said that they have money.
all are liers.Dho has money=who doesn't have;
!), hotel has two/the east wing and the west wing.some east wing rooms
but not all have an ocean view*C>).,ll DD have a harbour view*8>).The
charge for all rooms is identical/ e7ce+t as follows
E F7tra charge for all 8> rooms on or above the "rd floor
E F7tra charge for all C> rooms e7ce+t those without balcony
E F7tra charge for some 8> rooms on the first two floor=some FD rooms
without C> but having kitchen facilities. *-<F modrl Test "%:uestion
1G%!!)
")2ost man has a data of name surname door no.+et name of 4 families.
1ut only one is correct for each family.There are a set of statements
=:uestions.
4)4 cou+les have a +arty.He+ending on the set of statements/find who
insulted whom and who is the host of the +arty.
$)$ women given some of their heights*tall/medium/short)8air* long/
+lainted)/stards*1lack or 1rown)/ sari/! medium/!%short.Tall%Ino
sari.2lainted%Imedium.,nswer the combinations.
1) , +erson has to go both Northwards=)outhwards in search of a Job.
8e decides to go by the first train he encounters.There are trains for
every 1$ min both southwards and northwards.0irst train towards south
is at 6955 ,.B. and that towards North is at 6915 .6f the +erson
arrives
at any random time/what is the +robability that he gets into a train
towards North.
!) , +erson has his own coach=whenever he goes to railway station he
takes his coach.Cne day he was su++osed to reach the railway station
at $ C'clock.1ut he finished his work early and reached at " C'clock.
Then he rung u+ his residence and asked to send the coach immediately.
8e came to know that the coach has left Just now to tJe railway
station.
8e thought that the coach has left Just now to the railway station.8e
thought that he should not waste his time and started moving towards
his residence at the s+eed of "mi/hr.Cn the way/he gets the coach and
reaches home at 6 o'clock.8ow far is his residence from railway
station.
")<adha/-eeta=<evathi went for a +icnic.,fter a few days they forgot
the
date/day and month on which they went to +icnic.<adha said that it was
onThursday/Bay & and -eeta said that it was Thursday Bay 15.<evathi
said 0riday Gun &.Now one of them told all things wrongly/others one
thing wrong and the last two things wrongly.6f ,+ril 1st is tuesday
what is the right day/date and month;
I 6N0C)A)
I
I I There are $ : +a+ers with them. this is only one of those.
I I ,ll otheres were more or less of the same model but different
I I :s. This is Just to give K an idea.
I I
I I The :uestions are not in order.
I I
I I 1),/1/?/H/F related.4 of them made these statements each.
I I i)? is my son in law's brother.
I I ii)1 is my father's brother.
I I iii)F is my mother in law.
I I iv), is my brother's wife.
I I who made these statements;*+erson mentioned is one of
,/1/?/H/F)*15 mar ks).
I I !)e means belong.
I I ,ll members of F e H.
I I ,ll members of H e ,.
I I Not all members of H e F.
I I Not all members of , e H.
I I ,ll members of ? e both , and 1.some :uestions are asked about
relatio n.use venn diagram.*$ marks).
I I
I I ")com+lete the table.
I I
I I 2layed won lost draw goals goals
I I for against
I I , ! ! 1
I I 1 ! 1 ! 4
I I ? ! " .
I I
I I ,/1/? are " hockey teams.*! marks).
I I
I I 4) , says 2arty was held on 9Thursday /Bay &th.
I I 1 says 2arty was held on 9Tuesday/Bay 15th.
? says +arty was held on 90riday /Gune &th.
I I -iven ,+ril 1 st was Tuesday.one of ,/1/? says 1 correct.one
says 1
I I wrong.and one was com+letely wrong of date/Bonth and day. 0ind
the
I I Hay the +arty held. *$marks).
I I
I I $) , shi+ is away from the shore by 1&5 miles., +lane is travelling
at
I I 15 times s+eed of the shi+.8ow long from the shore will they
meet;
I I *!marks)
I I
I I 6) Fvery station in N railroad issue everyother station's ticket.
I I some stations are added.Now they have to issue 46 more tickets.
I I say the No.of stations after and before added.*$ marks).
I I
I I .) " +ersons say these statements.
I I , says either Hemocratic or liberal wins the elections.
I I 1 says Hemocratic wins.? says neither democratic nor liberal
wins
I I the election.of these only one is wrong.who wins the election;
I I *$ marks).
I I
I I &) , clock showing 6 o'clock takes "5 secs to strike 6 times.8ow
long
I I will it take to strike 1! at midnight;,ns.66 secs.*!marks)
I I
I I ') Cnly boys aged I 16 wear coats.
I I 1oys aged I 1$ go to watch football.some more statements are
given.
I I Dhat can be said about those who are watching football ; *age
and
I I costume)
I I *$ marks).
I I
I I 15) There are " societies ,/1/? having some tractors each.
I I , -ives 1 and ? as many tractors as they already have.
I I ,fter some days 1 gives , and ? as many tractors as they have.
I I ,fter some days ? gives , and 1 as many tractors as they have.
I I 0inally each has !4 tractors.what is the original No.of
I I tractors each had in the beginning;
I I ,ns., %"'.
I I 1% !1.
I I ?% 1!.*. marks).
I I 11) 4/$ statements.0rom that find the answer.*. marks).
I I
I I
I I <eference books
I I 1.) 2ules and teasers by summer's
I I !.) )hakuntala Hevi. *+ules).
I I
0rom girakaLiitk.ac.in 0ri ,ug !& !19169!5 1''&
Hate9 0ri/ !& ,ug 1''& 559"69!5 #5$"5 *6)T)
0rom9 18,<-,>, MgirakaLiitk.ac.inI
To9 Naga <aJu MraJnLcse.iitb.ernet.inI
)ubJect9 +atralu
Hear <aJ/
6've tried for the +a+ers.,s 6 already told u/the +a+er
consists of only 4 :uestions.Time ! hours.The com+lete :uestion +a+er
runs over . or & +ages.)o none of my cse frinds could remember the
detailed +a+er.)o the following r not the com+lete :uestionsNbut
they wii give u an idea of the :uestions.-o thro them and +re+are
accordingly.
1.some datais given in +rinted out+ut format.The data belongs to a co.
*like share holder's info.).
K have to design a suitable database for such information.K may need to
define=design the tables/their schemes/different indices/keys*like
+rimary keys/foreign keys).
remember/ better it is normalised.
!.-iven two tables with some records/some fields being em+ty.,lso
given are some functions to mani+ulate the tables.De have to write
code*in some +seudo language)to fill those em+ty fields.K can use
contents of tables.
".-iven a big *about 1 and 1/! +age) '?'function.K have to find /what
the code is doing.K have critisie the style of the function and
im+rove if +ossible.
4.-iven a windows function.K have to find what is the error in the
code.,nd tell what the code is meant for;
*F7aminors said u need not know windows +rogramming to solve this
:uestion.)
These were the :uestions.By frinds told that they were able to solve
" :uestions*1st/!nd and 4th)in "5 mim. but they could not solve the
"rd :uestion/even in the remaining '5 min.6 tried my levelbest to
give an idea of the +a+er.
D6)8 K 1F)T C0 @K?O.
with love/
18,<-,>,
0rom me+g'.66Lviolet.iitm.ernet.in Tue ,ug 4 1$9!5915 1''&
<,B?C '?' (KF)T6CN 2,2F<
1).
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
main*)
P
char E+1Q4Name4N
char E+!N
+!Q*char E)malloc*!5)N
while*E+!##QE+1##)N
+rintf*4RsSn4/+!)N
T
,ns 9 ,n em+ty )tring
!).
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
main*)
P
int 7Q!5/yQ"$N
7 Q y## # 7##N
y Q ##y # ##7N
+rintf*4Rd RdSn4/7/y)N
T
,ns $. '4
").
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
main*)
P
int 7Q$N
+rintf*4Rd Rd RdSn4/7/7MM!/7II!)N
T
,ns $ !5 1
4).
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Udefine swa+1*a/b) aQa#bNbQa%bNaQa%bN
main*)
P
int 7Q$/yQ15N
swa+1*7/y)N
+rintf*4Rd RdSn4/7/y)N
swa+!*7/y)N
+rintf*4Rd RdSn4/7/y)N
T
int swa+!*int a/int b)
P
int tem+N
tem+QaN
bQaN
aQtem+N
returnN
T
,ns 15 $
15 $
$).
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
main*)
P
char E+tr Q 4<amco )ystems4N
*E+tr)##N
+rintf*4RsSn4/+tr)N
+tr##N
+rintf*4RsSn4/+tr)N
T
,ns )amco )ystems
amco )ystems
6).
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
UincludeMstdio.hI
main*)
P
char s1VWQ4<amco4N
char s!VWQ4)ystems4N
s1Qs!N
+rintf*4Rs4/s1)N
T
,ns ?om+ilation error giving it cannot be an modifible 'lvalue'
.).
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
UincludeMstdio.hI
main*)
P
char E+1N
char E+!N
+1Q*char E) malloc*!$)N
+!Q*char E) malloc*!$)N
strc+y*+1/4<amco4)N
strc+y*+!/4)ystems4)N
strcat*+1/+!)N
+rintf*4Rs4/+1)N
T
,ns 9 <amco)ystems
&).
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
V1W. The following variable is available in file1.c
static int averageXfloatN
,ns all the functions in the file1.c can access the variable
').
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
,ns 9 V!W. e7tern int 7N
?heck the answer
15).
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
V"W. ,nother 2roblem with
U define T<KF 5
some code
while*T<KF)
P
some code
T
This won't go into the loo+ as T<KF is defined as 5
,ns NCNF C0 T8F ,1C>F i.e H
11).
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
,ns 9 V4W. , :uestion in structures where the memebers are
dd/mm/yy.
mm9dd9yy
5'95.9'.
1!).
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
,ns 9 V$W. ,nother structure :uestion
1 <aJiv )ystem ,nalyst
1").
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
,nswer
6N06@F.H,T is co+ied to CKT06@F.H,T
14).
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
, :uestion with argc and argv .
6n+ut will be
c9STFB2.F3F <amco )ystems 6ndia
Cut+ut will be
6ndia9 6 n d i a
)ystems9 ) y s t e m s
<amco9 < a m c o
,nswer is choice d
1$).
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
)tructure swa+
<amco 6ndia
<amco )ystems ?or+oration
<amco ... @imited .
,fter swa++ing the result will be
0irst two will be swa++ed.
<amco )ystems ?or+oration
<amco 6ndia
<amco ... @imited .
16).
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
int 7N
main*)
P
int 7Q5N
P
int 7Q15N
7##N
changeXvalue*7)N
7##N
BodifyXvalue*)N
+rintf*40irst out+ut9 RdSn4/7)N
T
7##N
changeXvalue*7)N
+rintf*4)econd Cut+ut 9 RdSn4/7)N
BodifyXvalue*)N
+rintf*4Third Cut+ut 9 RdSn4/7)N
T
BodifyXvalue*)
P
return *7#Q15)N
T
changeXvalue*)
P
return*7#Q1)N
T
,ns 9 1! 1 1
1.).
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
main*)
P
int 7Q15/yQ1$N
7Q7##N
yQ##yN
+rintf*4Rd RdSn4/7/y)N
T
,ns 9 11 16
1&).
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
main*)
P
int aQ5N
if*aQ5) +rintf*4<amco )ystemsSn4)N
+rintf*4<amco )ystemsSn4)N
T
,ns 9 Cny one time
4<amco )ystems4
will be +rinted
T,T, 6N0CTF?8
EEEEEEEEEEEEE
>F<1,@
1.He+reciation9 deflation/ de+ression/ devaluation/ fall/ slum+
!.He+ricate 9 feel and e7+ress disa++roval/
". incentive 9 thing one encourages one to do *stimulus)
4. Fchelon 9 level of authority or res+onsibility'
$. 6nnovation 9 make changes or introduce new things
6. 6ntermittent 9 e7ternally sto++ing and then starting
.. Hetrimental9 harmful
&. ?onciliation 9 make less angry or more friendly
'. orthodo79 conventional or traditional/ su+erstitious
15. fallible 9 liable to error
11. volatile 9 ever changing
1!. manifest9 clear and obvious
1".connotation 9 suggest or im+lied meaning of e7+ression
14. <eci+rocal9 reverse or o++osite
1$. ,grarian 9 related to agriculture
16. vacillate 9 undecided or dilemma
1.. e7+edient 9 fitting +ro+er/ desirable
1&. simulate 9 +roduce artificially resembling an e7isting one.
1'. access 9 to a++roah
!5. com+ensation9 salary
!1. Truncate 9 shorten by cutting
!!. adherence 9 stick
!". 8eterogenous9 non similar things
!4. sur+lus 9 e7cessive
!$. ,ssess 9 determine the amount or value
!6.?ongniance 9 knowledge
!.. retros+ective 9 review
!&.naive 9 innocent/rustic
!'. e:uivocate 9 tallying on both sides/ lie/ mislead
"5. 2ostulate 9 frame a theory
"1. latent 9 dormant/ secret
"!. fluctuation 9 wavering/
"". eliminate 9 to reduce
"4. ,ffinity 9 strong liking
"$. e7+edite 9 hasten
"6. console 9 to show sym+athy
".. adversary 9 o++osition
". affable 9 lovable or a++roachable
"'. Hecom+osition 9 rotten
45 agregious 9 a+art from the crowd/ es+ecially bad
41. conglomaration9 grou+/ collection
4. aberration9 deviation
4". aurgury 9 +rediction
44. crediability 9 ability to common belief/ :uality of being credible
4$.coincident9 incidentally
46.?onstituent 9 accom+anying
4.. Hifferential 9 having or showing or making use of
4&. @itigation 9 engaging in a law suit
4'.Baratorium9 legally or offficiallly determined +eriod of dealy
before
fulfillment of the agreement of +aying of debts.
$5. negotiate 9 discuss or bargain
$1. +re+aration 9 act of +re+aring
$!. 2re+onderant 9 su+eriority of +ower or :uality
$". relevance 9 :uality of being relevant
$4. a++aratus 9 a++lianes
$$. 6gnorance 9 blindness/ in e7+erience
$6. obsession9 com+le7 enthusiasm
$.. +reci+itate 9 s+eed/active
)ection 666
@etter )eries
These are too tough. Baintain time !6 :uestions %%%%% 15min
1. , ? 1HF0-6 % 6 8 O G @ ,N)9 8
!. ,6Y1FA?63H6 % -FNGD ,N)ND
". ,H-GB2 % <DT) ,N)N )
4. ,1?F0-6GO % B@CN2 ,N)N B nCTF9 B@CN2 ,<F -6>FN C2T6CN)
$. ,10-O@2( % T)>KD ,N)NK
6 GD3K>)T % (2)FT ,N)N (
.. ,<83ATHTD)T % N2TO< ,N)N 2
&.0B162Y>6F> % 6<ACK
'. NY6 A?3 OD0 % G0>BA ,N)N>
15. ,,),)2,)2O, % <(T)K ,N)N)
11. ,F?2) % T<KF ,N)NK
1!. 112<HH@N006O % 8(G6O ,N)'8
1" ,YF36>BT % <(N)C ,N)9 (
14. ,1H-O2 % @6DK3 ,N)9K
1$. 1?H,F-860G@BN @ONBC ,N)9 O
16. 3DF0->K86GO % 2N)<T ,N)9 T
1.. CHGTC2(NCF<T % (CK>D ,N)NC
1&. 2<NKK2FG<11 % 8>KNF ,N)9 F
1'.@K@B-BN0N2) % CN(2) ,N)92
(KF)T6CN) ,<F NCT 6N )F(KFN?F.
NKBF<6?,@
1.4!5R C0 ...' Q "!..1&
! "4!. / 16.$" Q !5!
". 15''$ /'$ Q 11$.."6$
4. 4"#$$.%!4. Q"$"
$. "15.E".5&!Q '$'1
6. 4&.. # !4.' % &.. Q 64.'5
..$!$.5/4..& Q 11
&. *1"$%"5%14)E. % 6 #! Q "
'."/& E $.54Q1.&'
15.6'. /!1' Q".1&
11.&/64 #64/16 Q 4.14
1!.!'&E"1!/!5& Q 4$".$4
1". 5."" E14'6 /1" Q "..'&
14.5.!6 # 1/& Q 5."&$
1$.66.1.#1/"Q 6..5"
16. !.&4#1/4Q ".5'
1.. ""R C0 4$5 Q 14&.$
1&. '5..$4 / 5/"5."Q "55!
1'.t8F<F ,<F two categories of +ersons in ratio ,/ b i.e.,91 Q !9" ,
ty+e
earns !.$ dollars/hr and 1 ty+e 1 dollar/hr total money earnedby both
is
!4dollars. then total number of +ersons
,ns9 1$
!5.(uestion not clear
)lowing running % n hours % ,
Bedium running % 1
fast running % k hours % c
,ns9 n,#k?
!1. Tottal balls /red balls N remaining are blak balls/then Rof black
balls e:ual to ,ns9 %n/E155
!!. Bulti+lication three digits and two digits number will result the
,ns9 86nt9 four digit number first number must be one.
!". ,Q ?N1Q!H what should be do to make the ratio same. i.e.a/b Q c/d
,ns9 multi+ly , by !
!4. 2% Total number of com+oentns
(Q defective number of com+oentns
Rof non defective e:uals to +%:/+E155
!$. ?ost of article 7/first discount is yR of cost/ seconddiscount is
R
of cost . The +rice of 7 is
,ns9 7*1%y/155)*1%/155)
!6.2rime number a) 11' b) 11$ c) 1!. d) none ,ns9 ?
!.. ,/1 Q ?N?IH then
,ns9, is always greater than H
!&.1I?and ,M?which of the following is larger
,ns9 *,#1)?
!'. 8 hours % ) salaryN 7hours % Bedical leave/ then salary/hr Q ;
,ns9 s/8%7
"5.*1/6of $'6) /*5.6'$) Q 14!
"1.,ll dogs are cats
,ll rats are dogs
,ns9all rats are cats
"!."$%"5#4/.%$#1 Q ;
,ns9 "
"".15''$ # '$ Q ;
,ns9 115'5
"4.)alary ')' +er month/1 ty+e of ta7 is 7<s. second ty+e of ta7 is y
<s
then R of take home.
,ns9 s%*7#y)/s E 155
"$.,ll +hysicians are browns
,ll balancians are +hysicians
,ns9 not know.
"6. 1I, then which e7+ression will be highest value
,ns9 ,1
".. O/@ %% Ben N3/ A %I ,ns9k3 # @y
"&. 6f ,/1 are same number/ which one of the following doesnot satisfy
this ,ns9 ,E1/1EE!
"'. 3% bulbs'N y % brokenN R of non broken bulbs ,ns9 7%y/7E155
45. ,dding 3/ A to , e:uals to ,ns9 a *large e7+ression)
41.)alary s +ermonth/ ta7 7R of the salry/ rR of salary is deducted
what
is the income.
,ns9 sE*1%*7#<)/155
4!. ,dd three digits and two digits numbers the first digit is
,ns91 *four digit number starting with one)
4". 5.$1! E large number Q ;
,ns9divide the given number by !
44.6n 15R balls $ are defective/ R of defective
,ns9$5R
4$.6.!'R of !.& Q 5.1&
46.5."'&E4$6Q1&1.4'
4..5 M 7M1 which is greater
a) 1/7EE! b) 1/7 c) 7 d) 7EE!
,ns9 a
4&.c Q a/bN a%1 Q c/ what is the relation between a and b
,ns9 b Q a/a%1
4'.The sum of . consecutive odd numbers interms with !. asfourth number
,ns91&' *:uestion not clear)
>erbal time is enough. 1ut for numerical and letter series/timeis not
enough.
)o here 6am giving flow chart answersin se:uence. These answers are
+erfectly in se:uence/donot worry/ youcan kee+ these answers blindly.
There are . flow charts we know only 6 flow charts answers.
Honot thinkabout these answers are correct or not / these are 155R
correct. De tested here.
1. H 1 , F ?
!. H F ? F ?
". ? 1 H 1 H
4. H 1 H ? 1
$. ? F , H F
6. 1 ? H , H
6n hurry/ 6 ty+ed. 2lease coo+erate.
Bodel 9
)ection 1 synonyms 9
section ! numerical ability 9 !6:uestions &min
section " letter series 9 !6 :uestions 15min
section 4 reasoning ty+e 9 14 :uestions !5min
setion $ flow charts 9 . :uestions "$min
Fach sectionis having se+arate time. 6 could not com+lete letter
series/
numerical ability :uestions in time. 0low chartssection i ke+t within $
min afterwards 6 cam back.
-rou+ discussion to+ics9
1. 1rain drain9 i.e. related to why immigration to K.)N 6 o++osed
+artially and su++orted +artially
!. Flectronic media effectN 6nternet/ T> /Fmail multimedia
-.H they won't eliminate so many +eo+le. but you have +artici+ate
with enthusiasm.Aou talk something. 6nterview as usual/ stereosco+ic
:uestions.like T?).
T,T, 61B')*global services)
1.(K,NT6T,6>F 2,2F< *2<,?T6)F 0C<B -<F ,N,@AT6?,@ 6) NFFHFH)
,0TF< )8C<T@6)T6N-...
!.TF?8N6?,@.
T86) 2,2F< 6) D6T8 BF.60 K D,NT 6 ?,N -6>F.
".6NTF<>6FD*6.>)
T6)@*T,T,%61B)2,2F<
%%%%%%%%%%%%%%%%%%%
('). what will be the result of e7ecuting following +rogram
main
P
char E7Q=:uotNnew=:uotNN
char EyQ=:uotNdictonary=:uotNN
char EtN
void swa+ *char E / char E)N
swa+ *7/y)N
+rintf*=:uotN*Rs/ Rs)=:uotN/7/y)N
char EtN
tQ7N
7QyN
yQtN
+rintf*=:uotN%*Rs/ Rs)=:uotN/7/y)N
T
void swa+ *char E7/char Ey)
P
char EtN
tQ7N
7QyN
yQtN
T
a).*New/Hictionary)%*New/Hictionary)
b).*Hictionary/New)%*New/Hictionary)
c).*New/Hictionary)%*Hictionary/New)
d).*Hictionary/New)%*Hictionary/New)
e).None of the above
*,ns will be b or e) check
9.5dd
9
(15).6f a directory contains +ublic files *can be valied and used
by any one ) which should not be altered /the most liberal
+ermissions that can be given to the directory is
a).$$
b)...
c).$.
d)..$
e)None of the above
*,ns a)
11) what would the following +rogram results in
main*)
P
char +VWQ=:uotNstring=:uotNN
char tN
int i/JN
for*iQ5/JQstrlen*+)Ni=ltNJNi##)
P
tQ+ViWN
+ViWQ+VJ%iWN
+VJ%iWQtN
T
+rintf*=:uotNRs=:uotN/+)N
T
a)will +rint9string
b)will not +rint anything since + will be +ointing to a null string
c)will +rint9gnirt)
d)will result in a com+lication error
e)will +rint invallid characters*Junk)
*,ns will be b ) check
1!) ,fter the following command is e7ecuted
Z ln old new
a listing is +erformed with the following out+ut
Z ls %li
total "
1$.6& %rw%rw%rw% ! you !' )e+ !. 1!95. old
1$.6& =:uotN =:uotN =:uotN =:uotN =:uotN =:uotN
=:uotN
=:uotN new
1$!.4 =:uotN =:uotN 1 =:uotN 45 =:uotN =:uotN 5'9"4
veryold
which of the following is true
a)old and new have same i%node number/!
b) =:uotN =:uotN =:uotN =:uotN =:uotN =:uotN
=:uotN
/ 1$.6&
c)old and new have nothing yo do with each other
d)very old and new are linked
e)very old and old are linked
*,ns is b)
1") Dhat will be the result of e7ecuting the following statement
int iQ15N
+rintf*=:uotNRd Rd Rd=:uotN/i/##i/i##)N
a).15 11 1!
b).1! 11 15
c).15 11 11
d).result is C) de+endent
e).result is com+iler de+endent
*,ns is e)
14) Dhat does e7tern means in a function declaration
a)the funct has global sco+e
b)the funct need not be definedS
c)nothing really
d)the funct has local sco+e only to the file it is defined in
e)none of the above
*,ns will be c)
1$) Dhat will be result of the following +rogram
main*)
P
void f*int/int)N
int iQ15N
f*i/i##)N
T
void f*int i/int J)
P
if*i=gtN$5)
returnN
i#QJN
f*i/J)N
+rintf*=:uotNRd/=:uotN/i)N
T
a).&$/$"/"!/!1
b)15/11/!1/"!/$"
c)!1/"!/$"/&$
d)"!/!1/11/15
e)none of the above
*,ns is e)
16). B) windows ".1 is a
a)o+erating system
b),++lication
c)2rograming language
d)database
e)shell
*,ns will be b)
1.).B) Dindows ".1 su++orts which tyoe of multi%tasking;
a)cycle
b)e7ecutive
c)+reem+tive
d)Non%+reem+tive
e)Banual
*,ns )
1&)The command ......ln /bin/mail /usr/you/bin/m
a)will not be e7ecuted because you are linking files
across different file systems
b)results ln /bin/main being the same file as /usr/you/bin/m
c)results in ! links to the file mail
d) =:uotN =:uotN =:uotN =:uotN m
e)none
*,ns will be b)
1')6n a standerd directory lay out //etc is the directory where
a) basic +rograms such as who and ed reside
b) % % % % % % %
c)various administrative files such as +assword file reside
d) % % % % % % %
e) % % % % % %
*,ns is c)
!5) The command echo E
a) echoes all files in the current directory
b) % % % % %
c)
d)
e)
*,ns is a)
!1)Dhat will be the result of the following segment of the +rogram
main*)
P
char EsQ=:uotNhello world=:uotNN
int iQ.N
+rintf*=:uotNR.ERs=:uotN/s)N
T
a)synta7 error
b)hello w
c)
d)
e)
*,ns is b)
!!) Dhat will be the result of the following +rogram
main*)
P
int a/bN
+rintf*=:uotNenter two numbers 9=:uotN)N
scanf*=:uotNRdRd=:uotN/a/b)N
+rintf*=:uotNRd#RdQRd=:uotN/a/b/a#b)N
T
a)% % % % %
b) % %%
c) will generate run time error /core dum+
d)
e)
*,ns is c)
!") Dhat is the sie of ':'in the following +rogram;
unionP
int 7N
char yN
struct P
char 7N
char yN
int 7yNT+N
T:N
a)11
b)6
c)4
d)$
e)none
*,ns is b why because no of bytes for int Q4 given in instructions)
!4) Dhich message is dis+layed when a window is destroyed
a)DBX?@C)F
b)DBXHF)T<CA
c)DBXN?HF)T<CA
d)
F)
*,ns is b)
!$))end Bessage and +ostmessage are
a)send message +uts the message in the message :ueue and results/
+ostmessage +rocesses the message immediately
b))endmessage +rocesses the message immediately/+ostmessage +uts
the message in the :ueue and returns
c) 1oth +ut the message in the message :ueue and returns
d) 1oth +rocess the message immediately
e) None of the above
*,ns will be b check)
!6) Dhich of the following message is used to limit the sie
of teh Dindow
a)DBX)6YF
b)DBX2,6N
c)% % % %
d)% %% % %
*,ns is a)
!.)until who[gre+ mary
do
slee+ 65
done
a) is syntactically incorrect
b) waits 65 seconds irres+ective of Bary being logged in or not
c) waits until Barry is logged in
d)waits till Bary e7ited
e)None
*,ns is c)
!&)The KN63 system call that transforms an e7ecutable binary file into
a +rocess is
a)e7ecl*)
b)e7ecv*)
c)e7ecle*)
d)e7ecve*)
e),ll of the above
*,ns will be d check)
!')Dhich of the following is true about fork*)
a)% % % % %
b)causes the creation of a new +rocess /the ?86@H +rocess
with a new +rocess 6H
c)
d)
e)
*,ns is b)
"5) Dhat do the following variable names re+resents;
sort register
volatile default
a)% % % %
b ) % % % %
c)all the above are keywords
*,ns is c)
"1)Dhat will be the result of the following +rogram
main*)
P
char E7Q=:uotN)tring=:uotNN
char yVW Q =:uotNadd=:uotNN
char EN
Q*char E) malloc*sieof*7)#sieof*y)Q1)N
strc+y*/y)N
strcat*/y)N
+rintf*=:uotNRs#RsQRs=:uotN/y/7/)N
T
a),dd#stringQ,dd string
b)synta7 error during com+ilation
c)run time error/core dum+
d)add#stringQ
e)none
*,ns will be e consider ca+=am+Nsmall leters)
"!)Dhat does the following e7+ression means
a)
b)
c)
d)an arrey of n +ointers to function returning +ointers to
functions returning +ointers to characters
*,N) 6) d)
"")Dhich of the following is not a HH@ obJect
a)81<K)8
b)82FN
c)816TB,2
d)8<-N
e)8DNH
*,ns ic e)
"4) Dhich of the following message is used to initialie the
contents of a dialog
a)DBX?<F,TF
b)DBX)6YF
c)DBX?CBB,NH
d)DBX6N6TH6,@C-
e)none
*,ns will be d)
"$)6nter+rocess communication in KN63 can be achieved using
a)+i+e
b)Bessage
c))ema+hores
d))hared Bemory
e),ll of the above
*,ns is e)
"6) Dhich of the following is true
a)KN63 is a time sharing multi%user C)
b)KN63 has a device inde+endent file system
c)KN63 is full du+le7
d)KN63 has command inter+reter
e),ll of the above
*,ns is e)
(). 2)1 +wd
e7+ort 2)1 results in
a). your +rimary +rom+t being your current directory
b). =:uotN =:uotN and secondary +rom+ts being the current
dir
c). =:uotN =:uotN +rom+t being your home dir
d). =:uotN =:uotN and secondary +rom+ts being the home dir
e). None of the above.
(). 6f you ty+e in the command
nohu+ sort em+loyees =gtN list ! =gtN error out =am+N
and log off /the ne7t time you log in . the out+ut
will be
a). in a file called list and the error will de ty+ed in
a file error out
b). there will be no file called list or error out
c). error will be logged in a file called list and o/+
will be in error out
d). you will not be allowed to log in
e). none of the above
(). 6n KN63 a files i%node
a)is a data structure that defines all s+ecifications
of a file like the file sie /number of lines to a
file /+ermissions etc.
b).%%%%
c). % % % %%
d). X X X
* ans is %%%%%%%%%*a) )
(). The KN63 shell is....
a).does not come with the rest of the system
b).forms the interface between the user and the kernal
c)%% %% %%%
d) % % % %
e) none
*ans is *b) )
().enum number P aQ%1/ bQ 4/c/d/eT
what is the value of e ;
./4/$/1$/"
*ans is . ) check again
().The very first +rocess created by the kernal that runs
till the kernal +rocess is haltes is
a)init
b)getty
c)
d)
e)none
*,ns is a)
() <esult of the following +rogram is
main*)
P
int iQ5N
for*iQ5Ni=ltN!5Ni##)
P
switch*i)
case 59i#Q$N
case 19i#Q!N
case $9i#Q$N
default i#Q4N
breakNT
+rintf*=:uotNRd/=:uotN/i)N
T
T
a)5/$/'/1"/1.
b)$/'/1"/1.
c)1!/1./!!
d)16/!1
e)synta7 error
*,ns is d )
() Dhat is the result
main*)
P
char cQ%64N
int iQ%"!
unsigned int u Q%16N
if*c=gtNi)P
+rintf*=:uotN+ass1/=:uotN)N
if*c=ltNu)
+rintf*=:uotN+ass!=:uotN)N
else
+rintf*=:uotN0ail!=:uotN)NT
else
+rintf*=:uotN0ail1)N
if*i=ltNu)
+rintf*=:uotN+ass!=:uotN)N
else
+rintf*=:uotN0ail!=:uotN)
T
a)2ass1/2ass!
b)2ass1/0ail!
c)0ail1/2ass!
d)0ail1/0ail!
e)none
*,ns is c)
?C)@
EEEEEEEEEEEEEEEEEEEEE
6N)T<K?T6CN) 9
1. T8F<F ,<F ! )F?T6CN) , and 1. )F?T6CN , ?CNT,6N) 6' (KF)T6CN) ,NH
)F?T6CN 1 ?CNT,6N) & # !& Q "6 (KF)T6CN).
!. T6BF Q "5 B6N. *T8FA 8,>F -6>FN 8F<F 15 B6N F3T<, HK<6N- TF)T 8FN?F
TCT,@ T6BF DF -CT 6) 45 B6N.)
". )F?T6CN 1 6) 28A?8CBFT<6? TF)T.
)F?T6CN ,
EEEEEEEEEEEEEEEEEEEEEEEEEEE
1. a man +urchased 6 stam+s of ru+ees 1 and seven stam+s of $5 +aise.
he
+aid <s. 1!. how much change he got back ; ,ns. !.$5 <s
!. <F2K1@6?,N Q 15& so HFBC?<,TF Q ; *it is diffcult. i made guess on
&4 )
". if F@F?T<6?6TA % -,) Q155
then G,?O % G6@@ Q ;
4. & man work for 6 days to com+lete a work. 8ow many men are re:uired
to
com+lete same work in 1/! day. ,ns. '6 men.
$. , man drives at a s+eed of 45 miles/hr. 8is wife left "5 mins. late
with $5 miles/hr s+eed. when will they meet ; ,ns. ! hours
6. , farmer walks at constant s+eed on the +erimeter of his rectangular
field. it takes him twice the time to cover longer side than shorter
side.
if he walks total "55 m . then find out the area of field; ,ns. $555
s:.m
.. ! is what R of 4t ; * answer is $5/t. 1ut there was no such choice
is
answers. so you can tick at either $5t or t/$5 )
&. 0ind the hy+otaneous of a right angle isoceles tringle whose area is
$5. ,ns. 15E*root !)
'. *root !55) % *root $5) Q;
,ns. $E*root!)
15. 1oys are not girls. Gill is a girl. )C
,ns. Gill is a girl.
11. F7ercise is good for health. By health is in my hand. )o
,ns. F7ercise for good health is in my hand.
1!. 0actorie yEE! # &y % 4& Q5
,ns. *y#1!) *y%4)
1". 1/45/55/555 +encils are +ut u+ straight. all the +encils are of
length
range " to 6 inches. &5R of the +encils have average of five inches. so
the find out the total length s+anned by the +enciles.
,ns. 1555 to 1$55 miles.
14. 6f a ball falls from 16 feet takes 4 seconds. 8ow much time it will
take when falls fron 64 feets. ,ns. less than 16 seconds.
1$. Cne :uestion was based on 1inomial theorem. so you Just learn the
formula of this theorem.
16. There were some :uestions on series 9
!1/ 46"/ 6&./ !"&/ 11"4/ %%%% ,ns. !'.
5/ 6/ !4/ 1!5/ !15/ %%%/ %%%%
* 8ere is one advice that don't waste time on these series :uestions.
1ecos there are other easy :uestions in +a+er. and time is very less. )
1.. There were . or & :uestions on word meanings. these were the only
:uestions in the +a+er who have more than one answer. <ead instruction
given before these :uestions carefully.
words are as follows 9
*1&) 0acetitous
*1') ?allous
*!5) Bitigate
*!1) Hu+e
*!!) ,ccord
*!") Hogmatic
There were & :uestions in the +a+er based on +ictures. & +ictures were
shown in which something was missing in each +icture. you have to find
out
what is missing among !5 choices.
,nswer 9 26?TK<F B6))6N-
!4. 6ndia ma+ -uJrat
!$. Doman with s+ecs. Nose bridge
!6. )hirt 1utton
!.. Tree Twig
!&. )un 1irds or )hadow
!'. woman and child foot +rints
"5. side face eyebrows
"1. -irl %%%%%;
"!. There were 4 :uestions on series of +ictures in order to make a
story.
you will get understand when you will see these.
"". 6 :uestions were on block filling. these are easy :uestions. you
should attem+t it.
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
Hon't forget until too late that the business of life is
not business/ but living. % 1. ?. 0orbes
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

8uges +a+er
%%%%%%%%%%%%
1) find the +robability of getting a number with . between 155 and
''' *both inclusive).
ans9
!) There are 15 items in a bo7/ out of which " are defective.
! balls are taken one after the other. what is the +robability
that both of them are defective;
,ns9 1/1$ or 6/'5
") ?onte7t free grammar is acce+ted by
a) finite automata
b)+ush down automata
c) two way bounded automata
d) both b and c
4) which is not a memory management scheme;
a) buddy system
b) swa++ing
c) monitors
d) +aging ,ns 9 c
$) :n. on karnaugh ma+ for sim+lifying boolean e7+ressions
% 1 1 %
1 % % 1
1 % % 1
% 1 1 %
karnaugh ma+
6) :n. on nand gates .
.) conte7t sensitive grammar
&) ,n identifier can start with a letter followed by any number of
letter
or digits .
ans9 @.*@KH)E
') &B1 total memory/ !$6 k cache / 4k is block sie. direct ma++ing
how many different +hysical memory blocks can be ma++ed on to the
cache.
a) 64 b) !$6 c) 1!&
15) ?)B,/?H is used in
a) token ring
b) 0HH6
d) ethernet
,ns 9 d
11) 6n T?2/62 header / checksum contains
a) sum of all the words
b) ones com+lement of the data
c) ones com+lement of the sum of all the words
d) ones com+lement of the sum in ones com+lement
,ns 9 d
1!) Ba7 no of ,cknowledgements for a 4 bit se:uence number in a
sliding window +rotocol.
1") which is a good way of re+resenting varaibles in recursion
a) local variables
b) static varaibles
c) global variables
d)
14) c +rograms
func*) P
static int i Q 15N
+rintf*4Rd4/i)N
i##N
T
what is the value of i if the function is called twice ;
,ns 9 11
1$) (n. on +ointers .
16) given +age table/+age sie and offset find the corres+onding
+hysical address ;
ans 9 a *"E15!4#$.6) *+agenoE+agesie#offset)
1.) 6n a memory chi+ 4k sie and 16bit words to be stored. No of
address and data lines re:d.
,ns) 16 data and 1! address
1&) idetify in which +ass of the ! +ass com+iler
1) literals
!) address resolution
") listing
4)
1') obJect code not re:uires
a) relocation bits
b) e7ternal names and +lace where they are located
c) absolute adress
d) all the obJect codes
!5) ,<2
a) B,? to 62
b) 62 to B,?
c)
,ns 9 b
!1) (n on 1alanced tree ; , balanced tree is given and a node is
addded
at the leaf and asked to find the no of unbalanced nodes;
!!) order of 8ashing time
a) 5*1)
b) 5*n!)
4) +arse tree
s %I s # s N s %I s E s N s %I a
find the no of +arse trees for a#aEa#a
a) 4
b) $
c) 6
ans9 $
!$) order of deleting an node from a linked list. *+ointer is to an
arbitrary node)
a)5*1)
b)5*n)
!6) , choclate of sie n3n is given and is to be made into +ices of
sie
171. ,t a time both horiontal and a vertical cut is done. 0ind the
order of com+le7ity
a) 5*n!)
b) o*nlogn)
c) o*logn)
,ns 9 a
!.) , directed gra+h is re+resented by adJacency list. To find the
com+le7ity of indegree of the node. e % edge n% vertices
a) o*e#n)
!&) No of leaf nodes given. find the no of nodes with degree !.
!') ,3 Q 1 . , is m3n and 1 is m31 and several o+tions given like
a) there is a uni:ue solution if rank of , is same as rank of
augumented matri7 V, bW
b) there are multi+le solutions
"5) @36 s+/!5''h
@36 b/ !51!h
+ush b
"1) Dhich of the following are false *on com+le7ities)
"!) ,/1 are sets. ,'s cardinality is m and 1's is n where m M n
how many one to one ma++ings can be obtained.
a) n ] m
b) n+m
c) m+n
d) mcn
"") 6n scduling algorithnms which are logically e7ecuted but sus+ended
a) +reem+tive
b) )G0
c)non +reem+tive
d) all the above
,ns 9 a
"4) 6/C redirection is
a) co+ying +rograms files through a +i+e
b) in+ut files are created
c) in+ut file taken from e7isting ones
d) none
"$) symmetric multi+rocessing can be done in
a) snoo+y +rotocols
b) cache coherence
"6) dining +hilos+heres +roblems to avoid dead lock
a) 1 +erson will take left one and all other will take right one
b) adJacent +ersons should not eat concurrently
"6) +rocess states ; which is the correct order
a) timeout9ready %I running
b) blocked 9 ready %I running
c)
d)
".) for converting infi7 e7+ression to +ostfi7 what
do we re:uire
a) o+erand stack
b) o+erator stack
c)
"&) 5 is re+rented as both and negative and +ositive
a) ones com+lement
b) twos com+lement
c) two's com+lement has e7tra negative number
"') Hifference between c and c##;
a)6n c## we can define variables in the middle
b)dynamic sco+ing
45) Dhich of the following is correct
a) )ynchronous tranmission needs more badwidth than ,sychronous.
b) 6nasychronous transmission / the time is associated with data
itself.......
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
future * values / varriables changed % similer +a+er)
The (uestions are follows
1. Number of null +ointers in any binary tree Q n#1
!. ma7*t1/t!/...tn) Q +i+elining
". $5R %H1FT333333 % density
4. +rint *8ead*T))
Traverse*left*T))
+rint *8ead*T))
Traverse*right*T)) % ans9 none of the above
$. 1oolean e7+n Fvalvate
6. ?ommon sube7+n 9 % ans 9 a # e
.. @<K 9 1/ !/ ".
&. Tr. Helay % 15555 bits ans. 15.51
'. -rammar of Number of shift / reduce o+erator 9 ans. 4
15. ?2K scheduling '/& ;
11. if even 7/!
else +*+*"7#1))
!]k # 19 " . !]*k%1) clarify this with sans
1!. allocation ans9 *ii) only
1". swa++ing 9 ans9 reference only
14. ?om+iler % related (n.
1$. @,N frames % ; related (n.
16. +arameter +assing *"$/!5)
1.. sliding window +rotocol
% 1K00F< )6YF large
1&. kernel mode % deallocate resource
1'. logic circuit
ans . Binimum C< Q "
!5. ?ombinatorics related
!1. +riority scheduling
!!. cobegin
begin 7 Q yN 7Q 7#1N yQ 7
begin 7 QyN Q #1N yQ
coend
ans. Number of values +ossi Q !
!". ! bits fli+ / ! bits e7change
ans 9 the word with one '1'
!4. any addr
O]# v*a) # !6 % !a
Aou try to +re+are all subJect :uestions in all the +a+ers being
sent so that it will be useful in the interview.
concentrate on C)/ networks.
2,<T 1
1). , beggr collects cigarette stubs and makes one ful cigarette
with every . stubs. Cnce he gets 4' stubs . 8ow many cigarettes
can he smoke totally.
,ns. &
!). , soldiar looses his way in a thick Jungle at random walks
from his cam+ but mathematically in an interestingg fashion.
0irst he walks one mile east then half mile to north. Then 1/4
mile to west/ then 1/& mile to south and so on making a loo+.
0inally hoe far he is from his cam+ and in which direction.
ans9 in north and south directions
1/! % 1/& # 1/"! % 1/1!& # 1/$1! % and so on
Q 1/!/**1%*%1/4))
similarly in east and west directions
1% 1/4 # 1/16 % 1/64 # 1/!$6 % and so on
Q 1/** 1% * % 1/4))
add both the answers
"). hoe 1555555555 can be written as a +roduct of two factors
neither of them containing eros
,ns ! +ower ' 7 $ ++ower ' * check the answer )
4). ?onversation between two mathematcians9
first 9 6 have three childern. Thew ++roduct of their ages is "6
... 6f you sum their ages . it is e7actly same as my neighbour's
door number on my left. The sacond mathematiciaan verfies the
door number and says that the not sufficient . Then the first
says 4 o.k one more clue is that my youngest is the youngest4
6mmmediately the second mathematician answers . ?an you aanswer
the :uestoion asked by the first mathematician;
Dhat are the childeren ages; ans ! and " and 6
$). @ight glows for every 1" seconds . 8ow many times did it
between 19$.9$& and "9!594. am
ans 9 "&" # 1 Q "&4
6). $55 men are arranged in an array of 15 rows and $5 columns .
,@@ tallest among each row aare asked to fall out . ,nd the
shortest among T8FB is ,. )imilarly after resuming that to their
originaal +odsitions that the shorteest among each column are
asked to fall out. ,nd the longest among them is 1 . Now who is
taller among , and 1 ;
ans ,
.). , +erson s+ending out 1/" for cloths / 1/$ of the remsaining
for food and 1/4 of the remaining for travelles is left with
<s 155/% . 8ow he had in the begining ;
ans <) !$5/%
&). there are si7 bo7es containing $ / . / 14 / 16 / 1& / !'
balls of either red or blue in colour. )ome bo7es contain only
red balls and others contain only blue . Cne sales man sold one
bo7 out of them and then he says 4 6 have the same number of red
balls left out as that of blue 4. Dhich bo7 is the one he solds
out ;
,ns 9 total no of balls Q &' and *&'%!' /! Q 65/! Q "5
and also 14 # 16 Q $ # . # 1& Q "5
'). , chain is broken into three +ieces of e:ual lenths
conttaining " links each. 6t is taken to a backsmith to Join into
a single continuous one . 8ow many links are to tobe o+ened to
make it ;
,ns 9 !.
15). -rass in lawn grows e:ually thickand in a uniform rate. 6t
takes !4 days for .5 cows and 65 for "5 cows . 8ow many cows can
eat away the same in '6 days.;
,ns 9 1& or 1'
11). There is a certain four digit number whose fourth digit is
twise the first digit.
Third digit is three more than second digit.
)um of the first and fourth digits twise the third number.
Dhat was that number ;
,ns 9 !5"4 and 4"6&
6f you :ualify in the first +art then you have to a++ear for
the second i.e the following +art.
2art !.
1. 0rom a vessel on the first day/ 1/"rd of the li:uid
eva+orates. Cn the second day "/4th of the remaining li:uid
eva+orates. what fraction of the volume is +resent at the end of
the 66 day.
!. an orange galss has orange Juice. and white glass has a++le
Juice. 1othe e:ual volume $5ml of the orange Juice is taken and
+oured into the a++le Juice. $5ml from the white glass is +oured
into the orange glass. Cf the two :uantities/ the amount of
a++le Juice in the orange glass and the amount of orange Juice in
the white glass/ which one is greater and by how much;
". there is a 4 inch cube +ainted on all sides. this is cut
into no of 1 inch cubes. what is the no of cubes which have no
+ointed sides.
4. sam and mala have a conversation. sam says i am vertainly not
over 45. mala says i am "& and you are atleast $ years older
than me. Now sam says you are atleast "'. all the sattements by
the two are false. 8ow hold are they realy.
$. ram singh goes to his office in the city/ every day from his
suburbun house. his driver mangaram dro+s him at the railway
station in the morning and +icks him u+ in the evening. Fvery
evening ram singh reaches the station at $ o'clock. mangaram
also reaches at the same time. one day ramsingh started early
from his office and came to the station at 4 o'clock. not
wanting to wait for the car he starts walking home. Bangaram
starts at normal time/ +icks him u+ on the way and takes him back
house/ half an hour early. how much time did ram singh walk.
6. in a railway station/ there are tow trains going. Cne in the
harbour line and one in the main line/ each having a fre:uency of
15 minutes. the main line service starts at $ o'clock. the
harbour line starts at $.5!a.m. a man goes to the station every
day to catch the first train. what is the +robability of man
catchinhg the first train
.. some +eo+le went for vaction. unfortunately it rained for 1"
days when they were there. but whenever it rained in the
morning/ they had clean afternood and vice versa. 6n all they
enJoyed 11 morning and 1! afternoons. how many days did they
stay there totally
&. e7alator +roblem re+eat
'. a survey was taken among 155 +eo+le to firn their +reference
of watching t.v. +rogrammes. there are " channels. given no of
+eo+le who watch
at least channel 1
4 4 !
4 4 "
no channels at all
atleast channels 1and "
4 4 1 and !
4 4 ! and "
find the no of +eo+le who watched all three.
15. albert and fernandes they have two leg swimming race. both
start from o++osite and of the +ool. Cn the first leg/ the boys
+ass each other at 1& mt from the dee+ end of the +ool. during
the 66 leg they +ass at 15 mt from the shallow end of the +ool.
1oth go at const s+eed. but one of them is faster. each boy
rests for 4 sec to see at the end of the i leg. what is the
length of the +ool.
11. T 8 6 ) Fach al+habet stands for one
6 ) digit/ what is the ma7imum value T
%%%%%%%%%%%%%% can take
3 0 3 3
3 3 K 3
%%%%%%%%%%%%%%
3 3 N 3 3
%%%%%%%%%%%%%%
1. an escalator is descending at constant s+eed. , walks down
and takes $5 ste+s to reach the bottom. 1 runs down and takes '5
ste+s in the same time as , takes 15 ste+s. how many ste+s are
visible when the escalator is not o+erating.
!. evvery day a cyclist meets a train at a +articular crossing.
the road is straignt before the crossing and both are travelling
in the same direction. cyclist travels with a s+eed of 15 Om+h.
Cne day the cyclist comes late by !$ min. and meets the train $km
before the crossing. what is the se++d of the train.
". five +ersons muckerJee/ misra/ iyer/ +atil and sharma/ all
take then first or middle names in the full names. There are 4
+ersons having 6 or middle name of kumar/ " +ersons with mohan/ !
+ersons withdev and 1 anil.
%%Fither mukherJee and +atil have a 6 or middle name of dev or
misra and iyer have their 6 or middle name of dev
%%of mukherkJee and misre/ either both of them have a first or
middle name of mohan or neither have a first or middle name of
mohan
%%either iyer of sharma has a 6 or middle name of kumar hut not
both.
who has the 6 or middle name of anil
4. reading con+rehension
$. a bird kee+er has got 2+igeon/ B mynas and ) s+arrows. the
kee+er goes for lunch leaving his assistant to watch the birds.
a. su++ose +Q15/ mQ$/ sQ& when the bird kee+er comes back/ the
assistant informs the 7 birds have esca+ed. the bird kee+er
e7claims oh no^ all my s+arrows are gone. how many birds flew
away.
b. when the bird kee+er come back/ the assistand told him that
7 birds have esca+ed. the kee+er realised that atleast! s+arrows
have esca+ed. what is minimum no of birds that can esca+e.
6. select from the five alternatives ,/1/?/H/F
,T T8F end of each :uestion /two conditions will be given.
the choices are to filled at follows.
a. if a definete conclusion can be drawn from condition 1
b. if a definete conclusion can be drawn from condition !
c. if a definete conclusion can be drawn from condition 1 and !
d. if a definete conclusion can be drawn from condition 1 or !
e. no conclusion can be drawn using both conditions
1. +erson 1 says NM$
+erson says nI$
+erson " says "NI!5
+erson 4 says "nI15
+erson $ says NM&
whaT 6) value of N
a) 1. no of +ersons who s+eak false being less than no of +ersons
who tells the truth.
!. +erson ! is telling the truth.
b) 1. no of +ersong telling the truth is greater than no of
+ersons telling lies
!. +erson $ is telling the truth.
.. there are N coins on a table. there are two +layers ,=1.
you can take 1 or ! coins at a time. the +erson who takes the
last coin is the loser. a always starts first
%%1. if NQ.
a) , can always win by taking two coins in his first chanse
b) 1 can win only if , takes two coins in his first chance.
c) 1 can always win by +ro+er +lay
d) none of the above
%%!. , can win by +ro+er +lay if N is e:ual to
a) 1" b) ". c) !! d) "4 e) 4& ans. e.
%%". 1 can win by +ro+er +lay if N is e:ual to
a) !$ b)!6 c) "! d) 41 e) none
%%4. if NM4/ can , win by +ro+er +lay always
&. Two turns have vertain +ecular charcteristics. Cne of them
always lies on Bonday/ Dednesday/ 0riday. Sthe other always lies
on Tuesdays/ thursdays and saturdays. Cn the other days they tel
the truth. Aou are given a conversation.
+erson ,%% today is sunday my name is anil
+erson 1%% today is tuesday/ my name is bill
answers for selected :uestions
!. e:ual 1. 1$5
". & !. 65 km+h
4. ".*B)/41*)) ". BukherJee
$. 4$ min. &. today is tuesday
6. 5.&
.. 1&
11. T ma7 value Q 4
". ,nil kumar BukherJee
Oumar Bisra dev
Bohan iyer dev
kumar +atil mohan
mohan sharma kumar
>erifone 6nterview.
8ere/ we had three single man +anels. They are seeing the subJects
taken and asking :uestions in that mainly. They didn't go dee+ into
any subJect and they were Just asking overview. Dhen they catch any
new word they are asking about it.

These are some of the :uestions asked to us.*not to a single +erson.)

Dhat is a finite ,utomata.
what is a turing machine.
how many +rocessors are there in a +entium micro+rocessor. in )+arc.
difference between risc and cisc.
is risc always fast.
what is a real time system.
name some real time C)
what are the characteristics of <eal time C).
is HC) a real time C).
what is a kernel/shell.
what is binary search/ traversal/ hashing etc.
given a scenario what is the suitable data structure.
write a code to count the no. of 1's in a binary re+. of a number.
memory taken for char E/ int E etc.
char Ec+N int Ei+N c+##/i+## % what is the result.
com+are the no. of bytes in uni7 and Hos for long char short int.
how to make +rograms +ortable on uni7 and Hos under such circumstances.
in c##/ what is a constructor/ destructor etc.
what is friend etc.

what is waterfall model/ +rototy+e model etc.
what is testing. what is unit testing/ integration testing etc.
Dhat is inde7ing in databases;
Dhat is atomicity;
?an recursive +gms be written in ?##/ Drite a recursive +gm to
calculate factorial in c##.
Dhat is best data structure to store the +rocesses info in a real time
o+erating system;
>F<60CNF
>erifone test (uestions 9
There are two +arts 9
1. ,+titute test 9 1$ Binutes/ !5 (uestions
)ome :uestions are9
*not in order)
1. , :uestion *first one)on addition of fraction of inches
a. was the answer
!. There were "6 chairs. how many ways can they be +laced such
that all rows have e:ual no. of chairs and atleast three chairs
are there in each row and there are atleast three rows.
$ ways.
". There are !. balls/ of which 1 is heavier. given a balance
how many times you need to weigh to find out the odd ball.
" Deighs.
4. 2roduct of three consecutive nos. !15. Dhat is the sum
of two least numbers
11.
$. 6f the area of the s:aure is increased by 6' R how
much the length of the side will increase;
"5R
6. if the sum of five consecutive nos. "$; how many +rime nos
are there 9
! +rimes.
.. if the length of the rectangle is reduced by !5R and breath
is increased by !5 R what is the net change ;
4 R decrease
&. , :uestion on sets.
There are some !5 1asketball +layers = "5 0ootball +layers/
and !$ cricket +layers. 1 of them +lays all the three games.
& of them +lays atleast two games. They are $5 altogether.
8ow many of them +lays none of the games.
'. , :uestion on directions.
1 is !5 miles east of ,. H is "5 miles east of ?. F is 15 miles
north of H. ? is !5 miles north of 1. 8ow far F is from ,;
)ome " :uestions on <easoning like/
15. 6f you say that giving stock o+tions to em+loyees increases the
+roductivity of the com+any/ which of the following sentences
su++ort it.
,) -iving stock o+tions increases the morale of the em+loyees
..
..
etc./
11. -amblers comes to the ,musement +arks. There are some ,musement
+arks in each city. There are some gamblers in each city. )o
what can you infer.
,) ,musement +ark always have gamblers.
..
..
etc./
!. Technical (uestions.
i. Flectrical = Flectronics 9 1$ (uestions
1., ?ircuit with nand gates. *ans. may be 3C<)
!.?B<<. relates to *o+tions not in order)
voltage follower
non invering am+lifier
inverting am+lifier
integrator
". -iven a circuit / give the ou+ut.
*ans. may be triangular wave.)
4. o/+ of an assembly code.
mulit+ly by 11.
$. how to handle asynchronous events.
a) +olling
b) interrru+t
etc.
ii)Hata )tructures/ ,lgo./ = ?om+le7ity theory 9 $ :uestions
iii) C) 9 $ :uestions
iv) Networks and 8ardware9 $ :uestions
v) Hatabases and Bisc.9 $ :uestions
vi) ? 2gm. 9 $ :uestions
some more 15 :uestions.

1. if D is a se:uence of strings without a and D' is its reversal
then DaD' is acce+ted by9
?onte7t 0ree -rammmars
!. Dhether all recusive +gm can be writtten iteratively;
yes.
". Dhat data structes you will use if you want to go to first record
from
the last and vice versa;
doubly linked circular list
4. -iven 15555 nos. and 4&B1 Bemory. Dhat is the com+le7ity of the
efficient sorting algo.; *the algo. is not mentioned)
C*N)
$. -iven a ? code and ask what it does;
code was something similar to 1ubble sort and that
+articular code does the sorting in Hesending order and the com+le7ity
is C*n]!)*which is the ne7t :uestion).

6.
, code like this is given.
a. for*iQ5NiMnumNi##)
b. for*iQnumNiI5Ni%%)
,ssuming no code o+timiation and assume that the micro+rocessor
has flags etc. which one is correct.

b will e7ecute faster.
.. 6f there are too many +age faults what is the +roblem;
&. To ensure one +gm. doesnt corru+t other +gm. in a Bulti%+gm
enviornment
what you should do;
'. Dhich one you will use to im+lement critical section;
1inary )ema+hore
15. Dhich one is not needed for Bulti%+rocessing. enviornment;
o+tions are9 virtual memory/security/time sharing/none of the
above.
11. Dhich one is not done by Hata link layer ;
bit stuffing/ @<?/?<?/+arity check
1!. Dhich one is not related to Hata link layer;
1". Dhich one is not suitable for client%server a++lication;
tc+/i+/message +assing/r+c/none of the above.
14. Dhat is )(@.
2rocedural <elational H1 (uery @anguage.
1$. 6nde7ing in databases give you
o+tions were like 1.efficient deleting and inserting
!.efficient deleting.
etc.
16. int aQ1/bQ!/cQ"N
+rintf*4Rd/Rd4/a/b/c)N
Dhat is the out+ut;
1.. )co+e of )tatic >ariable ............
in a file.
1&. for*iQ5N iMQ15Ni##/+rintf*4Rd4/i))N #% *#% is there in the
:uestions)
!5. <eal Time Cs should have
a)fast conte7t switch
b)>irtual memory etc.
!1. Bessages are transferred in some F.1 code/ where after . bits of
data/
1 bit of sto++ing data is to be transferred. what should be done.
o+tions were like
a) send directly
b) send after encoding
etc.
!!. There are three +rocesses ,/ 1/ ?. , sends data to 1. 1 removes the
header stores it and sends the data to ?. ? returns it to 1. 1 receives
the
message/ identifies the message and adds the header that was stored and
sends to ,.1 receives the messages from ? such that atmost 'm' messages
1
are +ending.
6dentify the best Hata )tructure.
!". , :uestion in com+iler about the hea+ and stack allocation of
memory.
!4. struct
P
char aV"WN
int bN
T7N
char Ec+N
a) sie of 7 is ..
1
b)
c)
d) c+ takes the sie of a +ointer.
*d ) is the ans.
6 am sending format of C<,?@F. 6 Just sent you >erifone*some :uestions)
C<,?@F
%%%%%%
section !9
1. what is s+arese matrices;. give *at least) two methods for
im+lemetation
rather than two dimentional array.
!.what are chea+ locks/latches;.
".what is two +hase locking;. Name two locks.
4. Dhat are volatile variables in ?;. Dhat is their significance ;.
$. will these two work in same manner
Udefine int+ int E
ty+edef int E in++N
6. what are binary trees;. what is its use;.
..
section " 9
,). write header file containing functions used/ etc *?)/
+roblem is to maitain a (ueue. user has to give sie and ty+e of
(ueue...
This +roblem is like this 6 don't remember e7actly.
1). ?##
1. Dhat is +olymor+hism;
!. Dhat is 6nheritence;.
". Bention four CbJect Criented 2rogramming @anguages;I
4. Bention basic conce+ts of CC2.
$. Dhat are messages in CC2;.
6. Dhat is garbase collection;.
..what is obJect;.
&. what is a class;.
section 49
1. e7+and the following9
a.)F6 b. 6)C
!. what are different levels of )F6;.
". Dhat is significance of 6)C;I
4. F7+and the following9
a. DDD
b. 8TT2
c. 8TB@
d. T?2/62
$. what is 1lack bo7 testing;.
6. e7+lain the following9
1. white bo7 testing
!. white bo7 testing
". boundary testing
4 stress
$. negative
6. system
.. unit
&.module
'.destructive
6N0C)A)
%%%%%%%%
1) There are two balls touching each other circumferencically.
The radius of the big ball is 4 times the diameter of the small
ball.The outer small ball rotates in anticlockwise direction
circumferencically over the bigger one at the rate of 16 rev/sec.
The bigger wheel also rotates anticlockwise at Nrev/sec. what is
'N' for the horiontal line from the centre of small wheel always
is horiontal.
!) 1 ! " 4
# " 4 $ $
%%%%%%%%%%
4 6 & '
% ! " 4 $
%%%%%%%%%%
! " 4 4
# 1 ! $ 4
%%%%%%%%%%%%
" 6 ' &
() )trike off any digit from each number in seven rows *need not
be at same +lace) and combine the same o+erations with " digit numbers
to get the same addition. ,fter this strike off another digit from all
and add all the No.s to get the same ! digit No. +erform the same
+rocess again with 1 digit No.s. -ive the ' no.s in . rows at
each stage.
") there is a safe with a $ digit No. The 4th digit is 4 greater than
second digit/ while "rd digit is " less than !nd digit. The 1st digit
is thrice the last digit. There are " +airs whose sum is 11. 0ind
the number. ,ns) 6$!'!.
4) there are ! guards 1al and 2al walking on the side of a wall of a
wearhouse*1!m 3 11m) in o++osite directions. They meet at a +oint and
1al says to 2al 4 )ee you again in the other side4. ,fter a few moments
of walking 1al decides to go back for a smoke but he changes his
direction again to his +revious one after 15 minutes of walking in
the other*o++osite) direction remembering that 2al will be waiting
for to meet.6f 1al and 2al walk & and 11 feet res+ectively/ how
much distance they would have travelled before meeting again.
$) 777)77777*777
"77
%%%%%%%
777
7"7
%%%%%%
777
"77
%%%%%%
() 0ind the $ digit No.
8int9 $ is used atleast once in the calculation.
6) ,fly is there 1 feet below the ceiling right across a wall length
is "5m at e:ual distance from both the ends. There is a s+ider 1 feet
above floor right across the long wall e:idistant from both the ends.
6f the width of the room is 1!m and 1!m/ what distance is to be
travelled by the s+ider to catch the fly; if it takes the shortest
+ath.
.) <amesh sit around a round table with some other men. 8e has one
ru+ee more than his right +erson and this +erson in turn has 1 ru+ee
more than the +erson to his right and so on/ <amesh decided to give
1 ru+ee to his right = he in turn ! ru+ees to his right and " ru+ees
to his right = so on. This +rocess went on till a +erson has
'no money' to give to his right. ,t this time he has 4 times the
money to his right +erson. 8ow many men are there along with <amesh
and what is the money with +oorest fellow.
&)(uestion related to +robabilities of removing the red ball from a
basket/given that two balls are removed from the basket and the other
ball is red. The basket contains blue/red/yellow balls.
')>enkat has 1boy=!daughters.The +roduct of these children age is .!.
The sum of their ages give the door numberof >enkat.1oy is elder of
three.?an you tell the ages of all the three.
,N,@AT6?,@
%%%%%%%%%%
1)@9says all of my other 4 friends have money
B9says that 2 said that e7act one has money
N9says that @ said that +recisely two have money
C9says that B said that " of others have money.
29@and N said that they have money.
all are liers.Dho has money=who doesn't have;
!), hotel has two/the east wing and the west wing.some east wing rooms
but not all have an ocean view*C>).,ll DD have a harbour view*8>).The
charge for all rooms is identical/ e7ce+t as follows
E F7tra charge for all 8> rooms on or above the "rd floor
E F7tra charge for all C> rooms e7ce+t those without balcony
E F7tra charge for some 8> rooms on the first two floor=some FD rooms
without C> but having kitchen facilities. *-<F modrl Test "%:uestion
1G%!!)
")2ost man has a data of name surname door no.+et name of 4 families.
1ut only one is correct for each family.There are a set of statements
=:uestions.
4)4 cou+les have a +arty.He+ending on the set of statements/find who
insulted whom and who is the host of the +arty.
$)$ women given some of their heights*tall/medium/short)8air* long/
+lainted)/stards*1lack or 1rown)/ sari/! medium/!%short.Tall%Ino
sari.2lainted%Imedium.,nswer the combinations.
1) , +erson has to go both Northwards=)outhwards in search of a Job.
8e decides to go by the first train he encounters.There are trains for
every 1$ min both southwards and northwards.0irst train towards south
is at 6955 ,.B. and that towards North is at 6915 .6f the +erson
arrives
at any random time/what is the +robability that he gets into a train
towards North.
!) , +erson has his own coach=whenever he goes to railway station he
takes his coach.Cne day he was su++osed to reach the railway station
at $ C'clock.1ut he finished his work early and reached at " C'clock.
Then he rung u+ his residence and asked to send the coach immediately.
8e came to know that the coach has left Just now to tJe railway
station.
8e thought that the coach has left Just now to the railway station.8e
thought that he should not waste his time and started moving towards
his residence at the s+eed of "mi/hr.Cn the way/he gets the coach and
reaches home at 6 o'clock.8ow far is his residence from railway
station.
")<adha/-eeta=<evathi went for a +icnic.,fter a few days they forgot
the
date/day and month on which they went to +icnic.<adha said that it was
onThursday/Bay & and -eeta said that it was Thursday Bay 15.<evathi
said 0riday Gun &.Now one of them told all things wrongly/others one
thing wrong and the last two things wrongly.6f ,+ril 1st is tuesday
what is the right day/date and month;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

)6FBFN) 6N0C
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
T86) 2,2F< ?CN)6)T) 6 2,<T). all are multi+le choice :'s
1)general
!)c/uni7
")c##/motif
4)database
$)7%windows
6)ms%windows
we have written :'s not acc. to each +art.total $5. :'s. time is
sufficient.
if u have basic idea about all of the u can easily answer the +a+er.
+a+er
%%%%%%
1)which of following o+erator can't be overloaded.
a)QQ b)## c);^ d)MQ
!)UincludeMiostream.hI
main*)
P
+rintf*48ello Dorld4)N
T
the +rogram +rints 8ello Dorld without changing main*) the o/+ should
be
intialisation
8ello Dorld
Hesruct
the changes should be
a)iostream o+eratorMM*iostream os/ charEs)
osMM'intialisation'MM*8ello Dorld)MMHestruct
b) c) d)none of the above
")?H2,T8 shell variable is in*c%shell)
a) b) c) d)
4) term stickily bit is related to a)kernel
b)undeletable file
c) d)none
$)sema+hore variable is different from ordinary variable by
6)swa+*int 7/y)
P
int tem+N
tem+Q7N
7QyN
yQtem+N
T
main*)
P
int 7Q!NyQ"N
swa+*7/y)N
T
after calling swa+ /what are yhe values 7=y;
.) static variable will be visible in
a)fn. in which they are defined
b)module 4 4 4 4
c)all the +rogram
d)none
&)uni7 system is
a)multi +rocessing
b)multi +rocessing /multiuser
c)multi +rocessing /multiuser/multitasking
d)multiuser/multitasking
')7.!$ +rotocol enca+sulates the follwing layers
a)network
b)datalink
c)+hysical
d)all of the above
e)none of the above
15)T?2/62 can work on
a)ethernet
b)tokenring
c)a=b
d)none
11)a node has the i+ address 1"&.$5.15.. and 1"&.$5.15.'.1ut it is
transmitting data from node1 to node!only. The reason may be
a)a node cannot have more than one address
b)class , should have second octet different
c)class1 4 4 4 4 4
d)a/b/c
1!) the C)6 layer from bottom to to+
1")for an a++lication which e7ceeds 64k the memory model should be
a)medium
b)huge
c)large
d)none
14)the condition re:uired for dead lock in uni7 sustem is
1$)set%user%id is related to *in uni7)
16) bourne shell has
a)history record
b)
c)
d)
1.)wrong statement about c##
a)code removably
b)enca+sulation of data and code
c)+rogram easy maintenance
d)+rogram runs faster
1&)struct base Pint a/bN
base*)N
int virtual function1*)N
T
struct derv19baseP
int b/c/dN
derv1*)
int virtual function1*)N
T
struct derv! 9 base
Pint a/eN
T
base99base*)
P
aQ!NbQ"N
T
derv199derv1*)P
bQ$N
cQ15NdQ11NT
base99function1*)
Preturn*155)N
T
derv199function1*)
P
return*!55)N
T
main*)
base baN
derv1 d1/d!N
+rintf*4Rd Rd4/d1.a/d1.b)
o/+ is
a)aQ!NbQ"N
b)aQ"N bQ!N
c)aQ$N bQ15N
d)none
1') for the above +rogram answer the following :'s
main*)
base daN
derv1 d1N
derv! d!N
+rintf*4Rd Rd Rd4/da.function1*)/d1.function1*)/d!.function1*))N
o/+ is
a)155/!55/!55N
b)!55/155/!55N
c)!55/!55/155N
d)none
!5)struct P
int 7N
int yN
TabcN
you can not access 7 by the following
1)abc%%I7N
!)abcV5W%%I7N
abc.7N
*abc)%%I7N
a)1/!/"
b)!="
c)1=!
d)1/"/4
!1) automatic variables are destroyed after fn. ends because
a)stored in swa+
b)stored in stack and +o+ed out after fn. returns
c)stored in data area
d)stored in disk
!!) relation between 7%a++lication and 7%server *7%win)
!")K6@*user interface language) *7%win)
!4)which is right in ms%windows
a)a++lication has single :value system has multi+le :value
b) 4 multi+le 4 4 single 4
c)4 4 4 multi+le 4
d)none
!$)widget in 7%windows is
!6)gadget in 7Xwindows is
!.)variable HF)TH6< in make +rogram is accessed as
a)Z*HF)TH6<)
b)ZPHF)TH6<T
c)HF)TH6<
d)HF)TH6<
!&)the keystroke mouse entrie are inter+reted in ms windows as
a)interru+t
b)message
c)event
d)none of the above
!')link between +rogram and out side world *ms %win)
a)device driver and hardware disk
b)a++lication and device driver
c)a++lication and hardware device
d)none
"5)ms %windows is
a)multitasking
b) c) d)
"1)dynimic sco+ing is
"!) after logout the +rocess still runs in the background by giving
the command
a)noho+
b)
"")+rocess dies out but still waita
a)e7it
b)wakeu+
c)ombie
d)stee+
"4)in dynamic memory allocation we use
a)doubly linked list
b)circularly linked
c)1 trees
d)@ trees
e)none
"$)to find the key of search the data structure is
a)hask key
b)trees
c)linked lists
d)records
"6)data base
%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
em+loyXcode salary em+loyXcode leave
%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
from to

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1!"6 1$55 1!"& %%% %%%
1!". !555 1!"& %%% %%%
1!"& !$55 1!". %%%
%%%%%
1!". %%% %%%
1!". %%% %%%
1!". %%% %%%
%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
select em+loyXcode/em+loyXdata /leave
the number of rows in the o/+
a)1&
b)6
c).
d)"
".)H1B)
"&)read about )(@/db
"')which is true
a)bridge connects dissimiler @,Nand +rotocol insensitive
b)router 4 4 4 4 4
c)gateway 4 4 4 4 4
d)none of the above
45)read ty+es of tree traversals.
41)4!)4") sim+le +rograms on +ointers in c
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1F)T C0 @K?O
Novell network +a+er
The +a+er consists os three sections.
1. a+titude 1$ :uestions !5 min.
!. system conce+ts !5 :uestions !5 min.
". 'c' 1$ :uestions !5 min.
NCTF99999
6'm sendin the :uestions/ somany have no answers. K do check the
answers for all the given :uestions also.
,ll :uestions are BK@T62@F ?8C6?F) CN@A.
K do try to cover the related to+ics to get some understanding.
6n interview They are asking ? ?## C+erating system conce+ts
and Networks.
They will ask about Kr interesting subJects/ K try to have good
gri+ on those intresting subJects.
They selected 11 out of $$ students.
They asked about c c## +roJect work and C)/NFTDC<O).
1ut they selected only ! / one from ?) and another is 1Tech F?F.
)F?T6CN 1 is main factor selection to the interview
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6n the interveiw you should be very active .,nd should be frank to say
no also.Cne ?) student said that he don't know NFTDC<O and he hasn't
taken NFTDC<O) subJect.1ut he has selected.
CO 1F)T C0 @K?O.
section 19999N
E. -<F book test +a+er " section $
:uestion no. & to 1! *shi+s D3AY starting on dec. !"rd..........)
E $ +rograms are sheduled from monday to saterday/ monday is not
holiday/
2(<)T are the +rograms. The day before 2 is holiday/ and some other
clues are
given/ we have to find the se:uence *4 :uestions)
,N)9 tuesday is the holiday
2 comes on wednesday /
K can do the remaining very easily.
E )u++ose K < the +resoner/ There are two guards Dho will tell truth or
one will tell truth. There is a gate for liberty and another foe hell.
)ome :uestions are given/ like
i. are K tell truth;
ii. another tell truth or not;;
iii. both of K < telling truth;;
i>. both of K lieing;;
>. %%%%%%%%%%%%%%
they gave a. b. c. d. and asking about which se:uencing is
sufficient to
find the gate for liberty;;
* 6 can't give e7act thing)

E There are D60F and 8K)1,NH at one side of river. They have one child/
They want to cross the river. The child can't be lonly. The boat boy
won't
+ermit morethan one to cross the river/ what is the correct way to
cross the river;;
E There are . targets/ , 1 and ? has to shoot them. ,ll should be
shooted
consicutively.
1. The no. of chances for , and 1 are not less thn !/
!. for ? there is only one chance.
". , can't shot " times consicutively.
4. 1 is +ermited to shoot in even chances only.
They have given some "or 4 :uestions on this
E
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
section "99
1.Ba7 value of )6-NFH int
a. b. c. d.
!.Cne :uestin is given/ long one/ to find the answer K should be
femiliar
with the o+eration as follows
int EnumQP15/1/$/!!/'5TN
main*)
P
int E+/E:N
int iN
+QnumN
:Qnum#!N
iQE+##N
+rint the value of i/ and :%+/ and some other o+erations are there.
T
how the values will change;;
". Cne +ointer diff is given like this9
int E*E+V15W)*char E/ charE)
asked to find the meaning.
4. char EaV4WQP4Jaya4/4mahe4/4chandra4/4buchi4TN
what is the value of sieof*a)/sieof*char E)
a. 4 b.bytes for char c%% d.%%
* we don't know the answer)
$. void fn*int Ea/ int Eb)
P
int EtN
tQaN
aQbN
bQtN
T
main*)
P
int aQ!N
int bQ"N
fn*=a/=b)N
+rint the values os a and bN
T
what is the out+ut%%% out +ut won't swa+/ the same values remain.
a. error at runtime
b. com+ilation error
c.! "
d. " !
6.
Udefine scanf 4Rs is a string4
main*)
P
+rintf*scanf/scanf)N
T
what is the out+ut.
,N) 9 Rs is string is string
.. iQ!#"/4I"/1N
+rintf*4Rd4i)N
ans is $ only.
&. char E+Q4abc4N
char E:Q4abc1!"4N
while*E+QE:)
P
+rint*4Rc Rc4/E+/E:)N
T
a. aabbcc
b. aabbcc1!"
c. abcabc1!"
d. infinate loo+ * this may be correct)
'. +rintf*4Ru4/%1)
what is the value;
a. %1 b. 1 c. 6$""6 d. %%
*ma7int value%1 6 think/ check for the answer)
15. Udefine void int
int iQ"55N
void main*void)
P
int iQ!55N
P
int iQ155N
+rint the value of iN
T
+rint the value of i
T
what is the out+ut;
may be 155 !55
11.
int 7Q!N
7Q7MM!N
+rintf*4Rd 4/7)N
,N)Q&N
1!.

int aVWQP5/534/4/'TN /Esome values are givenE/
int iQ!N
+rintf*4Rd Rd4/aViW/iVaW)N
what is the value;;; *may be error)
1".
some other +rogram is given / 6 can't remember it
K can get it afterwads/
the answer is " "/ so K can check this in the e7am. itself.
6'll send the remaining two afterwars whenever 6 get them. CO ^
14.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
B,)?CT
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
this test contains ! +a+ers
+a+er1Qa+titude%"5min%44:uestions
contains " sections
+a+er!Qcom+uter skill%"5min%65:uestions%6sections%15:uestions each
%%%%%%%
+a+er1
%%%%%%%
section1
%%%%%%%%%
i do not remember the :'s.sim+le :uantitative a+t. :'s.
but takes more time /do fast.
section!
%%%%%%%%
1%& :'s on bus route. a b c d e
a 7 & 1$ !5 .
b 6 7 ' 1" !1
c 15 1! 7 " 11
d ' 1 1& 7 $
e " 4 1. 14 7
where 7 is starting +oint.a=e are first and last stations.and b/c/d
are intermediate stations. fig's are no. of +assengers.cost of ticket
is 5..<s /+ass.
between any successive stations. based on this few :'s were given.
the fig's
are not correct. :'s like total no.of +ass.in onward Journey.
<est of :'s are
! statements were given. u have to answer they are correct or not
...littlebit
easy.
section"
%%%%%%%%
sim+le :'s from r.s agarwalX:uantitative a+t.
1.1/15+ower1& % 1/15+ower!5 .....value;
!.+i+es%leaking%cisterns.
+a+er!
%%%%%%%%%%%%
1.general awareness.!.
1.father of com+uters
!.e7+and 8TB@/HB,/0,T/@,N/D,N/0HHetc
".intel's first micro+ro...a.+entium b.+entium+roetc
4.15!4*dec)convert to he7a=octal
$.first micro.+ro.a)&5&$b)&5&&etc
6.motorola's +rocessor name;
..windowsXNT e7+and
&.sim+le +rograms on +ascal=c
'.diff between &5&./&5&6 *which is latest vers.)
15.some basic :'s on -K6.
11.:'s on 61B+c
1!.one +rogram on finding factorial
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
i remember only these :'s. i will ask my +als about rest of :'s.i
want to know
when mascot is coming.they have taken 14 from here. most of them are
mech.=ime.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
T6)@
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
6 know some !$ :uestions.
The technical com+rises of $5 :uestions on ?/Kni7 and windows.
1.const char E
char E const
Dhat is the differnce between the above tow;.
!.6n Kni7 inter +rocess communication take +lace using;.
".Dhat are the files in /etc directory;.
4.,bout i%node numbers
$.Ba7 rela7able +ermisssion value with out giving write +ermission
to others;.
6.,bout ln*linking)
.., :uestion on until
until *who [gre+ mary)
do
slee+*65)
done
&.@inking across directories;.
'.+rocess id for kernell +rocess
15.very first +rocess created by kernell
11.function to re+aint a window immediately;.
1!.0unction entry for H@@ in win".1
1".win ".1 is a
14.win ".1 su++orts which ty+e of multi tasking;.
1$.Bessage dis+layed when a window is destroyed
16.,bout fork*);
1..,bout send message and +ost message
1&.Bessage to limit the sie of window
1'.)ystem call e7ecutable binary file intoa +rocess
!5.,bout -H6 obJect;.
!1.,26 used to hide window
!!.6nitialie contents of a dialog;.
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>F<60CNF
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
there will be 4$ :stns. 1$#$#$#$#$#$#$.
section9 electronics9
1.a logic ckt is given and asked to identify the configuration.
ans9 3C<.
!.multi vibrator with nor gates is given
ans9 astable multi s:r wave o+t.
".4 stage ri++le counter with delay*f/f) 15msec. 8ow much time it takes
for a state to change. 4E15Q45.
4.im+edence of a +'lel resonant circiut at resonance9<.
$.serial to +arellel conversion is done by ans9shift register.
$.if the address bus id !5bits.then the memory s+ace is 1Bb.
6.filtering can be done with9ca+acitor/iductor/both/none.
..the config that is worst effected by low ?BB<
ans9Non inverting am+lifier.
&.two +rogs are given. one satrts counting frm 5 to B,3 and the other
stars frm B,3 to 5. which one e7ecutes fast.may be Ba7 to 5.Think of.it
should be.
another 6 :stns are there. sim+le.
Networks9
1.
the fctn of datalink layer is9bit stuffing.
!.which of the following is not fctn of datalink layer9 Fncri+tion.
".voltage levels of rs!"!79#1!/%1!.
4.which of the following is not used for client/server.
<2?/T?2/62/BF)),-F(s None ans9may be none.
$.
database9
1. which of the following is true.
ans9the +rimary key in Hata1,se design is very im+ortant.
!. )(@ is a Non +rocedural :uery langauge.
".
4
$.
com+iler/algo/ds9
1.Hata structure used to im+liment a menu9 doubly linked circular
linked
list.
!. some regular e7+ression is given9DaD'.may be it is conte7t free
grammar.
"./4/$.
os9
1.the feature of real time os is9 fast conte7t swithing.
!.os im+liments +rotection with the hel+ of hardware*like virtual
addressing in "&6/!&6 etc).
?9
some small c +rogs are given asked to tell the function/errors etc.
one of the :stn*last in the +a+er) is an invalid statement.
finish of all these very fast and think about those others. they are
sim+le only.
6nterview9
de+ends on the member.*Br.Hee+ if he comes asks archirect of
$&6/4&6/"&6/!&6
etc. otherwise H)/C)/?/T?2/62 . they hv taken !1*1&btechs#"mtechs).
ok if u hv any :ueries ask immediately.
ok
all the best.
chigu.
HF%)haw )oftware/8yderabad.
%%%%%%%%%%%%%%%%%%%%%%%%%%%
)F?T6CN%,

you should write the +rograms for the following +roblems in ?.

1. swa++ing two variables 7/y without using a tem+orary variable.
!. a +rogram has been given asking to find the out+ut
ans. it is algorithm for finding -.?.H
". write a +rogram for reversing the given string.
4. the integers from 1 to n are stored in an array in a random
fashion. but one integer is missing. write a +rogram to find the
missing integer.
ans. idea. the sum of n natural numbers is Q n*n#1)/!.
if we subtract the above sum from the sum of all the
numbers in the array / the result is nothing but the
missing number.
$. some bit ty+e of :uestions has been given on +ointers asking to
to find whether it is correct from synta7 +oint of view. and if
it is correct e7+lain what it will do.*around 1$ bits).

)F?T6CN%1

,N)DF< ,) B,NA ,) 2C))61@F.

6.= .. two +rograms on +re%+rocessor directions has been given asking
to find the out+ut.
&. sim+le :uestion given on +ointer
a) kernighan = richie +age no. 1!!
b) schaum series +age no. "!"
try to understand the +ointer +roblems given here he asked to
e7+lain
in the interview if answer it in e7am.
'. write a c +rogram to find whether a stack is +rogressing in forward
or reverse direction.
15. write a c +rogram that reverses the linked list.

-K6HF@6NF)9
the interview is very tough he is asking to do the +roblems in
front of him. he is also giving some new +roblems to solve before
him.
you should have a very good funda of ? language.
0rom iit%kg+ only two ! students have been selected.



Di+ro +a+er*)ystem software)
Guly%1''.
%%%%%%%%%%%%

2,<T %%,
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1) abcH#abcd#a1?d#a1?H
then the sim+lified function is
* ?a+ital letters are co+liments of corres+onding letters
,Qcom+liment of a)

VaW a VbW ab VcW abc VdW a*bc)E VeW mone
*bc)EQcom+liment of bc

,ns9 e

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
!) , 1! address lines ma+s to the memory of

VaW 1k bytes VbW 5.$k bytes VcW !k bytes VdW none

,ns9 b

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
") 6n a +rocessor these are 1!5 instructions . 1its needed to im+liment
this instructions
VaW 6 VbW . VcW 15 VdW none

,ns9 b

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4) 6n &5&$ micro+rocessor <F,HA signal does.which of the following
is incorrect statements
VaW6t is in+ut to the micro+rocessor
VbW 6t se:uences the instructions

,ns 9 b
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

$) <eturn address will be returned by function to
VaW 2ushes to the stack by call
,ns 9 a
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6)
nQ.6!"
P
tem+Qn/15N
resultQtem+E15# resultN
nQn/15
T

,ns 9 "!6.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
.) 6f ,I1 then
0Q0*-)N
else 1I? then
0Q-*-)N
in this / for .$R times ,I1 and !$R times 1I? then/is 15555
instructions
are there /then the ratio of 0 to -
VaW .$559!$55 VbW .$5596!$ VcW .$5596!$ if aQbQc else
.$559!$55
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
&) 6n a com+iler there is "6 bit for a word and to store a character
&bits are
needed. 6N this to store
a character two words are a++ended .Then for storing a O characters
string/
8ow many words are needed.
VaW !k/' VbW *!k#&)/' VcW *k#&)/' VdW !E*k#&)/' VeW none

,ns9 a
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
') ? +rogram code

int a+*int n)
P
if*nMQ1)then a+Q1N
else a+Qa+*n%")#a+*n%1)N
T
then the call a+*6) gives the values of a+
VaW & VbW ' VcW 6 VdW 1! VeW 1$

,ns9 b
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


2,<T%1
%%%%%%%
1) >irtual memory sie de+ends on
VaW address lines VbW data bus
VcW disc s+ace VdW a = c VeW none

,ns 9 a
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
!) ?ritical section is
VaW
VbW statements which are accessing shared resourses
,ns 9 b
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

") load a
mul a
store t1
load b
mul b
store t!
mul t!
add t1

then the content in accumulator is

,ns 9 aEE!#bEE4
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4) :uestion *") in old +a+er
$) :*4) in old +a+er
6) :uestion *.) in old +a+er
.) :*') in old +a+er
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

8oneywell conducted a test in 66T and 6nterview was in their
office at 1'lore.
Test contained 155 multi+le choice :uestions divided into
a) >erbal ability *1$ :ues)
b) Numerical a+titude *1$ )
c) @ogical and analytical ability *1$)
d) Flementary com+uter science *15)
d) 2rogramming langauages *!5)
e) C+eratins systems and Hata structures *!$)
Not sure about the number of :uestions.
>erbal ability :uestions contained " +arts.
a) Cne +assage is given and K have to answer $ :uestions
b) )ome words are given and their synonyms have to be written
c)
Numerical a+titude and @ogical :uestions were the usual stuff.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6 had 4 rounds of interview.
0irst round *around 4$ minutes) contained/ :uestions from <eal%time
%%%%%%%%%%%
)ystems *my research area)/ o+erating systems and )oftware Fngineering
F7+lain K'r research work.
Dhat is a <eal%Time )ystem ;
Dhat is the difference between 8ard and )oft real%time systems ;
Dhat is a mission critical system ;
Dhat is the im+ortant as+ect of a real%time system ;
F7+lain the difference between microkernel and macro kernel.
-ive an e7am+le of microkernel.
Dhy +aging is used ;
Dhich is the best +age re+lacement algo and Dhy ;
D8at is software life cycle ;
8ow much time is s+ent usually in each +hases and why ;
Dhich one do K want to work if selected in 8oneywell ;
* 6 said 6 don't like testing )
They asked why ;
6 said it is a boring Job. Then they tried to analyse
the knowledge in testing.
Dhat is testing ;
Dhich are the different ty+es of testing ;
Then they e7+lained the way they do testing. They said that they are
doing testing in re:uirement +hase and design +hase so that if any
+roblem comes in those +hases it is not ncecessary to go back and
change
the re:uirement or design. ,ll the test +rocessing is automated.
Dhy do K want to Join 8oneywell ;
,ns 9 To get a +ractical feeling of <eal%time systems.
Ho K know ?## ;
8ow good are K in ? and ?## ;
<ate K'rslef in both ? and ?##. * 1 % 15 marks)
)econd round *around 4$ minutes )
%%%%%%%%%%%%
They wanted a bio%data at the time of inteview. 6 gave the +lacement
office bio%data and in that one there was column 'BaJor subJects
studied'. Bany of the :uestions came from those.
F7+lain K'r research work.
@ot of :uestions from it.
Dhat is a distributed system ;
)ome :uestions about ?)2. * 6 ke+t :uiet)
Dhich languages do K know ;
Dhat are the differences between 2ascal and ?.
6 said 2ascal is a strongly ty+ed language.
Then what is ty+ing and its advantages ;
Then he asked some :uestions from ?om+iler construction and @is+.
D8ich are the different com+uter architectures ;
Dhat is the re:uirement in B6BH ;
Dhat is the difference between <6)? and ?6)? +rocessors ;
Hifference between loosely cou+led and tightly cou+led systems ;
Dhat is an o+en system ;
)till a lot of :uestions from software engineering .
Dhich are the different +hases in )oftware life cycle *asked again)
Dhy is analysis and testing +hases very im+ortant ;
Dhich methodologies are K familiar with ;
8ave K worked in windows ; *Aes)
Dhat is the difference K have seen from a Hos environment ;
6 said it event driven .
)o what do K mean by event driven ;
8ow do DinBain look like ;
8ow the messages are +rocessed in Dindows ;
*(ueue of events)
Dhat are +arameters needed to distinguish an event ;
8ave K done any network +rogramming ;
Dhy networks are layered ;
Dhat is the advantage of that ;
8ow many layers are there in C)6 ;
D8y is it called C)6 model ;
,re K familiar with network to+ologies ;
Dhich are the different network to+logies ;
Tell an e7am+le of bus ty+e network.
6 said ethernet.
Dhat is the 1andwidth of ethernet ;
F7+lain the advantage and disadvantage of ethernet ;
Dhich is the +rotocol used in ethernet. *?)B,/?H)
Dhy is it called so ;
6f all stations tries to communicate at same time/ what will ha++en.
Dhat is binary e7+onential backoff algo ;
Dhat is the advantage of <ing network ;
?om+are it with ethernet.
6n a real%time system which one do K +refer and why ;
Dhat is the basic re:uirement of a real%time network ;
Dhich one is costly % ethernet of ring networks ;
)ome :uestions form CC)H and Higital signal +rocessing.
Dhat is inheritance/ enca+sulation etc.
Third <ound *1$ minutes)
%%%%%%%%%%%
,sked about the +ercentages and marks during ))?/ 2H?/ 1.Tech and B).
Dhen can K Join ;
Dho is K'r guide ;
K are from which +lace ;
Dhere is it in Oerala ;
8ow do K +erform in the first two interviews ;
D8y have K given 8oneywell as dream Job ;
)ome more +ersonal :uestions
0ourth <ound *4$ minutes)
%%%%%%%%%%%%
Dhat do K like in 1angalore ;
6 said the weather and all my friends are here.
,sked about my family members.
8ow do K interact with friends ;
8ow do adJust to a new environemnt ;
)u++ose K solve a +roblem and after that K are getting an almost same
+roblem with high com+le7ity * and lower com+le7ity). 8ow will K
a++roach to the ne7t +roblem.
Dhat is K'r a++roach towards a new subJect ;
8ow do K +re+are for e7ams ;
)u++ose in a +roJect meeting/ somebody fires K/ how will K react ;
,re K +atient enought to wait in long :ueues ;
)till some more which 6 don't rememebr.....
0rom lramaL:asid.cc.iitk.ernet.in )un )e+ !. 1$9$"914 1''&
Hate9 0ri/ !$ )e+ '& 191'9"& 6)T
0rom9 '.!565$ lr krishna +g met MlramaL:asid.cc.iitk.ernet.inI
To9 girakaLa+ah.cc.iitk.ernet.in
)ubJect9 ramakrishna
I
I ThisQ!5
I 6) Histribution of workers in a factory according to the no.of
I children they have
I 0igure
I 1. Total no. of workers in the factory.
I Q5',ns 9 !55
I !. Total no. of children that all the workers that have between them
isQ!5
I Q5',ns 9 $65
I ". The total no. of literate workers is
I Q5',ns 9 15$
I 4. The ratio of literate = illiterate isQ!5
I Q5',ns % 19!
I $. The no. of literate workers with atleast " children is
I Q5',ns 9 4$
I 6. The no. of illiterate workers with less than 4 children is
I Q5',ns 9 65
I .. The rate of literate to illiterate workers who have " children is
I Q5',ns % "94
I 66) Dhich of the following statement*s) is*are) not true
I
I a. @iterate workers have small families than illiterate workers.
I b. 0amilies with ! or less than ! children are commoner than families
I with " or more children.
I c. ! children families constitute 65R of the families of workers.
I d. Bore the no. of children a worker has the more illiterate he is.
I e. None the above statement is true.
I
I Q5',ns 9 e
I
I 666) ;;;; of a mutual instrument vibrate 6/& = 1! intervals
I res+ectively. 6f all three vibrate together what is the time
I interval before all vibrate together again;
I Q5'@?B of N<Q!5
I %%%%%%%%% ,ns 9 Q1H sec
I Q5'8?0 of H< Q!5
I
I 1!) ?ertain no. of men can finish a +iece of work in 15 days. 6f
I however there were 15 men less it will take 15 days more for the
I work to be finished. 8ow many men were there originally.
I Q5',ns 9 115 men
I 15) 6n sim+le interest what sum amounts of <s.11!5/% in 4 years and
I <s.1!55/% in $ years.
I Q5',ns 9 <s.&55/%
I
I vi) )um of money at com+ound interest amounts of thrice itself in "
I years. 6n how many yearsQ!5
I will it take ' times itself.
I Q5',ns 9 6
I
I vii) Two trains in the same direction at $5 = "! km+h res+ectively. ,
I man in the slower train observes the 1$ seconds ela+se before
the
I faster train com+letely +asses him.
I Dhat is the length of faster train ;
I Q5',ns 9 .$m
I
I 16) 8ow many mashes are there in a s:. m of wire gauge. Fach mesh
I being &mm long 3 $mm width
I Q5',ns 9 !$555
I
I 1.) 7R of y is yR of ;
I Q5',ns 9 7
I
I 11) The +rice of sugar increases by !5R/ by what R house%wife should
I reduce the consum+tion of sugar so that e7+enditure on sugar can be
I same as before
I Q5',ns 9 16.66
I
I ; ) , man s+ending half of his salary for house hold e7+enses/ 1/4th
I for rent/ 1/$th for travel e7+enses/ a man de+osits the rest in a
I bank. 6f his monthly de+osits in the bank amount $5. Dhat is his
I monthly salary ;
I Q5',ns 9 1555
I
I ; ) The +o+ulation of a city increases L 4R +.a. That is an
additioanl
I annual increase of 4R of the +o+ulation due to this influ7 of Job
I seekers/ the R increase in +o+ulation after ! years isQ!5
I Q5',ns 9
I
I ; ) The ratio of no. of boys = girls in a school is "9! Cut of these
I ;R the boys = !$R of girls are scholarshi+ holders. R of students
who
I are not scholarshi+ holders.;
I Q5',ns 9Q!5
I
I ; ) 1$ Ben take !1 days of & hrs. each to do a +iece of work. 8ow
many
I days of 6 hrs. each would do if !1 women take. 6f " women do as much
I work of ! men.
I Q5',ns 9 "5
I
I ;) a cylinder ingot 6cms in diameter and 6 cms in height is and
I s+heres all of the same
I Q5'sie are made from the material obtained.what is the diameter of
each
I s+here;
I Q5',ns 9"cms
I $)Q5'rectangular +lank of s:rt*!)meters wide can be +laced so that it
is
I on either side of the diagonal of a s:uare shown below.what is the
I area of the +lank;
I Q5'Q5',ns 9.s:rt*!)
I Q5'Q5'fig no%
I .) the difference b/w the com+ound interest +ayble half yearly and
I the sim+le interest on aQ!5
I Q5'certain sum cont out at 15R +.a for 1 year is <s !$ what is the
sum
I Q5',ns915/555
I &) what is the smallest n5 by which !&&5 must be divided in order to
I make it aQ!5
I Q5'+erfect s:uare ;
I Q5',ns 9 c
I Q5'a)" b)4 c)$ d) 6 e)&
I
I ')a father is "5 times more than his son however he will be only
I thrice as old as the son
I Q5'what is father's +resent age ;
I Q5',ns 9 45
I
I 15) ,n article sold at a +rofit of !5R if both the c.+ = s.+ were to
I be <s.!5/% the +rofit would be 15R more. Dhat is the c.+ of that
I article;
I Q5',ns 9 1R loss
I
I this is as +er the 7ero7 co+y available.
I Q5'
I
1) , % - are . consecutive #ve integers not necessarily in the same
order
1) 1 is the middle number
!) H is " less than c
") the difference between 0 = , is e:ual in magnitude and sign
to the difference between F = ?
4) Neither 0 nor ? lie between F = -
a) Dhat is the value of 1%0
1 ! %1 %! cannot be determined
b) which is greatest
0 ? , F cannot be determined
c) -iven both , = 1 are +rimes what is the lowest value of F
& 6 ' 1! cannot
!) -iven that a/b/c/d/e each re+resent one of the digits between
1%' and that the following multi+lication holds
a b c d e
4
%%%%%%%%%%
e d c b a
Dhat digit does e re+resent
a) 4
b) 6
c) .
d) &
e) none
1. 8ow many butes does an array ,*19&/%!9!/19$) re:uire for storage if
each element of the array is !4 bits long.
!55 4&5 655 &55 none
!. begin
i9Q5N
J9Q5N [ block d
loo+9
if*i ^Q 5)
i 9Q i%1N
else
i 9Q i#1N
i 9Q i#1N [ block a
J 9Q J#1N [ block b
if *J MQ !$)
goto loo+N
end [ block c
a) Dhat is the value of i at VcW
! ;
b) 8ow many times is the goto e7ecuted
!$ ;
c) 8ow many times is the loo+ e7ecuted if i is initialied to 1
in VdW !6
d) 8ow many times is the loo+ entered if the block VbW is changed
to JQJ#1 ;
e) Dhat is the value of i at VcW interchanging blocks VaW and VbW ;
! ;
0ollow the instructions given below V 0rom 1 to & W
1. , cause 1 or ? but not both
!. 0 occurs only if 1 occurs
". H occurs if 1 or ? occurs
4. F occurs if only c occurs
$. G occurs only if F or 0 occurs
6. 8 occurs if F occurs
.. H causes -/ 8 or 1oth.
&. - occurs if 0 occurs.
(uestions
%%%%%%%%%
1. 6f , occurs which of the following may occur
1. 0 = - *ii) F = 8 *iii) H
,ns
%%%
*a) 1 only *b) ! only *c) " only *d) 1/!/" or ! = " but not 1
*e) 1/! = "
!. 6f 1 occurs which must occur
,ns
%%% *a) 0 = - *b) H = - *c) H *d) - = 8 *e) G
". 6f G occurs which must occur
,ns
%%%
*a) F *b) 1oth F = 0 *c) Fither 1 or ? *d) 1 *e) 1oth 1 = c
4. Dhich may occur as a result by a cause not mentioned.
*6) H *66) , *666) 0
,ns
%%%
*a) 6 only *b) 66 *c) 6 = 66 *d) 66 = 666 *e) 6/66/666
$. 6f F occurs which cannot occur.
*a) 0 *b) , *c) H *d) ? *e) G
UincludeMstdio.hI
int )umFlement*int E/int)N
void main*void)
P
int 7V15WN
int iQ15N
for*NiN)
P
i%%N
E*7#i)QiN
T
+rintf*4Rd4/)umFlement*7/15))N
T
int )umFlement*int arrayVW/int sie)
P
int iQ5N
float sumQ5N
for*NiMsieNi##)
sum#QarrayViWN
return sumN
T
UincludeMstdio.hI
void main*void)N
int +rintf*const charE/...)N
void main*void)
P
int iQ155/JQ15/kQ!5N
int sumN
float aveN
char myformatVWQ4aveQR.!f4N
sumQi#J#kN
aveQsum/".5N
+rintf*myformat/ave)N
T
UincludeMstdio.hI
void main*void)N
void main*void)
P
int aV15WN
+rintf*4Rd4/**a#') # *a#1)))N
T
UincludeMstdio.hI
void main*void)N
void main*void)
P
struct sP
int 7N
float yN
Ts1QP!$/4$.55TN
union uP
int 7N
float yN
T u1N
u1Q*union u)s1N
+rintf*4Rd and Rf4/u1.7/u1.y)N
T
UincludeMstdio.hI
void main*void)
P
unsigned int cN
unsigned 7Q57"N
scanf*4Ru4/=c)N
switch*c=7)
P
case "9 +rintf*48ello^St4)N
case !9 +rintf*4DelcomeSt4)N
case 19 +rintf*4To ,llSt4)N
default9+rintf*4Sn4)N
T
T
UincludeMstdio.hI
int fn*void)N
void +rint*int/int*E)*))N
int iQ15N
void main*void)
P
int iQ!5N
+rint*i/fn)N
T
void +rint*int i/int *Efn1)*))
P
+rintf*4RdSn4/*Efn1)*))N
T
int fn*void)
P
return*i%Q$)N
T
UincludeMstdio.hI
void main*void)N
void main*void)
P
char numbersV$WV6WQP4Yero4/4Cne4/4Two4/4Three4/40our4TN
+rintf*4Rs is Rc4/=numbersV4WV5W/numbersV5WV5W)N
T
int bagsV$WQP!5/$/!5/"/!5TN
void main*void)
P
int +osQ$/Ene7t*)N
Ene7t*)Q+osN
+rintf*4Rd Rd Rd4/+os/Ene7t*)/bagsV5W)N
T
int Ene7t*)
P
int iN
for*iQ5NiM$Ni##)
if *bagsViWQQ!5)
return*bags#i)N
+rintf*4Frror^4)N
e7it*5)N
T
UincludeMstdio.hI
void main*void)
P
int y/N
int 7QyQQ15N
int fQ7N
float ansQ5.5N
f EQ7EyN
ansQ7/".5#y/"N
+rintf*4Rd R.!f4/f/ans)N
T
UincludeMstdio.hI
void main*void)N
double dblQ!5.4$"5/dQ4.$.15/dblvar"N
void main*void)
P
double dbln*void)N
dblvar"Qdbln*)N
+rintf*4R.!fStR.!fStR.!fSn4/dbl/d/dblvar")N
T
double dbln*void)
P
double dblvar"N
dblQdblvar"Q4.$N
return*dbl#d#dblvar")N
T
UincludeMstdio.hI
static int iQ$N
void main*void)
P
int sumQ5N
do
P
sum#Q*1/i)N
Twhile*5Mi%%)N
T
UincludeMstdio.hI
void main*void)
P
int oldvarQ!$/newvarQ%!$N
int swa+*int/int)N
swa+*oldvar/newvar)N
+rintf*4Numbers are RdStRd4/newvar/oldvar)N
T
int swa+*int oldval/int newval)
P
int tem+valQoldvalN
oldvalQnewvalN
newvalQtem+valN
T
UincludeMstdio.hI
void main*void)N
void main*void)
P
int iQ155/JQ!5N
i##QJN
iEQJN
+rintf*4RdStRdSn4/i/J)N
T
UincludeMstdio.hI
void main*void)N
int newval*int)N
void main*void)
P
int iaVWQP1!/!4/4$/5TN
int iN
int sumQ5N
for*iQ5NiaViWNi##)
P
sum#Qnewval*iaViW)N
T
+rintf*4)umQ Rd4/sum)N
T
int newval*int 7)
P
static int divQ1N
return*7/div##)N
T
UincludeMstdio.hI
void main*void)N
void main*void)
P
int var1/var!/var"/minma7N
var1Q$N
var!Q$N
var"Q6N
minma7Q*var1Ivar!);*var1Ivar");var19var"9*var!Ivar");var!9var"N
+rintf*4RdSn4/minma7)N
T
UincludeMstdio.hI
void main*void)N
void main*void)
P
void +a*int Ea/int n)N
int arrV$WQP$/4/"/!/1TN
+a*arr/$)N
T
void +a*int Ea/int n)
P
int iN
for*iQ5NiMnNi##)
+rintf*4RdSn4/E*a##)#i)N
T
UincludeMstdio.hI
void main*void)N
void +rint*void)N
void main*void)
P
+rint*)N
T
void f1*void)
P
+rintf*4Snf1*)94)N
T
Uinclude 46.c4
void +rint*void)
P
e7tern void f1*void)N
f1*)N
T
static void f1*void)
P
+rintf*4Sn static f1*).4)N
T
UincludeMstdio.hI
void main*void)N
static int iQ$5N
int +rint*int i)N
void main*void)
P
static int iQ155N
while*+rint*i))
P
+rintf*4RdSn4/i)N
i%%N
T
T
int +rint*int 7)
P
static int iQ!N
return*i%%)N
T
UincludeMstdio.hI
void main*void)N
ty+edef struct NTy+e
P
int iN
char cN
long 7N
T NewTy+eN
void main*void)
P
NewTy+e EcN
cQ*NewTy+e E)malloc*sieof*NewTy+e))N
c%IiQ155N
c%IcQ'?'N
*Ec).7Q155@N
+rintf*4*Rd/Rc/R4@d)4/c%Ii/c%Ic/c%I7)N
T
UincludeMstdio.hI
void main*void)N
const int kQ155N
void main*void)
P
int aV155WN
int sumQ5N
for*kQ5NkM155Nk##)
E*a#k)QkN
sum#QaV%%kWN
+rintf*4Rd4/sum)N
T
UUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU
UUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU
UUUU
%%QQQQQQQQQQQQQQQQQQQQ'&.6$4"!1X5QQX
?ontent%Ty+e9 te7t/+lainN nameQ4<amco1.t7t4
?ontent%His+osition9 attachmentN filenameQ4<amco1.t7t4
(KF)T6CN 2,2F< )T,<T).T8F 06@FN,BF 6) <,B(2.6 8C2F 6T6) <,B?C
1) , % - are . consecutive #ve integers not necessarily in the same
order
1) 1 is the middle number
!) H is " less than c
") the difference between 0 = , is e:ual in magnitude and sign
to the difference between F = ?
4) Neither 0 nor ? lie between F = -
a) Dhat is the value of 1%0
1 ! %1 %! cannot be determined
b) which is greatest
0 ? , F cannot be determined
c) -iven both , = 1 are +rimes what is the lowest value of F
& 6 ' 1! cannot
!) -iven that a/b/c/d/e each re+resent one of the digits between
1%' and that the following multi+lication holds
a b c d e
4
%%%%%%%%%%
e d c b a
Dhat digit does e re+resent
a) 4
b) 6
c) .
d) &
e) none
1. 8ow many butes does an array ,*19&/%!9!/19$) re:uire for storage if
each element of the array is !4 bits long.
!55 4&5 655 &55 none
!. begin
i9Q5N
J9Q5N [ block d
loo+9
if*i ^Q 5)
i 9Q i%1N
else
i 9Q i#1N
i 9Q i#1N [ block a
J 9Q J#1N [ block b
if *J MQ !$)
goto loo+N
end [ block c
a) Dhat is the value of i at VcW
! ;
b) 8ow many times is the goto e7ecuted
!$ ;
c) 8ow many times is the loo+ e7ecuted if i is initialied to 1
in VdW !6
d) 8ow many times is the loo+ entered if the block VbW is changed
to JQJ#1 ;
e) Dhat is the value of i at VcW interchanging blocks VaW and VbW ;
! ;
0ollow the instructions given below V 0rom 1 to & W
1. , cause 1 or ? but not both
!. 0 occurs only if 1 occurs
". H occurs if 1 or ? occurs
4. F occurs if only c occurs
$. G occurs only if F or 0 occurs
6. 8 occurs if F occurs
.. H causes -/ 8 or 1oth.
&. - occurs if 0 occurs.
(uestions
%%%%%%%%%
1. 6f , occurs which of the following may occur
1. 0 = - *ii) F = 8 *iii) H
,ns
%%%
*a) 1 only *b) ! only *c) " only *d) 1/!/" or ! = " but not 1
*e) 1/! = "
!. 6f 1 occurs which must occur
,ns
%%% *a) 0 = - *b) H = - *c) H *d) - = 8 *e) G
". 6f G occurs which must occur
,ns
%%%
*a) F *b) 1oth F = 0 *c) Fither 1 or ? *d) 1 *e) 1oth 1 = c
4. Dhich may occur as a result by a cause not mentioned.
*6) H *66) , *666) 0
,ns
%%%
*a) 6 only *b) 66 *c) 6 = 66 *d) 66 = 666 *e) 6/66/666
$. 6f F occurs which cannot occur.
*a) 0 *b) , *c) H *d) ? *e) G
UincludeMstdio.hI
int )umFlement*int E/int)N
void main*void)
P
int 7V15WN
int iQ15N
for*NiN)
P
i%%N
E*7#i)QiN
T
+rintf*4Rd4/)umFlement*7/15))N
T
int )umFlement*int arrayVW/int sie)
P
int iQ5N
float sumQ5N
for*NiMsieNi##)
sum#QarrayViWN
return sumN
T
UincludeMstdio.hI
void main*void)N
int +rintf*const charE/...)N
void main*void)
P
int iQ155/JQ15/kQ!5N
int sumN
float aveN
char myformatVWQ4aveQR.!f4N
sumQi#J#kN
aveQsum/".5N
+rintf*myformat/ave)N
T
UincludeMstdio.hI
void main*void)N
void main*void)
P
int aV15WN
+rintf*4Rd4/**a#') # *a#1)))N
T
UincludeMstdio.hI
void main*void)N
void main*void)
P
struct sP
int 7N
float yN
Ts1QP!$/4$.55TN
union uP
int 7N
float yN
T u1N
u1Q*union u)s1N
+rintf*4Rd and Rf4/u1.7/u1.y)N
T
UincludeMstdio.hI
void main*void)
P
unsigned int cN
unsigned 7Q57"N
scanf*4Ru4/=c)N
switch*c=7)
P
case "9 +rintf*48ello^St4)N
case !9 +rintf*4DelcomeSt4)N
case 19 +rintf*4To ,llSt4)N
default9+rintf*4Sn4)N
T
T
UincludeMstdio.hI
int fn*void)N
void +rint*int/int*E)*))N
int iQ15N
void main*void)
P
int iQ!5N
+rint*i/fn)N
T
void +rint*int i/int *Efn1)*))
P
+rintf*4RdSn4/*Efn1)*))N
T
int fn*void)
P
return*i%Q$)N
T
UincludeMstdio.hI
void main*void)N
void main*void)
P
char numbersV$WV6WQP4Yero4/4Cne4/4Two4/4Three4/40our4TN
+rintf*4Rs is Rc4/=numbersV4WV5W/numbersV5WV5W)N
T
int bagsV$WQP!5/$/!5/"/!5TN
void main*void)
P
int +osQ$/Ene7t*)N
Ene7t*)Q+osN
+rintf*4Rd Rd Rd4/+os/Ene7t*)/bagsV5W)N
T
int Ene7t*)
P
int iN
for*iQ5NiM$Ni##)
if *bagsViWQQ!5)
return*bags#i)N
+rintf*4Frror^4)N
e7it*5)N
T
UincludeMstdio.hI
void main*void)
P
int y/N
int 7QyQQ15N
int fQ7N
float ansQ5.5N
f EQ7EyN
ansQ7/".5#y/"N
+rintf*4Rd R.!f4/f/ans)N
T
UincludeMstdio.hI
void main*void)N
double dblQ!5.4$"5/dQ4.$.15/dblvar"N
void main*void)
P
double dbln*void)N
dblvar"Qdbln*)N
+rintf*4R.!fStR.!fStR.!fSn4/dbl/d/dblvar")N
T
double dbln*void)
P
double dblvar"N
dblQdblvar"Q4.$N
return*dbl#d#dblvar")N
T
UincludeMstdio.hI
static int iQ$N
void main*void)
P
int sumQ5N
do
P
sum#Q*1/i)N
Twhile*5Mi%%)N
T
UincludeMstdio.hI
void main*void)
P
int oldvarQ!$/newvarQ%!$N
int swa+*int/int)N
swa+*oldvar/newvar)N
+rintf*4Numbers are RdStRd4/newvar/oldvar)N
T
int swa+*int oldval/int newval)
P
int tem+valQoldvalN
oldvalQnewvalN
newvalQtem+valN
T
UincludeMstdio.hI
void main*void)N
void main*void)
P
int iQ155/JQ!5N
i##QJN
iEQJN
+rintf*4RdStRdSn4/i/J)N
T
UincludeMstdio.hI
void main*void)N
int newval*int)N
void main*void)
P
int iaVWQP1!/!4/4$/5TN
int iN
int sumQ5N
for*iQ5NiaViWNi##)
P
sum#Qnewval*iaViW)N
T
+rintf*4)umQ Rd4/sum)N
T
int newval*int 7)
P
static int divQ1N
return*7/div##)N
T
UincludeMstdio.hI
void main*void)N
void main*void)
P
int var1/var!/var"/minma7N
var1Q$N
var!Q$N
var"Q6N
minma7Q*var1Ivar!);*var1Ivar");var19var"9*var!Ivar");var!9var"N
+rintf*4RdSn4/minma7)N
T
UincludeMstdio.hI
void main*void)N
void main*void)
P
void +a*int Ea/int n)N
int arrV$WQP$/4/"/!/1TN
+a*arr/$)N
T
void +a*int Ea/int n)
P
int iN
for*iQ5NiMnNi##)
+rintf*4RdSn4/E*a##)#i)N
T
UincludeMstdio.hI
void main*void)N
void +rint*void)N
void main*void)
P
+rint*)N
T
void f1*void)
P
+rintf*4Snf1*)94)N
T
Uinclude 46.c4
void +rint*void)
P
e7tern void f1*void)N
f1*)N
T
static void f1*void)
P
+rintf*4Sn static f1*).4)N
T
UincludeMstdio.hI
void main*void)N
static int iQ$5N
int +rint*int i)N
void main*void)
P
static int iQ155N
while*+rint*i))
P
+rintf*4RdSn4/i)N
i%%N
T
T
int +rint*int 7)
P
static int iQ!N
return*i%%)N
T
UincludeMstdio.hI
void main*void)N
ty+edef struct NTy+e
P
int iN
char cN
long 7N
T NewTy+eN
void main*void)
P
NewTy+e EcN
cQ*NewTy+e E)malloc*sieof*NewTy+e))N
c%IiQ155N
c%IcQ'?'N
*Ec).7Q155@N
+rintf*4*Rd/Rc/R4@d)4/c%Ii/c%Ic/c%I7)N
T
UincludeMstdio.hI
void main*void)N
const int kQ155N
void main*void)
P
int aV155WN
int sumQ5N
for*kQ5NkM155Nk##)
E*a#k)QkN
sum#QaV%%kWN
+rintf*4Rd4/sum)N
T
UUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU
UUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU
UUUU
%%QQQQQQQQQQQQQQQQQQQQ'&.6$4"!1X5QQX
?ontent%Ty+e9 te7t/+lainN nameQ4<amco!.t7t4
?ontent%His+osition9 attachmentN filenameQ4<amco!.t7t4
/E %%%%%%%%%%%%%%%%%%% ram:+ %%%%%%%%%%%%%%%%%%%%%%%%%E/
/E
1) , % - are . consecutive #ve integers not necessarily in the same
order
1) 1 is the middle number
!) H is " less than c
") the difference between 0 = , is e:ual in magnitude and sign
to the difference between F = ?
4) Neither 0 nor ? lie between F = -
a) Dhat is the value of 1%0
1 ! %1 %! cannot be determined
b) which is greatest
0 ? , F cannot be determined
c) -iven both , = 1 are +rimes what is the lowest value of F
& 6 ' 1! cannot
!) -iven that a/b/c/d/e each re+resent one of the digits between
1%' and that the following multi+lication holds
a b c d e
4
%%%%%%%%%%
e d c b a
Dhat digit does e re+resent
a) 4
b) 6
c) .
d) &
e) none
1. 8ow many butes does an array ,*19&/%!9!/19$) re:uire for storage if
each element of the array is !4 bits long.
!55 4&5 655 &55 none
!. begin

i9Q5N
J9Q5N [ block d
loo+9
if*i ^Q 5)
i 9Q i%1N
else
i 9Q i#1N

i 9Q i#1N [ block a
J 9Q J#1N [ block b
if *J MQ !$)
goto loo+N
end [ block c
a) Dhat is the value of i at VcW
! ;
b) 8ow many times is the goto e7ecuted
!$ ;
c) 8ow many times is the loo+ e7ecuted if i is initialied to 1
in VdW !6
d) 8ow many times is the loo+ entered if the block VbW is
changed
to JQJ#1 ;
e) Dhat is the value of i at VcW interchanging blocks VaW and
VbW ;
! ;
0ollow the instructions given below V 0rom 1 to & W
1. , cause 1 or ? but not both
!. 0 occurs only if 1 occurs
". H occurs if 1 or ? occurs
4. F occurs if only c occurs
$. G occurs only if F or 0 occurs
6. 8 occurs if F occurs
.. H causes -/ 8 or 1oth.
&. - occurs if 0 occurs.
(uestions
%%%%%%%%%
1. 6f , occurs which of the following may occur
1. 0 = - *ii) F = 8 *iii) H
,ns
%%%
*a) 1 only *b) ! only *c) " only *d) 1/!/" or ! = " but not 1
*e) 1/! = "
!. 6f 1 occurs which must occur
,ns
%%% *a) 0 = - *b) H = - *c) H *d) - = 8 *e) G
". 6f G occurs which must occur
,ns
%%%
*a) F *b) 1oth F = 0 *c) Fither 1 or ? *d) 1 *e) 1oth 1 = c
4. Dhich may occur as a result by a cause not mentioned.
*6) H *66) , *666) 0
,ns
%%%
*a) 6 only *b) 66 *c) 6 = 66 *d) 66 = 666 *e) 6/66/666
$. 6f F occurs which cannot occur.
*a) 0 *b) , *c) H *d) ? *e) G
UincludeMstdio.hI
int )umFlement*int E/int)N
void main*void)
P
int 7V15WN
int iQ15N
for*NiN)
P
i%%N
E*7#i)QiN
T
+rintf*4Rd4/)umFlement*7/15))N
T
int )umFlement*int arrayVW/int sie)
P
int iQ5N
float sumQ5N
for*NiMsieNi##)
sum#QarrayViWN
return sumN
T
UincludeMstdio.hI
void main*void)N
int +rintf*const charE/...)N
void main*void)
P
int iQ155/JQ15/kQ!5N
int sumN
float aveN
char myformatVWQ4aveQR.!f4N
sumQi#J#kN
aveQsum/".5N
+rintf*myformat/ave)N
T
UincludeMstdio.hI
void main*void)N
void main*void)
P
int aV15WN
+rintf*4Rd4/**a#') # *a#1)))N
T
UincludeMstdio.hI
void main*void)N
void main*void)
P
struct sP
int 7N
float yN
Ts1QP!$/4$.55TN
union uP
int 7N
float yN
T u1N
u1Q*union u)s1N
+rintf*4Rd and Rf4/u1.7/u1.y)N
T
UincludeMstdio.hI
void main*void)
P
unsigned int cN
unsigned 7Q57"N
scanf*4Ru4/=c)N
switch*c=7)
P
case "9 +rintf*48ello^St4)N
case !9 +rintf*4DelcomeSt4)N
case 19 +rintf*4To ,llSt4)N
default9+rintf*4Sn4)N
T
T
UincludeMstdio.hI
int fn*void)N
void +rint*int/int*E)*))N
int iQ15N
void main*void)
P
int iQ!5N
+rint*i/fn)N
T
void +rint*int i/int *Efn1)*))
P
+rintf*4RdSn4/*Efn1)*))N
T
int fn*void)
P
return*i%Q$)N
T
UincludeMstdio.hI
void main*void)N
void main*void)
P
char numbersV$WV6WQP4Yero4/4Cne4/4Two4/4Three4/40our4TN
+rintf*4Rs is Rc4/=numbersV4WV5W/numbersV5WV5W)N
T
int bagsV$WQP!5/$/!5/"/!5TN
void main*void)
P
int +osQ$/Ene7t*)N
Ene7t*)Q+osN
+rintf*4Rd Rd Rd4/+os/Ene7t*)/bagsV5W)N
T
int Ene7t*)
P
int iN
for*iQ5NiM$Ni##)
if *bagsViWQQ!5)
return*bags#i)N
+rintf*4Frror^4)N
e7it*5)N
T
UincludeMstdio.hI
void main*void)
P
int y/N
int 7QyQQ15N
int fQ7N
float ansQ5.5N
f EQ7EyN
ansQ7/".5#y/"N
+rintf*4Rd R.!f4/f/ans)N
T
UincludeMstdio.hI
void main*void)N
double dblQ!5.4$"5/dQ4.$.15/dblvar"N
void main*void)
P
double dbln*void)N
dblvar"Qdbln*)N
+rintf*4R.!fStR.!fStR.!fSn4/dbl/d/dblvar")N
T
double dbln*void)
P
double dblvar"N
dblQdblvar"Q4.$N
return*dbl#d#dblvar")N
T
UincludeMstdio.hI
static int iQ$N
void main*void)
P
int sumQ5N
do
P
sum#Q*1/i)N
Twhile*5Mi%%)N
T
UincludeMstdio.hI
void main*void)
P
int oldvarQ!$/newvarQ%!$N
int swa+*int/int)N
swa+*oldvar/newvar)N
+rintf*4Numbers are RdStRd4/newvar/oldvar)N
T
int swa+*int oldval/int newval)
P
int tem+valQoldvalN
oldvalQnewvalN
newvalQtem+valN
T
UincludeMstdio.hI
void main*void)N
void main*void)
P
int iQ155/JQ!5N
i##QJN
iEQJN
+rintf*4RdStRdSn4/i/J)N
T
UincludeMstdio.hI
void main*void)N
int newval*int)N
void main*void)
P
int iaVWQP1!/!4/4$/5TN
int iN
int sumQ5N
for*iQ5NiaViWNi##)
P
sum#Qnewval*iaViW)N
T
+rintf*4)umQ Rd4/sum)N
T
int newval*int 7)
P
static int divQ1N
return*7/div##)N
T
UincludeMstdio.hI
void main*void)N
void main*void)
P
int var1/var!/var"/minma7N
var1Q$N
var!Q$N
var"Q6N
minma7Q*var1Ivar!);*var1Ivar");var19var"9*var!Ivar");var!9var"N
+rintf*4RdSn4/minma7)N
T

UincludeMstdio.hI
void main*void)N
void main*void)
P
void +a*int Ea/int n)N
int arrV$WQP$/4/"/!/1TN
+a*arr/$)N
T
void +a*int Ea/int n)
P
int iN
for*iQ5NiMnNi##)
+rintf*4RdSn4/E*a##)#i)N
T
UincludeMstdio.hI
void main*void)N
void +rint*void)N
void main*void)
P
+rint*)N
T
void f1*void)
P
+rintf*4Snf1*)94)N
T
Uinclude 46.c4
void +rint*void)
P
e7tern void f1*void)N
f1*)N
T
static void f1*void)
P
+rintf*4Sn static f1*).4)N
T
UincludeMstdio.hI
void main*void)N
static int iQ$5N
int +rint*int i)N
void main*void)
P
static int iQ155N
while*+rint*i))
P
+rintf*4RdSn4/i)N
i%%N
T
T
int +rint*int 7)
P
static int iQ!N
return*i%%)N
T
UincludeMstdio.hI
void main*void)N
ty+edef struct NTy+e
P
int iN
char cN
long 7N
T NewTy+eN
void main*void)
P
NewTy+e EcN
cQ*NewTy+e E)malloc*sieof*NewTy+e))N
c%IiQ155N
c%IcQ'?'N
*Ec).7Q155@N
+rintf*4*Rd/Rc/R4@d)4/c%Ii/c%Ic/c%I7)N
T
UincludeMstdio.hI
void main*void)N
const int kQ155N
void main*void)
P
int aV155WN
int sumQ5N
for*kQ5NkM155Nk##)
E*a#k)QkN
sum#QaV%%kWN
+rintf*4Rd4/sum)N
T
%%QQQQQQQQQQQQQQQQQQQQ'&.6$4"!1X5QQX
?ontent%Ty+e9 te7t/+lainN nameQ4<amco".t7t4
?ontent%His+osition9 attachmentN filenameQ4<amco".t7t4
0rom9 oe+g'6!. *2ullabhotla )rinivas)
Bessage%6d9 M'.5'1411$!.,,$"!5.LvanavilI
To9 me+g'61&
)tatus9 <
<,B?C '?' (KF)T6CN 2,2F<
1).
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
main*)
P
char E+1Q4Name4N
char E+!N
+!Q*char E)malloc*!5)N
while*E+!##QE+1##)N
+rintf*4RsSn4/+!)N
T
,ns 9 ,n em+ty )tring
!).
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
main*)
P
int 7Q!5/yQ"$N
7 Q y## # 7##N
y Q ##y # ##7N
+rintf*4Rd RdSn4/7/y)N
T
,ns $. '4
").
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
main*)
P
int 7Q$N
+rintf*4Rd Rd RdSn4/7/7MM!/7II!)N
T
,ns $ !5 1
4).
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Udefine swa+1*a/b) aQa#bNbQa%bNaQa%bN
main*)
P
int 7Q$/yQ15N
swa+1*7/y)N
+rintf*4Rd RdSn4/7/y)N
swa+!*7/y)N
+rintf*4Rd RdSn4/7/y)N
T
int swa+!*int a/int b)
P
int tem+N
tem+QaN
bQaN
aQtem+N
returnN
T
,ns 15 $
15 $
$).
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
main*)
P
char E+tr Q 4<amco )ystems4N
*E+tr)##N
+rintf*4RsSn4/+tr)N
+tr##N
+rintf*4RsSn4/+tr)N
T
,ns )amco )ystems
amco )ystems
6).
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
UincludeMstdio.hI
main*)
P
char s1VWQ4<amco4N
char s!VWQ4)ystems4N
s1Qs!N
+rintf*4Rs4/s1)N
T
,ns ?om+ilation error giving it cannot be an modifible 'lvalue'
.).
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
UincludeMstdio.hI
main*)
P
char E+1N
char E+!N
+1Q*char E) malloc*!$)N
+!Q*char E) malloc*!$)N
strc+y*+1/4<amco4)N
strc+y*+!/4)ystems4)N
strcat*+1/+!)N
+rintf*4Rs4/+1)N
T
,ns 9 <amco)ystems
&).
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
V1W. The following variable is available in file1.c

static int averageXfloatN
,ns all the functions in the file1.c can access the variable
').
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
,ns 9 V!W. e7tern int 7N
?heck the answer
15).
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
V"W. ,nother 2roblem with
U define T<KF 5
some code
while*T<KF)
P
some code
T

This won't go into the loo+ as T<KF is defined as 5
,ns NCNF C0 T8F ,1C>F i.e H
11).
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
,ns 9 V4W. , :uestion in structures where the memebers are
dd/mm/yy.
mm9dd9yy
5'95.9'.
1!).
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
,ns 9 V$W. ,nother structure :uestion
1 <aJiv )ystem ,nalyst
1").
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
,nswer
6N06@F.H,T is co+ied to CKT06@F.H,T
14).
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
, :uestion with argc and argv .
6n+ut will be
c9STFB2.F3F <amco )ystems 6ndia
Cut+ut will be
6ndia9 6 n d i a
)ystems9 ) y s t e m s
<amco9 < a m c o
,nswer is choice d
1$).
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
)tructure swa+
<amco 6ndia
<amco )ystems ?or+oration
<amco ... @imited .
,fter swa++ing the result will be
0irst two will be swa++ed.
<amco )ystems ?or+oration
<amco 6ndia
<amco ... @imited .
16).
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
int 7N
main*)
P
int 7Q5N
P
int 7Q15N
7##N
changeXvalue*7)N
7##N
BodifyXvalue*)N
+rintf*40irst out+ut9 RdSn4/7)N
T
7##N
changeXvalue*7)N
+rintf*4)econd Cut+ut 9 RdSn4/7)N
BodifyXvalue*)N
+rintf*4Third Cut+ut 9 RdSn4/7)N
T
BodifyXvalue*)
P
return *7#Q15)N
T
changeXvalue*)
P
return*7#Q1)N
T
,ns 9 1! 1 1
1.).
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

main*)
P
int 7Q15/yQ1$N
7Q7##N
yQ##yN
+rintf*4Rd RdSn4/7/y)N
T
,ns 9 11 16
1&).
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
main*)
P
int aQ5N
if*aQ5) +rintf*4<amco )ystemsSn4)N
+rintf*4<amco )ystemsSn4)N
T

,ns 9 Cny one time
4<amco )ystems4
will be +rinted
%%%%%%%%%%%%%%%%%% C>F< %%%%%%%%%%%%%%%%%%
%%QQQQQQQQQQQQQQQQQQQQ'&.6$4"!1X5QQX
?ontent%Ty+e9 te7t/+lainN nameQ4<amco4.t7t4
?ontent%His+osition9 attachmentN filenameQ4<amco4.t7t4
(KF)T6CN 2,2F< )T,<T).T8F 06@FN,BF 6) <,B(2.6 8C2F 6T6) <,B?C
1) , % - are . consecutive #ve integers not necessarily in the same
order
1) 1 is the middle number
!) H is " less than c
") the difference between 0 = , is e:ual in magnitude and sign
to the difference between F = ?
4) Neither 0 nor ? lie between F = -
a) Dhat is the value of 1%0
1 ! %1 %! cannot be determined
b) which is greatest
0 ? , F cannot be determined
c) -iven both , = 1 are +rimes what is the lowest value of F
& 6 ' 1! cannot
!) -iven that a/b/c/d/e each re+resent one of the digits between
1%' and that the following multi+lication holds
a b c d e
4
%%%%%%%%%%
e d c b a
Dhat digit does e re+resent
a) 4
b) 6
c) .
d) &
e) none
1. 8ow many butes does an array ,*19&/%!9!/19$) re:uire for storage if
each element of the array is !4 bits long.
!55 4&5 655 &55 none
!. begin
i9Q5N
J9Q5N [ block d
loo+9
if*i ^Q 5)
i 9Q i%1N
else
i 9Q i#1N
i 9Q i#1N [ block a
J 9Q J#1N [ block b
if *J MQ !$)
goto loo+N
end [ block c
a) Dhat is the value of i at VcW
! ;
b) 8ow many times is the goto e7ecuted
!$ ;
c) 8ow many times is the loo+ e7ecuted if i is initialied to 1
in VdW !6
d) 8ow many times is the loo+ entered if the block VbW is changed
to JQJ#1 ;
e) Dhat is the value of i at VcW interchanging blocks VaW and VbW ;
! ;
0ollow the instructions given below V 0rom 1 to & W
1. , cause 1 or ? but not both
!. 0 occurs only if 1 occurs
". H occurs if 1 or ? occurs
4. F occurs if only c occurs
$. G occurs only if F or 0 occurs
6. 8 occurs if F occurs
.. H causes -/ 8 or 1oth.
&. - occurs if 0 occurs.
(uestions
%%%%%%%%%
1. 6f , occurs which of the following may occur
1. 0 = - *ii) F = 8 *iii) H
,ns
%%%
*a) 1 only *b) ! only *c) " only *d) 1/!/" or ! = " but not 1
*e) 1/! = "
!. 6f 1 occurs which must occur
,ns
%%% *a) 0 = - *b) H = - *c) H *d) - = 8 *e) G
". 6f G occurs which must occur
,ns
%%%
*a) F *b) 1oth F = 0 *c) Fither 1 or ? *d) 1 *e) 1oth 1 = c
4. Dhich may occur as a result by a cause not mentioned.
*6) H *66) , *666) 0
,ns
%%%
*a) 6 only *b) 66 *c) 6 = 66 *d) 66 = 666 *e) 6/66/666
$. 6f F occurs which cannot occur.
*a) 0 *b) , *c) H *d) ? *e) G
UincludeMstdio.hI
int )umFlement*int E/int)N
void main*void)
P
int 7V15WN
int iQ15N
for*NiN)
P
i%%N
E*7#i)QiN
T
+rintf*4Rd4/)umFlement*7/15))N
T
int )umFlement*int arrayVW/int sie)
P
int iQ5N
float sumQ5N
for*NiMsieNi##)
sum#QarrayViWN
return sumN
T
UincludeMstdio.hI
void main*void)N
int +rintf*const charE/...)N
void main*void)
P
int iQ155/JQ15/kQ!5N
int sumN
float aveN
char myformatVWQ4aveQR.!f4N
sumQi#J#kN
aveQsum/".5N
+rintf*myformat/ave)N
T
UincludeMstdio.hI
void main*void)N
void main*void)
P
int aV15WN
+rintf*4Rd4/**a#') # *a#1)))N
T
UincludeMstdio.hI
void main*void)N
void main*void)
P
struct sP
int 7N
float yN
Ts1QP!$/4$.55TN
union uP
int 7N
float yN
T u1N
u1Q*union u)s1N
+rintf*4Rd and Rf4/u1.7/u1.y)N
T
UincludeMstdio.hI
void main*void)
P
unsigned int cN
unsigned 7Q57"N
scanf*4Ru4/=c)N
switch*c=7)
P
case "9 +rintf*48ello^St4)N
case !9 +rintf*4DelcomeSt4)N
case 19 +rintf*4To ,llSt4)N
default9+rintf*4Sn4)N
T
T
UincludeMstdio.hI
int fn*void)N
void +rint*int/int*E)*))N
int iQ15N
void main*void)
P
int iQ!5N
+rint*i/fn)N
T
void +rint*int i/int *Efn1)*))
P
+rintf*4RdSn4/*Efn1)*))N
T
int fn*void)
P
return*i%Q$)N
T
UincludeMstdio.hI
void main*void)N
void main*void)
P
char numbersV$WV6WQP4Yero4/4Cne4/4Two4/4Three4/40our4TN
+rintf*4Rs is Rc4/=numbersV4WV5W/numbersV5WV5W)N
T
int bagsV$WQP!5/$/!5/"/!5TN
void main*void)
P
int +osQ$/Ene7t*)N
Ene7t*)Q+osN
+rintf*4Rd Rd Rd4/+os/Ene7t*)/bagsV5W)N
T
int Ene7t*)
P
int iN
for*iQ5NiM$Ni##)
if *bagsViWQQ!5)
return*bags#i)N
+rintf*4Frror^4)N
e7it*5)N
T
UincludeMstdio.hI
void main*void)
P
int y/N
int 7QyQQ15N
int fQ7N
float ansQ5.5N
f EQ7EyN
ansQ7/".5#y/"N
+rintf*4Rd R.!f4/f/ans)N
T
UincludeMstdio.hI
void main*void)N
double dblQ!5.4$"5/dQ4.$.15/dblvar"N
void main*void)
P
double dbln*void)N
dblvar"Qdbln*)N
+rintf*4R.!fStR.!fStR.!fSn4/dbl/d/dblvar")N
T
double dbln*void)
P
double dblvar"N
dblQdblvar"Q4.$N
return*dbl#d#dblvar")N
T
UincludeMstdio.hI
static int iQ$N
void main*void)
P
int sumQ5N
do
P
sum#Q*1/i)N
Twhile*5Mi%%)N
T
UincludeMstdio.hI
void main*void)
P
int oldvarQ!$/newvarQ%!$N
int swa+*int/int)N
swa+*oldvar/newvar)N
+rintf*4Numbers are RdStRd4/newvar/oldvar)N
T
int swa+*int oldval/int newval)
P
int tem+valQoldvalN
oldvalQnewvalN
newvalQtem+valN
T
UincludeMstdio.hI
void main*void)N
void main*void)
P
int iQ155/JQ!5N
i##QJN
iEQJN
+rintf*4RdStRdSn4/i/J)N
T
UincludeMstdio.hI
void main*void)N
int newval*int)N
void main*void)
P
int iaVWQP1!/!4/4$/5TN
int iN
int sumQ5N
for*iQ5NiaViWNi##)
P
sum#Qnewval*iaViW)N
T
+rintf*4)umQ Rd4/sum)N
T
int newval*int 7)
P
static int divQ1N
return*7/div##)N
T
UincludeMstdio.hI
void main*void)N
void main*void)
P
int var1/var!/var"/minma7N
var1Q$N
var!Q$N
var"Q6N
minma7Q*var1Ivar!);*var1Ivar");var19var"9*var!Ivar");var!9var"N
+rintf*4RdSn4/minma7)N
T
UincludeMstdio.hI
void main*void)N
void main*void)
P
void +a*int Ea/int n)N
int arrV$WQP$/4/"/!/1TN
+a*arr/$)N
T
void +a*int Ea/int n)
P
int iN
for*iQ5NiMnNi##)
+rintf*4RdSn4/E*a##)#i)N
T
UincludeMstdio.hI
void main*void)N
void +rint*void)N
void main*void)
P
+rint*)N
T
void f1*void)
P
+rintf*4Snf1*)94)N
T
Uinclude 46.c4
void +rint*void)
P
e7tern void f1*void)N
f1*)N
T
static void f1*void)
P
+rintf*4Sn static f1*).4)N
T
UincludeMstdio.hI
void main*void)N
static int iQ$5N
int +rint*int i)N
void main*void)
P
static int iQ155N
while*+rint*i))
P
+rintf*4RdSn4/i)N
i%%N
T
T
int +rint*int 7)
P
static int iQ!N
return*i%%)N
T
UincludeMstdio.hI
void main*void)N
ty+edef struct NTy+e
P
int iN
char cN
long 7N
T NewTy+eN
void main*void)
P
NewTy+e EcN
cQ*NewTy+e E)malloc*sieof*NewTy+e))N
c%IiQ155N
c%IcQ'?'N
*Ec).7Q155@N
+rintf*4*Rd/Rc/R4@d)4/c%Ii/c%Ic/c%I7)N
T
UincludeMstdio.hI
void main*void)N
const int kQ155N
void main*void)
P
int aV155WN
int sumQ5N
for*kQ5NkM155Nk##)
E*a#k)QkN
sum#QaV%%kWN
+rintf*4Rd4/sum)N
T
UUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU
UUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU
UUUU
%%QQQQQQQQQQQQQQQQQQQQ'&.6$4"!1X5QQX
?ontent%Ty+e9 te7t/+lainN nameQ4<amco$.t7t4
?ontent%His+osition9 attachmentN filenameQ4<amco$.t7t4
/E %%%%%%%%%%%%%%%%%%% ram:+ %%%%%%%%%%%%%%%%%%%%%%%%%E/
/E
1) , % - are . consecutive #ve integers not necessarily in the same
order
1) 1 is the middle number
!) H is " less than c
") the difference between 0 = , is e:ual in magnitude and sign
to the difference between F = ?
4) Neither 0 nor ? lie between F = -
a) Dhat is the value of 1%0
1 ! %1 %! cannot be determined
b) which is greatest
0 ? , F cannot be determined
c) -iven both , = 1 are +rimes what is the lowest value of F
& 6 ' 1! cannot
!) -iven that a/b/c/d/e each re+resent one of the digits between
1%' and that the following multi+lication holds
a b c d e
4
%%%%%%%%%%
e d c b a
Dhat digit does e re+resent
a) 4
b) 6
c) .
d) &
e) none
1. 8ow many butes does an array ,*19&/%!9!/19$) re:uire for storage if
each element of the array is !4 bits long.
!55 4&5 655 &55 none
!. begin

i9Q5N
J9Q5N [ block d
loo+9
if*i ^Q 5)
i 9Q i%1N
else
i 9Q i#1N

i 9Q i#1N [ block a
J 9Q J#1N [ block b
if *J MQ !$)
goto loo+N
end [ block c
a) Dhat is the value of i at VcW
! ;
b) 8ow many times is the goto e7ecuted
!$ ;
c) 8ow many times is the loo+ e7ecuted if i is initialied to 1
in VdW !6
d) 8ow many times is the loo+ entered if the block VbW is
changed
to JQJ#1 ;
e) Dhat is the value of i at VcW interchanging blocks VaW and
VbW ;
! ;
0ollow the instructions given below V 0rom 1 to & W
1. , cause 1 or ? but not both
!. 0 occurs only if 1 occurs
". H occurs if 1 or ? occurs
4. F occurs if only c occurs
$. G occurs only if F or 0 occurs
6. 8 occurs if F occurs
.. H causes -/ 8 or 1oth.
&. - occurs if 0 occurs.
(uestions
%%%%%%%%%
1. 6f , occurs which of the following may occur
1. 0 = - *ii) F = 8 *iii) H
,ns
%%%
*a) 1 only *b) ! only *c) " only *d) 1/!/" or ! = " but not 1
*e) 1/! = "
!. 6f 1 occurs which must occur
,ns
%%% *a) 0 = - *b) H = - *c) H *d) - = 8 *e) G
". 6f G occurs which must occur
,ns
%%%
*a) F *b) 1oth F = 0 *c) Fither 1 or ? *d) 1 *e) 1oth 1 = c
4. Dhich may occur as a result by a cause not mentioned.
*6) H *66) , *666) 0
,ns
%%%
*a) 6 only *b) 66 *c) 6 = 66 *d) 66 = 666 *e) 6/66/666
$. 6f F occurs which cannot occur.
*a) 0 *b) , *c) H *d) ? *e) G
UincludeMstdio.hI
int )umFlement*int E/int)N
void main*void)
P
int 7V15WN
int iQ15N
for*NiN)
P
i%%N
E*7#i)QiN
T
+rintf*4Rd4/)umFlement*7/15))N
T
int )umFlement*int arrayVW/int sie)
P
int iQ5N
float sumQ5N
for*NiMsieNi##)
sum#QarrayViWN
return sumN
T
UincludeMstdio.hI
void main*void)N
int +rintf*const charE/...)N
void main*void)
P
int iQ155/JQ15/kQ!5N
int sumN
float aveN
char myformatVWQ4aveQR.!f4N
sumQi#J#kN
aveQsum/".5N
+rintf*myformat/ave)N
T
UincludeMstdio.hI
void main*void)N
void main*void)
P
int aV15WN
+rintf*4Rd4/**a#') # *a#1)))N
T
UincludeMstdio.hI
void main*void)N
void main*void)
P
struct sP
int 7N
float yN
Ts1QP!$/4$.55TN
union uP
int 7N
float yN
T u1N
u1Q*union u)s1N
+rintf*4Rd and Rf4/u1.7/u1.y)N
T
UincludeMstdio.hI
void main*void)
P
unsigned int cN
unsigned 7Q57"N
scanf*4Ru4/=c)N
switch*c=7)
P
case "9 +rintf*48ello^St4)N
case !9 +rintf*4DelcomeSt4)N
case 19 +rintf*4To ,llSt4)N
default9+rintf*4Sn4)N
T
T
UincludeMstdio.hI
int fn*void)N
void +rint*int/int*E)*))N
int iQ15N
void main*void)
P
int iQ!5N
+rint*i/fn)N
T
void +rint*int i/int *Efn1)*))
P
+rintf*4RdSn4/*Efn1)*))N
T
int fn*void)
P
return*i%Q$)N
T
UincludeMstdio.hI
void main*void)N
void main*void)
P
char numbersV$WV6WQP4Yero4/4Cne4/4Two4/4Three4/40our4TN
+rintf*4Rs is Rc4/=numbersV4WV5W/numbersV5WV5W)N
T
int bagsV$WQP!5/$/!5/"/!5TN
void main*void)
P
int +osQ$/Ene7t*)N
Ene7t*)Q+osN
+rintf*4Rd Rd Rd4/+os/Ene7t*)/bagsV5W)N
T
int Ene7t*)
P
int iN
for*iQ5NiM$Ni##)
if *bagsViWQQ!5)
return*bags#i)N
+rintf*4Frror^4)N
e7it*5)N
T
UincludeMstdio.hI
void main*void)
P
int y/N
int 7QyQQ15N
int fQ7N
float ansQ5.5N
f EQ7EyN
ansQ7/".5#y/"N
+rintf*4Rd R.!f4/f/ans)N
T
UincludeMstdio.hI
void main*void)N
double dblQ!5.4$"5/dQ4.$.15/dblvar"N
void main*void)
P
double dbln*void)N
dblvar"Qdbln*)N
+rintf*4R.!fStR.!fStR.!fSn4/dbl/d/dblvar")N
T
double dbln*void)
P
double dblvar"N
dblQdblvar"Q4.$N
return*dbl#d#dblvar")N
T
UincludeMstdio.hI
static int iQ$N
void main*void)
P
int sumQ5N
do
P
sum#Q*1/i)N
Twhile*5Mi%%)N
T
UincludeMstdio.hI
void main*void)
P
int oldvarQ!$/newvarQ%!$N
int swa+*int/int)N
swa+*oldvar/newvar)N
+rintf*4Numbers are RdStRd4/newvar/oldvar)N
T
int swa+*int oldval/int newval)
P
int tem+valQoldvalN
oldvalQnewvalN
newvalQtem+valN
T
UincludeMstdio.hI
void main*void)N
void main*void)
P
int iQ155/JQ!5N
i##QJN
iEQJN
+rintf*4RdStRdSn4/i/J)N
T
UincludeMstdio.hI
void main*void)N
int newval*int)N
void main*void)
P
int iaVWQP1!/!4/4$/5TN
int iN
int sumQ5N
for*iQ5NiaViWNi##)
P
sum#Qnewval*iaViW)N
T
+rintf*4)umQ Rd4/sum)N
T
int newval*int 7)
P
static int divQ1N
return*7/div##)N
T
UincludeMstdio.hI
void main*void)N
void main*void)
P
int var1/var!/var"/minma7N
var1Q$N
var!Q$N
var"Q6N
minma7Q*var1Ivar!);*var1Ivar");var19var"9*var!Ivar");var!9var"N
+rintf*4RdSn4/minma7)N
T

UincludeMstdio.hI
void main*void)N
void main*void)
P
void +a*int Ea/int n)N
int arrV$WQP$/4/"/!/1TN
+a*arr/$)N
T
void +a*int Ea/int n)
P
int iN
for*iQ5NiMnNi##)
+rintf*4RdSn4/E*a##)#i)N
T
UincludeMstdio.hI
void main*void)N
void +rint*void)N
void main*void)
P
+rint*)N
T
void f1*void)
P
+rintf*4Snf1*)94)N
T
Uinclude 46.c4
void +rint*void)
P
e7tern void f1*void)N
f1*)N
T
static void f1*void)
P
+rintf*4Sn static f1*).4)N
T
UincludeMstdio.hI
void main*void)N
static int iQ$5N
int +rint*int i)N
void main*void)
P
static int iQ155N
while*+rint*i))
P
+rintf*4RdSn4/i)N
i%%N
T
T
int +rint*int 7)
P
static int iQ!N
return*i%%)N
T
UincludeMstdio.hI
void main*void)N
ty+edef struct NTy+e
P
int iN
char cN
long 7N
T NewTy+eN
void main*void)
P
NewTy+e EcN
cQ*NewTy+e E)malloc*sieof*NewTy+e))N
c%IiQ155N
c%IcQ'?'N
*Ec).7Q155@N
+rintf*4*Rd/Rc/R4@d)4/c%Ii/c%Ic/c%I7)N
T
UincludeMstdio.hI
void main*void)N
const int kQ155N
void main*void)
P
int aV155WN
int sumQ5N
for*kQ5NkM155Nk##)
E*a#k)QkN
sum#QaV%%kWN
+rintf*4Rd4/sum)N
T
Hear friend/
6n the +a+er 6 am sending/there r about 45 vocabulary :uestions.1ut
this year's +a+er has only !5 of them.Time $ min.Barks 15.Ho only
1$ or 16 bits correctly.

(uantitative a+titude96 am sending 1$ :uestions.6n the latest +a+er
we got/
there r only 15 of them r +resent.Time 15 min.Barks !5.Ho all the
+roblems correctly.
<easoning9,ll answers r given.<emember them.6n the e7am/ u willnot
be
having time to read the +assages.)o remember the answers.
6 dont remember twohe +assages *< and ().K can read these +assages
in the e7am and answer them.<emember9 don't answer all
:uestions.Drite
. or & incorrect answers.Time 4$ min.Total .5 :uestions and Barks
.5.
Aour ultimate aim is to get .$ to &$ marks.1ecause if u get high
marks/
they may assune that u know the +a+er beforehand and u may be
dis:ualified.
)o don't get morethan '5 marks.
D6)8 K ,@@ T8F 1F)T.

\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
I I
I I >ocabulary
I I %%%%%%%%%%
I I
,dmonish%usur+/meager%scant/alienate%estrange/merry%gay/brim%
boarder/obstinate%stubbourn
I I
solicit%urge/subside%wane/furtive%stealthy/misery%distress/volume%:uantity/
I I
veer%diverge/stiffle%snithy/adhesive%sticky/ham+er%obstruct/belief%co
I I
nviction/lament%wail/incentive%s+ur/innert%+assive/baffle%
frustrate/confiscate%a++ro+riate/covert%crave/ca+rice%whim/concur%
ac:uiesce/cargo%frieght/dis+el%scatter/divulge%reveal/tomerit%
todeserve/discreation%+rudence/emanci+ate%liberate/efface%obliterate/
I I
I I hover%linger/hea+%to
I I
+ile/instigate%incite/latitude%sco+e/latent%+otential/lethargy%stu+or
I I momentary%transient/+retentious%ostentatious/embrace%effigy
I I
I I ,++titude
I I %%%%%%%%%
I I 1)! +encils costs & cents/then $ +encils cost how much
I I a)!5c
I I !)a work is done by the +eo+le in !4 min.one of them can do this
work
I I a lonely in 45 min.how much time re:uired to do the same work for
the
I I second +erson
I I a)65min
I I ")a car is filled with four and half gallons of oil for full round
I I tri+.fuel is taken 1/4 gallons more in going than coming.what is
the fuel
I I consumed in coming u+.
I I a)! gallons
I I 4)low tem+erature at the night in a city is 1/" more than 1/! hinge
as
I I higher tem+erature in a day.sum of the low tem+ and high tem+ is
155 c.
I I then what is the low tem+.
I I a)45 centigrade
I I $)a +erson who decided to go weekend tri+ should not e7ceed & hours
I I driving in a day average s++ed of forward Journey is 45 m+h.due to
I I traffic insundays the return Journey average s+eed is "5 m+h.how
far he
I I can select a +icnic s+ot.
I I a)1!5 miles
I I 6)a sales +erson multi+lied a number and get the answer is "
I I instead of that number divided by ".what is the answer he actually
I I has to get.
I I a)1/"
I I .)a shi+ started from a +ort and moving with 6 m+h and another shi+
I I started from @ and moving with 8 m+h.at which +lace these two shi+s
I I meet.
I I a)between 6 and G and close to G
I I &)a building with height H ft shadow u+to -., neighbour building
I I with what height shadow ? ft is
I I a)1 ft
I I ')a +erson was fined for e7ceeding the s+eed limit by 15m+h.another
I I +erson was also fined for e7ceeding the same s+eed limit by twice
the same
I I if the second +erson was travellling at a s+eed of "$ m+h.find the
I I s+eed limit
I I a)1$m+h
I I 15)a bus started from bustand at &.55am and after "5min staying at
I I destination it returned back to the bustand.the destination is !.
I I miles from the bustand the s+eed of the bus $5+ercent fast s+eed at
what
I I time it returns to the bustand.
I I a)11.55am
I I 11)in a mi7ture/< is ! +arts/s is 1 +art in order to make s to !$R
of the
I I mi7ture/howmuch r is to be added
I I a)one +art
I I 1!)wind flows 165 miles in ""5min.for &5 miles how much time
re:uired
I I a)%%%
I I 1")with 4/$ full tand vehicle travels 1! miles/ with 1/" full tand
how
I I much distance travels
I I a)$ miles
I I 14)! trees are there.one grows at "/$ of the other.6n 4 years
I I total growth of the trees is & ft.what growth will smaller tree
will have
I I in ! years.
I I a)! ft
I I 1$)a storm will move with a velocity of %%% towards the center in
%%%
I I at the same rate how much far will it move in hrs
I I a)&/" or ! !/"
I I 1$ not clear
I I
I I
I I <easoning
I I %%%%%%%%%%
I I ,.
I I my father had no brothers but his " sisters are all married and
each has !
I I children.my grandfather has ! sons.
I I 1.mu father was an only child 0
I I !." of my aunts have sons ?
I I ".i have si7 cousins on my mother's side ?
I I 4. i have only one uncle 0
I I
I I 1.
I I )enior managers in a leading com+any said that new Ja+anese
investment
I I in india was transforming the car industry and warned that Jobs
were
I I under threat from Ja+anese com+etition. they stated that increasing
I I com+etition would be cou+led with an in evitable downturn i the car
market
I I and the recent rise in interst rates whaich had already hit demand.
I I $.some senior managers said that more +eo+le will want to buy new
cars in
I I the future. 0
I I 6.managers told workers that Ja+anese workers are taking Jobs away
from
I I indian workers in the car industry. 0
I I ..the managers issued their warning after a rise in interest rates.
T
I I &.the increased rate of the interest will mean that Ja+anese firms
will
I I cease to o+erate in this country. ?
I I
I I ?.<esearchers in mumbai have found that certain ty+es of gallstones
can be
I I dissolved by inJecting them with a gasoline additive in the form of
ether
I I the ether is inJected through a tube directly into a tube directly
into
I I the gallbladder.the one day treatment works only on
cholesterol%based
I I stones.not those com+osed largely o calcium.however as the
clolesterol
I I stones are by far the most common ty+efor millions of gallstones
I I sufferers the treatment should offer a welcome alternative
tosurgery
I I the commonest o+tion in nost hos+itals.
I I '.inJecting ether into the gallbladder dissolves most gallstones
T
I I 15.surgery is the only treatment for calcium stones T
I I 11.hundreds of +eo+lecontains calcium stones ?
I I 1!.calcium stones will be cured in one day 0
I I
I I H.organising the home can be +erceived as conferring +ower so large
I I numbers of women are unwilling to let go of chores/even when they
have
I I careers.a survey found that/out of 6$ new marriages not one single
wife
I I e7+ected her husband to share work e:ually.according to the family
+olicy
I I studies center &1R working wives return home to do all th
cooking.The
I I average male has nearly half as much more tfree time at weekends
I I than his wife and the ty+ical new father s+ends Just ". seconds a
day
I I talking to his baby.
I I 1".most working wives do not e7+ect their husbands to share chores
I I e:ually. T
I I 14.the average wife has half as much free time at weekends as her
husband.
I I 0
I I 1$.some women collude in the une:ual distribution of house hold
work
I I because they want to retain control ?
I I 16. "'R of all men with working wives do the cooking and all the
cleaning
I I 0
I I
I I F.confucius said that to know the future we have to understand the
+asthis
I I time trans+ort /communications and scientific knowledge were less
I I develo+ed than they are today.news took weeks to travel where as
today
I I satellite links connect the continents virtually
instantaneously.but
I I our technological advances in the field of communications seem not
to have
I I im+roved our ca+acity to understand one another
I I 1..in confucius daay +eo+le were more intelligent ?
I I 1&.we understand each otheer better now than in confucius time
because
I I we can travel more :uickly. 0
I I 1'.we have made great im+rovements in trans+ort since confucius day
T
I I !5.none of our scientific discoveries has really im+roved our lives
?
I I
I I 0.words in totalitarian systems have an unhealthy im+ortance and in
such
I I states now attem+ting to return to a more democratic normality
there has
I I been a natural inevitable and healthy devaluation of words whereas
I I +reviouslu a single word used in a s++ech or even a +lay or +oem
could be
I I a serious +olitical event now the words come chea+er almost free.
I I +olitics is +olitics again and +oetry only +oetry
I I !1.totalitarian state devalue words T
I I !!.only non%totalitarian regimes +roduce +oetry of +olitical
im+ortance
I I T
I I !".writers under totalitarian regimes have to choose their words
care
I I fully T
I I !4. the democratic +olitical system is healthier than others ?
I
I
I -.statistics show that millions of vehicals have beencarried by
shuttle
I over the +ast "5 years through al+ine tunnels withouty one ever
catching
I tire.in the al+ine tunnels.drivers and +assengers sit in
theirvhehicals on
I the shuttle trains.only one vehical has evercaught fire on the bussy
I french motorail e:uivalent system.this sort of accidents is not
+ossible
I in a closed shuttle. assertinos that a vehical fire will lead to
I catasto+he have no basis. since the resoures e7it do detect/control
and
I e7tingush a fire and to remove any +ersons +resent safely to an
adJoning
I wagon/ leaving any surviving fire facing ra+id e7tinction within a
wagan
I built to contain fire for "5 minutes. catastro+he seems very
unlikely.
I
I !$. if a car cauget fire in a rail shuttle/ +robably none would be
killed...
I
I *T)
I !6.at least one vehical has cauht fire in an al+ine tunnel.*f)
I !..if a fire started in a wagon/ it would be allowed to burn itself
out in
I "5 minutes.*f)
I !&.if would theoreticaly be +ossible for a car to cath fire in
aclosed
I shuttle system.*0)
I
I 8)every form of art is +rotected by co+y write/u+on the e7+iration
I
I of whitch the +ro+erty +asses into the +ublic domain and becomes
freely
I available to any one wishing to e7+loit it commercialy. the time has
come
I when all treasures shoud +ass to the controled of a trust/and by this
made
I readily available to anyone on +ament of a fee or royality.the income
I fromthe works of tagore would alone be enarmous.these who now main
I financialbenifit from his genius should make some contribution to the
I welfare of the arts in general.
I !'.tagore's +lays are not +rotected by co+yright. 0
I "5.tagore's decendants should be asked to make some contribution to
the
I arts ?
I "1.instead of buying a ticket / theatregoers should +ay a fee to
trust for
I the benefit of the arts. ?
I "!. Bore +eo+le could go to the theatre if co+y rightwere abolished
?
I 6. 8acking is a crime made +ossible by a relatively new technology/
I which one of the reasons it is often +oorly understood and re+orted.
I Bany com+uters/ but no means all/are now linked togetherin networks
which
I allow users on one com+uter to communicate with others on the same
I network.6f a com+uter is not networked/no mani+ulation of its
datafrom
I another machine is +ossible.)o long as users are authorised/
networking
I is Just a way of making work easier and more +roductive.8acking on
the
I other hand/is the unauthorised use of networks or unauthorised entty
I into the com+uters themselves.Bost +eo+le do not need to break into
the
I networks they use/since they are already accredited users.
I "". Bost hackers are authorised to break into networks 0
I "4. ?om+uters are only vulerable to the unauthorised mani+ulation of
I their data via another com+uter if they are networked T
I "$.The main reason why it is relatively easy to break into a com+uter
is
I that few +eo+le understand the technology. ?
I "6.8ackers do not work fot the firms whose networks they break into.
T
I G.,lthough invaders re+resent a threat to the conservation of flora
and
I fauna/there are two s+ecial cases in which invasion have been
deliberately
I brought about.Cne is the desire to control +resents by natural
+redators/
I whichmay have to be brought in from other countries.The second is
I releasing organisms into the wild*or on to farms/from which they
might
I esca+e)that are com+letely novel/beacause they have been genetically
I engineered.There is nothing intrinsically sinister about engineered
I organisms/but any novelty must be regarded as a +otential invader.
I "..2est control does not threat the conservation of flora and fauna.
T
I "&.-enetically engineered organisms must always be regarded as +oten%
I tially dangerous. 0
I "'.Natural +redators are work harmful than +ests.T
I 45.-enetically engineered organisms esca+ed from the farm/they will
be
I +ose a threat to wildlife. T
I
I I
I I O.electronics technology is coming to the rescue of helico+ters
which can
I I be grounded or crash in icy conditions the machines are es+ecially
I I vulnerable to the build u+ of ice on both their rotors and engine
air
I I intake when o+erating in cold dam+ conditions.the +roblem is ! fold
I I ice increases the weight and the build u++ makes the aerofoils
I I less efficient .now at last a detector has been devised which the
com+any
I I ho+es will mean safer flightsand less fre:uent grounding.unlike
most
I I devices in use at +resent it can detect the li:uid water content of
cloud
I I above freeing level.so the warning is ginven before the +otential
haard
I I is encountered.
I I
I I "'.an electronic device has been invented which will +revent the
build
I I u+ of ice on helico+ter rotors 0
I I 45.helico+ters are sometimes grounded because in cold dam+ weather
their
I I engine air intakes and rotors malfuntion owing to the formatrion of
ice...
I I T
I I 41.only one device can at +resent detect the li:uid water content
of
I I cloud above freeing level ?
I I 4!.in future fewer helico+ters will crash or have to grounded T
I I
I I @.anyone whos has systematically e7amined faces will have +erceived
a
I I +re+ondreance although not a +roliferation of asymmtry.whether or
not
I I the e7+ression is volitinal and self controlled or s+ontaneous
a++ears
I I to +redict facial asymmetry as does the ty+e of emotion
+rotrayed.+ositive
I I emotions are usually dis+layed symmetrically although a left sided
I I re+resentation of a negative emotion is more common.+osed
e7+ressions and
I I negative emotions are less likely to be symmetrically re+resented.
I I 4".an angry +erson is more likely to have a lo+sided e7+ression
than
I I someone who is smiling T
I I 44.a deliberately assumed facial e7+ression will always be
asymmetrical 0
I I 4$.an actor is likely to smile symmetrically when acting ?
I 46.more self conscious +eo+le are likely to have less
asymmetrically
I facial e7+ressions than those who are less aware of themselves T
I
I B. human e7istence is not susce+tible of arbitary division between
I consciousness and unconsciousness.the conscious world invades and
sha+es
I the activities of the unconscious while many of the great
achievements of
I humanity's waking hours were wholly or +artly ins+ires bu dreams
.even if
I it could be argued that dreams +recede e7+erience such a dichotomy
could
I not be drawn as the influence of dreaming on the waking state would
remain
I unclear but as yet no common vocabulary e7ists to record the
substance
I of +renatal dreaming
I 4..slee+ can be a creative state. T
I 4&.it is difficult to tell whether a slee+er is dr"eaming or not ?
I 4'. if we knew what babies dream about before they are born we could
I show that conscious and unconscious mond influence one another 0
I $5. it is untrue to claim that the conscious and unconscious worlds
never
I im+inge on one another 0
I
I New twenty :uestions
I %%%%%%%%%%%%%%%%%%%%
I N. disease 7 succeeds lung disease.it may also occur helthy +ersons
the
I +erson looks healthier from outside.the number of red blood cells in
I the blood increased and this leads to thickness fo the blood as a
result
I of which blood lacks inside the vessels .the +erson suffers heart
attact.
I one +ossible solution is to remove a litre of blood or to control the
I growth of red blood cells.
I $".lung disease +recedes the disease 7 T
I $4.a +erson who gets heart attack always has disease 7 0
I $$.+eo+le suffering from disease 7 look healthier ?
I $6.one litre of blood must be removed to cure this T
I
I C.a starfire engine has been designed to work only for unleaded
I +etrol.this crossfire engine is designed for both 1$55 and _1&55 cc
I they internally and e7ternally look alike e7ce+t for the difference
I in wheels %%%%/!555 cc is differentr from the above.two in terms of "
I features %%% %%%%% %%%% on the bumber.
I $..the engine run only on the leaded +etrol 0
I $&.1$55 and 1&55 cc look alike 0
I $'.a+art from cross fire engines they manfacture %%%% 0
I 65.internal structure of the !555cc is same as that of both 1$55 and
I 1&55 cc ?
I
I 2.a weed killer to kill the weeds has been develo+ed.the weed killer
I solution has to be a++lied to the growing ti+s. it need not to be
a++lied
I to all the ti+s.the solution has to be +re+ared in a can in one hand
I and the +lants are taken in the other hand with a glove and are
immersed
I in the solution if we cannot immerse them in the solution the
solution
I can be a++lied to the roots with a brush.it used without care it can
I +ose danger to other +lants.
I 61.the solutions has to a++lied to growing leaves
I 6!.to use the weedkiller first take the +lants in the cn as then +our
the
I solution into it.
I 6".it is sufficient to a++ly it only to some roots
I 64.it effects to the other +lants.
I
I (.
I 6$.flora " sofa set gives value to ur money
I 66.+adding is used to increase durablity
I 6..flora will made all other +roducts other than sofa sets
I 6&.can we use wood as %%%%% T
I
I <.
I
I 6'.the length of the cracker will be less than 1! cm 0
I .5.the center +art of the crackers is 4cm T
I
I%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%
I
I
I these are the :uestions given from tcs +a+er
I dont answer all :uestions.
I
I 6n reasoning test at the end of each :uestion we indicated
I 0/T/?
I where 0 re+resents 0alse
I 4 T 4 True
I 4 ? 4 cant say.
I%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
I ,after this test/+sychmetry test will be there.dont bother about it.
it is Just
I formal.they will not consider it.1ut answer all 1$5 :uestions in "5
I minutes

%%%%%%%%%%%%%%%%%%%i%%%%%%
1.if aEbEc Q 1!5 then a#b#cQ;
!.com+liment of 7 Q1/6 of its su++liment then 7Q;
".side of s:uare is increased by "5R then area is increased by;
4.shirts sold at 165 with !5R +rofit /boots sold at '5 with loss of 15R
totally he gets how much +rofit or loss;
$.1/7M1/y then relation between 7=y;
6.lcm of !/"/4/$;
..t's salary is $5R of J = J's salary is &5R of s/find the ratio
between s=tis $/!
&.find the farthest distace in the cylinder with height & = radius &;
'.find the +rime numbers between 115 = 1!5;
15.if an unloaded truck travels for 1 hour with 1 gallon of oil =
a loaded truck covers only &5R of the distance covered by un
loaded.what
is R of oil consumed by loaded truck;
these are +assage :uestions /under these one :ustion only there
from 15 th :uestion i am sending directly answers and the starting
words of that :uestions and direct answers.
15. in the human body ..............blood clotting
a. e
11.+rom+ted by a +ro+osal.......shi+yard
a. e
1!.the states of newyork........
a. e
1.. the daily Journey from his home............
a. c
1&.in accordance with their +owers............
a. b
1'. $ wimbledon men's ............
a. d
!5. food technologist..........
a. c
!1. " main factors........
a. b
!!. myra9..........
a. c
!". the local education authorities in Fngland......
a. b
!4. sally over sle+t.........
a. c
one big +assage under this $ :uestions
+assage9%
the atmos+here contains water
va+or...................................
:uestion = answers
1.a
!.e
".d
4.d
$.c
another +assage
observe the dilemma of the
fungus.......................................................
6.d
..a
&.b
'.c
15.d
T8F ,1C>F 2,2F< 6 -CT 0<CB G,H,>2K< KN6>F<)6TA.FNT6<F T86N- 6)
NCT ,>,6@,1@F.D8,T F>F< 6 TA2FH 6N T8,T D,A CN@A 6T 6) ,>,6@,1@F.
<F2@A ,) CCN ,) 6T 6) <F,?8FH.
0rom girakaLiitk.ac.in Ded Bar 15 159"&915 1'''
Hate9 0ri/ !6 0eb 1''' 159"&956 #5$"5 *6)T)
0rom9 18,<-,>, MgirakaLiitk.ac.inI
To9 O )atyanarayana ,diga Mksadiga$Lhotmail.comI
)ubJect9 idigo.....
i! technologys 1''&
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1) convert 5.'".$ in to binary
ans9 None of the above
!) Beaning of 3;A9Y
ans 9 if *7^Q5) A Nelse YN
") )ome function is like this
swa+* int a/int b)
P
int tem+N
tem+QaN
aQbN
bQtem+N
T
6f any arguments send to that function and >alues
changed want +ermanently Dhat to do ;
,ns9 +ut Ea and Eb in+lace of a = b
4) )ome thing like
aQ!$ *)ome >alue e7actly dont know)N
yQ64N
BK@ a/yN
aIIQ6N
Dhat is the >alue of 'a'
,ns9 No change in value same come .
$) )ome +roblem on ,nd = Cr = Not -ates
-iven )ome figure and asked C/2
,ns 9 , ]*%%1)
6)
Cne ,rray -iven @ike
,QP !/6/$/'/1!/..T These are <ough numbers Not F7act.
,nd )ome 1ubble sort algorithem -iven ,nd ,t each and
every )tage of F7changing >alues )ome counter incremented.
,nd 0inal result is )orted ,rray. (uestion 6s value of
?ounter
,ns 9 1"
.))ome +rogram -iven @ike
0irst o+ened a 0ile for Drite only and Drite 48F@@CSn4 in
the file then 0ile is closed.Then )ame 0ile once again C+ened
,nd Drite 4DC<@H4 in That file and ?losed.
8ow Bany ?haractars )tored in that 0ile ;
,ns 9 $
&) Cne (uestion @ike
1a5 E 15b5
%%%%%%%%% Q 155
1515
(uestion 6s @ike this. Dhat 6s the >alue of a = b;
,ns9 aQ5 = bQ1N
Aou 2lease do in F7am b'cos This is not F7act :uestion.
') )mall 2rogram -iven Cn 2rinter @ike
6f*7)
P
6f*7^Q5)
P
)ome )tuff...
T
T
(ustion 6 0orgot /1ut 6 Onow ,nswer
\ ,ns9 The )tatement 6f*7^Q5) 6s <Fdundant.
15) Cne (uestion 6s @ike This
1B1 actual Bemory ,nd 15B1 >irtual Bemory 6s available
)u++ose 6f )ome address @ike 00555 6s Ksed in 2rogram
Dhat will 1e the result ;
(uestion 6s )ome thing like That..
,ns 9 2rogram )uccessfully Dorks.
11) )ome 2roblem -iven Cn )witch and ?ase
2roblem 6 forgot
,ns9 &/&/&
1!) To 6ncrease The <ange of a 0loating +oint Bember ;
,ns 9 Bantissa )hould be Hecreased
,nd F7+onential )hould be 6ncreased
1") Cne +roblem on )(@ /
6dont Onow The ( = , / 1'cos (uestion cannot understandable
To a Bechanical )tudent.
14) Dhich Cf The 0ollwing 6s 0,@)F
a)
b)
c)
d)
,ns 9 6f )erver 6s not res+onding ?lient Dill
remain ,lways +assive.
1$) Dhich Cf the 0ollwing is 0,@)F
a)
b)
c)
d)
,ns9 ,ll 0unctions ,re Dork by call by >alue only
16) Dhich Cf The 0ollowing Das T<KF
a) +Q*struct node E) malloc *sieof*node))N
b)
c)
d)
,ns 9 * a )
Total !5 (uestions ,re -iven /
These ,re 6 remembered.
Cne 16- 2roblem 0or !5 Barks.
6) Drite , +rogramme Cn
Two )chhols ,re There and 6n Fach )chool )ome ?lasses
,re There. ,nd The Hata Cf )chools *students)@ike This.
1, !$ 11 "$ 1? !" !, !. !1 1$ ", !$ ... Z
1, !5 11 !" !, !$ !1 "' .... Z
Fach )chool Hata Fnds Dith Z * 6/2 ends when Z entered)
6n the above 1, !$ means
1 %% 0irst ?lass
, %% )ection
!$ %% )trength Cf That.
De Dant To Berge To )chools ,nd 0orm one )chool.
Drite , +rogramme Dhich Takes TDo )chools Hata and
-ives The )imilar 0ormat C/2 of "rd )chool Dhich
is The ?ombining Cf 1oth )chools.
The 2ro-ramme 6s Bust be K)6N- Hynamic )tructures ;
2ro-ram )hould 1e <eading The H,T, of TDC )chools ,nd
-ive The 06N,@ C/2 6n ),me 0ormat Cf 6/2 ;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2,<T %!
?om+lete (uestions Cn 2)A?8C@C-A.
Fvery Cne ?an Ho F,sily
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
.............with luv
.....bhargava
? @,N-,K-F TF)T9 1$ :uestions and 1$ minutes they are not difficult
but
they are some of what tricky so you should be careful and some what
time
consuming. Cut of 1$ :uestions i am sending the & :uestions.
1. main*)
P
int ,Q$/7N
int fun*)N
7Qfun*=,/,)N
+rintf*4Rd4/7)N
T
int fun*int E7/ int y)N
P
E7QE7#1N
return*E7Ey)N
T
Dhat is the out+ut of the above +rogram.
!. main*)
P
int 7N
float yN
char cN
scanf*4R!d R$.!f Rc4/ =7/=y/c)N
T
in+ut9 15!$...$6T
what will be out+ut
". ?hoose correct declaration
*i) int long 7Q1!"4$6N
*ii)long int 7Q 1!"4$6N
*iii)@ong int 7Q 1!"4$6N
*iv) long 7Q 1!"4$6N
4. scanf*4 4)N
$. U define ma7*7/y/") **7Iy);**yI);y9")9**7I");79")))
*i) 7Q" yQ4 Q$
*ii) 7Q4 yQ" Q$
...
.......
*6)
main*)
P
int 7VWQP5/5/5/5/5T
for*iQ1NiMQ4Ni##)
7V7ViWW##N
for*iQ5NiM$Ni##)
+rintf*4 Rd4/aViW)N
T
*i) 55555
*ii)11111
*iii)$5555*correct answer)
*iv)1!"4$
*.)
main*)
P
int aV"WV4W Q P %1/!/"/%4/$/6/./%&/'/15/11/1!T
countQ5N
for*iQ!NiM1Ni%%)
P
for*JQ"NJM1NJ%%)
P
if*aViWVJWM1)
count#Q1N
T
T
+rintf*4Rd4/count)N
T
*i) !
*ii) "
*iii)4
*iv) 5
*&)
main*)
P
fib*$)N
if*nQ5 or nQ1)
fib*n)Q1N
else
fib*n)Qfib*n%1)#fib*n%!)N
8ow many times functions fib*) is called
*i) 14
*ii)1$
*iii)16
*iv)1"
0rom kumar+rL:asid.cc.iitk.ernet.in Thu ,ug !5 !!9"$91" 1''&
Hate9 Tue/ 1& ,ug 1''& !!91"9!6 #5$"5
0rom9 4'.154"4 +. r. kumar +g ee4 Mkumar+rL:asid.cc.iitk.ernet.inI
To9 girakaLcc+c1"'.cc.iitk.ernet.in
1. The grammer for ,/ 1/ ) is given below.
)%I,7[1y
,%I,7[y
1%I7[y
+ossible ans is 7y[7y
!. 6n nEn matri7 / there non ero numbers in diagonal and either side
of the diagonal. 6f re+resented in one dimensional array/ assign the
values which are non eros.
find relation with i/J iteration and linear arry
like aV!E*i%1)#JW this
the matri7 will be
7 7 5 5 5 5 %%%%%%%%
7 7 7 5 5 5 5 %%%%%
5 7 7 7 5 5 5 %%%%%%
5 5 7 7 7 5 5 %%%%%%%
5 5 5 7 7 7 5 5 %%%%
[ [ [ [ [ [ [ [ [
[ [ [ [ [ [ [ [ [
remumber nEn matri7
". 6n%order of the letters is given as below9
6f written in +re%order like given below9
write the +ost%order9
4. fun*n)
P
if*nMQ!)
return *1)N
else
return **fun*n%1)Efun*n%!))N
T
find the order of com+le7ity of the +rogramme.
+ossible answer %%%% N*!]n)
$.
6. 6f a and b are given. write the results of the +rogramme
given below.
aQa 3C< bN
bQa 3C< bN
aQ a 3C< bN
answer is swa+ing of a and b
so b/a is answer
..
&.for a given ?BC) the voltage is halved
fre:ency doubled
ca+acitance halved
what is the +resent ?BC) +ower
ans *b)%%%% dynamic +ower is 1/! E?EfE>]!
'.if a row daminated two dimentional arry in the following which one is
advantage
and why;
a) for*iQ5NiM1555Ni##)
for*JQ5NJM1555NJ##)
tem+Qtem+#aViWVJWN

b) for*JQ5NJM1555NJ##)
for*iQ5NiM1555Ni##)
tem+Qtem+#aViWVJW
6 donot know ans
15. what is area of a 8e7agon with side as 1unit
ans is "E*s:rt*"))/!
11. 6f traverse in a chess board right and down from one corner to
another corner
how many +ossible ways will be there
ans is ?*16/&) or *16^/*&^E&^))
1!. Tick the below which can bi+arate *gra+h theory)
1)tree !)forest of trees ") evencycle gra+h 4) oddcycle gra+h

ans is 1/!/"
1".The fig shown in below is a )<,B *1OE 4 bits) /how many of this
)<,B) are
re:ired to design 16O of one byte
ans is "! )<,B) and one 4 to 16 decoder
14. su++ose two +ersons entering into one room in the morning $ to 6
,.B.
what is the +robability they will enter in 15 minits ga+.
6 donot know this answer
1$. 6n a binary tree what is the hight and lowest no of levels for N
nodes.
ans is highest is N and lowest is log*N#1) base !
16.re+resent " and %" in base %! form taking two states *5/1) only

i do not know the ans
CT8F< $ (KF)T6CN) 0<CB )C<T6N- TF?8N6?) )C 2@F,)F -C T8<CK-8 )C<T6N-
TF?8N6?) .
CT8F $ (KF)T6CN) 0<CB 0@62%0@C2 HF@,A) F3,B2@F
1. T8F<F 6) CNF @CCO,8F,H ,HHF< 6) T8F<F CN@A TDC )T,-F) 6T -6>F) ?,<<A
,8F,H D8,T 6)
T8F TCT,@ HF@A 60 6T 6) & 16T ,HHF<.
!. D8,T 6) 2<C2,-,T6CN HF@,A T6BF 0C< <6N- ?CKNTF<.
". D8,T 6) B,3 0<F(FN?A 0C< )CBF ?CKNTF< )C 2@F)F ?8F?O ?CKNTF) ,NH
0@62%0@C2)
&&&
9494_1134494_1

Inbox Delete
Prev | Next |
Inbox

Move
&&&&&&&
Reply Reply All Forward

Download Attachments

Potrebbero piacerti anche