You are on page 1of 5

Question Category MC Unit 2 Interfacing 1

Question 10
To initialize any port as an output port what value is to be given to it?
Choose one answer.
1. 0xFF
2. b) 0x00
3. c) 0x01
4. d) A port is by default an output port

Question 11
Which of the ports act as the 16 bit address lines for transferring data through it?
Choose one answer.
1. a) PORT 0 and PORT 1
2. b) PORT 1 and PORT 2
3. c) PORT 0 and PORT 2
4. d) PORT 1 and PORT 3

Question 14
In 8 bit signed number operations, OV flag is set to 1 if:
Choose one answer.
1. a) a carry is generated from D7 bit
2. b) a carry is generated from D3 bit
3. c) a carry is generated from D7 or D3 bit
4. d) a carry is generated from D7 or D6 bit

Question 16
What is the clock source for the timers?
Choose one answer.
1. a) some external crystal applied to the micro-controller for executing the timer
2. b) from the crystal applied to the micro-controller
3. c) through the software
4. d) through programming

Question 17
What is the frequency of the clock that is being used as the clock source for the timer?
Choose one answer.
1. a) some externally applied frequency f’
2. b) controller’s crystal frequency f
3. c) controller’s crystal frequency /12
4. d) externally applied frequency/12

Question 28
When an interrupt is enabled, then where does the pointer moves immediately after this interrupt has
occurred?
Choose one answer.
1. a) to the next instruction which is to be executed
2. b) to the first instruction of ISR
3. c) to a fixed location in memory called interrupt vector table
4. d) to the end of the program

Question 29
What is the disadvantage of a level triggered pulse?
Choose one answer.
1. a) a constant pulse is to be maintained for a greater span of time
Page 1
2. b) another interrupt may be generated if the low-level signal is not removed before the ISR is
finished
3. c) it is difficult to produce
4. d) another interrupt may be caused if the signal is still low before the completion of the last
instruction

Question 31
Number of I/O ports in the 8051 microcontroller?
Choose one answer.
1. a) 3 ports
2. b) 4 ports
3. c) 5 ports
4. d) 4 ports with last port having 5 pins

Question 33
How many rows and columns are present in a 16*2 alphanumeric LCD?
Choose one answer.
1. a) rows=2, columns=32
2. b) rows=16, columns=2
3. c) rows=16, columns=16
4. d) rows=2, columns=16

Question 34
How many data lines are there in a 16*2 alphanumeric LCD?
Choose one answer.
1. 32
2. 8
3. 16
4. 2

Question 35
For writing commands on an LCD, RS bit is
Choose one answer.
1. a) set
2. b) reset
3. c) set & reset
4. d) none of the mentioned

Question 36
Which command is used to select the 2 lines and 5*7 matrix of an LCD?

d)
Choose one answer.
1. a) 0x01
2. b) 0x06
3. c) 0x0e
4. 0x38

Question 37
Which of the following step/s is/are correct for sending data to an LCD?
Choose one answer.
1. set the R/W bit
2. set the RS bit
Page 2
3. high to low pulse on the E bit
4. d) all of the mentioned

Question 38
The RS pin is _________ for an LCD.
Choose one answer.
1. a) input
2. b) output
3. c) input & output
4. d) none of the mentioned

Question 39
Which of the following steps detects the key in a 4*4 keyboard matrix about the key that is being
pressed?
Choose one answer.
1. a) masking of bits
2. b) ensuring that initially, all keys are open
3. c) checking that whether the key is actually pressed or not
4. d) all of the mentioned

Question 40
In reading the columns of a matrix, if no key is pressed we should get all in binary notation
Choose one answer.
1. a) 0
2. b) 1
3. c) F
4. d) 7

Question 41
To identify that which key is being pressed, we need to:
Choose one answer.
1. a) ground all the pins of the port at a time
2. b) ground pins of the port one at a time
3. c) connect all the pins of the port to the main supply at a time
4. d) none of the mentioned

Question 42
While programming the ADC0808/0809 IC what steps are followed?
Choose one answer.
1. a) select the analog channel, start the conversion, monitor the conversion, display the digital
results
2. b) select the analog channel, activate the ALE signal (L to H pulse), start the conversion,
monitor the conversion, read the digital results
3. c) select the analog channel, activate the ALE signal (H to L pulse), start the conversion,
monitor the conversion, read the digital results
4. d) select the channel, start the conversion, end the conversion

Question 43
In ADC0808/0809 IC which pin is used to select Step Size?
Choose one answer.
1. a) Vref
2. b) Vin
3. c) Vref/2 & Vin
4. d) None of the mentioned

Page 3
Question 44
Which of the following statements are true about DAC0808?
Choose one answer.
1. a) parallel digital data to analog data conversion
2. b) it has current as an output
3. c) all of the mentioned
4. d) none of the mentioned

Question 45
8 input DAC has ________
Choose one answer.
1. a) 8 discrete voltage levels
2. b) 64 discrete voltage levels
3. c) 124 discrete voltage levels
4. d) 256 discrete voltage levels

Question 48
The 8051 can handle ________ interrupt sources
Choose one answer.
1. 3
2. 4
3. 5
4. 6

Question 49
Device pins XTAL1 and XTAL2 for the 8051 are used for connections to an external oscillator or
crystal.
Choose one answer.
1. True
2. False

Question 53

When the 8051 is reset and the EA line is LOW, the program counter points to the first program
instruction in the:
Choose one answer.
1. internal code memory
2. external code memory
3. internal data memory
4. external data memory

Question 54
The following program will cause the 8051 to be stuck in a loop:
LOOP:MOV A, #00H
JNZ LOOP
Choose one answer.
1. True
2. False

Question 56
Which of the following statements are true about DAC0808?
Choose one answer.
1. a) parallel digital data to analog data conversion
2. b) it has current as an output
3. c) all of the mentioned
Page 4
4. d) none of the mentioned

Question 57
8 input DAC has ________
Choose one answer.
1. a) 8 discrete voltage levels
2. b) 64 discrete voltage levels
3. c) 124 discrete voltage levels
4. d) 256 discrete voltage levels

Question 68
What does the symbol '#' represent in the instruction MOV A, #55H ?
Choose one answer.
1. a. Direct datatype
2. b. Indirect datatype
3. c. Immediate datatype
4. d. Indexed datatype

Question 29
LED's are interfaced to 8051 micro controller. They are to be switched on and off continuously. Which
can be used to generate delay for on and off period.
Choose one answer.
1. Serial Port
2. Timer
3. Interrupt
4. None of above

Question 30
To initialize any port as an input port what value is to be given to it?
Choose one answer.
1. 0x00
2. 0x0FF
3. 0x0F
4. 0x0F0

Page 5

You might also like