Sie sind auf Seite 1von 5

Microprocessors and Microcontrollers - - Unit 8... https://onlinecourses.nptel.ac.in/noc18_ec03/un...

reviewer2@nptel.iitm.ac.in ▼

Courses » Microprocessors and Microcontrollers

Announcements Course Ask a Question Progress Mentor

Unit 8 - Week 7

Course
outline
Week 7 Assignment
The due date for submitting this assignment has passed. Due on 2018-03-14, 23:59 IST.
How to access
the portal Submitted assignment

Week 1 1) In idle mode of power control register, which of the following is not true? 1 point

Week 2 a. All of registers , ports and internal RAM maintain their data
b. The ALE and PSEN output are held low
Week 3
c. The internal CPU clock is gated off
Week 4 d. Interrupt, Timer, and Serial Port functions act normally
Week 5 No, the answer is incorrect.
Score: 0
Week 6 Accepted Answers:
b. The ALE and PSEN output are held low
Week 7
2) In power down mode of power control register which of the following is not 1 point
Lecture 32 :
8051
true?
Microcontroller(Contd.)
a. All functions are stopped, the contents of the on-chip RAM and Special
Lecture 33 :
Function Registers are lost
8051
Microcontroller(Contd.) b. The ALE and PSEN output are held low
Lecture 34 : c. Last instruction executed before going into the power down mode
8051
Microcontroller(Contd.) d. The on-chip oscillator is stopped
Lecture 35 : No, the answer is incorrect.
8051 Score: 0
Microcontroller(Contd.)
Accepted Answers:
Lecture 36 : a. Allfunctions are stopped, the contents of the on-chip RAM and Special Function Registers
8051
Programming
are lost
Examples 3) In Serial control (SCON) Register, SCON.5 is used to 1 point
Week 7 Lecture
Material a. Transmit interrupt flag
Quiz : Week 7 b. Receive interrupt flag
Assignment © 2014 NPTEL - Privacy & Terms - Honor Code - FAQs -
c. Used for multi processor communication
A project of
Feedback for In association with
week 7 d. Receive enable
Week 7 No, the answer is incorrect.
Assignment Score: 0 Funded by
Answers

1 of 5 Wednesday 16 May 2018 04:58 PM


Microprocessors and Microcontrollers - - Unit 8... https://onlinecourses.nptel.ac.in/noc18_ec03/un...

Accepted Answers:
Powered by
Week 8
c. Used for multi processor communication
Week 9 4) In serial communication which of the following mode of operation 1 point
receives/transmits 10 bits?
Week 10
a. Mode 0
Week 11
b. Mode 1
Week 12
c. Mode 2
DOWNLOAD d. Mode 3
VIDEOS
No, the answer is incorrect.
Score: 0
Accepted Answers:
b. Mode 1
5) In Timer Control Register, Mode 1 uses 1 point

a. 8-bit timer
b. 16-bit timer
c. 13-bit timer
d. 32-bit timer
No, the answer is incorrect.
Score: 0
Accepted Answers:
b. 16-bit timer
6) In which of the following cases, TF0 will be ‘1’ 1 point

a. TH0 – TL0 = FFFDH


b. TH0 – TL0 = FFFEH
c. TH0 – TL0 = FFFFH
d. TH0 – TL0 = 0000H
No, the answer is incorrect.
Score: 0
Accepted Answers:
d. TH0 – TL0 = 0000H
7) The following program generates a square wave on pin P1.5 Using timer 1. 1 point
Find the frequency. Consider XTAL = 11.0592 MHz.
MOV TMOD, #10H
AGAIN: MOV TL1, #26H
MOV TH1, #71H
SETB TR1
BACK: JNB TF1, BACK
CLR TR1
CPL P1.5
CLR TF1
SJMP AGAIN

a. 12.087 Hz
b. 12.601 Hz
c. 13.504 Hz
d. 14.705 Hz

2 of 5 Wednesday 16 May 2018 04:58 PM


Microprocessors and Microcontrollers - - Unit 8... https://onlinecourses.nptel.ac.in/noc18_ec03/un...

No, the answer is incorrect.


Score: 0
Accepted Answers:
b. 12.601 Hz
8) Assuming XTAL = 11.0592 MHz, which of the following program will 1 point
generate a square wave of 100 Hz frequency on pin P2.3.

a. MOV TMOD, #10H


AGAIN: MOV TL1, #00H
MOV TH1, #DCH
SETB TR1
BACK: JNB TF1, BACK
CLR TR1
CPL P2.3
CLR TF1
SJMP AGAIN

