You are on page 1of 27

Q.1 If the crystal oscillator is operating at 15 MHz, the PCLK output of 8 8! is "#$ .5 MHz. "%$5 MHz. "C$&.5 MHz.

"'$1( MHz. Ans:(A) Q. In )hich *+state ,oes the CP- sen,s the a,,ress to .e.ory or I/0 an, the #L1 signalfor ,e.ultiple2ing "#$*1. "%$* . "C$*3. "'$*!. Ans During the first clocking period in a bus cycle,which is called T1, the address of the memory or I ! location is sent out and the control signals A"#, DT $% and I! &%are also output' (ence answer is (A)' Q.3 If a1M14 '5#M re6uires ! .s for a refresh an, has 57 ro)s to 8e refreshe,, no .ore than 9999999999 of ti.e .ust pass 8efore another ro) is refreshe,. "#$7! .s. "%$! ns. "C$(.5 ns. "'$15.7 5 Answer is ()) Q.! In a 'M# )rite operation the ,ata is transferre, "#$fro. I/0 to .e.ory. "%$fro. .e.ory to I/0. "C$fro. .e.ory to .e.ory. "'$fro. I/0 to I/0. Ans A D&A writes operation transfers data from an I !de*ice to memory' (ence answer is (A)' Q.5 :hich type of ;MP instruction asse.8les if the ,istance is (( ( h 8ytes "#$near. "%$far. "C$short. "'$none of the a8o<e. AnsThe three byte near +ump allows a branch or +ump within , -./ bytes' (ence answer is (A)'

Q.7# certain =5#M has (C=>,(:1>an,101>. In )hich of the follo)ing.o,es this =5#M is operating "#$5ea, "%$:rite "C$=tan, 8y "'$?one of the a8o<e Ans 0or 12%34#%35, write operation' (ence answer is ()) . Q.& :hich of the follo)ing is true )ith respect to 11 P50M@ "#$contents can 8e erase, 8yte )ise only. "%$contents of full .e.ory can 8e erase, together. "C$contents can 8e erase, using ultra <iolet rays "'$contents can not 8e erase, Answer is (1)' Q.8Pseu,o instructions are 8asically "#$false instructions. "%$instructions that are ignore, 8y the .icroprocessor. "C$asse.8ler ,irecti<es. "'$instructions that are treate, liAe co..ents. 6seudo7instructions are commands to the assembler'All pseudo7operations start with a period' 6seudo7instructions are composed of a pseudo7operation which may befollowed by one or more e8pressions' (ence answer is (1)' Q.B ?u.8er of the ti.es the instruction se6uence 8elo) )ill loop 8efore co.ing out of loop is M0C #L, ((h#1D I?C #L ;?E #1 "#$(( "%$(1 "C$ 55 "'$ 57 #nsAnswer is (D) Q.1( :hat )ill 8e the contents of register #L after the follo)ing has 8een e2ecute, M0C %L, 8C M0C #L, &1 #'' #L, %L "#$(# an, carry flag is set "%$(# an, carry flag is reset "C$7# an, carry flag is set "'$7# an, carry flag is reset Ans , $esult is 1,5A' (ence answer is (A)'

Q.11'irection flag is use, )ith "#$=tring instructions. "%$=tacA instructions. "C$#rith.etic instructions. "'$%ranch instructions. #ns The direction flag is used only with the string in structions' (ence answer is (A)' Q.1 5ea,y pin of a .icroprocessor is use, "#$to in,icate that the .icroprocessor is rea,y to recei<e inputs. "%$to in,icate that the .icroprocessor is rea,y to recei<e outputs. "C$to intro,uce )ait states."'$ to pro<i,e ,irect .e.ory access. #ns This input is controlled to insert wait states into the timing of the microprocessor'(ence answer is (1)' Q.13 *hese are t)o )ays in )hich a .icroprocessor can co.e out of Halt state. "#$:hen hol, line is a logical 1. "%$:hen interrupt occurs an, the interrupt syste. has 8een ena8le,. "C$:hen 8oth "#$ an, "%$ are true. "'$ :hen either "#$or "%$ are true. #ns Answer is (A) Q.1!In the instruction F#'', F stan,s for "#$Far. "%$Floppy. "C$Floating. "'$File. #ns Adds two floating point numbers' (ence answer is (1)' Q.192D $A& refers to "#$=ynchronous '5#M "%$=tatic '5#M "C$=e.i '5#M "'$=econ, '5#M Ans, Answer is (A) Q.17 In case of 'C', the spee, is referre, in ter.s of n G "for e2a.ple 3 G$. Here, Grefers to "#$15( K%/s "%$3(( K%/s "C$1.38 M%/s "'$ .! M%/s #ns Answer is (1)'

Q.1&Itaniu. processor of Intel is a "#$3 8it .icroprocessor. "%$7! 8it .icroprocessor. "C$1 8 8it .icroprocessor. "'$ 57 8it .icroprocessor. #ns The Itanium is a :;7bit architecture microprocessor' (ence answer is ())' Q.18 L0CK prefi2 is use, .ost often "#$,uring nor.al e2ecution. "%$,uring 'M# accesses "C$,uring interrupt ser<icing. "'$,uring .e.ory accesses. Ans "!1/ is a prefi8 which is used to make an instruction of <5<: non7 interruptable'(ence answer is (1)' Q.1B*he Pentiu. .icroprocessor has999999e2ecution units. "#$1 "%$ "C$3 "'$! Ans The 6entium microprocessor is organi=ed with three e8ecution units' !ne e8ecutes floating7point instructions, and the other two (>7pipe and ?7pipe) e8ecute (ence answer is (1)' Q. (1P50M is generally erase, 8y using "#$-ltra<iolet rays "%$infrare, rays "C$1 C electrical pulse "'$ ! C electrical pulse AnsThe #6$!& is erasable if e8posed to high7intensity ultra*iolet light for about .5 minutes or less' (ence answer is (A) Q. 1 =ignal <oltage ranges for a logic high an, for a logic lo) in 5=+ 3 C stan,ar, are "#$Lo) > ( <olt to 1.8 <olt, high > .( <olt to 5 <olt "%$Lo) >+15 <olt to H3 <ol, high > I3 <olt to I15 <olt "'$Lo) > I3 <olt to I15 <olt, high > +3 <olt to +15 <olt "1$Lo) > <olt to 5.( <olt, high > ( <olt to 1.8 <olt Ans Answer is ())

Q. *he PCI 8us is the i.portant 8us foun, in all the ne) Pentiu. syste.s 8ecause "#$It has plug an, play characteristics "%$It has a8ility to function )ith a 7! 8it ,ata 8us "C$#ny Microprocessor can 8e interface, to it )ith PCIcontroller or 8ri,ge "'$#ll of the a8o<e Ans, Answer is (D)' Q. 3 :hich of the follo)ing state.ent is true@ "#$*he group of .achine cycle is calle, a state. "%$# .achine cycle consists of one or .ore instructioncycle. "C$#n instruction cycle is .a,e up of .achine cycles a n, a .achine cycle is.a,e up of nu.8er of states. "'$?one of the a8o<e Ans An instruction cycle consists of se*eral machine cycles' (ence Answer is ())' Q. ! 8 51 is a

$ Magnetic %a&e 'sed ((((((((( access )ethod* Rando) +e,'ential Direct !one of the a"o#e .Answer : B - What is the difference "etween Me)or. and +torage? Me)or. is %e)&orar. and +torage is Per)anent Me)or. is Per)anent and +torage is %e)&orar. Me)or. is +low and +torage is /ast !one of the a"o#e Answer : A 0 %he Lang'age that the co)&'ter can 'nderstand is called (((((((* High Le#el Lang'age Machine Lang'age +.ste) Progra) Asse)"al. Lang'age Answer : B 1 CPU stands for? Co))on Processing Unit Central Process Unit Central Processing Unit Central Perfor)ance Unit Answer : C 2 ALU stands for? Arith)etic Logic Unit Arith)etic Logical Unit Arith)etic Logic Unifor) !one of the a"o#e Answer : A

