0% found this document useful (0 votes)
105 views

CPR MCQs - Assignment - 9.1.24

The document provides a sample exam for a subject on communication protocols for robotics. It contains multiple choice questions about topics like serial communication, RS-232, and microprocessors. The questions provide explanations for the answers.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
105 views

CPR MCQs - Assignment - 9.1.24

The document provides a sample exam for a subject on communication protocols for robotics. It contains multiple choice questions about topics like serial communication, RS-232, and microprocessors. The questions provide explanations for the answers.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

PARUL UNIVERSITY

FACULTY OF ENGINEERING & TECHNOLOGY


B.Tech (MCQs)
Semester: IV
Subject Code: 303122257
Subject Name: Communication Protocols for Robotics

Which of the following can be used for long distance communication?


a) I2C
b) Parallel port
c) SPI
d) RS232

Answer: d
Explanation: A slightly different serial port called RS232 is used for long distance
communication, otherwise the clock may get skewed. The low voltage signal also affects the
long distance communication.
2. Which of the following can affect the long distance communication?
a) clock
b) resistor
c) inductor
d) capacitor

Answer: a
Explanation: For small distance communication, the clock signal which allows a synchronous
transmission of data is more than enough, and the low voltage signal of TTL or CMOS is
sufficient for the operation. But for long distance communication, the clock signal may get
skewed and the low voltage can be affected by the cable capacitance. So for long distance
communication RS232 can be used.
3. Which are the serial ports of the IBM PC?
a) COM1
b) COM4 and COM1
c) COM1 and COM2
d) COM3

Answer: c
Explanation: The IBM PC has one or two serial ports called the COM1 and the COM2, which
are used for the data transmission between the PC and many other peripheral units like a
printer, modem etc.
4. Which of the following can provide hardware handshaking?
a) RS232
b) Parallel port
c) Counter
d) Timer
Answer: a
Explanation: In RS232, several lines are used for transmitting and receiving data and these
also provide control for the hardware handshaking.
5. Which of the following have an asynchronous data transmission?
a) SPI
b) RS232
c) Parallel port
d) I2C

Answer: b
Explanation: The data is transmitted asynchronously in RS232 which enhance long distance
communication, whereas SPI, I2C offers short distance communication, and therefore, they
are using synchronous data transmission.
6. How many areas does the serial interface have?
a) 1
b) 3
c) 2
d) 4

Answer: c
Explanation: The serial interface is divided into two, physical interface and the electrical
interface.
7. The RS232 is also known as
a) UART
b) SPI
c) Physical interface
d) Electrical interface

Answer: d
Explanation: The RS232 is also known as the physical interface and it is also known as
EIA232.
8. How much voltage does the MC1489 can take?
a) 12V
b) 5V
c) 3.3V
d) 2.2V

Answer: b
Explanation: The MC1489 is an interface chip which can take a 5V and generate internally
the other voltages which are needed to meet the interface specification.
9. Which of the following is not a serial protocol?
a) SPI
b) I2C
c) Serial port
d) RS232
Answer: d
Explanation: The RS232 is a physical interface. It does not follow the serial protocol.
10. Which of the following is an ideal interface for LCD controllers?
a) SPI
b) parallel port
c) Serial port
d) M-Bus

Answer: d
Explanation: M-Bus or Motorola Bus is an ideal interface for LCD controllers, A/D
converters, EEPROMs and many other components which can benefit faster transmission.
11.Which lines are utilized during the enable state of hardware flow control in DTE and
DCE devices of RS232 ?

a. CD & IR
b. DSR & DTR
c. RTS & CTS
d. None of the above

ANSWER: c. RTS & CTS

12. Which among the below stated lines represent the handshaking variant usually and
only controlled by the software in the handshaking process?

a. XON/ XOFF
b. DCD & GND
c. TxD & RxD
d. All of the above

ANSWER: a. XON/ XOFF

13. Match the following registers with their functions :

A. Line Status Register ------------------ 1. Set Up the communication parameters

B. Line Control Register ----------------- 2. Sharing of similar addresses

C. Transmit & Receive Buffers ------------ 3. Status Determination of Tx & Rr

a. A-2, B-1, C-3


b. A-1, B-2, C-3
c. A-3,B-1, C-2
d. A-3, B-2, C-1

ANSWER: c. A-3 ,B-1 , C-2

1. Which of the following can be used for long distance communication?