b. MOV TMOD, #10H


AGAIN: MOV TL1, #00H
MOV TH1, #DEH
SETB TR1
BACK: JNB TF1, BACK
CLR TR1
CPL P2.3
CLR TF1
SJMP AGAIN

c. MOV TMOD, #10H


AGAIN: MOV TL1, #00H
MOV TH1, #EEH
SETB TR1
BACK: JNB TF1, BACK
CLR TR1
CPL P2.3
CLR TF1
SJMP AGAIN

d. MOV TMOD, #10H


AGAIN: MOV TL1, #FFH
MOV TH1, #EEH
SETB TR1
BACK: JNB TF1, BACK
CLR TR1
CPL P2.3
CLR TF1
SJMP AGAIN

No, the answer is incorrect.


Score: 0
Accepted Answers:
c. MOV TMOD, #10H
AGAIN: MOV TL1, #00H
MOV TH1, #EEH
SETB TR1
BACK: JNB TF1, BACK
CLR TR1
CPL P2.3
CLR TF1
SJMP AGAIN

9) What is the default interrupt priority in 8051? 1 point

3 of 5 Wednesday 16 May 2018 04:58 PM


Microprocessors and Microcontrollers - - Unit 8... https://onlinecourses.nptel.ac.in/noc18_ec03/un...

a. INT0 > TF0 > RI + TI > INT1 > TF1


b. INT01 > TF1 > RI + TI > INT0 > TF0
c. INT0 > TF0 > INT1 > TF1 > RI + TI
d. INT1 > TF1 > INT0 > TF0 > RI + TI
No, the answer is incorrect.
Score: 0
Accepted Answers:
c. INT0 > TF0 > INT1 > TF1 > RI + TI
10)Which of the following statements is true? 1 point

a. In Simplex mode of serial communication, data is transmitted both from the


transmitter to the receiver, as well as from the receiver to the transmitter
b. In
Half Duplex mode of serial communication, data is transmitted only from
the transmitter to the receiver
c. In Full Duplex mode of serial communication, data is exchanged between the
transmitter and the receiver using two different channels
d. None of the options mentioned
No, the answer is incorrect.
Score: 0
Accepted Answers:
c. In
Full Duplex mode of serial communication, data is exchanged between the transmitter
and the receiver using two different channels
11)For an 8051 microcontroller, what is the combination of the START and STOP 1 point
bits while performing a serial communication operation?

a. START – Low, STOP – Low


b. START – Low, STOP – High
c. START – High, STOP – Low
d. START – High, STOP – High
No, the answer is incorrect.
Score: 0
Accepted Answers:
b. START – Low, STOP – High
12)Which pins of an 8051 microcontroller function as the RxD and TxD pins 1 point
during a serial communication operation?

a. TxD – P3.1, RxD – P3.0


b. TxD – P3.0, RxD – P3.1
c. TxD – P3.0, RxD – P3.0
d. TxD – P3.1, RxD – P3.1
No, the answer is incorrect.
Score: 0
Accepted Answers:
a. TxD – P3.1, RxD – P3.0
13)What are the contents of the SBUF register, after executing the following 1 point
instruction?
MOV SBUF, #'A'

4 of 5 Wednesday 16 May 2018 04:58 PM


Microprocessors and Microcontrollers - - Unit 8... https://onlinecourses.nptel.ac.in/noc18_ec03/un...

a. 41H

b. 40H

c. 42H

d. 39H

No, the answer is incorrect.


Score: 0
Accepted Answers:
a. 41H

14)Which register in an 8051 microcontroller contains the SMOD bit? 1 point

a. SBUF

b. TMOD

c. PCON

d. TCON

No, the answer is incorrect.


Score: 0
Accepted Answers:
c. PCON

15)Which bits in the PCON register of an 8051 microcontroller correspond to the 1 point
idle and power-down modes?

a. PCON.0 – Idle mode, PCON.1 – Power-down mode


b. PCON.1 – Idle mode, PCON.0 – Power-down mode
c. PCON.0 – Idle mode/Power-down mode
d. PCON.1 – Idle mode/Power-down mode
No, the answer is incorrect.
Score: 0
Accepted Answers:
a. PCON.0 – Idle mode, PCON.1 – Power-down mode

Previous Page End

5 of 5 Wednesday 16 May 2018 04:58 PM

Das könnte Ihnen auch gefallen