"#$-#5* "%$-=#5* "C$Progra..a8le Interrupt controller "'$Progra..a8le inter<al ti.er/counter Ans The Intel <.91 is a programmable communication interface' It is >2A$T' Q. 5 8(88 .icroprocessor has "#$17 8it ,ata 8us "%$! 8yte pre+fetch 6ueue "C$7 8yte pre+fetch 6ueue "'$17 8it a,,ress 8us #ns The <5<< is a 1:7bit microprocessor with an <7bitdata bus' The 1:7bit addressbus' (ence answer is (D)

1 Which of the following holds the ROM, RAM, CPU? Hard Disk ALU Mother oard !one of the a"o#e .Answer : C

3 MOD4M stands for? M'ltico)&'ter O&erating De#ice Me)or. Mod'lator De)od'lator Mega +torage De#ide !one of the a"o#e .Answer : B 5 CPU controls (((((((((((* All 6n&'t, O't&'t and &rocessing Controls Me)or. Controlled ". the in&'t data !one of the a"o#e .Answer : A 17 Which of the following is not hardware? Printer Monitor Magnetic %a&e M+ Word Answer : D 11 Me)ories which can "e read onl. are called (((((((((((( )e)ories* RAM ROM 44RAM D.na)ic Me)ories Answer : B 1$ What is the radi8 of inar. !')"er +.ste)? 1 $ 0 Answer : C 1- What is the radi8 of Octal !')"er +.ste)? 13 3 2 $ Answer : B

10 %he Deci)al !')"er s.ste) has "ase ((((((((((* 3 5 11 !one of the a"o#e *Answer 9 D 11 %he He8adeci)al !')"er s.ste) has "ase ((((((((((* A / 1: 17 Answer 9 C 1: CD stands for (((((((((((* asic Co)&'ter Digit inar. Con#erted Deci)al inar. Coded Deci)al !one of the a"o#e Answer : C 12 Octal n')"er s.ste) contains digits fro) ((((((((((* 7;3 7;2 1;3 1;5 Answer : B 13 Deci)al n')"er s.ste) contains digits fro) ((((((((((* 1 ; 17 7 ; 17 7;3 7;5 Answer : D

15 Porta"le &rogra) )eans? Progra) with wheels 6nde&endent fro) its a'thors 6nde&endent of &latfor) !one of the a"o#e Answer : C $7 %he n')"er of 1<s &resent in the "inar. re&resentation of 17 8 $1: = 1 8 1: = 1 is 1 : 2 3 Answer : B $1 %he sche)e of which inter&reter translates the so'rce &rogra) is known as Paragra&h ". &aragra&h 6nstr'ction ". instr'ction Line ". line !one of the a"o#e Answer : B $$ %he &rinci&al electronic &a.)ent s.ste)s for electronic co))erce is ((((((((((* Credit Card Digital Wallet 4lectronic Che,'e All of the a"o#e Answer : D $- What is the first stage in &rogra) de#elo&)ent? +&ecification and design +.ste) Anal.sis %esting !one of the a"o#e Answer : A $0 Which of these are the 1 generic software engineering fra)ework acti#ities? Co))'nication, &lanning, )odelling, constr'ction, de&lo.)ent Co))'nication, risk )anage)ent, )eas're)ent, &rod'ction, re#iewing Anal.sis, designing, &rogra))ing, De"'gging, )aintenance

Anal.sis, &lanning, designing, &rogra))ing, testing * $1 %he he8adeci)al n')"er s.ste) consists of the following s.)"ols ((((((((((* 7;2 7;5 7 ; 5, A ; / !one of the a"o#e .Answer : C $1 D!+ in internet technolog. stands for D.na)ic !a)e +.ste) Do)ain !a)e +.ste) Distri"'ted !a)e +.ste) !one of the a"o#e .Answer : B $: H%ML stands for H.&er %e8t Mark'& Lang'age H.&er %e8t Mani&'lation Lang'age H.&er %e8t Managing Links H.&er %e8t Mani&'lating Links .Answer : A $2 > is e,'al to ((((((* $-7 "its $-7 ".tes $$7 "its $$7 ".tes .Answer : B $3 %he set of co)&'ter &rogra)s that )anage the hardware?software of a co)&'ter is called Co)&iler s.ste) O&eration s.ste) O&erating s.ste) !one of the a"o#e .Answer : C $5 +?M6M4 in 6nternet technolog. stands for? +ec're M'lti&'r&ose 6nternet Mail 48tension +ec're M'lti)edia 6nternet Mail 48tension +i)&le M'lti&'r&ose 6nternet Mail 48tension +i)&le M'lti)edia 6nternet Mail 48tension .Answer : A

-7 Which one of the following is an e8a)&le of O&erating +.ste) ? Microsoft Word Microsoft 48cel Microsoft Access Microsoft Windows *Answer 9 D -1 Which one of the following re&resent the "inar. e,'i#alent of the deci)al n')"er $-? 71711 17111 17711 !one of the a"o#e .Answer : B -$ Which one of the following is different fro) other )e)"ers? >oogle Windows Lin'8 Mac Answer : A -- Co)&'ters on an internet are identified ". 4;)ail address +treet address 6P address All of the a"o#e .Answer : C -0 What is "log? Online M'sic 6ntranet A &ersonal or cor&orate we"site in the for) of an online @o'rnal A &ersonal or cor&orate >oogle +earch .Answer : C -1 Which is not online 6ndian Matri)onial we"site? www*@ee#ansathi*co) www*shaadi*co) www*"harat)atri)on.*co) www*'*k*single)'sli)*co) .Answer : D

-: it stands for inar. 6nfor)ation %er) inar. Digit inar. %ree i#ariate %heor. Answer : B -2 Which one of the following is not a network de#ice? Ro'ter +witch H'" CPU Answer : D -3 A co)&iler is 'sed to con#ert the following to o"@ect code which can "e e8ec'ted High;le#el lang'age Low;le#el lang'age Asse)"l. lang'age !at'ral lang'age Answer 9 A -5 How )an. 1<s are &resent in the "inar. re&resentation of - 8 11$ = 2 8 :0 = 1 8 3 = 3 5 17 11 Answer 9 07 %he Uni8 co))and 'sed to find o't the n')"er of characters in a file is nc wc chcnt lc Answer : B 01 6n a client?ser#er )odel, a client &rogra) (((* Asks for infor)ation Pro#ides infor)ation and files +er#es software files to other co)&'ters Distri"'tes data files to other co)&'ters *Answer : A

0$ 4#er. de#ice on the 6nternet has a 'ni,'e ((((((((((( address Aalso called an B6nternet addressBC* DH 6PDPP D%H 6P Answer : D 0- P4R% stands for? Progra) 4#al'ation and Re#iew %echni,'e Per)ission 4#al'ation and Re#iew %echni,'e Pro@ect 4#al'ation and Re#iew %echni,'e A E C oth .Answer : D 00 (((((( is the high s&eed )e)or. 'sed in the co)&'ter* RAM 6O+ Hard disk Cache .Answer : D 01 +WO% anal.sis stands for? +trength Weakness O&&ort'nit. and %hreat +ta)ina Will O"esit. %hreat +'"tle Will O&&ort'nit. %hreat !one of the a"o#e Answer : A 0: %he set of &rocessed data is called? Data Data Processing Data"ase 6nfor)ation Answer:D * 02 PO Means? 'siness Process O'tso'rcing 'siness Process Office 'siness Process O't&'t 'siness Progra) O't&'t .Answer : A

03 Which of the following is o"@ect oriented &rogra))ing? C C== A+6C /OR%RA! *Answer : B 05 gif is e8&anded as? >ra&hics 6nterchange /ile >ra&hics 6nterchange /or)at >ra&hics 6nfor)ation /ile >ra&hics 6nfor)ation /or)at .Answer : B 17 AD6 for)at was de#elo&ed ".? 6 M A&&le Microsoft Macro)edia .Answer : C 1* Which of the following &airs does;not )atch? AAC Dielectric strength of air - to 1 kD?)) A C Dac'') )a. "e 'sed for reflecti#e ins'lation of li,'id O$ tank ACC Per)issi"le water content in transfor)er oil is 17 &&) ADC Car"on;&ile resistors for ins'lation of oil;filled ca"les (Ans) $* Me)or. of a co)&'ter can "e increased ". AAC increasing the )agnetic "'""le dia)eter A C decreasing the )agnetic "'""le dia)eter (Ans) ACC 'sing ado)a8, a recent hard )agnetic )aterial ADC 'sing stronti') titanate A+r %i O-C -* %he resid'al )agnetic fl'8 densit. is )ore in AAC )etallic )agnets (Ans) A C cera)ic )agnets ACC gra&hite ADC iron o8ide

0* Manganese ferrites is a 191 )i8t're of AAC MnO and CdO A C MnO and /e$O- (Ans) ACC MnCl$ and /e$OADC MnCl$ and CdO 1* High fre,'enc. transfor)er cores are generall. )ade of AAC Cast iron A C M')etal ACC /errite (Ans) ADC >ra&hite :* /or high s&eed reading and storing of infor)ation in a co)&'ter, the 'se is )ade of AAC ferrite (Ans) A C &ieFoelectric ACC &.roelectrics ADC ferro)agnetics a"o#e 2:37 C 2* %he &oles of alternators are 's'all. )ade of AAC wro'ght iron A C &er)allo. (Ans) ACC Cd+ ADC alnico 3* 6n a se)i;cond'ctor strain ga'ge, the change in resistance on a&&lication of strain is )ainl. d'e to the change in its AAC lenght A C dia)eter ACC resisti#it. ADC length and dia)eter (Ans) 5* %ransfor)er oil is a li,'id ins'lator and is )ainl. 'sed in transfor)er* 6t is filled into transfor)er tank to ser#e the following &'r&oses9 6* %o transfer the heat generated inside the transfor)er core and windings, to the o'ter cooling s'rfaces* 66* %o )ain ins'lation in the &ri)ar. and secondar. windings* AAC Onl. 6 is correct A C Onl. 66 is correct ACC oth 6 and 66 are correct (Ans) ADC !one of these