a) I2C
b) Parallel port
c) SPI
d) RS232
View Answer
Answer: d
Explanation: A slightly different serial port called RS232 is used for long distance
communication, otherwise the clock may get skewed. The low voltage signal also affects the
long distance communication.
2. Which of the following can affect the long distance communication?
a) clock
b) resistor
c) inductor
d) capacitor
View Answer
Answer: a
Explanation: For small distance communication, the clock signal which allows a synchronous
transmission of data is more than enough, and the low voltage signal of TTL or CMOS is
sufficient for the operation. But for long distance communication, the clock signal may get
skewed and the low voltage can be affected by the cable capacitance. So for long distance
communication RS232 can be used.
3. Which are the serial ports of the IBM PC?
a) COM1
b) COM4 and COM1
c) COM1 and COM2
d) COM3
View Answer
Answer: c
Explanation: The IBM PC has one or two serial ports called the COM1 and the COM2, which
are used for the data transmission between the PC and many other peripheral units like a
printer, modem etc.
advertisement
4. Which of the following can provide hardware handshaking?
a) RS232
b) Parallel port
c) Counter
d) Timer
View Answer
Answer: a
Explanation: In RS232, several lines are used for transmitting and receiving data and these
also provide control for the hardware handshaking.
5. Which of the following have an asynchronous data transmission?
a) SPI
b) RS232
c) Parallel port
d) I2C
View Answer
Answer: b
Explanation: The data is transmitted asynchronously in RS232 which enhance long distance
communication, whereas SPI, I2C offers short distance communication, and therefore, they
are using synchronous data transmission.
6. How many areas does the serial interface have?
a) 1
b) 3
c) 2
d) 4
View Answer
Answer: c
Explanation: The serial interface is divided into two, physical interface and the electrical
interface.
7. The RS232 is also known as
a) UART
b) SPI
c) Physical interface
d) Electrical interface
View Answer
Answer: d
Explanation: The RS232 is also known as the physical interface and it is also known as
EIA232.
8. How much voltage does the MC1489 can take?
a) 12V
b) 5V
c) 3.3V
d) 2.2V
View Answer
Answer: b
Explanation: The MC1489 is an interface chip which can take a 5V and generate internally
the other voltages which are needed to meet the interface specification.
9. Which of the following is not a serial protocol?
a) SPI
b) I2C
c) Serial port
d) RS232
View Answer
Answer: d
Explanation: The RS232 is a physical interface. It does not follow the serial protocol.
10. Which of the following is an ideal interface for LCD controllers?
a) SPI
b) parallel port
c) Serial port
d) M-Bus
View Answer
Answer: d
Explanation: M-Bus or Motorola Bus is an ideal interface for LCD controllers, A/D
converters, EEPROMs and many other components which can benefit faster transmission
. What is Microprocessor?
a) A multipurpose PLD that accepts binary data as input
b) A multipurpose PLD that accepts an integer as input
c) A multipurpose PLD that accepts whole numbers as input
d) A multipurpose PLD that accepts prime numbers as input
View Answer
Answer: a
Explanation: A microprocessor is a multipurpose PLD that accepts binary data as input and
processes data according to the instructions, and outputs the result. Binary instructions are
read from memory.
2. Which of the following is correct about 8086 microprocessor?
a) Intel’s first x86 processor
b) Motrola’s first x86 processor
c) STMICROELECTRONICS’s first x86 processor
d) NanoXplore x86 processor
View Answer
Answer: a
Explanation: The Intel 8086 is Intel’s first x86 processor. They launched the most powerful
processor in terms of advanced architecture i.e. 8086 processor in 1978. It has larger memory
addressing capability and a powerful instruction set.
3. Which of the following is a type of microprocessor?
a) CISC
b) RISC
c) EPIC
d) All of the mentioned
View Answer
Answer: d
Explanation: They are of three types:
CISC: Complex Instruction Set Computer
RISC: Reduced Instruction Set Computer
EPIC: Explicitly Parallel Instruction Computing
4. The microprocessor of a computer can operate on any information if it is present in
______________ only.
a) Program Counter
b) Flag
c) Main Memory
d) Secondary Memory
View Answer
Answer: c
Explanation: If the information isn’t in the computer’s main store, the microprocessor can’t
do anything with it. The primary storage area in a computer, also known as main storage or
memory, is where data is stored for easy access by the computer’s processor. Random-access
memory (RAM) and memory are frequently used interchangeably to refer to primary or main
storage.
5. Which of the following technology was used by Intel to design its first 8-bit
microprocessor?
a) NMOS
b) HMOS
c) PMOS
d) TTL
View Answer
Answer: c
Explanation: PMOS technology was used for designing the processor because this technology
was slow but simple.
advertisement
6. Which of the following addressing method does the instruction, MOV AX,[BX] represent?
a) register indirect addressing mode
b) direct addressing mode
c) register addressing mode
d) register relative addressing mode
View Answer
Answer: a
Explanation: In register indirect addressing mode the address of the operand is stored in the
register. Since the instruction specifies that the register used to refer to the address is accessed
indirectly, it represents the register indirect addressing mode.
7. What is the word length of an 8-bit microprocessor?
a) 8-bits – 64 bits
b) 4-bits – 32 bits
c) 8-bits – 16 bits
d) 8-bits – 32 bits
View Answer
Answer: a
Explanation: At a time, an 8-bit CPU can process 8 bits of data. Depending on the type of
microcomputer, the word length might range from 4 to 64 bits.
8. In 8-bit microprocessor, how many opcodes are present?
a) 246
b) 278
c) 250
d) 256
View Answer
Answer: a
Explanation: In an 8-bit microprocessor, maximum 2 8 = 256 opcodes are possible. But it
consists of only 246 opcodes.
9. Which of the following is not true about the address bus?
a) It consists of control PIN 21 to 28
b) It is a bidirectional bus
c) It is 16 bits in length
d) Lower address bus lines (AD0 – AD7) are called “Line number”
View Answer
10. Which of the following is true about microprocessors?
a) It has an internal memory
b) It has interfacing circuits
c) It contains ALU, CU, and registers
d) It uses Harvard architecture
View Answer
Answer: c
Explanation: Microprocessors don’t have memory and interfacing circuits. They follow
Princeton architecture and they contain ALU, CU, and registers inside them.
11. Which of the following is the correct sequence of operations in a microprocessor?
a) Opcode fetch, memory read, memory write, I/O read, I/O write
b) Opcode fetch, memory write, memory read, I/O read, I/O write
c) I/O read, opcode fetch, memory read, memory write, I/O write
d) I/O read, opcode fetch, memory write, memory read, I/O write
View Answer
Answer: a
Explanation: Initially, the opcode is fetched from memory, then memory read and write
operations are performed followed by I/O read and I/O write operations.
12. The ________ directive instructs the assembler to begin memory allocation for a
segment/block/code from the stated address.
a) GROUP
b) OFFSET
c) ORG
d) LABEL
View Answer
Answer: c
Explanation: When an ORG is written, the assembler starts the location counter to keep track
of the module’s allotted address as specified in the directive.
The location counter is initialized to 0000H if the directive is not present.
13. Which of the following is not a microprocessor?
a) Z8000
b) Motorola 6809
c) Zilog Z8
d) PIC1x
View Answer
14. Which of the following is not a property of TRAP interrupt in microprocessor?
a) It is a non-maskable interrupt
b) It is of highest priority
c) It uses edge-triggered signal
d) It is a vectored interrupt
View Answer
Answer: c
Explanation: TRAP interrupt in 8085 microprocessor uses both level and edge-triggered
clock because it is of highest priority among all the interrupts.
15. Which of the following is a property of RST 7.5 interrupt?
a) It is a non-maskable interrupt
b) It has 3rd highest priority
c) It uses level-triggered signal
d) Its vectored address is 003C H
View Answer
Answer: d
Explanation: RST 7.5 is a maskable interrupt with 2nd highest priority after RST-4.5. It uses
only the edge-triggered signal. It is a vectored interrupt and its vectored address is 003C H.
16. Which of the following flag is used to mask INTR interrupt?
a) zero flag
b) auxiliary carry flag flag
c) interrupt flag
d) sign flag
View Answer
Answer: c
Explanation: If the interrupt flag, IF=1, is set, the microprocessor will serve any interrupt.
The processor ignores the service if the interrupt flag, IF=0, is set to 0.
17. Which of the following is a special-purpose register of microprocessor?
a) Program counter
b) Instruction register
c) Accumulator
d) Temporary register
View Answer
Answer: a
Explanation: Instruction register, accumulator, and temporary register are general-purpose
registers but program counter is a special-purpose register because it holds the address of the
next instruction.
18. Which of the following circuit is used as a special signal to demultiplex the address bus
and data bus?
a) Priority Encoder
b) Decoder
c) Address Latch Enable
d) Demultiplexer
View Answer
Answer: c
Explanation: Address Latch Enable is a positive pulse and it is generated whenever the
microprocessor starts an operation to latch the lower order address lines (AD 7 to AD0).
19. How many flip-flops are there in a flag register of 8085 microprocessor?
a) 4
b) 5
c) 7
d) 10
View Answer
Answer: b
Explanation: There are five flags or flip-flops in a flag register in 8085 microprocessor that
shows the status after ALU operation. They are mainly affected by the content of the
accumulator.
20. Which of the following flag condition is used for BCD arithmetic operations in
microprocessor?
a) Sign flag
b) Auxiliary carry flag
c) Parity flag
d) Zero flag
View Answer
Answer: b
Explanation: Among all the five flag conditions in microprocessor, the auxiliary carry flag is
used internally for BCD arithmetic operations. Based on the auxiliary flag, the instruction set
doesn’t contain the conditional jump operation.

You might also like