1Which of the following best defines a peripheral device in computer organization?
A.The central processing unit and the main memory
B.An internal cache memory used for high-speed storage
C.Input or output devices attached to the computer
D.The system bus connecting the CPU to memory
Correct Answer: Input or output devices attached to the computer
Explanation:Peripheral devices are input or output devices (like keyboards, printers, and monitors) attached to the computer to communicate with the external environment.
Incorrect! Try again.
2Which alphanumeric code is most commonly used in peripheral devices to transfer characters?
A.BCD
B.ASCII
C.Gray Code
D.Excess-3 Code
Correct Answer: ASCII
Explanation:ASCII (American Standard Code for Information Interchange) is the standard binary code for representation of alphanumeric characters in peripheral devices.
Incorrect! Try again.
3What is the primary function of an Input-Output Interface?
A.To perform arithmetic calculations on data
B.To resolve differences between the CPU and peripheral devices
C.To store data permanently
D.To increase the clock speed of the CPU
Correct Answer: To resolve differences between the CPU and peripheral devices
Explanation:The I/O interface provides a method for transferring information between internal storage and external I/O devices, resolving differences in data format, transfer rates, and operating modes.
Incorrect! Try again.
4In Isolated I/O configuration, how are I/O addresses treated compared to memory addresses?
A.They share the same address space
B.I/O addresses are distinct and have their own read/write control lines
C.I/O devices are accessed using memory instructions like MOV
D.The CPU cannot access I/O devices directly
Correct Answer: I/O addresses are distinct and have their own read/write control lines
Explanation:In Isolated I/O, the I/O address space is separate from the memory address space, and distinct input/output instructions (like IN, OUT) are used with specific control lines.
Incorrect! Try again.
5What is a characteristic of Memory-Mapped I/O?
A.It requires distinct input and output instructions
B.It uses a separate address bus for I/O
C.I/O devices and memory share the same address space
D.It is faster than isolated I/O because it bypasses memory
Correct Answer: I/O devices and memory share the same address space
Explanation:In Memory-Mapped I/O, the computer assigns a specific portion of the memory address space to I/O devices, allowing the CPU to use memory instructions to manipulate I/O data.
Incorrect! Try again.
6In asynchronous data transfer, which control signal indicates that data is placed on the bus by the source unit?
A.Acknowledge
B.Strobe
C.Interrupt
D.Hold
Correct Answer: Strobe
Explanation:The Strobe signal is supplied by one unit to indicate to the other unit when the transfer has to occur. In source-initiated transfer, the strobe indicates data is valid on the bus.
Incorrect! Try again.
7What is the major disadvantage of the Strobe Control method of asynchronous data transfer?
A.It is too slow
B.It requires too many wires
C.The source unit has no way of knowing if the destination unit received the data
D.It cannot transfer 16-bit data
Correct Answer: The source unit has no way of knowing if the destination unit received the data
Explanation:Strobe control assumes the destination is ready. If the destination is not ready, data is lost because there is no feedback (acknowledgment) mechanism.
Incorrect! Try again.
8Which mechanism solves the timing problem of the Strobe method by ensuring the destination has received the data?
A.Handshaking
B.Polling
C.Cycle Stealing
D.Multiplexing
Correct Answer: Handshaking
Explanation:Handshaking uses a two-wire control (Strobe/Request and Acknowledge/Reply) to ensure that data is transferred only when both the source and destination are ready.
Incorrect! Try again.
9In Programmed I/O, what is the state of the CPU while waiting for the I/O device to become ready?
A.It executes other programs
B.It enters a low-power sleep mode
C.It stays in a loop checking the status flag (busy-waiting)
D.It grants control to the DMA controller
Correct Answer: It stays in a loop checking the status flag (busy-waiting)
Explanation:In Programmed I/O, the CPU constantly polls the status register of the interface in a loop until the device is ready, resulting in wasted CPU cycles.
Incorrect! Try again.
10Which mode of transfer allows the I/O device to alert the CPU when it is ready, eliminating busy-waiting?
A.Programmed I/O
B.Interrupt-initiated I/O
C.Synchronous Transfer
D.Serial Transfer
Correct Answer: Interrupt-initiated I/O
Explanation:In Interrupt-initiated I/O, the CPU continues executing other tasks. When the interface is ready, it sends an interrupt signal to the CPU.
Incorrect! Try again.
11Which method is used to establish priority by connecting all interrupt sources in a serial connection?
A.Polling
B.Daisy Chaining
C.Parallel Priority
D.Cyclic Redundancy Check
Correct Answer: Daisy Chaining
Explanation:Daisy Chaining establishes priority by hardware, connecting the interrupt sources in a serial loop. The device physically closest to the CPU has the highest priority.
Incorrect! Try again.
12In a Daisy Chaining priority interrupt system, what happens if a device receives a 'Propose Priority' signal but does not have an interrupt pending?
A.It blocks the signal
B.It passes the signal to the next device in the chain
C.It generates a trap
D.It sends an interrupt acknowledge to the CPU
Correct Answer: It passes the signal to the next device in the chain
Explanation:If a device in the daisy chain does not request service, it passes the priority signal to the next device. If it does request service, it blocks the signal.
Incorrect! Try again.
13What is Polling in the context of priority interrupts?
A.A hardware mechanism using priority encoders
B.A software technique where the CPU checks each device sequentially
C.A method of direct memory access
D.A way to reset all I/O devices
Correct Answer: A software technique where the CPU checks each device sequentially
Explanation:Polling is a software method for priority interrupt where the CPU executes a routine to check the status of each I/O device in a specific order to find the one requesting service.
Incorrect! Try again.
14What is the Vector Address in a vectored interrupt system?
A.The memory address where the data is stored
B.The physical address of the I/O device
C.The address of the interrupt service routine
D.The address of the last executed instruction
Correct Answer: The address of the interrupt service routine
Explanation:The Vector Address is provided by the interrupting device to point the CPU to the location in memory where the Interrupt Service Routine (ISR) for that device is stored.
Incorrect! Try again.
15Which hardware component is commonly used to implement a Parallel Priority Interrupt system?
A.Shift Register
B.Priority Encoder
C.Counter
D.Multiplexer
Correct Answer: Priority Encoder
Explanation:A Priority Encoder is used in parallel hardware priority systems. It accepts multiple interrupt requests and outputs the vector address of the highest priority device.
Incorrect! Try again.
16What does the CPU do immediately after acknowledging an interrupt?
A.It shuts down
B.It clears the main memory
C.It pushes the Program Counter (PC) and Status Register to the stack
D.It resets the I/O interface
Correct Answer: It pushes the Program Counter (PC) and Status Register to the stack
Explanation:To preserve the state of the current execution, the CPU pushes the return address (PC) and often the status register (PSW) onto the stack before branching to the ISR.
Incorrect! Try again.
17What does DMA stand for?
A.Digital Memory Allocation
B.Direct Memory Access
C.Dynamic Memory Architecture
D.Data Management Area
Correct Answer: Direct Memory Access
Explanation:DMA stands for Direct Memory Access, a feature that allows hardware subsystems to access main system memory independently of the central processing unit (CPU).
Incorrect! Try again.
18What is the main advantage of DMA transfer?
A.It simplifies the CPU architecture
B.It allows high-speed data transfer between memory and I/O without CPU intervention
C.It eliminates the need for an address bus
D.It reduces the size of main memory
Correct Answer: It allows high-speed data transfer between memory and I/O without CPU intervention
Explanation:DMA improves system performance by allowing large blocks of data to be transferred between memory and peripherals while the CPU performs other tasks.
Incorrect! Try again.
19Which signal does the DMA controller send to the CPU to ask for control of the system bus?
A.Bus Grant (BG)
B.Bus Request (BR)
C.Interrupt Request (IRQ)
D.Chip Select (CS)
Correct Answer: Bus Request (BR)
Explanation:The DMA controller asserts the Bus Request (BR) signal to request control of the address and data buses from the CPU.
Incorrect! Try again.
20What is Cycle Stealing in DMA?
A.The DMA controller steals data bits from the CPU
B.The CPU takes cycles away from the DMA controller
C.The DMA controller transfers one word at a time by taking control of the bus for one memory cycle
D.The operating system steals cycles from the user program
Correct Answer: The DMA controller transfers one word at a time by taking control of the bus for one memory cycle
Explanation:In Cycle Stealing, the DMA controller takes control of the bus for one memory cycle to transfer a word and then returns control to the CPU, effectively 'stealing' a cycle rather than blocking the CPU for the whole block.
Incorrect! Try again.
21Which DMA transfer mode locks the bus until the entire block of data is transferred?
A.Cycle Stealing
B.Burst Transfer (Block Transfer)
C.Transparent Mode
D.Demand Transfer
Correct Answer: Burst Transfer (Block Transfer)
Explanation:In Burst Transfer (or Block Transfer), the DMA controller takes control of the bus and retains it until the entire block of data has been transferred.
Incorrect! Try again.
22Which register in the DMA controller keeps track of the number of words to be transferred?
A.Address Register
B.Control Register
C.Word Count Register
D.Status Register
Correct Answer: Word Count Register
Explanation:The Word Count Register is initialized with the number of words to be transferred. It is decremented after every word transfer until it reaches zero.
Incorrect! Try again.
23Who initializes the DMA controller registers before a transfer begins?
A.The I/O Device
B.The CPU
C.The Main Memory
D.The DMA Controller itself
Correct Answer: The CPU
Explanation:The CPU initializes the DMA by writing the starting memory address, the word count, and the control mode into the DMA controller's registers.
Incorrect! Try again.
24What is an Input-Output Processor (IOP)?
A.A software routine for I/O
B.A processor with direct memory access capability that communicates with I/O devices
C.A standard CPU used for arithmetic
D.A type of memory
Correct Answer: A processor with direct memory access capability that communicates with I/O devices
Explanation:An IOP (also known as a channel) is a specialized processor dedicated to I/O tasks. It has its own instruction set and can execute I/O programs directly from memory.
Incorrect! Try again.
25How does the CPU communicate with an IOP?
A.By sharing the accumulator
B.By leaving instructions in a shared memory area
C.By serial cable
D.The CPU cannot communicate with an IOP
Correct Answer: By leaving instructions in a shared memory area
Explanation:The CPU places parameters and commands in memory and then signals the IOP to begin execution. The IOP fetches these commands from memory.
Incorrect! Try again.
26Which type of I/O Channel is designed to handle multiple slow-speed devices simultaneously?
A.Selector Channel
B.Multiplexer Channel
C.Burst Channel
D.Isolated Channel
Correct Answer: Multiplexer Channel
Explanation:A Multiplexer Channel can handle multiple slow I/O devices at the same time by interleaving bytes from different devices.
Incorrect! Try again.
27A Selector Channel is best suited for:
A.Connecting a single high-speed device (like a disk)
B.Connecting many slow devices (like printers/terminals)
C.Performing arithmetic operations
D.Wireless communication
Correct Answer: Connecting a single high-speed device (like a disk)
Explanation:A Selector Channel is designed to handle high-speed data transfers (burst mode) from one device at a time, such as magnetic disks or tapes.
Explanation:UART stands for Universal Asynchronous Receiver/Transmitter. It is a piece of computer hardware that translates data between parallel and serial forms.
Incorrect! Try again.
29In UART communication, how is data transmitted?
A.Parallelly, 8 bits at a time
B.Serially, bit by bit
C.Using DMA blocks
D.Via the address bus
Correct Answer: Serially, bit by bit
Explanation:UART converts parallel data from the computer bus into serial data for transmission and converts received serial data back into parallel data.
Incorrect! Try again.
30What is the purpose of the Start Bit in UART transmission?
A.To indicate the end of data
B.To check for errors
C.To signal the receiver that a character is starting
D.To set the clock speed
Correct Answer: To signal the receiver that a character is starting
Explanation:The line is normally high (1). A Start Bit forces the line low (0), signaling the receiver to synchronize its clock and begin reading the data bits.
Incorrect! Try again.
31What is Baud Rate?
A.The total memory size
B.The rate at which data is transferred (bits per second)
C.The speed of the CPU
D.The voltage level of the signal
Correct Answer: The rate at which data is transferred (bits per second)
Explanation:Baud rate refers to the speed of data transmission in serial communication, specifically the number of signal changes per second (often equates to bits per second in simple binary signaling).
Incorrect! Try again.
32What is the function of the Parity Bit in serial transfer?
A.To stop the transmission
B.To detect errors in transmission
C.To increase transmission speed
D.To encrypt the data
Correct Answer: To detect errors in transmission
Explanation:A parity bit is added to ensure that the total number of 1s in the data is either even or odd. It allows the receiver to detect single-bit errors.
Incorrect! Try again.
33If a UART configuration is '8N1', what does it mean?
A.8 bits data, No parity, 1 Stop bit
B.8 bits data, New parity, 1 Start bit
C.8 bits data, No start bit, 1 parity
D.8 interrupts, No DMA, 1 CPU
Correct Answer: 8 bits data, No parity, 1 Stop bit
Explanation:8N1 is a common notation meaning 8 Data bits, No Parity bit, and 1 Stop bit.
Incorrect! Try again.
34Which error occurs in UART if the stop bit is not detected at the expected time?
A.Parity Error
B.Framing Error
C.Overrun Error
D.Burst Error
Correct Answer: Framing Error
Explanation:A Framing Error occurs when the receiver does not see the 'mark' (high state) signal where the Stop bit should be, indicating loss of synchronization.
Incorrect! Try again.
35Which interface command is used to check if a peripheral is ready to send data?
A.Control command
B.Status command
C.Data output command
D.Data input command
Correct Answer: Status command
Explanation:A Status command is sent to the interface to read the status registers (checking flags like Busy, Ready, Error).
Incorrect! Try again.
36In the context of Priority Interrupts, what is the purpose of the Mask Register?
A.To store the data temporarily
B.To selectively enable or disable specific interrupts
C.To count the number of interrupts
D.To generate the vector address
Correct Answer: To selectively enable or disable specific interrupts
Explanation:The Mask Register allows the programmer to prohibit (mask) specific interrupts from being recognized by the CPU, even if the device requests it.
Incorrect! Try again.
37The transmission of data where each character is preceded by a start bit and followed by a stop bit is called:
A.Synchronous transmission
B.Asynchronous transmission
C.Parallel transmission
D.Isochronous transmission
Correct Answer: Asynchronous transmission
Explanation:This frame structure (Start bit + Data + Stop bit) defines Asynchronous serial transmission.
Incorrect! Try again.
38Which signal indicates that the DMA transfer is complete?
A.Bus Request
B.Bus Grant
C.DMA Acknowledge
D.Interrupt (End of Process)
Correct Answer: Interrupt (End of Process)
Explanation:When the word count reaches zero, the DMA controller typically generates an interrupt to inform the CPU that the block transfer is complete.
Incorrect! Try again.
39In a Memory-Mapped I/O system, what instruction would be used to read data from an input device?
A.IN PortAddress
B.LOAD Register, MemoryAddress
C.READ Port
D.INPUT DeviceID
Correct Answer: LOAD Register, MemoryAddress
Explanation:Since I/O is mapped to memory addresses, standard memory instructions like LOAD (or MOV) are used to access the I/O device.
Incorrect! Try again.
40Which buffer is commonly used in UART interfaces to temporarily hold data during speed mismatches?
A.LIFO
B.FIFO
C.Stack
D.Heap
Correct Answer: FIFO
Explanation:A FIFO (First-In, First-Out) buffer is used to smooth out data flow between the fast CPU/Bus and the slower serial line.
Incorrect! Try again.
41What is the result of in a parallel priority interrupt system if there are interrupt sources?
A.The number of priority encoders needed
B.The size of the mask register
C.The number of priority levels is not , but usually equal to
D.The clock speed required
Correct Answer: The number of priority levels is not , but usually equal to
Explanation:If there are interrupt sources, there are priority levels. The priority encoder reduces inputs to outputs for the vector.
Incorrect! Try again.
42Which I/O technique allows the CPU to execute instructions out of order relative to I/O operations effectively?
A.Programmed I/O
B.DMA
C.Polling
D.Manual Switch Control
Correct Answer: DMA
Explanation:DMA allows the I/O operation to proceed in the background while the CPU executes other instructions, decoupling the strict ordering of CPU and I/O tasks.
Incorrect! Try again.
43In the standard I/O Interface block diagram, the Control line is used to:
A.Carry data bits
B.Carry the address of the device
C.Specify the command (Read, Write, Status)
D.Supply power
Correct Answer: Specify the command (Read, Write, Status)
Explanation:The control lines carry signals that determine the type of operation to be performed, such as Read, Write, or check Status.
Incorrect! Try again.
44What is an Overrun Error in serial communication?
A.The baud rates do not match
B.The CPU reads data too fast
C.New data arrives before the old data in the receive buffer has been read
D.The start bit is missing
Correct Answer: New data arrives before the old data in the receive buffer has been read
Explanation:An Overrun Error happens when the receiver buffer is full and a new character arrives, overwriting the unread data.
Incorrect! Try again.
45Which of the following equations represents the calculation for the time to transfer a block in Cycle Stealing mode? ( = total time, = number of words, = memory cycle time, = CPU processing time between steals)
A.
B.
C.
D.
Correct Answer:
Explanation:In pure cycle stealing for the transfer itself (ignoring CPU setup), the time taken is dominated by the number of words times the memory cycle time required to write/read each word.
Incorrect! Try again.
46Which component in an I/O interface decodes the device address sent by the CPU?
A.Address Decoder
B.Data Register
C.Status Register
D.Control Logic
Correct Answer: Address Decoder
Explanation:The Address Decoder enables the specific interface when the address on the bus matches the unique address assigned to that interface.
Incorrect! Try again.
47In a 2-wire handshaking protocol, if the Source initiates the transfer, the sequence starts with:
A.Source activating Data Valid
B.Destination activating Data Accepted
C.Source activating Request
D.Destination activating Ready for Data
Correct Answer: Source activating Request
Explanation:In source-initiated transfer, the source places data on the bus and activates the 'Request' (or Data Valid) signal to inform the destination.
Incorrect! Try again.
48Unlike a standard CPU, an IOP typically does NOT have:
A.Arithmetic Logic Unit (ALU) for complex floating-point math
B.DMA capability
C.Ability to execute instructions
D.Registers
Correct Answer: Arithmetic Logic Unit (ALU) for complex floating-point math
Explanation:While an IOP processes I/O instructions, it is usually optimized for data movement and does not require the complex general-purpose computational power (FPU/Complex ALU) of the main CPU.
Incorrect! Try again.
49The Interrupt Acknowledge (INTACK) signal is sent by:
A.The Peripheral to the CPU
B.The CPU to the Peripheral
C.The Memory to the DMA
D.The DMA to the Memory
Correct Answer: The CPU to the Peripheral
Explanation:INTACK is sent by the CPU to the interrupting device (or priority controller) to indicate that the interrupt has been recognized and the vector address should be sent.
Incorrect! Try again.
50Which of the following is an example of a Parallel Interface?
A.USB
B.SATA
C.IEEE 1284 (Centronics)
D.I2C
Correct Answer: IEEE 1284 (Centronics)
Explanation:IEEE 1284 (often used for old printers) is a parallel interface standard. USB, SATA, and I2C are serial interfaces.
Incorrect! Try again.
Give Feedback
Help us improve by sharing your thoughts or reporting issues.