17* 4lectrons in an ato) )a. "e #is'aliFed ". AAC s&ectrosco&ic techni,'es (Ans) A C radiogra&h. ACC o&tical )icrosco&e ADC etching techni,'es 11* Most )allea"le )etal is AAC A' A C Ag (Ans) ACC Cr ADC Os)i') 1$* As the te)&erat're of a p;t.&e se)i; cond'ctor is grad'all. and contin'o'sl. increased, the fer)i le#el will )o#e AAC into the #alence "and (Ans) A C into the cond'ction "and ACC towards the )iddle of the for"idden ga& ADC into the region "etween the acce&tor le#el and the #alence "and 1-* Which one of the following &olariFation )echanis)s?sets of )echanis)s contri"'te to the static dielectric constant of a ho)o&olar ne'tral dielectric? AAC 4lectronic A C 4lectronic and ionic ACC 4lectronic, ionic and di&olar ADC 4lectric and di&olar (Ans) 10* Consider the following )aterials9 1* P're silica $* akelite -* Hard r'""er 0* Paraffin %he correct se,'ence of the D4CR4A+6!> order of loss angles A:7 HFC of these dielectric )aterials is AAC 1,$,-,0 A C 1,0,-,$ ACC 0,1,$,ADC 0,-,1,$ (Ans)

11* Which one of the following )aterials is &ieFoelectric? AAC P"$ A' A C a%iO- (Ans) ACC MgAl$O0 ADC !i/e$O0 1:*%he resid'al resisti#it. of )etals AAC is essentiall. inde&endent of te)&erat're A C increases linearl. with increasing te)&erat're (Ans) ACC decrease linearl. with increasing te)&erat're ADC initiall. increase linearl. with te)&erat're and then re)ains constant 12* Consider the following )etals9 1* Ginc $* >old -* +il#er 0* Co&&er %he correct se,'ence of the increasing order of their resisti#ities is AAC 0,-,1,$ A C -,0,$,1 (Ans) ACC 0,-,$,1 ADC -,0,1,$ 13* A t.&e;6 s'&er;cond'ctor )aintained at a te)&erat're T H Tc is s'"@ect to a )agnetic field H < Hc. %he s'&ercond'ctor will e8ihi"it* AAC &erfect dia)agnetis) (Ans) A C &artial dia)agnetis) ACC &erfect &ara)agnetis) ADC &artial &ara)agnetis) 15* %he )agnetic s'sce&ti"ilit. of a &ara)agnetic )aterial is AAC less than Fero A C less than one "'t &ositi#e (Ans) ACC greater than one ADC e,'al to Fero $7* Magnetostriction is a &heno)enon where". the )agnetisation of a ferro)agnetic )aterial leads to a change in AAC relati#e &er)ea"ilit.

A C &h.sical di)ensions (Ans) ACC s&ontaneo's )agnetisation ADC )agnetic s'sce&ti"ilit. $1* %wo initiall. identical sa)&les A and B of &'re ger)ani') are do&ed with donors to concentrations of 1I17$7 );- and -I17$7 );res&ecti#el.* 6f the hole concentration in A is 5I171$ );-, then the hole concentration in B at the sa)e te)&erat're will "e AAC -I171$ );- (Ans) A C 2I171$ );ACC 11I171$ );ADC $2I171$ );$$* Consider the following state)ents 9 P're ger)ani') and &'re silicon are e8a)&les of 1* Direct "and;ga& se)i;cond'ctors $* 6ndirect "and;ga& se)i;cond'ctors -* Degenrate se)i;cond'ctors of these state)ents AAC 1 alone is correct A C $ alone is correct (Ans) ACC - alone is correct ADC 1 and - are correct $-* Consider the following state)ents 9 6n a se)i; cond'ctor, the )eas're)ent of Hall co;efficient &ro#ides ,'antitati#e infor)ation on 1* Densit. of carriers $* Polarit. of carriers -* 4ffecti#e )ass of the carriers 0* Mo"ilit. of the carriers Of these state)ents 9 AAC 1 and $ are correct (Ans) A C $ and - are correct ACC 1 and - are correct ADC 1,$,- and 0 are correct $0* +ilicon car"ide reinforced al')ini') )etal )atri8 co)&osites find a&&lication in AAC the )an'fact're of transfor)er cores A C the )an'fact're of c'tting tools ACC the )an'fact're of standard resistors ADC aeros&ace ind'str. (Ans)

$1* >aAs L4Ds e)it radiation in the AAC 'ltra;#iolet region A C #iolet;"l'e;green range of the #isi"le region ACC #isi"le region ADC infra;red region (Ans) $:* %here are **************** "asic cr.stal s.ste)s AAC two A C fo'r ACC si8 ADC se#en (Ans) $2* A s'ita"le )aterial for DH/ ADer. high fre,'enc.C a&&lication is AAC silicon steel (Ans) A C alnico ACC co"alt steel ADC ferrite $3* Heating in )icrowa#e o#en is d'e to AAC )agnetostriction A C electrostriction ACC edd. c'rrent (Ans) ADC s&ontaneo's &olariFation $5* Line ins'lators are )ade of AAC &orcelain (Ans) A C )ica ACC )ar"le ADC PDC -7* 6ns'lating )aterials that can withstand a te)&erat're a"o#e 1377 C is of AAC Class A t.&e A C Class t.&e ACC Class C t.&e (Ans) ADC Class H t.&e -1* Dis&lace)ent c'rrent in a dielectric &ri)aril. de&ends '&on the AAC resisti#it. A C di&ole )o)ent (Ans) ACC fre,'enc. of o&erating field ADC )o"ilit.

