You are on page 1of 9
‘722, 1:15PM Quiz 1: Atemptrediow Home / My courses / w2021ec2023da / QUIZ 1(20 MARKS) / Quiz Started on Friday, 21 January 2022, 423 PM State Finished Completed on Friday, 21 January 2022, 458 PM Time taken 35 mins, Grade 11.00 out of 20.00 (55%) uesion 1 ccomect Mark 100 out of 1.00 In which ofthe following cases, TFO wil be” a, THO- TL = 0000H v b. THO-TLO = FFFOH THO -TLO = FFFEH . THO-TLO = FFFFH, “The correct answer is: THO ~TLO = 0000H uesion 2 ccomect Mark 100 out of 1.00 Roll over values for timer in mode 0,1,and 2 is: 2. TFFFHFFFFHOOFFH v . FEFFHOOFFH,FFFH ¢ TFFPHOOFFHYFFFFH 4. 1FFOHOO1FHFFFFH “The correct answer is: IFFFHFFFFHOOFFH hipsecuerver nite ac ivmodiguzievew'phgPatept=4240096emig=97258 19 712,195 PM Quiz 1: Aterptrediow uesion 3 ccomect Mark 1.00 out of 00 ‘What isthe frequency at which the timer 0 and timer 1 in 8051 microcontroller timing operation increments? 2. 1/5th of the crystal frequency 1.1/2 of the crystal frequency 1/12th of the crystal frequency v .1/10th of the crystal frequency “The correct answer is:1/12th of the crystal frequency ueston 4 Mark 1.00 out of 00 Which ofthe following instruction moves accumulator to external RAM of 16bit address? a. MOVK @ Ri, A b.MOV @ DPTR, A cMOVA@ d. MOVX @ DPTR, A y The correct answer isi MOVX @ DPTR, A hipsecuerver nite ac ivmodiguzievew'phgPatept=4240096emig=97258 712,195 PM uz 1 Aton ow uesion 5 ccomect Mark 1.00 out of 00 cur P23; Mov TMoD,t01 HERE: MOV TLo#0 Mov THO,#OEEH SeTB P23 SeT8 TRO AGAIN:JNB TFOAGAIN cur TRO cur Tro “The frequency of square wave generated on P2.3 by the above program using timer Os: Sus toms Sms v tous ‘The correct answer is Sms auestion 6 More 00 ou of 00 ‘The location allotted for external hardware interrupt 0 (INT 0) is. 2.0003 to 000A, v 00013 to 0018 0000 to 0008 4.0001 to 000 ‘The correct answer is: 0003 to 0008 hipsecuerver nite ac ivmodiguzievew'phgPatept=4240096emig=97258 39 712,195 PM uz 1 Aton ow uesion 7 brcore Mark 900 out of 200 ‘While designing a counter, the timer 0 is used as time base for timing 1 second and during this 1 second, the timer 1 is run as a counter, To design this, what isthe value to be moved to the TMOD register Mov TMOD, #16H * MoV MOD, #15H MoV TMD, #511 Mov TMOD, #064 ‘The correct answer is Mov TMOD, #514 Mork 000 out 900 ‘Which bit of interrupt enable register is responsible for enabling and disabling the external interrupt 1? 2.Bit6 baBita ito * pita ‘The correct answer is: it 2 hipsecuerver nite ac ivmodiguzievew'phgPatept=4240096emig=97258 49 712,195 PM Quiz 1: Aterptrediow uesion 9 ccomect Mark 1.00 out of 00 Select the ports of 8051 that can't serve more than ane function, Porto b.Port3 Port? Port? v ‘The correct answer is: Port 1 ester 10 Mark 000 ox of 200 Mov TMo0D,#20H Mov THI,05 SETB TRI BACK: JNB TF1, BACK cPLPto cur TF SIMP BACK Frequency ofthe square wave generated on pin P1.0 in the following program if XTAL freqis 11.0592 will be 5.44 ke x 11085 kHz 2.83 kHz 183 kHe ‘The correct answer is 1.83 kee hipsecuerver nite ac ivmodiguzievew'phgPatept=4240096emig=97258 712,195 PM uz 1 Aton ow uesion 11 ccomect Mark 1.00 out of 100 How many times wil the following loop execute? Mov R6,1119 HEREDINZ R6, HERE END 120 Infinite 119 v 118 ‘The correct answer is 119 hipsecuerver nite ac ivmodiguzievew'phgPatept=4240096emig=97258 3722, 1.15PM. Quiz 1: Aterptrediow uesion 12 brcorect Mark 0.00 out of 1.00 Mov 81h, #0%h PUSH 88h ‘The functionality of the above program is to Push the contents of TCON(B8h) into direct address O2h Error Push the contents of TCON(GBh) into indirect address O2h None ofthe above x ‘The correct answer is Push the contents of TCON(@Bh) into direct address 02h uesion 13 bocorect Mark 0.00 out of 3.09 For a signed number addition which status bitis important? aov boy x CAC a.Psw ‘The correct answer is: OV hipsecuerver nite ac ivmodiguzievew'phgPatept=4240096emig=97258 79 712,195 PM Quiz 1: Aterptrediow uesion 14, brcore Mark 900 out of 200 ‘What isthe initial high byte and low byte of count that are to be loaded inthe registers TH1 and TL1, respectively for designing ‘counter to count 1000 events? MoV TH1, #00H x MOV TL1, HOH MOV THT, #511, Mov 1L1,#15H MOV THT, #18H, Mov TL1, #OFCH MOV TH1, #OFCH Mov 1L1, #18H ‘The correct answer is Mov THI, #0FCH MOV LI, #184 ‘auesion 15 ccorect Mark 1.00 out of 00 ‘What isthe instruction for the complement or invert ofa bit addressable SFR. a.CPLC b.cPLsit v CANL BE aclac ‘The correct answer is: CPL Bit hipsecuerver nite ac ivmodiguzievew'phgPatept=4240096emig=97258 3722, 1.15PM. Quiz 1: Aterptrediow uesion 16 ccomect Mark 190 out of 1.90 ‘Which general purpose register halds eight-bit divisor and store the remainder especially after the execution of division operation? Registers RO through R7 b.ARegister All of the above 4.8 Register ¥ ‘The correct answer is: B-Register veston 17 ccomact Mark 1.90 out af 3.00 {8051 counters in mode 2 are 2. 16-bit bir2-bit cBbit v 4 Size programmable The correct answer i: 8-bit ~ Serial Port Operation Jump to, Test = hipsecuerver nite ac ivmodiguzievew'phgPatept=4240096emig=97258

You might also like