Machine-translated by Google. Questions are authored in English.
Top

Peripheral Devices Questions and Answers

1.

Which of the ports in 8255, in which part of the port pins can be used as input lines and part of the port pines can be used as output lines ?

Exam Year(s)

UGC NET - 2012,

Answer: C

Port C of the 8255 can be split into two halves of four lines each, called upper C and lower C, and the two halves can be set independently, one as input and the other as output. The 8255 has three 8-bit ports, A, B and C, and no port D, so that option does not exist. Ports A and B are each set as a whole port for input or output in the modes of operation, so part of the pins of those ports cannot be input while the rest are output. The answer is PC.

Please log in or register to report this question.

2.

In the mode word format of 8251 during initialization, \(D_{6}\) and \(D_{7}\) bits as 0 and 1 signify

Exam Year(s)

UGC NET - 2012,

Answer: D

The bits D6 = 0 and D7 = 1 in the mode word of the 8251 signify 1.5 stop bits, option (D). In the mode instruction of the 8251 USART, bits D7 and D6 select the number of stop bits: 01 means 1 stop bit, 10 means 1.5 stop bits, 11 means 2 stop bits, and 00 is invalid. With D7 = 1 and D6 = 0, the code is 10, which is 1.5. The baud rate factor, option (A), is set by bits D1 and D0. The character length, option (B), is set by D3 and D2. The parity enable and the even parity, option (C), are set by D4 and D5. So only (D) is fixed by D6 and D7.

Please log in or register to report this question.

3.

The control word of ‘0B5H’ of 8253 indicates that the following counter is selected

Exam Year(s)

UGC NET - 2012,

Answer: C

The control word 0B5H of the 8253 selects counter 2, option (C). In binary 0B5H is 1011 0101. The two most significant bits, D7 D6, select the counter: 00 for counter 0, 01 for counter 1 and 10 for counter 2, and here they are 10. The next two bits, D5 D4 = 11, say that the low byte and then the high byte are read or loaded, the bits D3 D2 D1 = 010 select mode 2, and D0 = 1 selects BCD counting. The code 11 in D7 D6 is not a counter selection in the 8253, so counter 3, option (D), does not exist, and counters 0 and 1 in options (A) and (B) would need 00 and 01.

Please log in or register to report this question.

Loading…

Other Subjects

Tags: Peripheral Devices Questions and Answers || Peripheral Devices MCQ Questions and Answers || Peripheral Devices GK Questions and Answers || Peripheral Devices GK MCQ Questions || Peripheral Devices Multiple Choice Questions and Answers || Peripheral Devices GK || GK on Peripheral Devices || Microprocessors and Microcontrollers Questions and Answers || Microprocessors and Microcontrollers MCQ Questions and Answers || Microprocessors and Microcontrollers GK Questions and Answers || GK on Microprocessors and Microcontrollers