-$* 6n an i)&erfection free cr.stal, the resisti#it. will "e AAC infinite A C Fero (Ans) ACC negati#e ADC 'nit. --* A )etallic "ond is for)ed fro) AAC sharing of electrons A C transfer of electrons ACC sharing of #aria"le n')"er of electrons ". a #aria"le n')"er of ato)s (Ans) ADC !one of these -0* %he work f'nction AWC is gi#en ". the relation 9 AAC W J h$f7 A C W J hf7 (Ans) ACC W J hf7$ ADC W J h$f7$ -1* 4instein<s &hotoelectric e,'ation is gi#en ". AAC hf J W$ = 1?$ )#$ A C hf J W = 1?$ )$#$ ACC hf J W = 1?$ )#$ (Ans) ADC hf J W$ = 1?$ )$#$ -:* K;ra.s were disco#ered accidentl. ". Professor Rontgen in AAC 1327 A C 1331 ACC 1351 (Ans) ADC 1577 -2* ragg<s law is gi#en ". the e,'ation AAC $d$ sin L J nM A C $d sin$ L J nM ACC $d sin L J nM (Ans) ADC $d$ sin L J nM$ -3* 6n so)e a&&lications ne'tron diffraction is )'ch ******** to K;ra.s and electron diffraction AAC inferior A C s'&erior (Ans) ACC either of the a"o#e ADC none of these

-5* %he co;ordination n')"er is twel#e for a AAC H*C*P* str'ct're A C /*C*C* str'ct're ACC +*C* and /*C*C* str'ct're ADC H*C*P* and /*C*C* str'ct're (Ans) 07* %he ,'antit. 1?NO7P7 in +6 'nits has the AAC Dal'e --7 )?s A C Dal'e 1*2-I170 ACC Di)ensions LT1 (Ans) ADC !one of the a"o#e 01* Which of the following does not ha#e the sa)e 'nits as the others? %he s.)"ols ha#e their 's'al )eanings AAC L/R A C RC ACC NLC ADC 1?NLC (Ans) 0$* n;t.&e se)i;cond'ctors AAC are negati#el. charged A C are &rod'ced when indi') is added as an i)&'rit. to ger)ani') ACC are &rod'ced when &hos&horo's is added as an i)&'rit. to silicon (Ans) ADC none of these 0-* Which of the following state)ents correct? AAC Co&&er has &artiall. filled cond'ction "and (Ans) A C Dia)ond has a co)&letel. filled cond'ction "and "'t an e)&t. #alence "and ACC +ilicon has a &artiall. filled cond'ction "and and an e)&t. #alence "and ADC 4nerg. ga& "etween cond'ction and #alence "and in dia)ond is s)aller than in silicon 00* Which of the following will ser#e as a donor i)&'rit. in silicon? AAC oron A C 6ndi') ACC >er)ani') ADC Anti)on. (Ans)

01* %wo;closed &acked cr.stal str'ct'res are AAC bcc and fcc A C fcc and hcp (Ans) ACC bcc and hcp ADC fcc and sc 0:* %he )ean free &ath for electron drift increase with AAC &'rit. (Ans) A C strain hardening ACC elastic )od'l's ADC none of the a"o#e 02* %wo gro'& 6D ele)ents ha#e the sa)e dia)ond c'"ic str'ct're* %he one with the larger **************** is e8&ected to ha#e the s)aller energ. ga&* AAC &acking factor A C co;ordination n')"er ACC n')"er of #alence electrons ADC ato)ic weight (Ans) 03* %he &rocesses that can "e 'sed to )ake the steel )agneticall. softer are 1* Annealing $* >rain growth -* Decar"'riFation 0* Q'enching AAC 1, $ and - (Ans) A C $, - and 0 ACC $ and - onl. ADC - and 0 onl. 05* PolariFation is a )eas're of AAC dielectric constant &er 'nit #ol')e (Ans) A C #oltage gradient of &rod'ce eslectrical "reakdown ACC &rod'ct of charge and distance ADC e8cess charge densit. 17* Consider the following se)i;cond'ctor diodes 1* >er)ani') diode $* +ilicon diode -* %'nnel diode 0* +chottk. diode

%he correct increasing order of forward #oltage dro& of these diodes is AAC 1,-,$,0 A C 1,$,-,0 ACC -,0,$,1 ADC -,1,0,$ (Ans) C-DAC Latest Placement Papers 1*%he &rogra))ing lang'age that was designed for s&ecif.ing algorith)***** Address A+C66 AL>OL !one of these o&tions $* ((((( contains the addresses of all the records according to the contents of the field designed as the record ke.*6nde8 ans +'"scri&t Arra. /ile -* ((((((((( s.)"ol is 'sed for Processing of data* O#al Parallelogra) ans Rectangle Dia)ond 0* (((((((((( is the anal.sis tool 'sed for &lanning &rogra) logic Protocol !one of these o&tions PROLO> Pse'docode 1* Machine lang'age has two &art for)at the first &art is(((((((((( and the second &art is (((((((((( OPCOD4,OP4RA!D ans OP4RA!D,OPCOD4 DA%A COD4,OP4RA!D OP4RA!D,COD4OP :* Lang'age Pri)aril. 'sed for internet;"ased a&&lications ADA C== RADA ans /OR%RA! 2* ((((((((( is a &oint at which the de"'gger sto&s d'ring &rogra) e8ec'tion and awaits a f'rther co))and* Me)or. D')& Watch &oint ans reak &oint !one of these o&tions

