Attack TCS[1]

  • Upload
    josekin

  • View
    225

  • Download
    0

Embed Size (px)

Citation preview

  • 8/16/2019 Attack TCS[1]

    1/93

    T C S P r e v i o u s Q u e s t i o n s

  • 8/16/2019 Attack TCS[1]

    2/93

  • 8/16/2019 Attack TCS[1]

    3/93

    A t t a c k T C S

    so, e confident and f'an9 w)ile facin+ t)is 'ound…T)ey +ene'ally as9 questions li9e BTell aout you'selfDE, B=)o ' you' 'ole

    modelsDE, B=)at is you' wea9nessDE, don#t say BI ?a/e no wea9nessFE, ?2*2 T….. C/,0ATS1 Y/2 A- I, TCS1##

    Contents

    "# $erbal

    Quantitative 3

    # C4 Atitu'e 5

    6# Ps%c!o+etric 7"

    $-8A9

    i am sendin+ almost all t)e wo'ds t)at ' comin+ t)e $a$e's.t)e meanin+s ' also $'o/ided.as fa' as i am conce'ned all t)e

    meanin+s ' co''ect ut if u )a/e any douts,/e'ify o' c'oss c)ec9.t)ey come in synonym $a't of antonym $a't.i dont 9now

    w)at will come fo' w)at.ut +et t)e meanin+ u can Ans#we' it .

  • 8/16/2019 Attack TCS[1]

    4/93

    A t t a c k T C S

    effaceMolite'ate

    ostinateMstuo'n

    )o/e'Mlin+e'

    ca$'iceMw)im

    elateMtoo late

    'enounceM'e

  • 8/16/2019 Attack TCS[1]

    5/93

    A t t a c k T C S

    )ete'odoxM)a/in+ a diffe'ent o$inion

    i+nonimousMdis)onou',dis+'ace

    effi+y M dummy

    sac'osanctMtoo im$o'tant

    c'y$ticM)idden,sec'et

    deilitateMto wea9en

    sce$ticMdout

    e''oneousMfull of e''o'

    minionMda'lin+,flatte'e',a se/ile de$endent

    /e'acityMt'ut)fulness

    'ac9is)Msomew)at saline

    co+entM$owe'ful

    tacitu'nMuns$o9en

    liasionMunion,ond,connection

    'amificationM'anc)in+

    semlanceMli9eness,outwa'd s)ow

    im$asseMa $lace f'om w)e'e t)e' is no outlet

    exas$e'ateMto ma9e 'ou+),to i''itate someody to a )i+)

    de+'ee

    in/o9eM to call u$$on

    docileMteac)ale,

    ae+isM$'otection

    exactin+Mcom$ellin+ full $ayment,un'easonale demand

    fiascoMfailu'e

    inte'ce$tMto cut

    a'it'a'yMnot ound y 'ules

    cate+o'icalM$ositi/e,asolute,wit)out exce$tion$'ot'actMto $'olon+,d'awn to scale

    olite'ateMto lot out,'u out

    alte'cationM)eated a'+uement

    dwindleMto +'ow less,to waste away

    effaceM'u

    a+'a'ianM'elated to a+'icultu'e

    /acillateMdillema

    ex$e'dentMfittin+ $'o$e'

    simulateM$'oduce a'tificially

    co+niGanceM9nowled+e'et'os$ecti/eM'e/iew

    nai/eMinnocent

    eq/i/ocateMtallyin+ on ot) sides

    affinityMst'on+ ond

    stiltedMele/atin+

    as$e'ityM'ou+)ness,)a's)ness

    felicitiousM)a$$y,$'os$e'ous

    ouillonMoiled meat

    $illa+eM act of $lunde'in+

    $)ysio+namyM t)e act of

  • 8/16/2019 Attack TCS[1]

    6/93

    A t t a c k T C S

    il9Mto elude,to c)eat

    nettleMto stin+ wit) annnoyance

    mulc)Mloose mate'ial

    im$u+nMo$$ose

    so'ietyM)ait of ein+ soe'

    misant)'o$eM)ate' of man9ind

    waifMwande'e',owne'less $'o$e'ty

    deacleM'ea9u$ o' colla$se

    ta''yMto lin+e',to delay

    incontinentMnot 'est'ainin+ t)e $assions

    $a'adoxMcont'a'y to t)e 'ecei/ed o$inion

    lac9luste'Mdull

    mo'iundMdyin+

    callowMyout)ful

    Censu'e N fault, c'iticiGe

    $timum N est, most fa/o'ale

    Candid N f'an9, o$en, lunt, u$f'ont, fo't)6'i+)t

    Cite N quote, name, mention, 'efe' to, allude to

    2ffusi/e N demonst'ati/e, fussy, tal9ati/e,

    o/e'ent)usiastic, /ocife'ous, ext'o/e'ted

    @olule N a'ticulate, /ocife'ous, tal9ati/e

    anal N common$lace, t'i/ial, $'edictale, t'ite, )ac9neyed

    ,uno'i+inal

    Standin+ N 'an9, $e'manent, $osition, du'ation, status,

    'e$utation, eminence

    5ascent N uddin+, eme'+in+, lossomin+, em'yonic

    Clutc) N +'as$, +'a, )old&ene'ic N +ene'al, asic, common

    2m$i'ical N ex$e'imental, $'a+matic, $'actical

    Anomaly N i''e+ula'ity, +litc), diffe'ence

    Ci'cuitous N 'oundaout, twisty, meande'in+, indi'ect,

    windin+, to'tuous

    Su'/eillance N ose'/ation, watc), s)adowin+

  • 8/16/2019 Attack TCS[1]

    7/93

    A t t a c k T C S

    'im ! oa'de'

    ostinate ! stuo'n

    'etention!$'etentioius

    T'anquil!se'ene

    solicit ! u'+e

    suside ! wane

    fu'ti/e !stealt)y

    mise'y ! disst'ess

    /olume !quantity

    /ee' ! di/e'+e

    stifle ! suffocate, su$$'ess, c)o9e

    ad)esi/e ! ondin+ a+ent, +lue, +um

    ?o/e' ! lin+e'

    ?ea$ ! to $ile

    Insti+ate ! incite

    latitude ! sco$e

    latent ! $otential

    let)a'+y ! stu$o'

    momenta'y ! t'ansient i

    ncenti/e ! moti/ation, encou'a+ement, s$u'

    ine't! $assi/e

    elief ! con/iction

    lament ! wail

    to me'it !to dese'/e

    ?am$e' ! ost'uct

    so+e anton%+s

    $'istine O sullied

    tu'id O lim$id$'eci$itate O dilato'y cont'adicto'y

    'e/e'e O t)'eaten

    im$'o$tu O ca'efully 'e)a'sed

    a/id O indiffe'ent

    1. I'9some O $leasant

    . Paunty O so''owful, sad

    3. 5eulous O $'ecise

    4. isa$$'e)ension O com$'e)ension O unde'standin+

    -. ese O t)in

    . =)imsical O o'dina'yCom$ose x distu'

    'istine x sullied

    Tu'id x lim$id

    'eci$itate x dilato'ycont'adicto'y 'es)e'swo'ld.com

    *e/e'e x t)'eaten

    ?am$e' x facilitate

    Slu' x

    'otean x

    ascinate x mundane

    ic9le x loyal

    1% ollify Q 2n'a+e, 'o/o9e

    % Inundate Q 8'ain

    3% 2quanimity Q A+itation

    4% &auc)e Q Tactful

    Consensus O disa+'eement

    *et'o+'ade O fo'wa'd loo9in+

    &alleon

    C)ide O $'aise

    8e$'a/ity O +oodness,'i+)teousness

    mo'ose O li+)t)ea'ted

    neolo+ism O a'c)aism

    'a'efy O condensecaustic O innocuous

    sol/ent O $'eci$itant

    estimale O infamous

    alloon O dec'ease slowly

    1.Com$ose x distu'

    .'istine x sullied

    3.Tu'id x lim$id

    4.oneta'y x non6economical

    -.*e/e'e x t)'eaten.?am$e' x facilitate

    :.T'ansient x $e'manence

    ;.ascinate x mundane

    R.ic9le x loyal

    10.Cont'aand x le+al +oods

    11.*e$ellent x att'acti/e

    1.Slu' x +'ace

    13.'otean x constant

    14.?ideound x 'oadminded

    1-.'eci$itate x dilato'ycont'adicto'y

    -% 2x)ume Q Inte'

    % aleful Q eneficent

    :% Anat)ematiGe Q less

    ;% 2ni+matic Q Lnami+uous

    R% a'ia) Q Idol

    10% Tu'id Q >im$id

    a'adox O consistency

    Stilted O natu'al

    >e/ity O +'a/ity

    'itty

    .or' eanin* S%non%+s Anton%+s

    Aysmal  Adj. ottomless Use ! ?is a''o+ance is exceeded only Te''ile, awful, d'eadful, Su$e'

    2dited y! *iyaG Ali H)an ayana . Tec) .(CS2%, 8. 2. C. 2. 2mail! 'iyaGJ+mail.com

    7

  • 8/16/2019 Attack TCS[1]

    8/93

    A t t a c k T C S

    y )is aysmal i+no'ance a$$allin+, /e'y ad,ac'onym n. A wo'd fo'med y t)e initial lette's of a multi6wo'd

    name

    Cont'action, elli$sis,

    admonis) v. wa'n st'on+ly, 'e$'o/e Use: ?e admonis)ed )is

    listene's to c)an+e t)ei' wic9ed ways

    *e$'o/e, 'e$'imand, c)ide,

    'eu9e, usu'$

    A$$'o/e

    Ci'cums$ect v. In/esti+ation efo'e actin+,

    Use: S)e t'ied always to e ci'cums$ect

    Cutious, $'udent, ca'eful,

    +ua'ded, wa'y, aGiness,

    ca'elessness,

    ne+li+ence

    8isc'etion n. aility to ade/el, st'atum, 'an9, )ei+)tfallile  Adj. >iale to e''. Use: I Hnow I am fallile, ut I feel

    confident t)at I am 'i+)t t)is time

    Im$e'fect, unsound, mo'tal,

    wea9, f'ail,

    e'fect

    ?a'in+e' n. an indication of t)e a$$'oac) of somet)in+ o'

    someone, fo'e'unne' v. fo'e s)adow o' $'esa+e Use: 

    T)e c'ocus is an ea'ly )a'in+e' of s$'in+

    o'e'unne', )e'ald, $otent,

    omen,

    illust'ious  Adj. Widely  9nown and esteemed emo'ale, well69nown,

    famous

    In+lo'ious,

    s)amefulim$etus n. A fo'ce t)at mo/es somet)in+ alon+, incenti/e,

    stimulus Use: A new fede'al )i+)way $'o+'am would

    c'eate

  • 8/16/2019 Attack TCS[1]

    9/93

    A t t a c k T C S

    >atent  Adj. otentially existin+, ut not $'esently e/ident o'

    'ealiGed Use: ola'oid $ictu'es a'e $o$ula' at t)e

    $a'ties ecause you can see t)e latent $)oto+'a$)ic

    ima+e +'adually a$$ea' efo'e you' eyes

    8o'mant, em'yonic,

    su$$'essed, unde/elo$ed,

    /e't

    >atitude n. f'eedom f'om na''ow limitations Use: I t)in9 you

    )a/e $e'mitted you' son too muc) latitude in t)is

    manne'

    >eeway, f'eedom, autonomy,

    lie'ty, 'oom, 'o$e

    anifestation n. outwa'd demonst'ation, indication Use: oGa't#s

    ea'ly att'action to t)e )a'$sic)o'd was t)e fi'st

    manifestation of )is $'onounced musical ent

    Si+n, demonst'ation,

    ex$'ession, sym$tom,

    miti+ate v. lessen o' t'y to lessen t)e se'iousness o' extent of

    Use! 5ot)in+ )e could do to miti+ate )e' an+e', s)e

    'efused to fo'+i/e )im

    A$$ease, alle/iate, allay,

    assua+e, mollify, extenuate,

    $alliate

    A++'e/ate,

    exace'ate

    motley  Adj. ulticolo'ed o' mixed Use: )e wo'e a motley

    tunic, 'ed and +'een and lue and +old all $atc)ed

    to+et)e' )a$)aGa'dly

    Asso'ted, di/e'sed, mixed,

    dissimila',

    Lnifo'm,

    )omo+enous,

    monoc)'ome$ensi/e  Adj. 8'eamily t)ou+)tful, t)ou+)tful wit) a )int of

    sadness Use: T)e $ensi/e lo/e' +aGed at t)e $o't'aitof )is elo/ed and si+)ed dee$ly.

    'oodin+, $onde'in+,

    meditati/e, contem$lati/e

    $'olific  Adj. Aundantly f'uitful Use: S)e was a $'olific

    w'ite', w)o $'oduced as meany as t)'ee oo9s a

    yea's

    'oducti/e, aundant, fecund Ln$'oducti/e,

    sca'ce

    'elinquis) v. +i/e u$ somet)in+ wit) 'eluctance, yield Use: once

    you +et used to f'in+es li9e ex$ense account meal

    and com$any ca', it is /e'y difficult to 'elinquis) t)em

    Su''ende', 'enounce, aandon,

    'e$udiate, cede,

    @anquis), 'etain,

    solicit v. 'equest ea'nestly, see9 Use: T)e ayo' tele$)oned

    all t)e meme' of t)e city council to solicit t)ei' /otes

    Im$o'tune, im$lo'e, c'a/e,

    eseec),

    &'ant

    t'actale  Adj. 8ocile, easily mana+ed, susce$tile to

    su++estion Use: Alt)ou+) Susan seemed to e a

    t'actale youn+ woman, s)e )ad a stuo'n st'ea9 of 

    inde$endence

    edient, dutiful, well6

    manne'ed

    8isoedient,

    int'actale

    /ee' v. c)an+e in di'ection Use: Afte' w)at seemed to e

    en ete'nity, t)e wind /ee'ed to t)e east and t)e

    sto'm aated

    Tu'n, swe'/e

    @e)ement  Adj. o'ceful, intensely emotional wit) ma'9ed /i+o'

    Use: ?e ecame so @e)ement in desc'iin+ w)at )ad

    )a$$ened wit) )im t)at )e sta'ted et out

    concu' v. a+'ee Use: 8id you concu' wit) t)e decision of t)e

    cou't o' did you find it unfai'D

    A+'e, )a'moniGe, coincide,

    assent, acquiesce

    Conflict, 'esist

    let)a'+y v. lac9 of /itality o' ene'+y Use: A com$lete days

    wo'9 left )im in a state of let)a'+y

    Stu$o', indolence, wea'iness &et6u$6and6+o

    u'ti/e  Adj. stealt)y, snea9y, sec'et and sly o' so'did Use: 

    noticin+ t)e fu'ti/e +lance t)e custome' +a/e t)ediamond 'acelet on t)e counte', t)e

  • 8/16/2019 Attack TCS[1]

    10/93

    A t t a c k T C S

    efface v. wi$e out o' ma9e dim Use: T)e coin )ad een

    )andled so many times t)at its date )ad een effaced

    lite'ate, e'adicate, 2n+'a/e

    'etentious  Adj. Intended to att'act notice and im$'ess ot)e's,

    ma9in+ un

  • 8/16/2019 Attack TCS[1]

    11/93

    A t t a c k T C S

    s$ea9 ot) t)e lan+ua+esD

      (a% - (% 0 (c% 1- (d% 10 (e% 30

    ""# T)e most economical $'ices amon+ t)e followin+ $'ices is!

      (a% 10 9ilo fo' *s.10 (% 9ilo fo' *s.30 (c% 4 9ilo fo' *s.:0

      (d% 0 9ilo fo' *s.340 (e% ; 9ilo fo' *s.130

    " A t'uc9 contains 1-0 small $ac9a+es, some wei+)in+ 1 9+ eac) and some wei+)in+ 9+ eac). )ow many $ac9a+es

    wei+)in+ 9+ eac) a'e in t)e t'uc9 if t)e total wei+)t of all t)e $ac9a+es is 4 9+D

      (a% 3 (% - (c% ;; (d% 14 (e% 114

    "# A man was a''ested fo' exceedin+ t)e s$eed limit y 10 miles an )ou'. A second man was c)a'+ed wit) exceedin+ t)e

    same limit y twice as muc). T)e second man was d'i/in+ 3- miles $e' )ou'. =)at was t)e s$eed limitD

      (a% 10 miles $e' )ou' (% 1- miles $e' )ou' (c% 0 miles $e' )ou'

      (d% - miles $e' )ou' (e% 30 miles $e' )ou'

    "6# ne yea' a+o andit was t)'ee times )is siste's a+e. 5ext yea' )e will e only twice )e' a+e. ?ow old will andit e afte'fi/e yea'sD

      (a% ; (% 1 (c% 11 (d% 13 (e% 1-

    ";# If two $encils cost ; cents, t)en )ow muc) do - $encils costD

      (a% 1; cents (b) 20 cents (c% cents (d% 3 cents (e% 4 cents

    1. =?IC? IS T?2 52T 5!

    -,,:,;,10,11,14,D A5S! 1;

    . &2 C828 AS C2?8 T?25 C82 @?8P. A,S: "LICH

    3. I58 T?2 5. K >>=28 K = LT T?AT IS 5T>>=28 K U.

    K = * L 8 8 K = U ...............

    4. =?AT IS T?2 >A*&2ST *I2 5 T?AT IS ST*28 I5 ;

    IT ATT2*5. A5S! -3 (5T SL*2%

    -.=?IC? =I>> &I@2 &8 STA58A*8 82@IATI5

    1. (:,0,6:,0,:% . (:,6:,:,6:,:% 3. (1,0,61,0,1%

    . =?IC? IS 5T A SI82 A *2CTA5&L>A*

    1. (,3,4% .(3,4,:% 3. (3,-,R%

    :.=?IC? S?A2 =I>> 2 TAI528 K LSI5& T?2S2 @A>L2S

    ,K

      K

    0 0.00001

    10 1.0

    100 1.:

    1000 3.00

    RRRR 4.:

    ;. =?IC? 2"LATI5 T?AT 2ST SLITS T?IS CL*@2

    A >I52 CLTS AT 61 =?25 KM0 A58 M0 =?25 KM3 A58

    &2S L=A*8

    2dited y! *iyaG Ali H)an ayana . Tec) .(CS2%, 8. 2. C. 2. 2mail! 'iyaGJ+mail.com

    11

  • 8/16/2019 Attack TCS[1]

    12/93

    A t t a c k T C S

    K

    R. A A5 , =A5 A58 A K PI58>K 8I8 A P I5 8AKS. A A5 A>52 I5IS?2S I5 10 dAKS, A =25 A>52

    I5IS? I5 4 8AKS. T?25 ?= A5K 8AKS T?2 K CA5 TAH2 T I5S?D

    10. * T22*ATL*2 A L5CTI5 IS &I@25 ACC*8I5& T TI2 ! ((tOO%% V 4t V1 =?AT IS T?2 T22*ATL*2

    *IS2 * A>> 2T=225 4.A T R A

    11. A5 A2*>A52 STA*TS * A (S2 >ATITL82 IS &I@25 ACC*8I5& T >AC2%AT A lCA> TI2 T (S2

    >ATITL82%. T*A@2>>>I5& TI2 IS 10 ?L*S. =?AT IS T?2 >CA> TI2 =?25 IT *2AC?2S

    1. A I>2 IS T*A5S2**28 * A >AC2 T A82STI5ATI5 CAA>2 10 H . T?2K &I@25 S2 *AT2

    T*A5S2*. L ?A@2 I58 A 2"LATI5 T?AT 2ST SLIT T?IS.

    13. I5 A >A5A* CL2 , T?2 5. @2*TIC2S, 5 28&2S A58 5 AC2S A*2

    1. ,, . 4,;,1 3.... 4.........

    14. @255 8IA&* elow

    1. ?= A5K 2*S5 H5= 25&>IS? *2 T?A5 *25C?

    . ?= LC? 7 2>2 H5=S A>> T?2 3 >A5&LA&2S

    3. ?= LC? 7 2>2 T?S2 =? H5=S *25C? A58

    &2*A5 A58 5T 25&>IS?

    *25C?

    1-. C**2CT C?A*T =IT? C**2CT @A>L2S

    6 K2A*

    K6 5 2*S5S

    1. A@2*A&2 5. 2*S5S * 1RR- 6 1RRR

    . =?IC? K2A* ?AS >A*&2 8I2*25C2S I5 5 2*S5S

    3. I 107 2>2 >2A@2S T?2 IC2 I5 1RR; T?25,

    ?= A5K *2S? CA58I8AT2S CA5 2 A8828 I5 T?2 52T

    K2A*

    1. =?AT IS T?2 @A>L2 (3:3, :% V *(.;% 6T(3.4% V *( 3.4% 6 8L>AS *6 *L58 T6 T*L5CAT2

    1:. =?AT IS T?2 @A>L2 7 W 7 (-% V W 7 W (% =?2*2 7 6 8L>I5& W6 *2CI*CA>

    1;. ATC? T?2 >>=I5&

    A

    1. S25T25C2, A*A&*A? 1. TK2

    . ASATI, =?2AT . A A*T

    3. *T?2*, SIST2* 3. 5T A TK2

    4. *2I&A>, 8& 4. SI>I5&A5S! 16X 6X1 36X3 46X4

    1R. & (0% M1 & (1%M 61 I & (5%MO (& (561%%6 3(&(56%% T?25 =?AT IS T?2 @A>L2 & (4%D

    2dited y! *iyaG Ali H)an ayana . Tec) .(CS2%, 8. 2. C. 2. 2mail! 'iyaGJ+mail.com

    12

  • 8/16/2019 Attack TCS[1]

    13/93

    A t t a c k T C S

    0. A 0 0 0 0 1 1 1 1

    0 0 1 1 0 0 1 1

    C 0 1 0 1 0 1 0 1

      ( A L % C

    1. TI2 82&*22

    : Y 43.1-Z

    4 -Y 31 4.3Z T?25 =?AT =I>> 2 T?2 82&*22 =?25 TI2 IS 3 C>CH

    . T?*22 CA5I2S =*HI5& I58225825T>K A58 &2T SA@I5&S 107, 07, -7. I T?2 CA5I2S =*H

    PLST SIT2 T?25 =?AT =I>> 2 T?2 52T SA@I5&D

    3. =?IC? 52 =I>> 2 T?2 2ACT =2* 3 (i% :; (ii%:; (III% 1;:

    4. S2 *2>ATI5 T?AT IS 828LC2 T

    A (= % 8I*2CT **TI5A> T (= 3%

    (= % 8I*2CT **TI5A> T K (= 3%

      S2 L* A5S=2*S =2*2 &I@25

      A5S! A>> T?2 A@2

    -. R00 =I82 3000 =I8T?

    SOMETHING I CAN'T REMEMBER SOME VALUES ARE GIVEN 

      K AI* 2* *s. 4 K &*L58 2* *s. -

     T?25 =?2*2 L =I>> CLT A88 A5 LT

    . 1.PA@A .SA>>TA>H 3.>IS 4.2I2>

    :. 1.SA .A* 3.=A 4.TC I

    ;. =?IC? IS T?2 2*2CT 52 A5& T?2 4

    1. x V3yM4 . x V yM 61 3. KMxV 3

    1. -,,:,;,10,11,14D

    .

    A 1 0 0 1 0 0 0 1

    0 1 1 0 1 0 1 0

    C 1 0 0 1 0 1 1 0

    (Au%nC M D [(A union % inte'section C MD\

    3. ind t)e dd wo'd.

    Pa/a, >is$, Smalltal9, 2iffel

    (ne mo'e question of same ty$e 6 dd man out%

    4.

    Kea' R- R R: R; RR

    eme's 100 1 :0 10 -0

    i % =)ic) yea' )as maximum meme's +'owt)D Two mo'e questions on t)is. lease +oT)'ou+) a'ons &*2 data inte'$'etation $'olems

    2dited y! *iyaG Ali H)an ayana . Tec) .(CS2%, 8. 2. C. 2. 2mail! 'iyaGJ+mail.com

    13

  • 8/16/2019 Attack TCS[1]

    14/93

    A t t a c k T C S

    -. In ad'as, tem$e'atu'e at noon /a'ies acco'din+ to 6t] V ;t V 3 (*2A8 as! 6t squa'e V...%, w)e'e t is ela$sed

    time. ind )ow muc) tem$. o'e o' less in 4$m to R$m. (ay e we can sol/e it y 8efinite Inte+'ation. C)ec9 any way%

    . A man, a woman, and a c)ild can do a $iece of wo'9 in days. an only can do it in 4 days. =oman can do it in 1

    days and in )ow many days c)ild can do t)e same wo'9D (5ume's a'e not co''ect. 'olem model is im$o'tant%

    :. =)at is t)e )i+)est $'ime nume' t)at can e sto'ed in a ;6it mic'o$'ocesso'D

    ;. In w)ic) of t)e system 3;4 is equal to 134D (5ume's a'e not co''ect. Im$o'tant is only $'olem model%

    R. If 8^L"U is coded as C25T*A> t)en *8PH can e coded as 666666666

    10. T)e siGe of a $'o+'am is 5. And t)e memo'y occu$ied y t)e $'o+'am is +i/en y M squa'e 'oot of 1005. If t)e

    siGe of t)e $'o+'am is inc'eased y 17 t)en )ow muc) memo'y now occu$iedD

    11. 'enc), 2n+lis), &e'man 1.?ow

    many mo'e o' less s$ea9 2n+lis) t)an 'enc)D

    .=)at 7 $eo$le s$ea9 all t)e t)'ee lan+ua+esD

    3.=)at 7 $eo$le s$ea9 &e'man ut not 2n+lis)D

    1. T)e siGe of t)e uc9et is 5 H. T)e uc9et fills at t)e 'ate of 0.1 H $e' millisecond. A $'o+'amme' sends a $'o+'am

    to 'ecei/e'. T)e'e it waits fo' 10

    illiseconds. And 'es$onse will e ac9 to $'o+'amme' in 0 milliseconds.

    ased on ao/e info'mation one question is t)e'e.

    13. A $owe' unit is t)e'e y t)e an9 of t)e 'i/e' :-0 mts. A cale is made f'om $owe' unit to $owe' a $lant o$$osite to

    t)at of t)e 'i/e' at 1-00mts. T)e cost of t)e cale elow wate' is *s. 1-6 $e' mete' ansd cost of cale on t)e an9 is *s.

    16 $e' mete'.ased on ao/e info'mation one question is t)e'e.

    14. atc) t)e followin+.

    i. 'ot)e' 6 siste' a. a't of  

    ii. alsecian 6 do+ . Silin+

    iii. sentence 6 $a'a+'a$) c. Ty$e of 

    i/. d.

    1-. If t)e /e'tex (-,:% is $laced in t)e memo'y. i'st /e'tex (1,1% s add'ess is 14- and t)en add'ess of (-,:% is 66666

    1. A lana' solid cue contains )ow many /e'tices, )ow many co'ne' $oints and )ow many facesD

    1:. =)ic) of t)e equation satisfies t)e +'a$)D 4 equations +i/en.

    1;. Squa'e of t)e __te'mXX is di'ectly $'o$o'tional to t)e cue of t)e __anot)e' te'mXX . If t)e __te'mXX is a and

    __anot)e' te'mXX is t)en w)ic) one is co''ectD

    4 o$tions +i/en li9e a squa'e cue Mconst.

    Q2A,TITATI$- S-CTI/,

    1. If two $encils cost ; cents, t)en )ow muc) do - $encils costD

    Ans. 0 cents

    2dited y! *iyaG Ali H)an ayana . Tec) .(CS2%, 8. 2. C. 2. 2mail! 'iyaGJ+mail.com

    14

  • 8/16/2019 Attack TCS[1]

    15/93

    A t t a c k T C S

    . Some wo'9 is done y two $eo$le in 4 minutes. ne of t)em can do t)is wo'9 alone in 40 minutes. ?ow muc) time does

    t)e second $e'son ta9e to do t)e same wo'9 D

    Ans. 0 minutes

    3. A ca' is filled wit) fou' and )alf +allons of fuel fo' a 'ound t'i$.If t)e amount of fuel ta9en w)ile +oin+ is 14 mo'e t)an t)e

    amount ta9en fo' comin+, w)at is t)e amount of fuel consumed w)ile comin+ ac9D

    Ans. +allons

    4. T)e lowest tem$e'atu'e in t)e ni+)t in a city A is 13 mo'e t)an 1 t)e )i+)est du'in+ t)e day. Sum of t)e lowest

    tem$e'atu'e and t)e )i+)est tem$e'atu'e is 100 de+'ees. T)en w)at is t)e low tem$D

    Ans.40 de+'ees

    -. Pa/a+al, w)o decided to +o to wee9ened t'i$ s)ould not exceed ; )ou's d'i/in+ in a day. T)e a/e'a+e s$eed of fo'wa'd

     

  • 8/16/2019 Attack TCS[1]

    16/93

    A t t a c k T C S

    14. *efe' to t)e fi+u'e elow.A s)i$ sta'ted f'om and mo/es at a s$eed of I miles $e' )ou' and anot)e' s)i$ sta'ts f'om >

    and mo/in+ wit) ? miles $e' )ou' simultaneously.=)e'e do t)e two s)i$s meetD

    ``666+666``666)666``666i666`̀ 666 a'e t)e /a'ious sto$s in etween denoted y `` . T)e /alues +, ), i,

  • 8/16/2019 Attack TCS[1]

    17/93

    A t t a c k T C S

    Ans. 3:

    1. If *s.10 is di/ided etween etween A, and C in t)e 'atio !3!4, w)at is Cs s)a'eD

    Ans. *s. -0

    13. A s)o$9ee$e' ou+)t a watc) fo' *s.400 and sold it fo' *s.-00.=)at is )is $'ofit $e'centa+eD

    Ans. -7

    14. =)at $e'cent of 0 is 1D

    Ans. 07

    1-. ?ansie made t)e followin+ amounts in se/en +ames of c'ic9et in India! *s.10, *s.1-, *s.1, *s.1, *s.1;, *s.1R and

    *s.1:(all fi+u'es in c'o'es of cou'se%.ind )is a/e'a+e ea'nin+s.

    Ans. *s.1 c'o'e

    1% 52 *2CTA5&L>A* >AT2 =IT? >25&T? ;I5C?2S, *2A8T? 11 I5C?2S A58

    I5C?2S T?ICH52SS IS T?2*2.=?AT IS T?2 >25&T? T?2 CI*CL>A* *8

    =IT? 8IA2T2* ; I5C?2S A58 2"LA> T @>L2 *2CTA5&L>A* >AT2D

    A5S! 3.- I5C?2S

    % =?AT IS T?2 5L2* U2*S AT T?2 258 T?2 *8LCT T?2 5L2*S

    * 1 T 100

    3% In some +ame 13R meme's )a/e $a'tici$ated e/e'y time one fellow will +et ye w)at is t)e nume' of matc)es to c)oose

    t)e c)am$ion to e )eldD

    ans! 13;

    4% one fast ty$ist ty$e some matte' in )' and anot)e' slow ty$ist ty$e t)e same matte' in 3)'. if ot) do to+et)e' in )ow

    muc) time t)ey will finis).

    ans! 1)' 1min

    -% in ;O; c)ess oa'd w)at is t)e total nume' of squa'es 'efe' odel

    ans!04

    % fallin+ )ei+)t is $'o$o'tional to squa'e of t)e time. one o

  • 8/16/2019 Attack TCS[1]

    18/93

    A t t a c k T C S

    I% some lue a'e +'een II% some w)ite a'e +'een

    III%some +'een a'e not w)ite I@% all w)ite a'e lue

    a% )e )as +i/en fou' c)oices li9e +'e ty$e

    1%all teac)e's a'e students. some students a'e +i'ls.t)is ty$e of questions a'e t)e'e. we cant ale to 'e$'oduce t)em.

    Q2A,TITATI$- A,D 9/0ICA9 -AS/,I,0

    1. In a two6dimensional a''ay, (R, :%, wit) eac) element occu$yin+ 4 ytes of memo'y, wit) t)e add'ess of t)e fi'st

    element (1, 1% is 3000 find t)e add'ess of (;, -%.

    Ans: &"&

    . In t)e wo'd *&A5ISATI5A>, if t)e fi'st and second, t)i'd and fo't), fo't) and fift), fift) and sixt) wo'ds a'e

    inte'c)an+ed u$ to t)e last lette', w)at would e t)e tent) lette' f'om 'i+)tD

    Ans:I

    3. =)at is t)e la'+est $'ime nume' t)at can e sto'ed in an ;6it memo'yD Ans : &;"

    4. Select t)e odd one out…..a. Pa/a . >is$ c. Smalltal9 d. -iffel#

    -. Select t)e odd one out a. ST . =A c. SAP d. A*

    . Select t)e odd one out a. 'acle . 9inu> c. In+'ess d. 8

    :. Select t)e odd one out a. =A . ?TT c. 8AA, d. A*

    ;. Select t)e odd one out a. >I5L . L5I c. S>A*IS d. SQ9 S-$- 

    R. Select t)e odd one out a. S"> . 8 c. SKAS2 d. HTTP

    10. T)e siGe of a $'o+'am is 5. And t)e memo'y occu$ied y t)e $'o+'am is +i/en y M squa'e 'oot of 1005. If t)e siGe of

    t)e $'o+'am is inc'eased y 17 t)en )ow muc) memo'y now occu$iedD Ans:

    5#;?(SQT "5",)

    11. A man, a woman, and a c)ild can do a $iece of wo'9 in days. an only can do it in 4 days. =oman can do it in 1 days

    and in )ow many days c)ild can do t)e same wo'9D

    Ans: "7

    1. In w)ic) of t)e system, decimal nume' 1;4 is equal to 134D Ans: ;

    13. ind t)e /alue of t)e :; to t)e ase6:. Ans: "7;714. 5ume' of faces, /e'tices and ed+es of a cue Ans: 7 3 "&

    1-. Com$lete t)e se'ies , :, 4, ::,^^ Ans: &3

    1. ind t)e /alue of JJV-6VVJ1, w)e'e J denotes Zsqua'eZ and V denotes Zsqua'e 'ootZ.

    Ans: 7&"

    1:. ind t)e 'esult of t)e followin+ ex$'ession if, denotes modulus o$e'ation, * denotes 'ound6off, T denotes t'uncation!

    (3:3,-%V*(3.4%VT(:.:%V*(-.;% Ans:"=

    1;. If TAP?? is coded as *2H&I t)en *8PH can e coded asD Ans: @cck

    1R. &(0%M 61, &(1%M1, &(5%M&(561% 6 &(56%, &(-%M D Ans: 4 &

    2dited y! *iyaG Ali H)an ayana . Tec) .(CS2%, 8. 2. C. 2. 2mail! 'iyaGJ+mail.com

    18

  • 8/16/2019 Attack TCS[1]

    19/93

    A t t a c k T C S

    0. =)at is t)e max $ossile 3 di+it $'ime nume'D Ans: ==<

    1. A $owe' unit is t)e'e y t)e an9 of t)e 'i/e' of :-0 mete's widt). A cale is made f'om $owe' unit to $owe' $lant

    o$$osite to t)at of t)e 'i/e' and 1-00mts away f'om t)e $owe' unit.T)e cost of t)e cale elow wate' is *s.1-6 $e' mete'

    and cost of cale on t)e an9 is *s.16$e' mete'. ind t)e total of layin+ t)e cale. Ans : "555 (&6@? is w'itten as SL*IS2, w)at is S?8@8D Ans: P-AS-

    R. If A, and C a'e t)e mec)anisms used se$a'ately to 'educe t)e wasta+e of fuel y 307, 07 and 107.=)at will e t)e

    fuel economy if t)ey we'e used comined.

    Ans: &5?

    30. =)at is t)e $owe' of D a. 0; .&563  c.;

    31. Com$lete t)e se'ies. 3, ;, 66, 4, 66, 4;, 3. Ans: ";#;

    3. Com$lete t)e se'ies. 4, 6-, 11, 614, , 66 Ans: 4&

  • 8/16/2019 Attack TCS[1]

    20/93

    A t t a c k T C S

    3-. A can co$y -0 $a$e's in 10 )ou's w)ile ot) A can co$y :0 $a$e's in 10 )ou's. T)en fo' )ow many )ou's 'equi'ed

    fo' to co$y $a$e'sD Ans: "

    3. A is twice efficient t)an . A and can ot) wo'9 to+et)e' to com$lete a wo'9 in : days. T)en find in )ow many days, A

    alone can com$lete t)e wo'9D Ans: "5#;

    3:. A finis) t)e wo'9 in 10 days. is 07 efficient t)an A. So )ow many days do ta9es to finis) t)e wo'9D

    Ans :"557

    3;. A finis)es t)e wo'9 in 10 days in ; days indi/idually. If A wo'9s fo' only days t)en )ow many days s)ould wo'9 to

    com$lete As wo'9D Ans: #& 'a%s

    3R. &i/en t)e len+t) of t)e 3 sides of a t'ian+le. ind t)e one t)at is im$ossileD (?I5T! sum of smalle' sides is +'eate'

    t)an t)e ot)e' one, w)ic) is la'+e'%

    40. ind t)e sin+ula'ity mat'ix f'om a +i/en set of mat'icesD (?int det(A%MM0%%

    41. A 8 a''ay is decla'ed as A[R,:\ and eac) element 'equi'es yte. If A [1,1\ is sto'ed in 3000. ind t)e memo'y of

    A[;,-\ D Ans: "57

    4. Sum of slo$es of $e'$endicula' st.lines is +i/en. ind t)e $ai' of lines f'om t)e +i/en set of o$tions, w)ic) satisfy t)e

    ao/e conditionD

    43. (a% V3i (%1Vi (c% 36i (d% 16:i .ind w)ic) of t)e ao/e is o't)o+onal. Ans : aBc

    44. (omentumO@elocity%(Accele'ation O distance%. ind units. Ans: +ass

    4-. T)e nume' 3 in decimal system is +i/en y (13% x in t)e System of nume's find t)e /alue of

    a - % 7  c% : d% ; e% R

    4. &i/en means T'i$lin+ and 7 means c)an+e of si+n t)en find t)e /alue of 7677

     

    4:. y fli+)t ta9es of at am f'om a $lace at 1;5 102 and landed 10 ?'s late' at a $lace wit) coo'dinates 35:0=. =)at is

    t)e local time w)en my $lane landedD

    !00 am % !40am c% :!40 d% :!00 e% ;!00

     (?int! 2/e'y 1 de+ lon+itude is equal to 4 minutes. If west to east add time else sut'act time%

    4;. ind t)e )i+)est $'ime nume' t)at can e sto'ed in an ; it Com$ute'D

    4R. =)ic) of t)e followin+ set of nume's )as t)e )i+)est Standa'd de/iationD

    a%1,0,1,0,1,0 % 61, 61, 61, 61, 61, 61 c%1,1,1,1,1,1 d% 1,1,0, 61,0, 61

    1. y fat)e' )as no 'ot)e's. )e )as t)'ee siste's w)o )as two C)ilds eac).

      1X my +'andfat)e' )as two sons (f%

      X t)'ee of my aunts )a/e two sons (cant say%

      3X my fat)e' is only c)ild to )is fat)e' (f%

    2dited y! *iyaG Ali H)an ayana . Tec) .(CS2%, 8. 2. C. 2. 2mail! 'iyaGJ+mail.com

    20

  • 8/16/2019 Attack TCS[1]

    21/93

    A t t a c k T C S

      4X I )a/e six cousins f'om my mot)e' side (f%

      -X I )a/e one uncle (f%

    . 2t)e' in

  • 8/16/2019 Attack TCS[1]

    22/93

    A t t a c k T C S

    :. Co$e'nicus is t)e intelli+ent. In t)e days of Co$e'nicus t)e t'ans$o't and tec)nolo+y de/elo$ment was less it too9 $lace

    wee9s to communicate a messa+e at t)at time. =)e'e in we can send it t)'ou+) satellite wit) in no time 6666666666. 2/en wit)

    t)ese fast de/elo$ments it )as ecome difficult to unde'stand eac) ot)e'.

    1X $eo$le we'e not intelli+ent du'in+ Co$e'nicus days (f%.

    X T'ans$o't facilities a'e /e'y muc) im$'o/ed in now a days (cant say%

    3X 2/en wit) t)e fast de/elo$ments of t)e tec)nolo+y we cant li/e )a$$ily.(cant say%

    4X =e can unde'stand t)e $eo$le /e'y muc) wit) t)e de/elo$ment of communication (f%.

      ";% senio' mana+e's wa'ned t)e wo'9e's t)at ecause of t)e int'oducto'y of Pa$anese indust'y in t)e ca' ma'9et. T)e'e is

    t)e t)'eat to t)e wo'9e's. T)ey also said t)at t)e'e will e t)e 'eduction in t)e $u'c)ase of t)e sales of ca' in $ulic. T)e

    inte'est 'ates of t)e ca' will e inc'eased wit) t)e loss in demand.

      1X Pa$anese wo'9e's a'e ta9in+ o/e' t)e

  • 8/16/2019 Attack TCS[1]

    23/93

    A t t a c k T C S

    :. =)at is t)e code fo'med y 'e/e'sin+ t)e i'st and second lette's, t)e t)i'd and fou't) lette's and son on of t)e st'in+

    SIL>TA52LS>KD

    ;.T)e ase - 'e$'esentation of t)e decimal nume' 04; is ^^^^^.

    R.=)ic) is t)e la'+est $'ime nume' t)at can e sto'ed in a R6it 'e+iste'D

    10.ind t)e $)ysical quantity 'e$'esented y 25TL O@2>CITK\ [>25&T? O ACC2>2*ATI5\D

    11.A can do a $iece of wo'9 in 0 days, w)ic) can do in 1 days. In R days does g of t)e wo'9. ?ow many days will A

    ta9e to finis) t)e 'emainin+ wo'9D

    A55A Lni/e'sity6Cam$us *ec'uitment Puly003

    "LA5TITATI@2 A58 >&ICA> *2AS5I5&.

    1. In a two6dimensional a''ay, (R, :%, wit) eac) element occu$yin+ 4 ytes of memo'y, wit) t)e add'ess of t)e fi'st

    element (1, 1% is 3000, find t)e add'ess of (;, -%.

    A5S! 31

    . In t)e wo'd *&A5ISATI5A>, if t)e fi'st and second, t)i'd and fo't), fo't) and fift), fift) and sixt) wo'ds a'e

    inte'c)an+ed u$ to t)e last lette', w)at would e t)e tent) lette' f'om 'i+)tD

    A5S! I(*A5ISATI5A>&%

    2. In t)e wo'd *&A5ISATI5A>, if t)e fi'st and second, t)i'd and fo't), fift) and sixt) wo'ds a'e inte'c)an+ed u$ to t)e

    last lette', w)at would e t)e tent) lette' f'om 'i+)tD

    A5S! I(*A&I5ASIT5>A%

    3. =)at is t)e la'+est $'ime nume' t)at can e sto'ed in an ;6it memo'yDA5S!1:

    4. Select t)e odd one out. a. Pa/a . >is$ c. Smalltal9 d.2iffel .A5S! >IS

    -. Select t)e odd one out a. ST . =A c. SA d. A* A5S! SA

    . Select t)e odd one out a. 'acle . >inux c. In+'ess d. 8 A5S!>I5L

    :. Select t)e odd one out a. =A . ?TT c. AA5 d. A* A5S!AA5

    ;. Select t)e odd one out a. >I5L . L5I c.S>A*IS d. S"> S2*@2* A5S!S"> S2*@2*

    R. Select t)e odd one out a. S"> . 8 c.SKAS2 d. ?TT$ A5S!?TT

    10. T)e siGe of a $'o+'am is 5. And t)e memo'y occu$ied y t)e $'o+'am is +i/en y M squa'e 'oot of 1005. If t)e siGe oft)e $'o+'am is inc'eased y 17 t)en )ow muc) memo'y now occu$iedD

    11. A man, a woman, and a c)ild can do a $iece of wo'9 in days. an only can do it in 4 days. =oman can do it in 1 days

    and in )ow many days c)ild can do t)e same wo'9D A5S!1

    1. In w)ic) of t)e system, decimal nume' 1R4 is equal to 134D A5S!-

    13. ind t)e /alue of t)e :; to t)e ase :. A5S!1-

    14. 5ume' of faces, /e'tices and ed+es of a cue A5S!,;,1

    1-. Com$lete t)e se'ies , :, 4, ::,^^ A5S!3;

    1. ind t)e /alue of JJV-6VVJ1..., w)e'e J denotes Zsqua'eZ and V denotes Zsqua'e 'ootZ. A5S!11

    1:. ind t)e 'esult of t)e followin+ ^ex$'ession if, denotes modulus o$e'ation, * denotes 'ound6off, T denotes t'uncation!

    (3:3,-%V*(3.4%VT(:.:%V*(-.;% A5S!1R1;. If TAP?? is coded as *2H&I t)en *8PH can e coded as 666666666 A5S!CCHP

    1R. &(0%M61, &(1%M1, &(5%M&(561% 6 &(56%, &(-%M D A5S!6

    0. =)at is t)e max $ossile 3 di+it $'ime nume'D

    A5S!

    1. A $owe' unit is t)e'e y t)e an9 of t)e 'i/e' of :-0 mete's widt). A cale is made f'om $owe' unit to $owe' a $lant

    o$$osite to t)at of t)e 'i/e' and 1-00mts away f'om t)e $owe' unit. T)e cost of t)e cale elow wate' is *s. 1-6 $e' mete'

    and cost of cale on t)e an9 is *s.16 $e' mete'. ind t)e total of layin+ t)e cale.

    A5S!0-0

    . T)e siGe of a $'o+'am is 5. And t)e memo'y occu$ied y t)e $'o+'am is +i/en y M squa'e 'oot of 1005. If t)e siGe of

    t)e $'o+'am is inc'eased y 17 t)en )ow muc) memo'y now occu$iedD3. In ad'as, tem$e'atu'e at noon /a'ies acco'din+ to 6t] V ;t V 3, w)e'e t is ela$sed time. ind )ow muc)

    tem$e'atu'e mo'e o' less in 4$m to R$m. A5S! 3;-.;(8%

    4. T)e siGe of t)e uc9et is 5 9. T)e uc9et fills at t)e 'ate of 0.1 9 $e' millisecond. A $'o+'amme' sends a $'o+'am to

    2dited y! *iyaG Ali H)an ayana . Tec) .(CS2%, 8. 2. C. 2. 2mail! 'iyaGJ+mail.com

    23

  • 8/16/2019 Attack TCS[1]

    24/93

    A t t a c k T C S

    'ecei/e'. T)e'e it waits fo' 10 milliseconds. And 'es$onse will e ac9 to $'o+'amme' in 0 milliseconds. ?ow muc) time t)e

    $'o+'am ta9es to +et a 'es$onse ac9 to t)e $'o+'amme', afte' it

    is sentD A5S! 30I>IS2C58

    -. A man, a woman, and a c)ild can do a $iece of wo'9 in days. an only can do it in 4 days. =oman can do it in 1

    days and in )ow many days c)ild can do t)e same wo'9D

    . If t)e /e'tex (-,:% is $laced in t)e memo'y. i'st /e'tex (1,1% Ds add'ess is 14- and t)en add'ess of (-,:% is 6666666666

    :. =)ic) of t)e followin+ a'e o't)o+onal $ai'sD

    a. 3iV< . iV<

    c. i63< d. 6:iV<

    A5S! (A% (C%.

    ;. If @L>@? is w'itten as SL*IS2, w)at is S?8@8D A5S! 2ASA

    R. If A, and C a'e t)e mec)anisms used se$a'ately to 'educe t)e wasta+e of fuel y 307, 07 and 107. =)at will e t)e

    fuel economy if t)ey we'e used comined. A5S! 07

    30. =)at is t)e $owe' of D a. 0; .04; c.; A5S! (%. 04;

    31. Com$lete t)e se'ies. 3, ;, 66, 4, 66, 4;, 3 A5S! 1-,3-

    3. Com$lete t)e se'ies. 4, 6-, 11, 614, , 666 A5S! 6:

    33. A, and C a'e ; it noDs. T)ey a'e as follows!

    A 1 1 0 1 1 0 1 1

    0 1 1 1 1 0 1 0

    C 0 1 1 0 1 1 0 1

    ind ( (A6% u C %MD

    ?int !

    A6 is bA 6 bA n

    A5S! 0 1 1 1 1 1 1 1 (8%

    A li+)t ta9es off at A. f'om no't)east di'ection and t'a/els fo' 11 )ou's to 'eac) t)e destination w)ic) is in no't) west

    di'ection.&i/en t)e latitude and lon+itude of sou'ce and destination. ind t)elocal time of destination w)en t)e fli+)t 'eac)es t)e'eD

    A5S! 1!00 .

    3-. A can co$y -0 $a$e's in 10 )ou's w)ile ot) A can co$y :0 $a$e's in 10 )ou's. T)en fo' )ow many )ou's 'equi'ed

    fo' to co$y $a$e'sD A5S! 13

    3. A is twice efficient t)an . A and can ot) wo'9 to+et)e' to com$lete a wo'9 in : days. T)en find in )ow many days A

    alone can com$lete t)e wo'9D A5S! 10.- 8AKS(11%

    3:. A finis) t)e wo'9 in 10 days. is 07 efficient t)an A. So )o= days does ta9e to finis) t)e wo'9DA5S ! 48AKS.

    3;. A finis)es t)e wo'9 in 10 days in ; days indi/idually. If A wo'9s fo' only days t)en )ow many days s)ould wo'9 to

    com$lete ADs wo'9D A5S ! 3. 8AKS(4%3R. &i/en t)e len+t) of t)e 3 sides of a t'ian+le. ind t)e one t)at is

    im$ossileD (?I5T ! sum of smalle' sides is +'eate' t)an t)e ot)e' one w)ic) is la'+e'%

    40. ind t)e sin+ula'ity mat'ix f'om a +i/en set of mat'icesD(?int det(A%MM0%

    41. A 8 a''ay is decla'ed as A[R,:\ and eac) element 'equi'es yte.If A[ 1,1

    \ is sto'ed in 3000. ind t)e memo'y of A[;,-\ D A5S! 310.

    4. Sum of slo$es of $e'$endicula' st. lines is +i/en. ind t)e $ai' of lines f'om t)e +i/en set of o$tions w)ic) satisfy t)e

    ao/e conditionD

    43. (a% V3i (%1Vi (c% 36i (d% 16:i .ind

    w)ic) of t)e ao/e is o't)o+onal.

    A5S ! (A% (C%.44. (omentumO@elocity%(Accele'ation O distance % find units. A5S!ASS

    4-. T)e nume' 3 in decimal system is +i/en y (13%x in t)e system of nume's find t)e /alue of a- % c% : d% ;

    e% R

    2dited y! *iyaG Ali H)an ayana . Tec) .(CS2%, 8. 2. C. 2. 2mail! 'iyaGJ+mail.com

    24

  • 8/16/2019 Attack TCS[1]

    25/93

    A t t a c k T C S

    4. &i/en means T'i$lin+ and 7 means c)an+e of si+n t)en find t)e /alue of 7677

    A5S ! 6:

    4:. y fli+)t ta9es of at am f'om a $lace at 1;5 102 and landed 10 ?'s late' at a $lace wit) coo'dinates 35:0=. =)at is

    t)e local time w)en my $lane landed.

    a% !00 am % !40am c%:!40 d%:!00 e%;!00 (?int ! 2/e'y 1 de+ lon+itude is equal to 4 minutes . If west to east add time

    else sut'act time% A5S! (2% ;!00

    4;. ind t)e )i+)est $'ime nume' t)at can e sto'ed in an ;it com$ute'.

    4R. =)ic) of t)e followin+ set of nume's )as t)e )i+)est Standa'd de/iationD

    1,0,1,0,1,0

    61,61,61,61,61,61

    1,1,1,1,1,1

    1,1,0,61,0,61

    -0. atc) t)e followin+! 1. ale 6 oy 666Xa. A ty$e of . Squa'e 6 oly+on 666X . A $a't of 

    3. *oof 6 uildin+ 666Xc. 5ot a ty$e of 4. us)'oom 6 @e+etales 666X d.

    A su$e'set of Ans! 16 d, 6 a, 36 , 46 c

    -1. atc) t)e followin+.

    1. 'ot)e' 6 siste'

    666X a. a't of 

    . Alsatian 6 do+ 666X

    . Silin+

    3. sentence 6 $a'a+'a$) 666X

    c. Ty$e of 

    4. ca' 6 stee'in+

    666X d. 5ot a ty$e

    of 

    Ans. 16, 6c, 36a, 46d

    1. Two $encils costs ; cents, t)en - $encils cost )ow muc) (Ans!0 cents%.

     . A wo'9 is done y t)e $eo$le in 4 min. one of t)em can do t)is wo'9 a lonely in 40 min. )ow muc) time 'equi'ed to do

    t)e same wo'9 fo' t)e second $e'son. (ans!0 min.%

     3. A ca' is filled wit) fou' and )alf +allons of oil fo' full'ound t'i$. fuel is ta9en 14 +allons mo'3 in +oin+ t)an comin+. w)at

    is t)e fiel consumed in comin+ u$D ( +allons%

     4. low tem$e'atu'e at t)e ni+)t in a city is 13 mo'e t)an 1 )in+e as )i+)e' tem$e'atu'e in a day. sum of t)e low tem$

    and )i+)e'st tem$ is 100C. t)en w)at is t)e low tem$e'atu'e (40 C%

     -. A $e'son w)o decided to +o wee9end t'i$ s)ould not exceed ;)ou'sd'i/in+ in a day A/e'a+e s$eed of fo'wa'd

  • 8/16/2019 Attack TCS[1]

    26/93

  • 8/16/2019 Attack TCS[1]

    27/93

    A t t a c k T C S

    ``666+666``666)666``666i666`̀ 666 a'e t)e /a'ious sto$s in etween denoted y `` . T)e /alues +, ), i,

  • 8/16/2019 Attack TCS[1]

    28/93

    A t t a c k T C S

    find t)e local time of t)e $lace.

    10.a se'ies of lette's a'e +i/en

    )ow many =s ' followed y and $'eceded y T.

    11. :,R,13,^,:,3:. Ans61R

    1.SL*= Code is t'anslated as S?22T…..t)ese 9inda ques ' t)e'e….. 'es)e'swo'ld.com

    13.1R4 ase 10 M ^^^^ ase - (134%

    14.>a'+est $'ime no. in a it,; it (Ans 1:%,R it mic'o$'ocesso'

    1-.@enn 8ia+'am 9inda ques.

    Some 9now 2n+lis), some 'enc),some &e'man……)ow many 9now two lan+ua+es…..

    1.a' 8ia+'am, ie C)a't (simila' to 8ata inte'$'etation%

    1:.Code Inte'c)an+in+, A wo'd is +i/en…. >ette's a'e 'e/e'sed..u ' as9ed to find t)e nt) lette' f'om 'i+)t o' left….

    2+. 82STAI>IUATI5 Ans6T

    1;. Sums on lo+a'it)ms, e $owe' x cu'/es.

    1R.nM; x 1 x -1

    =)ic) of t)e foll+ is not an inte+e' Ans6 n1

    0.=)ic) is anot a $owe' of o' 3.

    owe' of 4 Ans640R

    1. A66 1 0 10 10 (5ot exact /alues%

    S-CTI/, I

    1. If @L>@? is w'itten as SL*IS2, w)at is S?8@8 D

      Ans. 2ASA ()int! in t)e fi'st

    wo'd, t)e al$)aets of t)e

  • 8/16/2019 Attack TCS[1]

    29/93

    A t t a c k T C S

      . ind t)e $e'centa+e of $eo$le $layin+ )oc9ey to t)at $layin+ ot) )oc9ey and c'ic9et. Ans!

    C. ind t)e $e'centa+e of $eo$le $layin+ all t)e +ames to t)e total nume' of $laye's. Ans! 7

    1-. ne mo'e question of t)e same ty$e (Same ty$e of dia+'am of cou'se in a diffe'ent set%

      1. ?ow many mo'e o' less s$ea9 2n+lis) t)an'enc)D

      . =)at 7 $eo$le s$ea9 all t)e t)'ee lan+ua+esD

      3. =)at 7 $eo$le s$ea9 &e'man ut not 2n+lis)D

    bIn anot)e' set c'ic9et, )oc9ey and tennis a'e c)an+ed wit) t)e name of some com$ute' lan+ua+es, suc) as

    Pa/a, Cool, o't'an (may e some ot)e' name%

    1. Select t)e odd one out a. 'acle .>inux c. In+'ess d. 8

    1:. Select t)e odd one out a. ST . =A c. SA d. A*

    1;. Select t)e odd man out. a. Pa/a .>is$ c. Smalltal9 d. 2iffel

    1R. =)ic) of t)e followin+ a'e o't)o+onal $ai'sD

      a. 3iV< . iV< c. i63< d. 6:iV<

    0. 5ume' of faces, /e'tices and ed+es of a cue

      a. 1,;, . 4,,; c. ,;,1 d. ,1,;

    1. &i/en a a' C)a't s)owin+ t)e sales of a com$any. (In i+u'e% T)e sales in yea's as s)own in t)e fi+u'e a'e (in c'o'es%

    1RR;61RRR 6 130, 1RR:61RR; 6 R0, 1RR61RR: 6 R0, 1RR-61RR 6 :0

      1. T)e )i+)est +'owt) 'ate was fo' t)e yea' Ans. 1RR;61RRR

      . T)e net inc'ease in sales of t)e com$any in t)e yea' s$an of 1RR-61RRR Ans. 0 c'o'es.

    3. T)e lowest +'owt) 'ate was fo' t)e yea' Ans. 1RR:

    . ind t)e /alue of t)e decimal nume' to t)e ase :. Ans. 143.

    3. Com$lete t)e se'ies!-,,:,;,10,11,14,^^. Ans. 1-

    4. If t)e /e'tex (-,:% is $laced in t)e memo'y. i'st /e'tex (1,1% hs add'ess is 14- and t)en add'ess of (-,:% is 666666

    -. In w)ic) of t)e system, decimal nume' 3;4 is equal to 134D Ans.

    . A man, a woman, and a c)ild can do a $iece of wo'9 in days. an only can do it in 4 days. =oman can do it in 1 days

    and in )ow many days c)ild can do t)e same wo'9D Ans.

    :. In ad'as, tem$e'atu'e at noon /a'ies acco'din+ to 6t] V ;t V 3, w)e'e t is ela$sed time. ind )ow muc)tem$e'atu'e mo'e o' less in 4$m to R$m. Ans.

    ;. T)e siGe of t)e uc9et is 5 9. T)e uc9et fills at t)e 'ate of 0.1 9 $e' millisecond. A $'o+'amme' sends a $'o+'am to

    'ecei/e'. T)e'e it waits fo' 10 milliseconds. And 'es$onse will e ac9 to $'o+'amme' in 0 milliseconds. ?ow muc) time t)e

    $'o+'am ta9es to +et a 'es$onse ac9 to t)e $'o+'amme', afte' it is sentD Ans.

    R. T)e siGe of a $'o+'am is 5. And t)e memo'y occu$ied y t)e $'o+'am is +i/en y M squa'e 'oot of 1005. If t)e siGe of

    t)e $'o+'am is inc'eased y 17 t)en )ow muc) memo'y now occu$ied D Ans.

    30. A $owe' unit is t)e'e y t)e an9 of t)e 'i/e' of :-0 mete's widt). A cale is made f'om $owe' unit to $owe' a $lant

    o$$osite to t)at of t)e 'i/e' and 1-00mts away f'om t)e $owe' unit. T)e cost of t)e cale elow wate' is *s. 1-6 $e' mete'

    and cost of cale on t)e an9 is *s.16 $e' mete'. ind t)e total of layin+ t)e cale. Ans. *s. ,-00 ()int! t)e

    $lant is on t)e ot)e' side of t)e $lant i.e. it is not on t)e same side as t)e 'i/e'%bT)e'e a'e two questions, ot) s)owin+ a cu'/e. In t)e fi'st one, you )a/e to identify t)e cu'/e. In t)e second one you )a/e

    to w'ite t)e equation of t)e cu'/e. In

    A,A9YTICA9:

     i am sendin+ t)e questions.t)ese ' t)e models.t)e same ty$e may e as9ed ut wit) diffe'ent nume's.if u sol/e all of t)ese

    u can easily sol/e all t)e $'olems in t)e main $a$e'

    1% )anu s$ends 307 of )is income on $et'ol on scoote'. of t)e 'emainin+ on )ouse 'ent and t)e alance on food. If

    )e s$ends *s.300 on $et'ol t)en w)at is t)e ex$enditu'e on )ouse 'entD

    a% *s.-- % *s.1000 c% *s.:- d% *s.1:-

    2dited y! *iyaG Ali H)an ayana . Tec) .(CS2%, 8. 2. C. 2. 2mail! 'iyaGJ+mail.com

    29

  • 8/16/2019 Attack TCS[1]

    30/93

    A t t a c k T C S

    % If t)e nume'ato' of a f'action is inc'eased y -7 and denominato' dec'eased y 07, t)e new /alue is -4. =)at is

    t)e o'i+inal /alueD

    a% 3- % 4- c% :; d% 3:

    3% T)e len+t) of a 'ectan+le is inc'eased y 07. y w)at 7 would t)e widt) )a/e to e dec'eased to maintain t)e

    same a'eaD

    a% 307 % 07 c% :-7 d% 3:.-7

    4% T)e /alue of g V - 3 V : 144 V …….V1: -1;4 V 1R ;100 is

    a% 0.RR % 0.R; c% 0.R- d% 5one of t)ese

    -% A s$o'tin+ +oods sto'e o'de'ed an equal nume' of w)ite and yellow alls. T)e tennis all com$any deli/e'ed 4-

    ext'a w)ite alls, ma9in+ t)e 'atio of w)ite alls to yellow alls 1- ! 1. ?ow many w)ite tennis alls did t)e sto'e o'i+inally

    o'de' fo'D

    a% 4-0 % :0 c% - d% 5one of t)ese

    % A students +'ade in a cou'se is dete'mined y quiGGes and one examination. If t)e examination counts t)'ice as

    muc) as eac) of t)e quiGGes, w)at f'action of final +'ade is dete'mined y t)e examinationD

    a% 1 % 1- c% 13 d%

    :% A sum of money is di/ided amon+ A, and C suc) t)at fo' eac) 'u$ee A +ets, +ets -$aise and C +ets 3-$aise. If

    Cs s)a'e is *s.-0, t)e sum is …

    a% 400 % ;00 c% 300 d% 3;00

    ;% Poes fat)e' will e twice )is a+e yea's f'om now. ?is mot)e' was twice )is a+e yea's efo'e. If Poe will e 4

    two yea's f'om now, w)at is t)e diffe'ence etween )is fat)e's and mot)e's a+eD

    a% 4 % c% ; d% 10

    R% A t'a/ele' wal9s a ce'tain distance. ?ad )e +one )alf a 9ilomete' an )ou' faste' j, )e would )a/e wal9ed it in 4- of

    t)e time, and )ad )e +one )alf a Hilomete' an )ou' slowe', )e would )a/e wal9ed k )' lon+e'. =)at is t)e distanceD

    a% 10 Hm % 1- Hm c% 0 Hm d% 8ata Insufficient

    10% Two o'an+es, 3 ananas and 4 a$$les cost *s.1-. 3 o'an+es, ananas and 1 a$$le cost *s.10. I ou+)t 3 o'an+es,

    3 ananas and 3 a$$les. ?ow muc) did I $ayD

    a% 10 % ; c% 1- d% Cannot e dete'mined

    11% A 'e$o't consists of 0 s)eets eac) of -- lines and eac) suc) line consists of - c)a'acte's. T)is 'e$o't is 'ety$ed

    into s)eets eac) of - lines suc) t)at eac) line consists of :0 c)a'acte's. T)e 7 'eduction in t)e nume' of s)eets is closest

    to

    a% 0 % - c% 30 d% 3-

    1% A s)i$ lea/es on a lon+ /oya+e. =)en it is 1; miles f'om t)e s)o'e, a sea$lane, w)ose s$eed is 10 times t)at of t)e

    s)i$ is sent to deli/e' mail. ?ow fa' f'om t)e s)o'e does t)e sea$lane catc) u$o wit) t)e s)i$D

    a% 4 miles % - miles c% miles d% 0 miles

    2dited y! *iyaG Ali H)an ayana . Tec) .(CS2%, 8. 2. C. 2. 2mail! 'iyaGJ+mail.com

    30

  • 8/16/2019 Attack TCS[1]

    31/93

    A t t a c k T C S

    13% Anand finis)es a wo'9 in : days, ittu finis)es t)e same

  • 8/16/2019 Attack TCS[1]

    32/93

    A t t a c k T C S

    -% A $e'son )ad to multi$ly two nume's. Instead of multi$lyin+ y 3-, )e multi$lied y -3and t)e $'oduct went u$ y

    -40. =)at was t)e 'aised $'oductD

    a% :;0 % 1040 c% 1-R0 d% 1:0

    1.If + (0%M+ (1%M1 And + (n%M + (n61% V + (n 6% find + (%

    .A $lane mo/es f'om RD540D2 to RD540D=. If t)e $lane sta'ts at 10 am and ta9es ; )ou's to 'eac) t)e destination, find t)e

    local a''i/al time.

    3. If lo+ 0.31:M……… and lo+ 0.31;M………. T)en find t)e /alue of lo+ 0.31R.

    4.Kou will e +i/en t)e it $osition /alues fo' A, and C and usin+ t)e 'elation (AD% u C you )a/e to const'uct t)e t'ut)

    tale. T)en find t)e co''es$ondin+ decimal nume' and c)oose t)e 'i+)t o$tion.

    -.Com$lete t)e sequence R,10,11,13,1-, ^^, 1,;.

    .In a ce'tain fo'mat TLLP is coded as STATI5. T)e code of w)ic) st'in+ is I>T2*D

    :. =)at is t)e code fo'med y 'e/e'sin+ t)e i'st and second lette's, t)e t)i'd and fou't) lette's and son on of t)e st'in+

    SIL>TA52LS>KD

    ;.T)e ase - 'e$'esentation of t)e decimal nume' 04; is ^^^^^.

    R.=)ic) is t)e la'+est $'ime nume' t)at can e sto'ed in a R6it 'e+iste'D

    10.ind t)e $)ysical quantity 'e$'esented y 25TL O@2>CITK\ [>25&T? O ACC2>2*ATI5\D

    11.A can do a $iece of wo'9 in 0 days, w)ic) can do in 1 days. In R days does g of t)e wo'9. ?ow many days will A

    ta9e to finis) t)e 'emainin+ wo'9D

    1. In a two6dimensional a''ay, (R, :%, wit) eac) element occu$yin+ 4 ytes of memo'y, wit) t)e add'ess of t)e fi'st

    element (1, 1% is 3000, find t)e add'ess of (;, -%.

     ANS #! 31

    . In t)e wo'd *&A5ISATI5A>, if t)e fi'st and second, t)i'd and fo't), fo't) and fift), fift) and sixt) wo'ds a'e

    inte'c)an+ed u$ to t)e last lette', w)at would e t)e tent) lette' f'om 'i+)tD

     ANS #! I(*A5ISATI5A>&%

    2. In t)e wo'd *&A5ISATI5A>, if t)e fi'st and second, t)i'd and fo't), fift) and sixt) wo'ds a'e inte'c)an+ed u$ to t)e

    last lette', w)at would e t)e tent) lette' f'om 'i+)tD

     ANS #! I(*A&I5ASIT5>A%

    3. =)at is t)e la'+est $'ime nume' t)at can e sto'ed in an ;6it memo'yD   ANS #!1:

    4. Select t)e odd one out. a. Pa/a . >is$ c. Smalltal9 d.2iffel.   ANS #! >IS

    -. Select t)e odd one out a. ST . =A c. SA d. A*   ANS #! SA

    . Select t)e odd one out a. 'acle . >inux c. In+'ess d. 8   ANS #!>I5L

    :. Select t)e odd one out a. =A . ?TT c. AA5 d. A*  ANS 

    #!AA5;. Select t)e odd one out a. >I5L . L5I c.S>A*IS d. S"> S2*@2*   ANS #!S"> S2*@2*

    R. Select t)e odd one out a. S"> . 8 c.SKAS2 d. ?TT   ANS #!?TT

    2dited y! *iyaG Ali H)an ayana . Tec) .(CS2%, 8. 2. C. 2. 2mail! 'iyaGJ+mail.com

    32

  • 8/16/2019 Attack TCS[1]

    33/93

    A t t a c k T C S

    10. T)e siGe of a $'o+'am is 5. And t)e memo'y occu$ied y t)e $'o+'am is +i/en y M squa'e 'oot of 1005. If t)e siGe of

    t)e $'o+'am is inc'eased y 17 t)en )ow muc) memo'y now occu$iedD

    11. A man, a woman, and a c)ild can do a $iece of wo'9 in days. an only can do it in 4 days. =oman can do it in 1 days

    and in )ow many days c)ild can do t)e same wo'9D   ANS #!1

    1. In w)ic) of t)e system, decimal nume' 1R4 is equal to 134D   ANS #!-

    13. ind t)e /alue of t)e :; to t)e ase :.  ANS #!1-

    14. 5ume' of faces, /e'tices and ed+es of a cue  ANS #!,;,1

    1-. Com$lete t)e se'ies , :, 4, ::,^^  ANS #!3;

    1. ind t)e /alue of JJV-6VVJ1..., w)e'e J denotes Zsqua'eZ and V denotes Zsqua'e 'ootZ.   ANS #!11

    1:. ind t)e 'esult of t)e followin+ ^ex$'ession if, denotes modulus o$e'ation, * denotes 'ound6off, T denotes t'uncation!

    (3:3,-%V*(3.4%VT(:.:%V*(-.;% ANS #!1R

    1;. If TAP?? is coded as *2H&I t)en *8PH can e coded as 666666666   ANS #!CCHP

    1R. &(0%M61, &(1%M1, &(5%M&(561% 6 &(56%, &(-%M D   ANS #!6

    0. =)at is t)e max $ossile 3 di+it $'ime nume'D   ANS #!

    1. A $owe' unit is t)e'e y t)e an9 of t)e 'i/e' of :-0 mete's widt). A cale is made f'om $owe' unit to $owe' a $lant

    o$$osite to t)at of t)e 'i/e' and 1-00mts away f'om t)e $owe' unit. T)e cost of t)e

    cale elow wate' is *s. 1-6 $e' mete' and cost of cale on t)e an9 is *s.16 $e' mete'. ind t)e total of layin+ t)e cale.

     ANS :&5&;5

    . T)e siGe of a $'o+'am is 5. And t)e memo'y occu$ied y t)e $'o+'am is +i/en y M squa'e 'oot of 1005. If t)e siGe of

    t)e $'o+'am is inc'eased y 17 t)en )ow muc) memo'y now occu$iedD

    3. In ad'as, tem$e'atu'e at noon /a'ies acco'din+ to 6t] V ;t V 3, w)e'e t is ela$sed time. ind )ow muc)

    tem$e'atu'e mo'e o' less in 4$m to R$m.   ANS #! 3;-.;(8%

    4. T)e siGe of t)e uc9et is 5 9. T)e uc9et fills at t)e 'ate of 0.1 9 $e' millisecond. A $'o+'amme' sends a $'o+'am to

    'ecei/e'. T)e'e it waits fo' 10 milliseconds. And 'es$onse will e ac9 to $'o+'amme' in 0 milliseconds. ?ow muc) time t)e

    $'o+'am ta9es to +et a 'es$onse ac9 to t)e $'o+'amme', afte' it is sentD   ANS #! 30I>IS2C58

    -. A man, a woman, and a c)ild can do a $iece of wo'9 in days. an only can do it in 4 days. =oman can do it in 1days and in )ow many days c)ild can do t)e same wo'9D

    . If t)e /e'tex (-,:% is $laced in t)e memo'y. i'st /e'tex (1,1% Ds add'ess is 14- and t)en add'ess of (-,:% is 6666666666

    :. =)ic) of t)e followin+ a'e o't)o+onal $ai'sD a. 3iV< . iV< c. i63< d. 6:iV<   ANS #! (A% (C%.

    ;. If @L>@? is w'itten as SL*IS2, w)at is S?8@8D   ANS #! 2ASA

    R. If A, and C a'e t)e mec)anisms used se$a'ately to 'educe t)e wasta+e of fuel y 307, 07 and 107. =)at will e t)e

    fuel economy if t)ey we'e used comined.   ANS #! 07

    30. =)at is t)e $owe' of D a. 0; .04; c.;   ANS #! (%. 04;

    31. Com$lete t)e se'ies. 3, ;, 66, 4, 66, 4;, 3   ANS #! 1-,3-

    3. Com$lete t)e se'ies. 4, 6-, 11, 614, , 666   ANS #! 6:

    33. A, and C a'e ; it noDs. T)ey a'e as follows!A 1 1 0 1 1 0 1 1 0 1 1 1 1 0 1 0 C 0 1 1 0 1 1 0 1 ind ( (A6% u C %MD

    ?int ! A6 is bA 6 bA n   ANS #! 0 1 1 1 1 1 1 1 (8%

    A li+)t ta9es off at A. f'om no't)east di'ection and t'a/els fo' 11 )ou's to 'eac) t)e destination w)ic) is in no't) west

    di'ection.&i/en t)e latitude and lon+itude of sou'ce and destination. ind t)e

    local time of destination w)en t)e fli+)t 'eac)es t)e'eD  ANS #! 1!00 .

    3-. A can co$y -0 $a$e's in 10 )ou's w)ile ot) A can co$y :0 $a$e's in 10 )ou's. T)en fo' )ow many )ou's 'equi'ed

    fo' to co$y $a$e'sD  ANS #! 13

    3. A is twice efficient t)an . A and can ot) wo'9 to+et)e' to com$lete a wo'9 in : days. T)en find in )ow many days A

    alone can com$lete t)e wo'9D   ANS #! 10.- 8AKS(11%

    3:. A finis) t)e wo'9 in 10 days. is 07 efficient t)an A. So )o= days does ta9e to finis) t)e wo'9D ANS 

    # ! 48AKS.3;. A finis)es t)e wo'9 in 10 days in ; days indi/idually. If A wo'9s fo' only days t)en )ow many days s)ould wo'9 to

    com$lete ADs wo'9D   ANS # ! 3. 8AKS(4%

    2dited y! *iyaG Ali H)an ayana . Tec) .(CS2%, 8. 2. C. 2. 2mail! 'iyaGJ+mail.com

    33

  • 8/16/2019 Attack TCS[1]

    34/93

    A t t a c k T C S

    3R. &i/en t)e len+t) of t)e 3 sides of a t'ian+le. ind t)e one t)at is im$ossileD (?I5T ! sum of smalle' sides is +'eate'

    t)an t)e ot)e' one w)ic) is la'+e'%

    40. ind t)e sin+ula'ity mat'ix f'om a +i/en set of mat'icesD(?int det(A%MM0%

    41. A 8 a''ay is decla'ed as A[R,:\ and eac) element 'equi'es yte.If A[ 1,1\ is sto'ed in 3000. ind t)e memo'y of A[;,-\

    D   ANS #! 310.

    4. Sum of slo$es of $e'$endicula' st. lines is +i/en. ind t)e $ai' of lines f'om t)e +i/en set of o$tions w)ic) satisfy t)e

    ao/e conditionD

    43. (a% V3i (%1Vi (c% 36i (d% 16:i .ind w)ic) of t)e ao/e is o't)o+onal.   ANS # ! (A% (C%.

    44. (omentumO@elocity%(Accele'ation O distance % find units.   ANS #!ASS

    4-. T)e nume' 3 in decimal system is +i/en y (13%x in t)e system of nume's find t)e /alue of a- % c% : d% ;

    e% R

    4. &i/en me Ans# T'i$lin+ and 7 me Ans# c)an+e of si+n t)en find t)e /alue of 7677   ANS # ! 6:

    4:. y fli+)t ta9es of at am f'om a $lace at 1;5 102 and landed 10 ?'s late' at a $lace wit) coo'dinates 35:0=. =)at is

    t)e local time w)en my $lane landed.

    a% !00 am % !40am c%:!40 d%:!00

    e%;!00 (?int ! 2/e'y 1 de+ lon+itude is equal to 4 minutes . If west to east add time else sut'act time%  ANS #! (2% ;!00

    4;. ind t)e )i+)est $'ime nume' t)at can e sto'ed in an ;it com$ute'.

    4R. =)ic) of t)e followin+ set of nume's )as t)e )i+)est Standa'd de/iationD

    1,0,1,0,1,0

    61,61,61,61,61,61

    1,1,1,1,1,1

    1,1,0,61,0,61

    -0. atc) t)e followin+!

    1. ale 6 oy 666X

    a. A ty$e of 

    . Squa'e 6 oly+on 666X. A $a't of 

    3. *oof 6 uildin+ 666X

    c. 5ot a

    ty$e of 

    4. us)'oom 6 @e+etales 666X d.

    A su$e'set of 

     Ans#! 16 d, 6 a, 36 , 46 c

    -1. atc) t)e followin+.

    1. 'ot)e' 6 siste'

    666X a. a't of . Alsatian 6 do+ 666X

    . Silin+

    3. sentence 6 $a'a+'a$) 666X

    c. Ty$e of 

    4. ca' 6 stee'in+

    666X d. 5ot a ty$e

    of 

     Ans#. 16, 6c, 36a, 46d

     1. Two $encils costs ; cents, t)en - $encils cost )ow muc) ( Ans

    #!0 cents%. . A wo'9 is done y t)e $eo$le in 4 min. one of t)em can do t)is wo'9 a lonely in 40 min. )ow muc) time 'equi'ed to do

    t)e same wo'9 fo' t)e second $e'son. ( Ans#!0 min.%

    2dited y! *iyaG Ali H)an ayana . Tec) .(CS2%, 8. 2. C. 2. 2mail! 'iyaGJ+mail.com

    34

  • 8/16/2019 Attack TCS[1]

    35/93

  • 8/16/2019 Attack TCS[1]

    36/93

    A t t a c k T C S

    R. A us sta'ted f'om ustand at ;.00am, and afte' stayin+ fo' 30 minutes at a destination, it 'etu'ned ac9 to t)e usstand.

    T)e destination is : miles f'om t)e usstand. T)e s$eed of t)e us is 1;m$). 8u'in+ t)e 'etu'n

    and mo/in+ wit) ? miles $e' )ou' simultaneously.=)e'e do t)e two s)i$s meetD

    ``666+666``666)666``666i666`̀ 666 a'e t)e /a'ious sto$s in etween denoted y `` . T)e /alues +, ), i,

  • 8/16/2019 Attack TCS[1]

    37/93

    A t t a c k T C S

    13. A s)o$9ee$e' ou+)t a watc) fo' *s.400 and sold it fo' *s.-00.=)at is )is $'ofit $e'centa+eD Ans#. -7

    14. =)at $e'cent of 0 is 1D   Ans#. 07

    1-. ? Ans#ie made t)e followin+ amounts in se/en +ames of c'ic9et in India! *s.10, *s.1-, *s.1, *s.1, *s.1;, *s.1R and

    *s.1:(all fi+u'es in c'o'es of cou'se%.ind )is a/e'a+e ea'nin+s.   Ans#. *s.1 c'o'e

    "uantitati/e!

    1. 3 an+les o' 3 sides ' +i/en.=)ic) will fo'm a t'ian+leD

    . units of asic quantities !

    1. (ene'+y O time O time %(mass O dist% M distance 'es)e'swo'ld.com

    . (momentum O /elocity%(fo'ce O time% M /elocity

    3.EE is fo' doulin+ t)e /alue B7E is fo' c)an+e of si+n t)en w)at is t)e /alue -67-  Ans#630 (C)ec9%

    3. -;,:,1,x,,1. ind x.

    4. *6'oundin+ off, 6modulus, T6t'uncate (;R3,10%V'( %Vt( % is as9ed

    -./e'tices ed+es and su'faces of a cue  Ans#6;,1,

    .Sums on *ecu'si/e functions

    :."uestions on &ene'al com$ute' awa'eness

    ic9 t)e odd one…..

    1.)tt$ .a'$ 3.snm$ 4.sa$ Ans#6sa$ Anot)e'….. Ans#6Smt$

    1.linux .windows 5T 3.sql se'/e' 4.Lnix Ans#6Sql se'/e' 'es)e'swo'ld.com  Ans#6@S

    ;. =)ic) of t)e followin+ is a sin+ula' mat'ix. (8ete'minant must e Ge'o%

    R. Ae'o$lane is flyin+ at a $a'ticula' an+le and latitude,afte' some time anot)e' latitude is +i/en..(; )'s late'%, u ' as9ed to

    find t)e local time of t)e $lace.

    10.a se'ies of lette's a'e +i/en )ow many =s ' followed y and $'eceded y T.11. :,R,13,^,:,3:.  Ans#61R

    1.SL*= Code is t' Ans#lated as S?22T…..t)ese 9inda ques ' t)e'e….. 'es)e'swo'ld.com

    13.1R4 ase 10 M ^^^^ ase - (134%

    14.>a'+est $'ime no. in a it,; it ( Ans# 1:%,R it mic'o$'ocesso'

    1-.@enn 8ia+'am 9inda ques.

    Some 9now 2n+lis), some 'enc),some &e'man……)ow many 9now two lan+ua+es…..

    1.a' 8ia+'am, ie C)a't (simila' to 8ata inte'$'etation%

    1:.Code Inte'c)an+in+, A wo'd is +i/en…. >ette's a'e 'e/e'sed..u ' as9ed to find t)e nt) lette' f'om 'i+)t o' left….

    2+.

    82STAI>IUATI5  Ans#6T1;. Sums on lo+a'it)ms, e $owe' x cu'/es. 'es)e'swo'ld.com

    1R.nM; x 1 x -1

    =)ic) of t)e foll+ is not an inte+e' Ans#6 n1

    0.=)ic) is anot a $owe' of o' 3. owe' of 4 Ans#640R

    1. A66 1 0 10 10 (5ot exact /alues%

    1. If @L>@? is w'itten as SL*IS2, w)at is S?8@8 D

     Ans. PEASA ()int! in t)e fi'st wo'd, t)e al$)aets of t)e

  • 8/16/2019 Attack TCS[1]

    38/93

    A t t a c k T C S

    u$ to t)e last lette', w)at would e t)e tent) lette' f'om 'i+)tD   Ans. wod is CE!"#"$EI%SC tent&

    wod is %

    4. ind t)e 'esult of t)e followin+ ex$'ession if, denotes modulus o$e'ation, * denotes 'ound6off, T denotes t'uncation!

    (3:3,-%V*(3.4%VT(:.:%V*(-.;%   Ans. '

    -. =)at is t)e la'+est $'ime nume' t)at can e sto'ed in an ;6it memo'yD   Ans.

    . ind t)e $)ysical quantity in units f'om t)e equation! (o'ceO8istance%(@elocityO@elocity%   Ans. !s2*

    :. ind t)e /alue of JJV-6VVJ1, w)e'e J denotes Zsqua'eZ and V denotes Zsqua'e 'ootZ.   Ans: +2'

    ;. If f(0%M1 and f(n%M f(n61%On, find t)e /alue of f(4%.   Ans: 2,

    R. Con/e't t)e decimal nume' 310 to t)e ase .   Ans: '2-,

    10. ind t)e missin+ nume' in t)e se'ies! , -, ^^ , 1R , 3:, :-   Ans:

    11. In a two6dimensional a''ay, (R,:%, wit) eac) element occu$yin+ 4 ytes of memo'y, wit) t)e add'ess of t)e fi'st element

    (1,1% is 3000, find t)e add'ess of (;,-%.   Ans.

    1. ind t)e fou't) 'ow, )a/in+ t)e it $atte'n as an inte+e' in an ;6it com$ute', and ex$'ess t)e Ans#we' in its decimal

    /alue.

    A 0 0 0 0 1 1 1 1

    0 0 1 1 0 0 1 1

    C 0 1 0 1 0 1 0 1

    (AL(6C%% D   Ans. 2

    13. Com$lete t)e se'ies , :, 4, ::,^^ ()int! O1M 4, :O11M ::, t)e'efo'e 4O10M 40%   Ans: 2,0

    14. Conside' t)e followin+ dia+'am fo'  Ans#we'in+ t)e followin+ questions!

    A. ind t)e diffe'ence etween $eo$le $layin+ c'ic9et and tennis alone.   Ans: , 

    . ind t)e $e'centa+e of $eo$le $layin+ )oc9ey to t)at $layin+ ot) )oc9ey and c'ic9et.   Ans:

    C. ind t)e $e'centa+e of $eo$le $layin+ all t)e +ames to t)e total nume' of $laye's.   Ans: +

    1-. ne mo'e question of t)e same ty$e (Same ty$e of dia+'am of cou'se in a diffe'ent set%1. ?ow many mo'e o' less s$ea9 2n+lis) t)an 'enc)D

    . =)at 7 $eo$le s$ea9 all t)e t)'ee lan+ua+esD

    3. =)at 7 $eo$le s$ea9 &e'man ut not 2n+lis)D

    bIn anot)e' set c'ic9et, )oc9ey and tennis a'e c)an+ed wit) t)e name of some com$ute' lan+ua+es, suc) as Pa/a, Cool,

    o't'an (may e some ot)e' name%

    1. Select t)e odd one out a. 'acle b. Lin/ c. In+'ess d. 8

    1:. Select t)e odd one out a. ST . =A c. SAP d. A*

    1;. Select t)e odd man out. a. Pa/a . >is$ c. Smalltal9 d. Ei11el  

    1R. =)ic) of t)e followin+ a'e o't)o+onal $ai'sD a. 3iV< . iV< c. i63< d. 6:iV<

    0. 5ume' of faces, /e'tices and ed+es of a cue a. 1,;, . 4,,; c. +3'2 d. ,1,;1. &i/en a a' C)a't s)owin+ t)e sales of a com$any. (In i+u'e% T)e sales in yea's as s)own in t)e fi+u'e a'e (in c'o'es%

    1RR;61RRR 6 130, 1RR:61RR; 6 R0, 1RR61RR: 6 R0, 1RR-61RR 6 :0

    1. T)e )i+)est +'owt) 'ate was fo' t)e yea'   Ans. '34'

    . T)e net inc'ease in sales of t)e com$any in t)e yea' s$an of 1RR-61RRR   Ans. +0 coes. 

    3. T)e lowest +'owt) 'ate was fo' t)e yea'   Ans. '5 

    . ind t)e /alue of t)e decimal nume' to t)e ase :.   Ans. ',-+.

    3. Com$lete t)e se'ies!-,,:,;,10,11,14,^^.   Ans. '6 

    4. If t)e /e'tex (-,:% is $laced in t)e memo'y. i'st /e'tex (1,1% hs add'ess is 14- and t)en add'ess of (-,:% is 6666666666

    -. In w)ic) of t)e system, decimal nume' 3;4 is equal to 134D  Ans

    .. A man, a woman, and a c)ild can do a $iece of wo'9 in days. an only can do it in 4 days. =oman can do it in 1 days

    and in )ow many days c)ild can do t)e same wo'9D   Ans.

    :. In ad'as, tem$e'atu'e at noon /a'ies acco'din+ to 6t] V ;t V 3, w)e'e t is ela$sed time. ind )ow muc)

    2dited y! *iyaG Ali H)an ayana . Tec) .(CS2%, 8. 2. C. 2. 2mail! 'iyaGJ+mail.com

    38

  • 8/16/2019 Attack TCS[1]

    39/93

    A t t a c k T C S

    tem$e'atu'e mo'e o' less in 4$m to R$m.   Ans.

    ;. T)e siGe of t)e uc9et is 5 9. T)e uc9et fills at t)e 'ate of 0.1 9 $e' millisecond. A $'o+'amme' sends a $'o+'am to

    'ecei/e'. T)e'e it waits fo' 10 milliseconds. And 'es$onse will e ac9 to $'o+'amme' in 0 milliseconds. ?ow muc) time t)e

    $'o+'am ta9es to +et a 'es$onse ac9 to t)e $'o+'amme', afte' it is sentD   Ans.

    R. T)e siGe of a $'o+'am is 5. And t)e memo'y occu$ied y t)e $'o+'am is +i/en y M squa'e 'oot of 1005. If t)e siGe of

    t)e $'o+'am is inc'eased y 17 t)en )ow muc) memo'y now occu$ied D   Ans.

    30. A $owe' unit is t)e'e y t)e an9 of t)e 'i/e' of :-0 mete's widt). A cale is made f'om $owe' unit to $owe' a $lant

    o$$osite to t)at of t)e 'i/e' and 1-00mts away f'om t)e $owe' unit. T)e cost of t)e cale elow wate' is *s. 1-6 $e' mete'

    and cost of cale on t)e an9 is *s.16 $e' mete'. ind t)e total of layin+ t)e cale.

     Ans. %s. 22600 ()int! t)e $lant is on t)e ot)e' side of t)e $lant i.e. it is not on t)e same side as t)e 'i/e'%

    bT)e'e a'e two questions, ot) s)owin+ a cu'/e. In t)e fi'st one, you )a/e to identify t)e cu'/e. In t)e second one you )a/e

    to ='ite t)e equation of t)e cu'/e. In

    S2CTI5 II 1. If A can co$y -0 $a+es in 10 )ou's and A and to+et)e' can co$y :0 $a+es in 10 )ou's, )ow muc) time does

    ta9es to co$y $a+esD

    a. . c. d.

    . atc) t)e followin+!

    1. ale 6 oy 666X a. A ty$e of 

    . Squa'e 6 oly+on 666X . A $a't of 

    3. *oof 6 uildin+ 666X c. 5ot a ty$e of 

    4. us)'oom 6 @e+etales 666X d. A su$e'set of 

     Ans#! 16 d, 6 a, 36 , 46 c

    3. atc) t)e followin+.

    1. 'ot)e' 6 siste' 666X a. a't of 

    . Alsatian 6 do+ 666X . Silin+

    3. sentence 6 $a'a+'a$) 666X c. Ty$e of 

    4. ca' 6 stee'in+ 666X d. 5ot a ty$e of 

     Ans. 16, 6c, 36a, 46d

    1%In a well of 0feet de$t), a f'o+

  • 8/16/2019 Attack TCS[1]

    40/93

    A t t a c k T C S

    11% 1 lac9sox and 1 =)itesox mixed in a ox,a $ai' of sox is $ic9ed at a time,in w)ic) $ic9 )ow many $ic9 ,to +et t)e

    'i+)t $ai'(lac9lac9 o' w)itew)ite%D

     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^

    1%Two coins one wit) ?2A8 I5 T? SI82S and t)e ot)e' coin ?2A8 I5 52 SI82 A58 TAI> I5 T?2 T?2* SI82 is in a

    ox,a coin is ta9en at 'andom and L58 ?2A8 I5 52 SI82 ..w)at is t)e $'oaility t)at T?2 T?2* SI82 IS ?2A8D

     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^

    13%A man s)a$es 3 ca'doa'ds in -0 minutes,)ow many ca'doa'ds does )e s)a$e in - )ou'sD Ans#we' 1;ca'doa'ds.

     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^

    14%?ow many 3 di+its wit) 3 8istinct di+its a'e t)e'e f'om 10061000.

     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^

    1-%T)'ee men +oes to a )otel to stay ,t)e cle'9 says 30 $e' 'oomday so all t)e t)'ee $l Ans# to stay in one 'oom so eac)

    $ays 10.Afte' some time t)e cle'9 'ealises t)at )e made a mista9e of collectin+ 30 ut t)e 'oom cost only -,t)e'e fo'e

    )e decides to 'etu'n - to t)em so )e calls t)e 'oomoy and +i/es )im - as9in+ )im to 'etu'n.T)e 'oomoy 9ee$s wit)

    )im and )e 'etu'ns only 3(1 fo' eac)%. 5ow Totally all )a/e $aid R eac)(:%V'ommoy w)ic) is equal to :.w)e'e

    did 1 +o,w)o )as made T?2 ISTAH2

    1. =?IC? IS T?2 52T 5! -,,:,;,10,11,14,D   ANS #! 1;

    . &2 C828 AS C2?8 T?25 C82 @?8P  ANS #! "LICH

    3. I58 T?2 5. K >>=28 K = LT T?AT IS 5T >>=28 K U. K = * L 8 8 K = U ...............

    4. =?AT IS T?2 >A*&2ST *I2 5 T?AT IS ST*28 I5 ; IT ATT2*5   ANS #! -3 (5T SL*2%-.=?IC? =I>> &I@2 &8 STA58A*8 82@IATI5 1. (:,0,6:,0,:% . (:,6:,:,6:,:% 3. (1,0,61,0,1%

    . =?IC? IS 5T A SI82 A *2CTA5&L>A* 1. (,3,4% .(3,4,:% 3. (3,-,R%

    :.=?IC? S?A2 =I>> 2 TAI528 K LSI5& T?2S2 @A>L2S ,K

      K

    0 0.00001

    10 1.0

    100 1.:

    1000 3.00

    RRRR 4.:

    ;. =?IC? 2"LATI5 T?AT 2ST SLITS T?IS CL*@2A >I52 CLTS AT 61 =?25 KM0 A58 M0 =?25 KM3 A58 &2S L=A*8

    K

    R. a man , woman and a oy 2T=225 4.A T R A

    11. An ae'o$lane sta'ts f'om a (some latitude is +i/en acco'din+ to $lace%at am local t ime to (some latitude%. T'a/elllin+

    time is 10 )ou's. =)at is t)e local time of w)en it 'eac)es

    2dited y! *iyaG Ali H)an ayana . Tec) .(CS2%, 8. 2. C. 2. 2mail! 'iyaGJ+mail.com

    40

  • 8/16/2019 Attack TCS[1]

    41/93

    A t t a c k T C S

    1. A I>2 IS T* ANS #2**28 * A >AC2 T A82STI5ATI5 CAA>2 10 H . T?2K &I@25 S2 *AT2

    T* ANS #2*. L ?A@2 I58 A 2"LATI5 T?AT 2ST SLIT T?IS.

    13. I5 A >A5A* CL2 , T?2 5. @2*TIC2S, 5 28&2S A58 5 AC2S A*2

    1. ,, . 4,;,1 3.... 4.........

    14. @255 8IA&* elow

    1. ?= A5K 2*S5 H5= 25&>IS? *2 T?A5 *25C?

    . ?= LC? 7 2>2 H5=S A>> T?2 3 >A5&LA&2S

    3. ?= LC? 7 2>2 T?S2 =? H5=S *25C? A58 &2*A5 A58 5T 25&>IS?

    *25C?

    1-. C**2CT C?A*T =IT? C**2CT @A>L2S

    0

    20

    40

    60

    80

    100

    120

    140

    1995 1996 1997 1998 1999

     YEAR

    6 K2A*

    K6 5 2*S5S

    1. A@2*A&2 5. 2*S5S * 1RR- 6 1RRR

    . =?IC? K2A* ?AS >A*&2 8I2*25C2S I5 5 2*S5S

    3. I 107 2>2 >2A@2S T?2 IC2 I5 1RR; T?25, ?= A5K *2S? CA58I8AT2S CA5 2 A8828 I5 T?2

    52T K2A*

    1. =?AT IS T?2 @A>L2

    (3:3, :% V *(.;% 6T(3.4% V *( 3.4%

    6 8L>AS *6 *L58 T6 T*L5CAT2

    1:. =?AT IS T?2 @A>L2

    7 W 7 (-% V W 7 W (%

    =?2*2 7 6 8L>I5& W6 *2CI*CA>

    1;. ATC? T?2 >>=I5&A

    1. S25T25C2, A*A&*A? 1. TK2

    . ASATI, =?2AT . A A*T

    3. *T?2*, SIST2* 3. 5T A TK2

    4. *2I&A>, 8& 4. SI>I5&

     ANS #! 16X 6X1 36X3 46X4

    1R. & (0% M1 & (1%M 61 I & (5%MO (& (561%%6 3(& (56%% T?25 =?AT IS T?2 @A>L2

    & (4%D

    0. A 0 0 0 0 1 1 1 1

    0 0 1 1 0 0 1 1C 0 1 0 1 0 1 0 1

      ( A L % C

    1. TI2 82&*22

    2dited y! *iyaG Ali H)an ayana . Tec) .(CS2%, 8. 2. C. 2. 2mail! 'iyaGJ+mail.com

    41

  • 8/16/2019 Attack TCS[1]

    42/93

    A t t a c k T C S

    : # 43.1-E  

    4 - 31# 4.3E  

    T?25 =?AT =I>> 2 T?2 82&*22 =?25 TI2 IS 3 C>CH

    . T?*22 CA5I2S =*HI5& I58225825T>K A58 &2T SA@I5&S 107,

    07, -7. I T?2 CA5I2S =*H PLST SIT2 T?25 =?AT =I>> 2 T?2 52T SA@I5&D

    3. =?IC? 52 =I>> 2 T?2 2ACT =2* 3

     (i% :;(ii%:; (III% 1;:

    4. S2 *2>ATI5 T?AT IS 828LC2 T

    A (= % 8I*2CT **TI5A> T (= 3%

    (= % 8I*2CT **TI5A> T K (= 3%

      S2 L* ANS #=2*S =2*2 &I@25

      ANS #! A>> T?2 A@2

    -. R00 =I82 3000 =I8T?

    S2T?I5& I CA5#T *222* S2 @A>L2S A*2 &I@25

      K AI* 2* *s. 4 K &*L58 2* *s. -

     T?25 =?2*2 L =I>> CLT

    88 A5 LT

    . 1.PA@A .SA>>TA>H 3.>IS 4.2I2>

    :. 1.SA .A* 3.=A 4.TC I

    ;. =?IC? IS T?2 2*2CT 52 A5& T?2 4

    1. x V3yM4 . x V yM 61 3. KMxV 3

    C4Atitu'e

    1.=)at would e t)e out$ut of t)e followin+ $'o+'am.

      Winclude_stdio.)X

      main(%

      b

      exte'n int a

      $'intf(Z7dZ,a%

     

      int aM0

      (a% 0 (% 0 (c% +a'a+e /alue (d% e''o'FF

    .=)at would e t)e out$ut of t)e followin+ $'o+'am.

      main(%

      b

      int a[-\Mb,3

      $'intf(Zjn 7d 7d 7dZ,a[\,a[3\,a[4\%

     

      (a% +a'a+e /alue (% 3 3 (c% 3 (d% 0 0 0

    3.=)at would e t)e out$ut of t)e followin+ $'o+'am.2dited y! *iyaG Ali H)an ayana . Tec) .(CS2%, 8. 2. C. 2. 2mail! 'iyaGJ+mail.com

    42

  • 8/16/2019 Attack TCS[1]

    43/93

    A t t a c k T C S

      main(%

      b

      intiM63,

  • 8/16/2019 Attack TCS[1]

    44/93

    A t t a c k T C S

     

      (a% 0 (% +a'a+e /alue (c% e''o' (d% 0

    :.A function )as t)is $'ototy$e /oid f1(int OOx%,

      ?ow will you call t)is functionD

      (a% int OOa (% int a (c% int Oa (d% int aM-

      f1(a% f1(a% f1(a% f1(a%

    ;.$ointout t)e e''o', if any, in t)e fo' loo$

      main(%

      b

      int lM1

      fo'(%

      b

      $'intf(Z7dZ,lVV%

      if(lX10%

      'ea9

     

     

      (a% T)e condition in t)e fo' loo$ is a must (% T)e two semicolons s)ould e d'o$$ed

      (c% T)e fo' loo$ s)ould e 'e$laced y aw)ile loo$ (d% 5o e''o'

    R.Can t)e followin+ $iece of code e executedD

      int main(/oid%

      b

      c)a' st'A[10\MZcom$ileZ,st'[10\

      my^st'c$y(st',st'A%  $uts(st'%

     

      c)a' O my^st'c$y(c)a' Odestination,c)a' Osou'ce%

      b

      c)a' O$Mdestination

      w)ile(Osou'ceFMj0%

      b

      O$VVMOsou'ceVV

     

      O$Mj0  'etu'n destination

     

      (a% Com$ilation will only +i/e a wa'nin+ ut will $'oceed to execute will dis$lay Zcom$ileZ

      (% T)e com$ilation e''o' c)a' O(c)a' O,c)a' O% diffe's in le/els of indi'ection f'om int(% will occu'

      (c% Kes it will $'int com$ile on t)e sc'een (d% 5one of t)e ao/e

    10.=)at would e t)e out$ut of t)e followin+ $'o+'am.

      Winclude_stdio.)X

      main(%

      b  c)a' st'[-\MZfastZ

      static c)a' O$t'^to^a''ay M st'

      $'intf(Z7sZ,$t'^to^a''ay%

    2dited y! *iyaG Ali H)an ayana . Tec) .(CS2%, 8. 2. C. 2. 2mail! 'iyaGJ+mail.com

    44

  • 8/16/2019 Attack TCS[1]

    45/93

    A t t a c k T C S

     

      (a% Com$ilation will only +i/e a wa'nin+ ut will $'oceed to execute will dis$lay ZfastZ

      (% dis$lay ZfastZ on sc'een (c% will +i/e a com$ilation e''o' (d% none of t)e ao/e

    11.=)at would e t)e out$ut of t)e followin+ $'o+'am.

      main(%

      b

      int num,O$

      numM-

      $Mnum

      $'intf(Z7dZ,O$%

     

      (a% (% - (c%

  • 8/16/2019 Attack TCS[1]

    46/93

    A t t a c k T C S

    1.=)at would e t)e out$ut of t)e followin+ $'o+'am.

      main(%

      b

      int iM:

      $'intf(Z7djnZ,iVVOiVV%

     

      (a% 4R (% - (c% : (d% com$ilation e''o'

    1:. =)at will t)e $'intf $'intD

      main(%

      b

      c)a' O$,Of(%

      $Mf(%

      $'intf(Zf(% 'etu'ns!7sjnZ,$%

     

      c)a' Of(%

      b

      c)a' 'esult[;0\

      st'c$y('esult,Zanyt)in+ will doZ%

      'etu'n ('esult%

     

      (a% f(% 'etu'ns! anyt)in+ will do (% f(% 'etu'ns!

    (c% com$ilation e''o' (d% T)e $'intf statement is not +oin+ to e executed

    1;.?ow many times t)e followin+ $'o+'am would $'int Pamo'eeD

      main(%  b

      $'intf(Zjn Pamo'eeZ%

      main(%

     

      (a% infinite nume' of times (% 3:: times

      (c% --3- times (d% till t)e stac9 does not o/e'flow

    1R.5otice t)e e''o' in t)e default statement in t)e code sni$$et elow.=ill it +i/e a com$ilation e''o'D

      main(%

      b  int aM10,

  • 8/16/2019 Attack TCS[1]

    47/93

    A t t a c k T C S

      'etu'n (VVa%

     

      (a% =ill dis$lay Zt)e /alue is 30Z (% =ill dis$lay ZT)e /alue is not 30 o' -0Z

      (c% Kes a com$ilation e''o' would )a$$en

      (d% 5o com$ilation e''o's ut t)e'e will e no out$ut on t)e sc'een

    0.=)at would e t)e out$ut of t)e followin+ $'o+'am.

      main(%

      b

      st'uct em$

      b

      c)a' name[0\

      int a+e

      float sal

     

      st'uct em$ e M bZti+e'Z

      $'intf(Zjn 7d 7fZ,e.a+e,e.sal%

     

      (a% 0 0.000000 (% &a'a+e /alues (c% 2''o' (d% none of t)e ao/e

    oints re*ar'in* c:

    1. t)e /alue of any /a'iale will c)an+e as it is

    executin+

    ex!

    fo'(iM0,

  • 8/16/2019 Attack TCS[1]

    48/93

    A t t a c k T C S

     

    2!

    main(%

      b

      int a

      $i'ntf(a%

     

     

    sco$e(%

      b

      int aM4

     

    77 t)e /alue of a is not 4 ut a 1."1

    9"#Q& : .rite t!e outut of t!is ro*ra+

    Winclude

    Wdefine calc(a, % (a O % (a 6 %

    /oid main(%

    b

    int a M 0, M 10

    2dited y! *iyaG Ali H)an ayana . Tec) .(CS2%, 8. 2. C. 2. 2mail! 'iyaGJ+mail.com

    48

  • 8/16/2019 Attack TCS[1]

    49/93

    A t t a c k T C S

    $'intf(Z7djnZ, calc(a V 4, 6%%

    Solution fo' >1."

    9"#Q : .!at will be outut of t!e followin* ro*ra+ E

    Winclude

    /oid main(%

    b

    int cnt M -, a

    do b

    a M cnt

    w)ile (cnt 66%

    $'intf (Z7djnZ, a%

    Solution fo' >1."3

    9"#Q6 : Print t!e outut of t!is ro*ra+

    Winclude

    /oid main(%

    b

    int a, , c, ac M 0

    a M M c M 40

    if (c% b

    int ac

    ac M aOVc

    $'intf (Zc M 7d, ac M 7djnZ, c, ac%

    Solution fo' >1."4

    9"#Q; : Print t!e outut of t!is ro*ra+

    Winclude

    main(%

    bint 9 M -

    if (VV9 _ - 9VV- `` VV9 _M ;%

    2dited y! *iyaG Ali H)an ayana . Tec) .(CS2%, 8. 2. C. 2. 2mail! 'iyaGJ+mail.com

    49

  • 8/16/2019 Attack TCS[1]

    50/93

    A t t a c k T C S

    $'intf(Z7djnZ, 9%

    Solution fo' >1."-

    9"#Q7 : .!at is t!e outut of t!is ro*ra+ E

    Winclude

    /oid fn(int, int%

    main(%

    b

    int a M -

    $'intf(Zain ! 7d 7djnZ, aVV, VVa%

    fn(a, aVV%

    /oid fn(int a, int %

    b

    $'intf(Zn ! a M 7d jt M 7djnZ, a, %

    Solution fo' >1."

     Answers

    9"#A"

    Solution for 9"#Q"

    a M xxx O 10

    w)ic) is MX a M AC 6 KU O 10

     MX a M 0 6 10 O 10

     MX a M 0 6 100

     MX a M 6;0

    9"#A&

    Solution for 9"#Q&

    Actual sustitution is li9e t)is !

    calc(0V4, 10 6% is calculated as follows

    (0V4 O 106% (0V4 6 106%

    (0V406% 1

    -; 1 M 4.;

    since it is $'inted in 7d t)e Ans# is 4

    9"#A

    Solution for 9"#Q

    2dited y! *iyaG Ali H)an ayana . Tec) .(CS2%, 8. 2. C. 2. 2mail! 'iyaGJ+mail.com

    50

  • 8/16/2019 Attack TCS[1]

    51/93

    A t t a c k T C S

    T)is $'olem will com$ile $'o$e'ly, ut it will +i/e 'un

    time e''o'. It will +i/e di/ide6y6Ge'o e''o'. >oo9 in to

    t)e do loo$ $o'tion

    do b a M cnt w)ile (cnt 66%

    w)en t)e cnt /alue is 1, it is dec'emented in w)ile

    ( cnt 66% and on next 'efe'ence of cnt it ecomes Ge'o.

    a M cnt O ie. a M 0 O

    w)ic) leads to di/ide6y6Ge'o e''o'.

    9"#A6

    Solution for 9"#Q6

    t)e 'esult will e c M 40 and ac M 0

    ecause t)e sco$e of t)e /a'iale ac inside if(c% b.. is not /alid out side t)at if (.% b .. .

    9"#A;

    Solution for 9"#Q;

    T)e Ans#we' is :. T)e fi'st condition VV9 _ - is c)ec9ed and

    it is false (5ow 9 M %. So, it c)ec9s t)e 3'd condition

    (o' condition VV9 _M ;% and (now 9 M :% it is t'ue. At t)is

    $oint 9 /alue is inc'emented y twice, )ence t)e /alue of 9

    ecomes :.

    9"#A7

    Solution for 9"#Q7

    T)e solution de$ends on t)e im$lementation of stac9.

    (8e$ends on S% In some mac)ines t)e a'+uments a'e $assed

    f'om left to 'i+)t to t)e stac9. In t)is case t)e 'esult

    will e

    ain ! - : n ! : :

    t)e' mac)ines t)e a'+uments may e $assed f'om 'i+)t to

    left to t)e stac9. In t)at case t)e 'esult will e

    ain !

    n ! ; :

     

    1./oid main(%

    bint dM-

    $'intf(Z7fZ,d%

    2dited y! *iyaG Ali H)an ayana . Tec) .(CS2%, 8. 2. C. 2. 2mail! 'iyaGJ+mail.com

    51

  • 8/16/2019 Attack TCS[1]

    52/93

  • 8/16/2019 Attack TCS[1]

    53/93

    A t t a c k T C S

     Ans#! less

    -.

    /oid main(%

    b

    float

  • 8/16/2019 Attack TCS[1]

    54/93

  • 8/16/2019 Attack TCS[1]

    55/93

    A t t a c k T C S

    intcountM10,Otem$,sumM0

    tem$Mcount

    Otem$M0

    tem$Msum

    Otem$Mcount

    $'intf(Z7d 7d 7d Z,count,Otem$,sum%

     Ans#! 0 0 0

    13. T)e'e was question in c wo'9in+ only on unix mac)ine wit) $atte'n matc)in+.

    14. w)at is alloca(%   Ans# ! It allocates and f'ees memo'y afte' useafte' +ettin+ out of sco$e

    1-.

    main(%

    b

    static iM3

    $'intf(Z7dZ,i66%

    'etu'n iX0 D main(%!0

      Ans#! 31

    1.

    c)a' Ofoo(%

    b

    c)a' 'esult[100\%

    st'c$y('esult,Zanyt)in+ is +oodZ%

    'etu'n('esult%

    /oid main(%

    b

    c)a' O

  • 8/16/2019 Attack TCS[1]

    56/93

  • 8/16/2019 Attack TCS[1]

    57/93

    A t t a c k T C S

      $'intf (Z@alue of x is 0Z%

      else

      $'intf (Z@alue of x is not 0Z%

     

    a. $'int /alue of x is 0 . $'int /alue of x is not 0 c. does not $'int anyt)in+ on t)e sc'een

      d. t)e'e is a syntax e''o' in t)e if statement e. 5ot su'e

    -. =)at is t)e out$ut of t)e followin+ $'o+'amD

    Winclude _stdio.)X

      Winclude _st'in+.)X

    int foo(c)a' O%

      /oid main (/oid%

      b

      c)a' a''[100\ M bZ=elcome to ist'alZ

      foo (a''%

     

    foo (c)a' Ox%

    b

      $'intf (Z7djtZ,st'len (x%%

      $'intf (Z7djtZ,siGeof(x%%

      'etu'n0

     

    a. 100 100 . 1; 100 c. 1; 1; d. 1; e. 5ot su'e

    . =)at is t)e out$ut of t)e followin+ $'o+'amD

    Winclude _stdio.)X

    dis$lay(%  b

      $'intf (Zjn ?ello =o'ldZ%

      'etu'n 0

     

    /oid main (/oid%

      b

      int (O func^$t'% (%

      func^$t' M dis$lay

      $'intf (Zjn 7uZ,func^$t'%

      (O func^$t'% (%

    a. it $'ints t)e add'ess of t)e function dis$lay and $'ints ?ello =o'ld on t)e sc'een

      . it $'ints ?ello =o'ld two times on t)e sc'een

      c. it $'ints only t)e add'ess of t)e fuction dis$lay on t)e sc'een

    d. t)e'e is an e''o' in t)e $'o+'am e. 5ot su'e

    :. =)at is t)e out$ut of t)e followin+ $'o+'amD

      Winclude _stdio.)X

      /oid main (/oid%

      b  int i M 0

      c)a' c) M A

      do

    2dited y! *iyaG Ali H)an ayana . Tec) .(CS2%, 8. 2. C. 2. 2mail! 'iyaGJ+mail.com

    57

  • 8/16/2019 Attack TCS[1]

    58/93

    A t t a c k T C S

      $utc)a' (c)%

      w)ile(iVV _ - `` VVc) _M %

     

      a. AC82 will e dis$layed . AAAAAAC82 will dis$layed

    c. c)a'acte' A will e dis$layed infinitely d. none e. 5ot su'e

    ;. =)at is t)e out$ut of t)e followin+ $'o+'amD

    Winclude _stdio.)X

      Wdefine sum (a,,c% aVVc

      Wdefine a/+ (a,,c% sum(a,,c%3

      Wdefine +eq (a,,c% a/+(a,,c% XM 0

      Wdefine lee (a,,c% a/+(a,,c% _M 0

      Wdefine des (a,,c,d% (dMM1D+eq(a,,c%!lee(a,,c%%

    /oid main (/oid%

      b

      int num M :0

      c)a' c) M 0

      float f M .0

      if des(num,c),f,0% $uts (Zlee..Z%

      else $uts(Z+eq...Z%

     

    a. syntax e''o' . +eq... will e dis$layed c. lee.. will e dis$layed

      d. none e. 5ot su'e

    R. =)ic) of t)e followin+ statement is co''ectD

    a. siGeof(O% is equal to siGeof(int% . siGeof(O% is equal to siGeof(c)a'%

      c. siGeof(O% is equal to siGeof(doule% d. none e. 5ot su'e

    10. =)at does t)e followin+ $'o+'am $'intD

    Winclude _stdio.)X

      c)a' O'e/(int /al%

    /oid main(/oid%

      b

      exte'n c)a' dec[\

      $'intf (Z7cZ, O'e/%

     

      c)a' O'e/ (int /al%  b

      c)a' dec[\MZacdeZ

      'etu'n dec

     

      a. $'ints acde . $'ints t)e add'ess of t)e a''ay dec

      c. $'ints +a'a+e, add'ess of t)e local /a'iale s)ould not 'etu'ned d. $'int a e. 5ot su'e

    11. =)at does t)e followin+ $'o+'am $'intD

    /oid main(/oid%

      b  int i

      static int 9

      if(9MM0%

    2dited y! *iyaG Ali H)an ayana . Tec) .(CS2%, 8. 2. C. 2. 2mail! 'iyaGJ+mail.com

    58

  • 8/16/2019 Attack TCS[1]

    59/93

    A t t a c k T C S

      $'intf(ZoneZ%

      else if(9MM 4;%

      $'intf(ZtwoZ%

      else

      $'intf(Zt)'eeZ%

     

      a. $'ints one . $'ints two c. $'ints t)'ee

      d. $'ints one t)'ee e. 5ot su'e

    1. =)at does t)e followin+ $'o+'am $'intD

    Winclude_stdio.)X

    /oid main(/oid%

      b

      enum su

      b

      c)emist'y, mat)s, $)ysics

     

      st'uct 'esult

      b

      c)a' name[30\

      enum su sc

     

      st'uct 'esult my^'es

      st'c$y (my^'es.name,Zat'ic9Z%

      my^'es.scM$)ysics

      $'intf(Zname! 7sjnZ,my^'es.name%

      $'intf(Z$ass in suI52^ a'e not /alid $a'amete's to $'intf function

      c. lin9e' e''o's will e +ene'ated d. com$ile' e''o's will e +ene'ated e. 5ot su'e

    14. =)at is t)e out$ut of t)e followin+ $'o+'amD

    Winclude _stdio.)X

      /oid swa$ (int x, int y, int t%

      b

      t M x

      x M y

      y M t

      $'intf (Zx inside swa$! 7djt y inside swa$ ! 7djnZ,x,y%

      /oid main(/oid%

      b

      int x

    2dited y! *iyaG Ali H)an ayana . Tec) .(CS2%, 8. 2. C. 2. 2mail! 'iyaGJ+mail.com

    59

  • 8/16/2019 Attack TCS[1]

    60/93

    A t t a c k T C S

      int y

      int t

      x M RR

      y M 100

      swa$ (x,y,t%

      $'intf (Zx inside main!7djt y inside main! 7dZ,x,y%

     

    a. x inside swa$ ! 100 y inside swa$ ! RR x inside main ! 100 y inside main ! RR

    . x inside swa$ ! 100 y inside swa$ ! RR x inside main ! RR y inside main ! 100

    c. x inside swa$ ! RR y inside swa$ ! 100 x inside main ! RR y inside main ! 100

    d. x inside swa$ ! RR y inside swa$ ! 100 x inside main ! 100 y inside main ! RR

    e. 5ot su'e

    1-. Conside' t)e followin+ statements!

    i% Z w)ile loo$ Z is to$ tested loo$ ii% Z fo' loo$ Z is ottom tested loo$

      iii% Z do 6 w)ile loo$Z is to$ tested loo$ i/% Z w)ile loo$Z and Zdo 6 w)ile loo$ Z a'e to$ tested loo$s.

      =)ic) amon+ t)e ao/e statements a'e falseD

    a. i only . i ii c. iii i d. ii, iii i/ e. 5ot su'e

    1. Conside' t)e followin+ $iece of code!

    c)a' O$ M ZIST*A>Z

      $'intf (Z7cjtZ, O(VV$%%

      $ 6M1

      $'intf (Z7cjtZ, O($VV%%

    5ow, w)at does t)e two $'intfs dis$layD

    a. . I c. I d. S e. 5ot su'e

    1:. =)at does t)e followin+ $'o+'am $'intD

    Winclude _stdio.)X

      st'uct my^st'uct

      b

      int $!1

      int q!1

      int '!

      int s!

      st'uct my^st'uct i+st'uct

    st'uct my^st'uct1

      b

      c)a' m!1

     

    st'uct my^st'uct1 small st'uct

    /oid main (/oid%

      b

      $'intf (Z7d 7djnZ,siGeof (i+st'uct%,siGeof (smallst'uct%%

      a. 10 1 . c. 1 d. 1 1 e. 5ot su'e

    1;. Conside' t)e followin+ $iece of code!

    2dited y! *iyaG Ali H)an ayana . Tec) .(CS2%, 8. 2. C. 2. 2mail! 'iyaGJ+mail.com

    60

  • 8/16/2019 Attack TCS[1]

    61/93

  • 8/16/2019 Attack TCS[1]

    62/93

    A t t a c k T C S

      G M y

      G M G XX 1

      G M G ` x

      $'intf(Z71xjtZ,G%

    G M x

      y M x y

      G M y

      $'intf(Z71xjtZ,G%

    a. 4313333 3333 1 . 3333431 431 431 c. 3333431 3333 1

      d. 4313333 431 431 e. 5ot su'e

    3. =)at is t)e out$ut of t)e followin+ $'o+'amD

    Winclude _stdio.)X

      /oid main (/oid%

      b

      c)a' O$ M Zan+alo'eZ

      Wif 0

      $'intf (Z7sZ, $%

      Wendif 

     

    a. syntax e''o' Wif cannot e used inside main function . $'ints an+alo'e on t)e sc'een

      c. does not $'int anyt)in+ on t)e sc'een

      d. $'o+'am +i/es an e''o' Zundefined symol ifZ e. 5ot su'e

    4. If x is decla'ed as an inte+e', y is decla'ed as float, conside' t)e followin+ ex$'ession!

      y M O(float O%x=)ic) one of t)e followin+ statments is t'ueD

    a. t)e $'o+'am containin+ t)e ex$'ession $'oduces com$ilation e''o's

      . t)e $'o+'am containin+ t)e ex$'ession $'oduces 'untime e''o's

      c. t)e $'o+'am containin+ t)e ex$'ession com$iles and 'uns wit)out any e''o's

      d. none of t)e ao/e e. 5ot su'e

    -. =)at is t)e 'etu'n ty$e of calloc functionD

    a. int O . /oid O c. no 'etu'n ty$e! 'etu'n ty$e is /oid

      d. int e. 5ot su'e

    ]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]

    ]]]]]]]]]]]]]]]]]]]]]]

    1. =)at is t'ue aout t)e followin+ C functionsD

    (A% 5eed not 'etu'n any /alue. (% S)ould always 'etu'n an inte+e'.

      (C% S)ould always 'etu'n a float. (8% S)o