3* ((((((((do not contain an. &rogra) logic and are ignored ". the lang'age Processor Protocol Dir's Co))ent !one of these 5* %he co)&onent of data "ase )anage)ent s.ste) is (((((((( Data definition Lang'age Data )ani&'lation Lang'age Data definition Lang'age Data )ani&'lation Lang'age !one of these 17* %he ,'alit. of Algorith) is @'dged on the "asis of((((((((( %i)e re,'ire)ent Me)or. Re,'ire)ent Acc'rac. of sol'tion All of these;ans 11* Ad#antages of 'sing flow charts is 4ffecti#e Anal.sis 4fficient Coding %i)e cons')ing 4ffecti#e Anal.sis 4fficient Coding Sans Progra))ing in C 1$* %he Real constants in C can "e e8&ressed in which of the following for)s /ractional for) onl. 48&onential for) onl. A+C66 for) onl. ans oth /ractional and 48&onential for)s 1-* %he &rogra), which translates high;le#el &rogra) into its e,'i#alent )achine lang'age &rogra), is called %ransfor)er Lang'age &rocessor Con#erter !one of these o&tions 10* Consider the following state)ents* i*M'lti&lication associates left to right ii*Di#ision associates left to right iii*Unar. Min's associates right to left i#*s'"traction associates left to right All are tr'e

ans onl. i and ii are tr'e all are false onl. iii and i# are tr'e 11* What will "e the #al'e of #aria"le a in the following code? 'nsigned char aT a J 78// = 1T &rintfABUdB, aCT 78// 7V177 7 ans 7V7 1:* What is the o't&'t of the following &rogra)? Wincl'de #oid )ainAC X &rintfAYn17ZJ5 9 U1d[,17ZJ5CT \ ans 7 4rror !one of these o&tions 12* Wincl'de #oid )ainAC X int 8J17T A8 #oid )ainAC X int aJ10T a =J 2T a ;J 1T a IJ 2T &rintfAYnUd[,aCT \ ans 53 35 !one of these o&tions $7* What is the o't&'t of the following code? Wincl'de Wdefine % t #oid )ainAC X char % J ]%]T &rintfAYnUctUcn[,%,tCT \ 4rror %t %% tt

$1* %he state)ent that &rints o't the character set fro) A;G, is forA a J ]F]T a H ]a]T a J a S 1C &rintfABUcB, EaCT forA a J ]a]T a HJ ]F]T a J a = 1 &rintfABUcB, EaCT forA a J ]A]T a HJ ]G]T a J a = 1C Ans &rintfABUcB, aCT forA a J ]G]T a HJ ]A]T a J a = 1C &rintfABUcB, aCT $$* %he state)ent which &rints o't the #al'es 1 to 17 on se&arate lines, is forA co'nt J 1T co'nt HJ 17T co'nt J co'nt = 1C &rintfABUdnB,co'ntCT forA co'nt J 1T co'nt 17T co'nt J co'nt = 1C &rintfAYUdn[,co'ntCT $-* What does the ter) ]call;".;reference] refer to? Passing a co&. of a #aria"le into a f'nction* Passing a &ointer to a #aria"le into a f'nction* ans Choosing a rando) #al'e for a #aria"le* A f'nction that does not ret'rn an. #al'es* $0* What is the o't&'t of the following code? Wincl'de #oid swa&AintE, intECT #oid )ainAC X int a J 17,"J$7T swa& Aa==,"==CT &rintfAYnUdtUdt[,a, "CT \ #oid swa&AintE 8, intE .C X 8=J$T .=J-T \ 10, $0 11, $1 ans 17, $7 4rror $1* What is the o't&'t of the following &rogra) code Wincl'de #oid a"cAint a^_C X a==T a^1_J:1$T \

)ainAC X char a^1_T a"cAaCT &rintfAYUd[,a^0_CT \ 177 :1$ 4rrorH``ans !one of these o&tions $:* which of the following is tr'e a"o't rec'rsi#e f'nction i* it is also called circ'lar definition ii* it occ'rs when a f'nction calls another f'nction )ore than once iii* it occ'rs when a state)ent within the f'nction calls the f'nction itself i#* a rec'rsi#e f'nction cannot ha#e a ret'rn state)ent within itB i and iiiH``ans i and ii ii and i# i, iii and i# $2*What will ha&&en if .o' assign a #al'e to an ele)ent of an arra. whose s'"scri&t e8ceeds the siFe of the arra.? %he ele)ent will "e set to 7 !othing, its done all the ti)e Other data )a. "e o#erwritten 4rror )essage fro) the co)&iler $3* What is the o't&'t of the following code? Wincl'de #oid )ainAC X int arr^$_^-_^$_JXXX$,0\,X2,3\,X-,0\,\, XX$,$\,X$,-\, X-,0\, \\T &rintfAYnUd[,IIAIarr=1C=$=2CT \ 1: H``ans 2 11 4rror $5* 6f int s^1_ is a one di)ensional arra. of integers, which of the following refers to the third ele)ent in the arra.? IA s = $ C H``ans IA s = -Cs=-s=$ -7* Wincl'deBstdio*hB )ainAC X int I&1,iJ$1T #oid I&$T &1JEiT &$JEiT &1J&$T &$J&1T &rintfABUdB,iCT \ %he o't&'t of the a"o#e code is 9 Progra) will not co)&ile ans $1 >ar"age #al'e Address of 6

-1* What is the o't&'t of the following code? #oid )ainAC X int i J 177, @ J $77T const int I&JEiT & J E@T &rintfABUdB,I&CT \ 177 $77 H``ans -77 !one of the a"o#e -$* #oid )ainAC X int iJ-T int I@JEiT clrscrACT &rintfABUdUdB,==I@,IAEiCCT \ What is the o't&'t of this &rogra)? - - 0 - H ans 0,address of i &rinted 4rror9L#al'e re,'ired --* What is the o't&'t of the following code? Wincl'de #oid )ainAC X int arr^_ J X17,$7,-7,07,17\T int I&tr J arrT &rintfAYn UdtUdt[,I&tr==,I&trCT \ 17 $7 17 17 ans $7 $7 $7 17 -0* Which of these are reasons for 'sing &ointers? 1*%o )ani&'late &arts of an arra. $*%o refer to ke.words s'ch as for and if -*%o ret'rn )ore than one #al'e fro) a f'nction 0*%o refer to &artic'lar &rogra)s )ore con#enientl. 1 E - no=1CT \ -1 What is the o't&'t of this &rogra)? 33 3 5 H``ans 5 3 3 , 'n&redicta"le -:* D'ring initialiFing a 'nion Onl. one )e)"er can "e initialised* All the )e)"ers will "e initialised* 6nitialisation of a 'nion is not &ossi"le* ans !one of these o&tions

-2* +elf referential str'ct're is one a* Consisting the str'ct're in the &arent str'ct're "* Consisting the &ointer of the str'ct're in the &arent str'ct're Onl. a Onl. " oth a and " !either a nor " -3* 6ndi#id'al str'ct're )e)"er can "e initialiFed in the str'ct're itself %r'e /alse Co)&iler de&endent !one of these o&tions -5* Which of the following is the feat're of stack? All o&erations are at one end 6t cannot re'se its )e)or. All ele)ents are of different data t.&es An. ele)ent can "e accessed fro) it directl.H ``ans 07* When stacks are created Are initiall. e)&t. ans Are initialiFed to Fero Are considered f'll 01* What is ti)e re,'ired to insert an ele)ent in a stack with linked i)&le)entation? A1C Alog$nCH``ans AnC An log$nC 0$* Which of the following is the feat're of stack? All o&erations are at one end 6t cannot re'se its )e)or. All ele)ents are of different data t.&es An. ele)ent can "e accessed fro) it directl.ns 0-* %i)e taken for addition of ele)ent in ,'e'e is A1C AnC Alog nC ans !one of these o&tions 00* When is linear ,'e'e said to "e e)&t. ? /rontJJrear /rontJrear; 1 /rontJrear=1 /rontJrearH``ans 01* When ,'e'es are created Are initiall. e)&t.H``ans Are initialiFed to Fero Are considered f'll !one of the a"o#e

0:* What wo'ld "e the o't&'t of the following &rogra)? Wincl'de )ainAC X &rintfAYnUc[, Ya"cdefgh[^0_CT \ a"cdefgh d e H``ans error 02* +elect the correct C code which will read a line of charactersAter)inated ". a nC fro) in&'t(file into a character arra. called "'ffer* !ULL ter)inate the "'ffer '&on reading a n* int ch, loo& J 7T ch J fgetcA in&'t(file CT whileA Ach ZJ ]n]CEE Ach ZJ 4O/C CX"'ffer^loo&_ J chT loo&==T ch J fgetcAin&'t(file CT\ "'ffer^loo&_ J !ULLT int ch, loo& J 7T ch J fgetcA in&'t(file CT whileA Ach J BnBCEE Ach J 4O/CC X "'ffer^loo&_ J chT loo&ST ch J fgetcA_in&'t(file CT \ "'ffer^loo&_J !ULLT int ch, loo& J 7T ch J fgetcA in&'t(file CT whileA Ach Yn[CEE Ach ZJ 4O/C C X "'ffer^loo&_ J chT loo&==T ch J fgetcAin&'t(file CT \ "'ffer^loo&_ J ;1T

03* What is the o't&'t of the following code ? #oid )ainAC X int aJ7T int "J7T ==a JJ 7 aa ==" JJ 11T &rintfAYnUd,Ud[,a,"CT \ 7, 1 1, 1 H``ans 7, 7 1, 7 05* What is the o't&'t of the following &rogra)? Wdefine strA8CW8 Wdefine KstrA8CstrA8C Wdefine o&er )'lti&l. #oid )ainAC X char Io&erna)eJKstrAo&erCT &rintfABUsB,o&erna)eCT \ o&erna)e Kstr )'lti&l. H``ans Kstr

17* What is the o't&'t of the following code ? Wincl'de Wincl'de #oid )ainAC X char Ia J YC;DACAC%+n[T &rintfAYUsn[,aCT \ C;DAC AC%+ AC%+ C;DAC H``ans !one of these 11* Wincl'de #oid )ainAC X while A1C Xif A&rintfAYUd[,&rintfAYUd[CCC "reakT else contin'eT \ \ %he o't&'t is Co)&ile ti)e error >oes into an infinite loo& C-DAC,C-CAT -Multiple Choice Questions Programming anguage an! C"C## Question $: %he "reak state)ent is 'sed to e8it fro) a* a DO loo& "* a /OR loo& c* a +W6%CH state)ent !. all o% a&o'e -Answer e* none of a"o#e Q'estion $9 C== M'lti&le Choice Q'estions ank 6n which state)ents, does a CO!%6!U4 state)ent ca'se the control to go directl. to the test condition and then contin'e the loo&ing &rocess? a* /OR and WH6L4 "* WH6L4 and 6/;4L+4 c* DO;WH6L4 and 6/;4L+4 !. (hile an! D)-(*+ , -Answer e* !one of a"o#e

-9 %he ad#antage of a +W6%CH state)ent o#er an 4L+4;6/ state)ent a* A defa'lt condition can "e 'sed in the +W6%CH &. The -(+TC* is easier to un!erstan!$. -Answer c* +e#eral different condition can ca'se one set of state)ents to "e e8ec'ted in a +W6%CH d* +e#eral different state)ents can "e e8ec'ted in a +W6%CH e* !one of a"o#e 0* %he co))a o&erator A,C is &ri)aril. 'sed in con@'nction with a..)/ statement -Answer "*6/;4L+4 state)ent c*DO;While state)ent d* All of a"o#e e* !one of a"o#e Q'estion !o 1 %he >O%O state)ent is 'sed to a* Per)it two different e8&ressions to a&&ear in sit'ation where onl. one e8&ression wo'ld ordinaril. 'sed "* %er)inate loo&s or to e8it fro) a switch c* Alter the nor)al se,'ence or &rogra) e8ec'tion ". transferring control to so)e other &art of the &rogra) !. Carr0 out a logical test an! then ta1e one o% two possi&le actions, !epen!ing upon the outcome o% a test -Answer e* !one of a"o#e Q'estion !o : a* %he CO!%6!U4 state)ent is 'sed to "* Per)it two different e8&ressions to a&&ear in sit'ation where onl. one e8&ression wo'ld ordinaril. "e 'sed c. Terminate loops or e2it %rom a switch -Answer d* Alter the nor)al se,'ence of &rogra) e8ec'tion ". transfor)ing control to so)e other &art of the &rogra) e* All of a"o#e f* !one of a"o#e

Q'estion !o 2 %he traditional wa. to create an infinite loo& in C is a. .)/ ( 3 3 )4 -Answer "* 6/ AJC R4AbT c* WH6L4 ACc d* All of a"o#e e* !one of a"o#e Q'estion !o 3 %he difference "etween the declaraction of an e8ternal #aria"le and its definition is a. A !eclaration causes storage space to &e allocate! to 'aria&le while a !e%inition announces 'aria&le5s properties -Answer "* A declaration anno'nces the &ro&erties of a #aria"le while a definition also ca'ses storage to "e allocated c* A declaration anno'nces the &ro&erties of a #aria"le while definition onl. ca'ses storage to "e allocated d* A declaration 'ses storage s&ace to "e allocated to #aria"le while a definition also anno'nce its &ro&erties* e* !one of a"o#e Q'estion !o 5 %he co))a o&erator A,C is 'sed to a* Per)it to different e8&ressions to a&&ear in sit'ation where onl. one e8&ression wo'ld ordinaril. "e 'sed &. Terminate loops or to e2it %rom switch -Answer c* Alter the nor)al se,'ence of &rogra) e8ec'tion ". transferring control to so)e other &arts of the &rogra) d* Carr. o't the logical test and then take one of two &ossi"le actions, de&ending '&on the o'tco)e of the test e* !one of a"o#e

Q'estion !o 17 %he rec'rsi#e for) of alge"raic for)'la .JA81 = 8$ = c=8nC is a* d J 8 = n;1 8i iJ1 "* dJ 8n = n 8i iJ1 c* dJ8n=8i !. 6 7 2n # n-$ i7$ 2i -Answer e* !one of a"o#e Q'estion !o 11 Which one of the following, is a storage class s&ecification in C? a. Automatic -Answer "* 48ternal c* +tatic d* All of a"o#e e* !one of a"o#e Q'estion !o 1$ >i#en these #aria"les char chT short iT 'nsigned long 'lT float fT %he o#erall t.&e of this e8&ression is a* Char "* Unsigned c. .loat -Answer d* Do'"le e* !one of a"o#e Q'estion !o 1What will this &rogra) dis&la.? Wincl'de Hstdio*he )ainAC X float fT fJ17?-T &rintf ABUfB,fCT \ a. 8.8 -Answer "* -*7 c* d* -*1 e* !one of a"o#e

Q'estion !o 10 %he )ost co))on 'se of the one;di)entional arra. in C is the a* +tring "* Character c. Data -Answer d* /'nctions e* !one of a"o#e Q'estion !o 11 C== M'lti&le Choice Q'estions ank %he string related f'nction s'&&lied ". C standard li"rar. is a* strc&.AC "* strcatAC c* strc)&AC d* All of a"o#e e. 9one o% a&o'e -Answer Q'estion !o 1: /ind o't the incorrect state)ent for strlenAC f'nction a. /eturns the length o% a string -Answer "* Does not co'nt the n'll ter)inator c* Has general for) strlenACT d* All of a"o#e e* !one of a"o#e Q'estion !o 12 C &ro#ides loo& constr'cts for &erfor)ing loo& o&erations* %he. are a* %he WH6L4 state)ent &. The D) statement -Answer c* %he /OR state)ent d* All of a"o#e e* !one of a"o#e Q'estion !o 13 Arra.s that do not ha#e their di)ensions e8&licitl. s&ecified are called a. :nsi;e! arra0s -Answer "* Undi)ensional arra.s c* 6nitialiFed arra.s d* !o siFe of arra.s e* !one of a"o#e

Q'estion !o 15 What is wrong with the gi#en frag)ent? a* %he siFe of the arra. is not s&ecified "* Declaration )'st ha#e float in &lace of int c* %he list )'st "e enclosed "etween c'rl. "races !. All o% the a&o'e -Answer e* !one of the a"o#e* Q'estion !o $7 A #aria"le that holds the )e)or. address of another o"@ect is called a a* integer "* &ointer c* constant !. memor0 'aria&le -Answer e* !one of the a"o#e* Q'estion !o $1 a* I and E "* I and EE c. < an! << -Answer d* U and E e* !one of the a"o#e* Q'estion !o $$ 6n C, the address of )<s )e)or. location can deter)ined ". the e8&ression a* I) &. m< -Answer c* E) d* )I e* !one of the a"o#e* Q'estion !o $MainAC is an e8a)&le of a. li&rar0 %unction -Answer "* 'ser;defined f'nction c* header d* state)ent e* !one of the a"o#e,

Q'estion !o $0 %he header file <ct.&e*h< can "e 'sed for a* &ro#iding links to asse)"l. lang'age for calls "* &ro#iding diagnostic and de"'gging assistance c* &ro#iding s'&&ort for string handling f'nctions !. pro'i!ing character t0pe i!enti%ication (&oolean) an! translation -Answer e* !one of the a"o#e* Q'estion !o $1* %he header file <)ath*hI can "e 'sed for a* &ro#iding links to asse)"l. lang'age for calls "* &ro#iding diagnostic and de"'gging assistance c* &ro#iding s'&&ort for string handling f'nctions d* All of the a"o#e e. 9one o% the a&o'e. =Answer

.- function that uses "ariable types is called 3333333333 4"erloaded a template function a "ariable function a "irtual function -ns:/ 3.5he 41 of a computer may periodically collect all the free memory space to form contiguous block of free space. 5his is called ,oncatenation 6arbage collection ,ollision 7ynamic 8emory -llocation -ns:/ 9.5he metadata is created by the

C-DACTechnical Questions 1.What will be output if you will compile and execute the following c code? struct marks{ int p:3; int c:3; int m: ; !; "oid main#${ struct marks s%{ &'(&)!; printf#*+d +d +d*&s.p&s.c&s.m$; ! '( ) '( 1 1 ,ompiler error -ns: , .xplanation: /inary "alue of : 00000010 #1elect three two bit$ /inary "alue of (: 00000110 /inary "alue of '(: 1111100121%11111010 #1elect last three bit$ /inary "alue of ): 00000101 #1elect last two bit$

#-$78: compiler #/$78: pre'processor #,$77: interpreter #7$;uery interpreter -ns: #,$ ).Which of the following correctly describes the contents of the filename -ssembly<nfo.cs? <t contains method'le"el attributes. <t contains class'le"el attributes <t contains assembly'le"el attributes. <t contains structure'le"el attributes. -ns:, (.Which method must be defined by a class implementing the =a"a.lang.>unnable interface? "oid run#$ public "oid run#$ public "oid start#$ "oid run#int priority$ -ns:/

?.Which of the following is the address of the router? 5he <@ address 5he 5,@ address 5he subnet mask 5he default gateway -ns:7 A.1emaphores synchroniBe critical resources to pre"ent deadlock synchroniBe critical resources to pre"ent contention are used to do <C4 are used for memory management -ns:D.5he ''''''''''''''functio can be used to compare two strings using a case'insensiti"e binary algorithm 1trcmp#$ stricmp#$ strcasecmp#$ stristr#$ -ns:, 10.- @lan to o"ercome the risk called as 8igration @lan 8aster plan 8aintenance plan 8itigation @lan -ns:7

1* %he &rogra))ing lang'age that was designed for s&ecif.ing algorith)9; Address A+C66 AL>OL !one of these o&tions $* ((((( contains the addresses of all the records according to the contents of the field designed as the record ke.* 6nde8H;;;;;;ans +'"scri&t Arra. /ile -* ((((((((( s.)"ol is 'sed for Processing of data* O#al Parallelogra)H;;;;;;ans Rectangle Dia)ond 0* (((((((((( is the anal.sis tool 'sed for &lanning &rogra) logic Protocol !one of these o&tions PROLO> Pse'docode 1* Machine lang'age has two &art for)at the first &art is(((((((((( and the second &art is (((((((((( OPCOD4,OP4RA!DH;;;;;;ans OP4RA!D,OPCOD4 DA%A COD4,OP4RA!D OP4RA!D,COD4OP :* Lang'age Pri)aril. 'sed for internet;"ased a&&lications ADA C== >A?A3------ans /OR%RA!

2* ((((((((( is a &oint at which the de"'gger sto&s d'ring &rogra) e8ec'tion and awaits a f'rther co))and* Me)or. D')& (atch point@------ans reak &oint !one of these o&tions 3* ((((((((do not contain an. &rogra) logic and are ignored ". the lang'age Processor Pr otocol Dir's Co))ent !one of these o&tions 5* %he co)&onent of data "ase )anage)ent s.ste) is (((((((( Data definition Lang'age Data )ani&'lation Lang'age Data definition Lang'age and Data )ani&'lation Lang'age !one of these o&tions 17* %he ,'alit. of Algorith) is @'dged on the "asis of((((((((( %i)e re,'ire)ent Me)or. Re,'ire)ent Acc'rac. of sol'tion All o% these options@------ans 11* Ad#antages of 'sing flow charts is 4ffecti#e Anal.sis 4fficient Coding %i)e cons')ing ,%%ecti'e Anal0sis an! ,%%icient Co!ing@-----ans Progra))ing in C9; 1$* %he Real constants in C can "e e8&ressed in which of the following for)s /ractional for) onl. 48&onential for) onl. A+C66 for) onl. Both .ractional an! ,2ponential %orms@------ans

1-* %he &rogra), which translates high;le#el &rogra) into its e,'i#alent )achine lang'age &rogra), is called %ransfor)er Lang'age &rocessor Con#erter !one of these o&tionsH;;;;;;ansHZ;;^if Z s'&&ort4)&t.Paras_;;e 10* Consider the following state)ents* i*M'lti&lication associates left to right ii*Di#ision associates left to right iii*Unar. Min's associates right to left i'.su&traction associates le%t to right All are true @------ans onl. i and ii are tr'e all are false onl. iii and i# are tr'e 11* What will "e the #al'e of #aria"le a in the following code? 'nsigned char aT a J 78// = 1T &rintfABUdB, aCT 78// 78177 A @------ans 787 1:* What is the o't&'t of the following &rogra)? Wincl'de Hstdio*he #oid )ainAC X &rintfABfn17ZJ5 9 U1dB,17ZJ5CT \ $@------ans 7 4rror !one of these o&tions

12* Wincl'deHstdio*he #oid )ainAC X int 8J17T A8H7C?Aint a J177C9Aint a J1777CT &rintfAB UdB,aCT \ ,rror@------ans 1777 177 !one of these o&tions 13* Which of the following shows the correct hierarch. of arith)etic o&erations in C AC, II, I or ?, = or ; AC, II, I, ?, =, ; AC, II, ?, I, =, ; (), " or B, - or # @-----Ans 15* What is the o't&'t of the following code? Wincl'deHstdio*he #oid )ainAC X int aJ10T a =J 2T a ;J 1T a IJ 2T &rintfABfnUdB,aCT \ $$C@------ans 53 35 !one of these o&tions $7* What is the o't&'t of the following code? Wincl'deHstdio*he Wdefine % t #oid )ainAC X char % J ]%]T &rintfABfnUcftUcfnB,%,tCT \ 4rror %t %%

tt $1* %he state)ent that &rints o't the character set fro) A;G, is forA a J ]F]T a H ]a]T a J a ; 1C &rintfABUcB, EaCT forA a J ]a]T a HJ ]F]T a J a = 1 &rintfABUcB, EaCT forA a J ]A]T a HJ ]G]T a J a = 1CH;;;;Ans &rintfABUcB, aCT forA a J ]G]T a HJ ]A]T a J a = 1C &rintfABUcB, aCT $$* %he state)ent which &rints o't the #al'es 1 to 17 on se&arate lines, is forA co'nt J 1T co'nt HJ 17T co'nt J co'nt = 1C &rintfABUdfnB,co'ntCT %or( count 7 $3 count @ $A3 count 7 count # $) print%(DE!FnD,count)3@------ans forA co'nt J 7T co'nt HJ 5T co'nt J co'nt = 1C &rintfABUd B,co'ntCT forA co'nt J 1T co'nt He 17T co'nt J co'nt = 1C &rintfABUdfnB,co'ntCT $-* What does the ter) ]call;".;reference] refer to? Passing a co&. of a #aria"le into a f'nction* Passing a &ointer to a #aria"le into a f'nction* H;;;;;;ans Choosing a rando) #al'e for a #aria"le* A f'nction that does not ret'rn an. #al'es* $0* What is the o't&'t of the following code? Wincl'deHstdio*he #oid swa&AintE, intECT #oid )ainAC X int a J 17,"J$7T swa& Aa==,"==CT &rintfABfnUdftUdftB,a, "CT \ #oid swa&AintE 8, intE .C X 8=J$T .=J-T \ 10, $0 $$, C$ @------ans

17, $7 4rror $1* What is the o't&'t of the following &rogra) code Wincl'deHstdio*he #oid a"cAint a^_C X a==T a^1_J:1$T \ )ainAC X char a^1_T a"cAaCT &rintfABUdB,a^0_CT \ 177 :1$ ,rror@------ans !one of these o&tions $:* which of the following is tr'e a"o't rec'rsi#e f'nction i* it is also called circ'lar definition ii* it occ'rs when a f'nction calls another f'nction )ore than once iii* it occ'rs when a state)ent within the f'nction calls the f'nction itself i#* a rec'rsi#e f'nction cannot ha#e a ret'rn state)ent within itB i an! iii@------ans i and ii ii and i# i, iii and i# $2* What will ha&&en if .o' assign a #al'e to an ele)ent of an arra. whose s'"scri&t e8ceeds the siFe of the arra.? %he ele)ent will "e set to 7 !othing, its done all the ti)e Other data )a. "e o#erwritten 4rror )essage fro) the co)&iler

$3* What is the o't&'t of the following code? Wincl'deHstdio*he #oid )ainAC X int arr^$_^-_^$_JXXX$,0\,X2,3\,X-,0\,\, XX$,$\,X$,-\,X-,0\, \\T &rintfABfnUdB,IIAIarr=1C=$=2CT \ $G @------ans 2 11 4rror $5* 6f int s^1_ is a one di)ensional arra. of integers, which of the following refers to the third ele)ent in the arra.? B( s # C ) @------ans IA s = - C s=s=$ -7* Wincl'deBstdio*hB )ainAC X int I&1,iJ$1T #oid I&$T &1JEiT &$JEiT &1J&$T &$J&1T &rintfABUdB,iCT \ %he o't&'t of the a"o#e code is 9 Program will not compile @------ans $1 >ar"age #al'e Address of 6 -1* What is the o't&'t of the following code? #oid )ainAC X int i J 177, @ J $77T const int I&JEiT & J E@T &rintfABUdB,I&CT \

177 CAA @------ans -77 !one of the a"o#e -$* #oid )ainAC X int iJ-T int I@JEiT clrscrACT &rintfABUdUdB,==I@,IAEiCCT \ What is the o't&'t of this &rogra)? -0 - H;;;;;;ans 0,address of i &rinted 4rror9L#al'e re,'ired --* What is the o't&'t of the following code? Wincl'deHstdio*he #oid )ainAC X int arr^_ J X17,$7,-7,07,17\T int I&tr J arrT &rintfABfn UdftUdftB,I&tr==,I&trCT \ 17 $7 17 17H;;;;;;ans $7 $7 $7 17 -0* Which of these are reasons for 'sing &ointers? 1*%o )ani&'late &arts of an arra. $*%o refer to ke.words s'ch as for and if -*%o ret'rn )ore than one #al'e fro) a f'nction 0*%o refer to &artic'lar &rogra)s )ore con#enientl. 1 E - H;;;;;;ans Onl. 1 Onl. All of the a"o#e -1* str'ct n') X int noT char na)e^$1_T

\T #oid )ainAC X str'ct n') n1^_JXX$1,BroseB\,X$7,Bg'l)oharB\, X3,Bgerani')B\,X11,BdahaliaB\\T &rintfABUdUdB ,n1^$_*no,AIEn1=$C;eno=1CT \ What is the o't&'t of this &rogra)? 33 3 5 H;;;;;;ans 53 3 , 'n&redicta"le -:* D'ring initialiFing a 'nion Onl. one )e)"er can "e initialised* All the )e)"ers will "e initialised* 6nitialisation of a 'nion is not &ossi"le*H;;;;;;ans !one of these o&tions -2* +elf referential str'ct're is one a* Consisting the str'ct're in the &arent str'ct're "* Consisting the &ointer of the str'ct're in the &arent str'ct're Onl. a Onl. " oth a and " !either a nor " -3* 6ndi#id'al str'ct're )e)"er can "e initialiFed in the str'ct're itself %r'e /alse Co)&iler de&endent !one of these o&tions -5* Which of the following is the feat're of stack? All o&erations are at one end 6t cannot re'se its )e)or. All ele)ents are of different data t.&es An. ele)ent can "e accessed fro) it directl.H;;;;;; ans 07* When stacks are created Are initiall. e)&t.H;;;;;;ans Are initialiFed to Fero

Are considered f'll !one of these o&tions 01* What is ti)e re,'ired to insert an ele)ent in a stack with linked i)&le)entation? A1C Alog$nCH;;;;;;ans AnC An log$nC 0$* Which of the following is the feat're of stack? All o&erations are at one end 6t cannot re'se its )e)or. All ele)ents are of different data t.&es An. ele)ent can "e accessed fro) it directl.H;;;;;; ans 0-* %i)e taken for addition of ele)ent in ,'e'e is A1C AnC Alog nCH;;;;;;ans !one of these o&tions 00* When is linear ,'e'e said to "e e)&t. ? /rontJJrear /rontJrear;1 /rontJrear=1 /rontJrearH;;;;;;ans 01* When ,'e'es are created Are initiall. e)&t.H;;;;;;ans Are initialiFed to Fero Are considered f'll !one of the a"o#e 0:* What wo'ld "e the o't&'t of the following &rogra)? Wincl'de Hstdio*he )ainAC X &rintfABfnUcB, Ba"cdefghB^0_CT \ a"cdefgh d e H;;;;;;ans error

02* +elect the correct C code which will read a line of charactersAter)inated ". a fnC fro) in&'t(file into a character arra. called "'ffer* !ULL ter)inate the "'ffer '&on reading a fn* int ch, loo& J 7T ch J fgetcA in&'t(file CT whileA Ach ZJ ]fn]CEE Ach ZJ 4O/C CX"'ffer^loo&_ J chT loo&==T ch J fgetcAin&'t(file CT\ "'ffer^loo&_ J !ULLT int ch, loo& J 7T ch J fgetcA in&'t(file CT whileA Ach J BfnBCEE Ach J 4O/CC X "'ffer^loo&_ J chT loo&;;T ch J fgetcA_in&'t(file CT \ "'ffer^loo&_J !ULLT int ch, loo& J 7T ch J fgetcA in&'t(file CT whileA Ach He BfnBCEE Ach ZJ 4O/C C X "'ffer^loo&_ J chT loo&==T ch J fgetcAin&'t(file CT \ "'ffer^loo&_ J ;1T !one of the a"o#e 03* What is the o't&'t of the following code ? #oid )ainAC X int aJ7T int "J7T ==a JJ 7 aa ==" JJ 11T &rintfABfnUd,UdB,a,"CT \ 7, 1 1, 1 H;;;;;;ans 7, 7 1, 7 05* What is the o't&'t of the following &rogra)? Wdefine strA8CW8 Wdefine KstrA8CstrA8C Wdefine o&er )'lti&l. #oid )ainAC X char Io&erna)eJKstrAo&erCT &rintfABUsB,o&erna)eCT \ o&erna)e Kstr )'lti&l. H;;;;;;ans Kstr

17* What is the o't&'t of the following code ? Wincl'deHstdio*he Wincl'deHstring*he #oid )ainAC X char Ia J BC;DACf7f7AC%+f7fnBT &rintfABUsfnB,aCT \ C;DAC AC%+ AC%+ C;DAC H;;;;;;ans !one of these 11* Wincl'deHstdio*he #oid )ainAC X while A1C Xif A&rintfABUdB,&rintfABUdBCCC "reakT else contin'eT \ \ %he o't&'t is Co)&ile ti)e error >oes into an infinite loo& >ar"age #al'es H;;;;;;ans !one of these o&tions 1$* +elect the correct C state)ents which tests to see if in&'t(file has o&ened the data file s'ccessf'll.*6f not, &rint an error )essage and e8it the &rogra)* ifA in&'t(file JJ !ULL C X &rintfABUna"le to o&en file*fnBCTe8itA1CT \ ifA in&'t(file ZJ !ULL C X &rintfABUna"le to o&en file*fnBCTe8itA1CT \ whileA in&'t(file J !ULL C X &rintfABUna"le to o&en file*fnBCTe8itA1CT\ !one of these o&tions 1-*%he code int i J 2T &rintfABUdfnB, i== I i==CT &rints 05 &rints 1: H;;;;;;ans is co)&iler de&endent e8&ression i== I i== is 'ndefined

10* Rec'rsi#e &roced're are i)&le)ented ". Linear list Q'e'e %ree +tackH;;;;;;ans 11* Which of these are reasons for 'sing &ointers? 1* %o )ani&'late &arts of an arra. $* %o refer to ke.words s'ch as for and if -* %o ret'rn )ore than one #al'e fro) a f'nction 0* %o refer to &artic'lar &rogra)s )ore con#enientl. 1 E -H;;;;;;ans onl. 1 onl. !one of these o&tions 1:* %he e8&ression 8 J 0 = $ U ;3 e#al'ates to ;: : 0 !one of these o&tions 12* What is the o't&'t of the following code? Wincl'deHstdio*he )ainAC X register int aJ$T &rintfABfnAddress of a J Ud,B, EaCT &rintfABftDal'e of a J UdB,aCT Address of a,$ H;;;;;;ans Linker error Co)&ile ti)e error !one of these o&tions 13* What is the o't&'t of the following code? Wincl'deHstdio*he #oid )ainAC X int arr^_JX7,1,$,-,0,1,:\T int i,I&trT forA&trJarr=0,i J7T iHJ0T i==C &rintfABfnUdB,&tr^;i_CTAas the 7J0,for ;1 it "eco)es J-C \ 4rror :10-$

7 gar"age gar"age gar"age gar"age 0 - $ 1 7 H;;;;;;ans 15* Which of the following is the correct wa. of declaring a float &ointer9 float &trT float I&trT H;;;;;;ans Ifloat &trT !one of the a"o#e :7* 6f the following &rogra) Anew&rogC is r'n fro) the co))and line as9new&rog 1 $ - What wo'ld "e the o't&'t of the following? #oid )ain Aint argc, charIarg#^_C X int 6,@J7T for A6J7T6HargcT6==C @J@ = atoiAarg#^6_CT &rintfABUdB,@CT \ 1$: 1$Co)&ilation errorH;;;;;;ans

You might also like