Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Computer I/O and DMA Quiz

Total questions: 115

Worksheet time: 58mins

Name
Class
Date
1.

DMA stands for:

a)

Direct Management Access

b)

Direct Memory Application Access

c)

Direct Memory Access

d)

Direct Mainboard Administration

2.

Characteristics of multi-level centralized bus arbitration:

a)

Peripheral devices are connected to a single bus request line

b)

Devices are connected to the bus arbitration unit with a single wire

c)

Each peripheral device has a separate bus request line

d)

Peripheral devices are connected to different bus request lines

3.

Which statement about programmed I/O is incorrect?

a)

The peripheral device is the active entity in data exchange

b)

The peripheral device is the passive entity in data exchange

c)

When executing a program with an I/O instruction, the CPU controls data exchange with the peripheral device

d)

Using I/O instructions in the program to exchange data with ports

4.

An important feature of an asynchronous bus is:

a)

It has a common clock signal controlling operations

b)

Data is transmitted simultaneously

c)

It lacks a common clock signal controlling operations

d)

Data is transmitted asynchronously

5.

Which statement about block DMA is correct?

a)

Data is transmitted whenever the bus is free

b)

Data is transferred in blocks, and DMA returns the bus to the CPU after the entire block is transferred

c)

The CPU is temporarily suspended during each bus cycle

d)

Data is transmitted discontinuously in bytes

6.

How many methods are there to identify interrupt modules?

a)

4 methods

b)

1 method

c)

3 methods

d)

2 methods

7.

Which statement about serial I/O is correct?

a)

Multiple bits are transmitted at once

b)

It is fast

c)

It requires multiple data transmission lines

d)

It requires a converter from parallel to serial data and vice versa

8.

Which of the following components is part of a peripheral device?

a)

Signal converter

b)

Peripheral device status/control register

c)

Data buffer register

d)

I/O ports

9.

The main components in an I/O system are:

a)

Data input devices and data output devices

b)

Peripheral devices and I/O modules

c)

Data conversion devices

d)

Data transmission devices

10.

In which bus arbitration method are peripheral devices connected to different bus request lines?

a)

Multi-level centralized bus arbitration

b)

Single-level centralized bus arbitration

c)

Centralized bus arbitration

d)

Decentralized bus arbitration

11.

Which statement about the software polling method for determining interrupt modules is incorrect?

a)

The CPU checks multiple I/O modules simultaneously

b)

I/O processing speed is fast

c)

The CPU performs software polling of each I/O module sequentially

d)

The order of polling is the priority order

12.

A modem is a type of peripheral device:

a)

Machine-to-machine communication

b)

Communication

c)

Human-to-human communication

d)

Human-to-machine communication

13.

Which I/O control method requires the CPU to frequently check the status of the peripheral device?

a)

Interrupt-driven I/O

b)

Direct Memory Access I/O

c)

None of the above

d)

Programmed I/O

14.

Compared to a synchronous bus, an asynchronous bus has the feature that:

a)

It makes controlling computer operations easier

b)

Designing the bus system is easier

c)

It is difficult to exploit manufacturing technology advancements in bus system design

d)

If one master-slave pair operates slowly, the next pair is unaffected

15.

The data bus in a computer is:

a)

Unidirectional for each line but bidirectional for the entire bus

b)

Unidirectional

c)

Bidirectional for each line

d)

Variable width

16.

Which of the following components belongs to the I/O module?

a)

System bus

b)

Status/control register

c)

Data converter

d)

Data buffer

17.

A printer is a type of peripheral device:

a)

Machine-to-machine communication

b)

Human-to-human communication

c)

Human-to-machine communication

d)

Communication

18.

Which statement about transparent DMA is correct?

a)

When the DMAC does not use the bus, the CPU uses it

b)

When the CPU does not use the bus, DMA is performed

c)

The CPU and DMAC do not use the bus alternately

d)

The CPU is forced by the DMAC to yield the bus

19.

The system bus of a computer includes:

a)

Data bus and control bus

b)

Data bus and address bus

c)

Data bus

d)

Data bus, address bus, and control bus

20.

When should a synchronous bus be used?

a)

To maximize CPU processing time utilization

b)

When bus cycles need to vary with each pair of data-exchanging devices

c)

When most operations have processing times that are multiples of the bus cycle

d)

When the system has many devices with significantly different speeds

21.

What is the function of the expansion bus in a computer?

a)

The transmission path between the CPU and intermediate support chips

b)

The transmission path between processor blocks

c)

Connecting the I/O system to the processor

d)

Connecting the processor to main memory and cache memory

22.

Which statement about DMA I/O is correct?

a)

It is controlled directly by the CPU for data exchange

b)

It adds a hardware module on the bus

c)

It consumes CPU time

d)

It is implemented by software

23.

Which parameter characterizes the data transfer rate on a bus?

a)

All three: bandwidth, width, frequency of the bus

b)

Bandwidth of the bus

c)

Frequency of the bus

d)

Width of the bus

24.

How many address lines does the IBM PC bus have?

a)

20 lines

b)

16 lines

c)

32 lines

d)

24 lines

25.

Which bus connects the processor to main memory?

a)

Processor bus

b)

Peripheral bus

c)

Processor internal bus

d)

System bus

26.

Which statement about parallel I/O is incorrect?

a)

Transmitting bits sequentially

b)

Transmitting multiple bits simultaneously

c)

Fast speed

d)

Requiring multiple data transmission lines

27.

Which statement about parallel I/O is correct?

a)

Slow speed

b)

Fast speed

c)

Requiring few data transmission lines

d)

Requiring a converter from parallel to serial data and vice versa

28.

Which statement about DMA data exchange is correct?

a)

The CPU participates in data exchange

b)

It is suitable for small data exchange (1 or 2 bytes)

c)

The DMAC operates based on peripheral device demand

d)

It is suitable for large block data exchange

29.

What is the function of bus arbitration?

a)

Resolving memory allocation issues for peripheral device operations connected to the bus

b)

Controlling the processor to perform data exchange operations with peripheral devices connected to the bus

c)

Resolving processor allocation issues for operations

d)

Resolving bus ownership contention

30.

Which statement about programmed I/O is correct?

a)

It has a complex circuit design for data exchange

b)

It is the fastest data exchange method

c)

It has a complex and fastest circuit design for data exchange

d)

It is the simplest data exchange method

31.

Which statement about parallel I/O is incorrect?

a)

Transmitting multiple bits simultaneously

b)

Requiring few data transmission lines

c)

Fast speed

d)

Requiring multiple data transmission lines

32.

Which statement about parallel I/O is correct?

a)

Transmitting bits sequentially

b)

Requiring few data transmission lines

c)

Requiring a converter from parallel to serial data and vice versa

d)

Requiring multiple data transmission lines

33.

A Network Interface Card (NIC) is a type of peripheral device:

a)

Communication

b)

Human-to-human communication

c)

Machine-to-machine communication

d)

Human-to-machine communication

34.

Which statement about block DMA is incorrect?

a)

The CPU yields the entire bus to the DMAC

b)

The CPU is not forced to temporarily suspend each bus cycle

c)

Data is transmitted discontinuously in groups of 2 bytes

d)

The D

35.

Which component does not belong to the I/O module?

a)

Data buffer register

b)

Status/control register

c)

I/O ports

d)

Data buffer

36.

Which of the following components is part of a peripheral device?

a)

Data buffer register

b)

I/O ports

c)

Data buffer

d)

Peripheral device status/control register

37.

Which parameter indicates the number of bytes transferred through the bus in a unit of time?

a)

Width of the bus

b)

Frequency of the bus

c)

All three: bandwidth, width, frequency of the bus

d)

Bandwidth of the bus

38.

Which component can act as a bus master?

a)

Both CPU and I/O chips can act as bus masters

b)

Only a single designated I/O chip can act as bus master

c)

Only the CPU can act as bus master

d)

Only I/O chips can act as bus masters

39.

A scanner is a type of peripheral device:

a)

Human-to-human communication

b)

Human-to-machine communication

c)

Machine-to-machine communication

d)

Communication

40.

What does the DMA mechanism allow?

a)

Direct data transfer between main memory and I/O modules

b)

Direct data transfer between peripheral devices

c)

Direct data transfer between memory and CPU registers

d)

Direct data transfer between components within the memory system

41.

In which bus arbitration method is the bus usage division handled by a single bus arbitration unit?

a)

Decentralized or centralized bus arbitration

b)

Centralized bus arbitration

c)

No bus arbitration

d)

Decentralized bus arbitration

42.

What is the function of the System Bus in a computer?

a)

Connects the microprocessor to the main memory, L3 cache memory and I/O coupling controllers

b)

Is the transmission line between blocks of the microprocessor

c)

Transmission line between CPU and intermediate support chips

d)

Connect the input and output system to the microprocessor

43.

With the hardware polling method (in determining the interrupt module), which of the following statements is false?

a)

The order of connecting I/O modules in series determines the priority order of I/O modules

b)

The system has an interrupt request line (INTR) connected from the I/O modules to the CPU

c)

The system has many interrupt request lines with specified priority levels

44.

Which of the following characteristics is not a characteristic of a synchronous bus?

a)

Bus period remains unchanged for all pairs of devices exchanging data

b)

All operations are performed in time intervals that are multiples of the Bus period

c)

Data exchange between devices requires a handshake signal

d)

The system is timed intermittently

45.

What is the function of the Bus system in a computer?

a)

Changing the signal format in the computer

b)

Link components in the computer

c)

Expand your computer's communication functions

d)

Control peripheral devices

46.

What is the function of the microprocessor bus in a computer?

a)

Is the transmission line between blocks of the microprocessor

b)

Transmission path between CPU and L2 Cache

c)

Connect the input and output system to the microprocessor

d)

Connects the processor to main memory

47.

For serial input and output connections, which of the following statements is false?

a)

Transmit bits one at a time

b)

A converter from parallel to serial data or/and vice versa is required

c)

Requires few data lines

d)

Transmit multiple bits at once

48.

How many data lines does the IBM Pc bus have?

a)

16 lines

b)

6 lines

c)

8 lines

d)

10 lines

49.

Methods for determining interrupt modules include

a)

Using multiple interrupt request lines, software polling, hardware polling, using interrupt controller

b)

Using multiple interrupt request lines, software polling, hardware polling, taking up CPU

c)

Using multiple interrupt request lines, software polling, hardware polling, taking up memory

d)

Polling by software, polling by hardware, takes up CPU, takes up memory

50.

Characteristics of centralized Bus arbitration:

a)

The Bus arbitration unit is located at the center of the computer

b)

The division of Bus usage rights is undertaken by a single Bus arbitration unit

c)

The Bus arbitration unit also owns the Bus

d)

The division of Bus usage rights is done by the peripheral devices themselves

51.

With the input/output method using DMA, which of the following statements is false?

a)

The CPU and DMAC combine to control data exchange

b)

This is the process of exchanging data between the I/O module and memory

c)

Completely controlled by DMAC for data exchange

d)

The CPU does not interfere with the data exchange process

52.

In the case of using a synchronous bus, if an operation has a completion time of 3.2 cycles, in how many cycles will it actually be performed?

a)

4.2

b)

3

c)

4

d)

3.2

53.

With the interrupt output method, which of the following statements is correct?

a)

Is a method handled entirely by hardware

b)

CPU is an object object in data exchange

c)

Is a processing method using both hardware and software

d)

Is a completely software processing method

54.

The width of the Bus is determined by:

a)

Bus data line number

b)

Byte digital data is transmitted in a unit time

c)

Digital data Bits are transmitted in a unit time

d)

Number of components connected to the Bus

55.

The functions of peripheral devices are:

a)

Collect information put inside the computer

b)

Convert data between inside and outside the computer

c)

Transfer data between the computer and the real world

d)

Intermediate storage data component

56.

Which I/O control method requires that when the CPU receives a ready signal from a peripheral device, it will have to temporarily stop the work being done to exchange data with the peripheral device?

a)

There is no method

b)

Program input/output method

c)

Direct memory access I/O method

d)

I/O method by interrupt

57.

The address bus in the computer is:

a)

Bus has variable width

b)

Bidirectional bus for each line

c)

One-way bus

d)

The bus is one-way for each line but is two-way for the entire bus

58.

With the DMA input/output method, which of the following statements is correct?

a)

Is a method directly controlled by the CPU in data exchange

b)

Is the fastest method of data exchange between CPU and peripheral devices

c)

Is a method implemented by software

d)

Is a non-CPU controlled method of data exchange

59.

In which type of Bus arbitration does the division of Bus usage rights not require a separate Bus arbitration unit?

a)

Referee Bus focuses

b)

Bus arbitration focuses on many levels

c)

Referee Bus is not focused

d)

The Bus referee focuses on one level

60.

With the interrupt input and output method, which of the following statements is false?

a)

The CPU must wait for the ready state of the peripheral device by checking in the program

b)

The CPU does not have to wait for the ready state of the peripheral device

c)

The I/O module interrupts the CPU when it is in the ready state

d)

Peripheral devices are active objects in data exchange

61.

Why is the synchronous bus more widely used in practice than the asynchronous bus?

a)

Systems using synchronous buses are easier to design

b)

Easy to take advantage of technological advances

c)

Allows flexible change of bus cycle

d)

Make good use of CPU processing time

62.

For cyclic DMA type, which of the following statements is correct?

a)

When memory is free, DMAC uses the Bus

b)

DMAC uses Bus completely

c)

CPU uses Bus completely

d)

CPU and DMAC alternate using the Bus

63.

With the multiple interrupt request line method (in determining the interrupt module), which of the following statements is correct?

a)

The CPU must have different interrupt request lines for each I/O module

b)

The CPU has multiple interrupt request lines for an I/O module

c)

The number of input/output modules is quite large

d)

The CPU has only one interrupt request line for I/O modules

64.

For serial input and output connections, which of the following statements is false?

a)

Slow speed

b)

Fast speed

c)

Requires few data lines

d)

A converter from parallel to serial data or/and vice versa is required

65.

Which of the following is a component of the input/output module?

a)

System bus (system bus)

b)

Data converter

c)

Data buffer

d)

Input/output ports

66.

Keyboard is a type of peripheral device:

a)

Human-machine communication

b)

Person-to-person communication

c)

Machine-machine communication

d)

Communication

67.

On what frequency does the IBM PC bus operate?

a)

4.67Khz

b)

4.67Mhz

c)

4.77Khz

d)

4.77Mhz

68.

For the input/output control method, which of the following is not a characteristic of interrupt input/output?

a)

CPU directly controls input and output

b)

The CPU must wait for the I/O module

c)

CPU is a passive component

d)

There is a combination of hardware and software (hardware: causes CPU interrupt, software: data exchange)

69.

Which of the following components is not a peripheral device?

a)

Signal converter

b)

Data buffer

c)

Control logic block

d)

Input/output ports

70.

Which input/output control method does not require the CPU to directly control the data exchange process?

a)

I/O method by interrupt

b)

Direct memory access I/O method

c)

There is no method

d)

Program input/output method

71.

Bus frequency characterizes:

a)

Memory allocation speed for computer components

b)

Speed ​​controls the components of the computer

c)

Data transmission speed on Bus

d)

Speed ​​of resource distribution in the computer

72.

The control bus in a computer is:

a)

Bidirectional bus for each line

b)

Bus has variable width

c)

One-way bus for each line, two-way for the entire bus

d)

One-way bus

73.

Which of the following components is not part of the input/output module?

a)

Input/output ports

b)

Status/control register

c)

Data buffer register

d)

Data converter

74.

An optical drive is a type of peripheral device:

a)

Machine-machine communication

b)

Human-machine communication

c)

Person-to-person communication

d)

Communication

75.

For DMA-type data exchange, which of the following statements is correct?

a)

CPU participates in the data exchange process

b)

This is a completely software exchange method

c)

This is an exchange method using both hardware and software

d)

This is a completely hardware exchange method

76.

Which bus in the computer is responsible for being the transmission line between the CPU and L2 Cache memory?

a)

Peripheral bus

b)

Processor bus

c)

Bus in the microprocessor

d)

System bus

77.

In the case of using an asynchronous Bus, if an operation has a completion time of 3.2 cycles, in how many cycles will it actually be performed?

a)

4

b)

3.2

c)

4.2

d)

3

78.

What is the function of the Bus in a computer processor?

a)

Transmission line between CPU and intermediate support chips

b)

Is the transmission line between blocks of the microprocessor

c)

Connect the input and output system to the microprocessor

d)

Connects the processor to main memory

79.

With the input/output method using DMA, which of the following statements is false?

a)

After completing the data exchange process, DMAC sends a CPU interrupt signal to indicate the end of DMA

b)

Before controlling, DMAC must ask the CPU for permission

c)

This is a method with fast data exchange speed

d)

This is a method with slow data exchange speed

80.

Which parameter of the Bus indicates its line?

a)

Bus width

b)

All 3 bandwidth, width, frequency of the Bus

c)

Bus bandwidth

d)

Bus frequency

81.

It is not possible to connect a peripheral device directly to the system bus because (please point out the incorrect statement):

a)

Data in the computer is in the form of binary numbers, while data in peripheral devices is in the form of physical signals (light, sound, ...)

b)

There exist a variety of peripheral devices that differ in operating principles, data formats, and operating speeds, so the processor cannot control all of these devices.

c)

Manufacturers cannot manufacture devices that connect directly between the processor and peripherals

d)

All peripherals operate slower than the processor and RAM

82.

What are the important characteristics of the synchronous bus?

a)

Data is transmitted simultaneously

b)

Data is not transmitted simultaneously

c)

There is a common clock signal that controls the operation

d)

There is no common clock signal controlling the operation

83.

For parallel input and output connections, which of the following statements is false?

a)

Transmit multiple bits at once

b)

Fast speed

c)

A converter from parallel to serial data or/and vice versa is required

d)

Needs multiple data lines

84.

For serial input and output connections, which of the following statements is correct?

a)

Transmit multiple bits at once

b)

Transmit bits one by one sequentially

c)

Fast speed

d)

Needs multiple data lines

85.

With the program input and output method, which of the following statements is correct?

a)

Is a method completely processed by hardware

b)

This is the data exchange method with the fastest and most complex circuit design

c)

Is a method completely processed by software

d)

Is a processing method using both hardware and software

86.

Characteristics of decentralized bus arbitration with multibus:

a)

The division of Bus usage rights does not require a separate Bus arbitration unit

b)

The division of Bus usage rights is done by the peripheral devices themselves

c)

The Bus arbitration unit is not centrally located on the computer

d)

The Bus arbitration unit also owns the Bus

87.

With the interrupt input and output method, which of the following statements is correct?

a)

Is a method completely processed by hardware

b)

Peripheral devices are active objects in data exchange

c)

Is a method completely processed by software

d)

CPU is the active object in data exchange

88.

For parallel input and output connections, which of the following statements is correct?

a)

Transmit multiple bits at once

b)

Transmit bits one at a time

c)

Requires few data lines

d)

A converter from parallel to serial data or/and vice versa is required

89.

For serial input and output connections, which of the following statements is correct?

a)

Transmit multiple bits at once

b)

Fast speed

c)

Requires few data lines

d)

Needs multiple data lines

90.

Which bus in a computer is responsible for being the transmission line between blocks of the processor?

a)

Bus in the microprocessor

b)

System bus

c)

System bus

d)

Processor bus

91.

For the cyclic DMA type, which of the following statements is false?

a)

DMAC only uses a certain number of Bus cycles

b)

DMAC uses Bus completely

c)

CPU does not use the Bus completely

d)

Data is not transmitted continuously

92.

In some processors there is an I/O address space, so which of the following components are the I/O addresses attached to?

a)

Each I/O address is associated with an I/O data buffer register

b)

Each I/O address is associated with a peripheral device

c)

Each I/O address is associated with an I/O module

d)

Each I/O address is associated with an I/O port

93.

Which of the following is a component of the input/output module?

a)

System bus (system bus)

b)

Data buffer

c)

Data converter

d)

Data buffer register

94.

Characteristics of single-level centralized Bus arbitration:

a)

Peripheral devices share the same line allowing the use of the Bus

b)

Devices connect to the Bus arbitration unit with a single wire

c)

Peripheral devices sharing the same bus request line

d)

Each peripheral device has its own Bus request line

95.

Screen is a type of peripheral device:

a)

Machine-machine communication

b)

Human-machine communication

c)

Person-to-person communication

d)

Communication

96.

Which of the following components is not a peripheral device?

a)

Signal converter

b)

Data buffer

c)

Control logic block

d)

Peripheral device control/status register

97.

With the input/output method using DMA, which of the following statements is false?

a)

When DMAC has completed control data exchange, it does not need to notify the CPU

b)

Add hardware module on Bus

c)

When DMAC is active it occupies the Bus

d)

The CPU cedes power to the DMAC to control data exchange between the I/O module and the memory

98.

Basic operations in the input and output system

a)

Receive data and transmit data

b)

Converts data from physical form to digital form

c)

Controls data converters

d)

Data input and data output

99.

Which bus in a computer is responsible for connecting input and output devices to the processor?

a)

System bus

b)

Bus in the microprocessor

c)

Expansion bus

d)

Processor bus

100.

What is the DMA mechanism?

a)

Control peripheral devices through memory

b)

Control the memory system via peripheral devices

c)

Direct memory access

d)

Direct peripheral access

101.

Compared to asynchronous bus, synchronous bus has the following characteristics:

a)

Controlling computer operations is more difficult

b)

Easy to take advantage of advances in manufacturing technology in bus manufacturing

c)

Controlling computer operations is easier

d)

Bus system design is more difficult

102.

In what cases should asynchronous bus be used?

a)

When the system has many devices with very small speed differences

b)

Requires easy control of computer operations

c)

Almost every operation has a processing time equal to a multiple of the Bus cycle

d)

When the system has many devices with very different speeds

103.

Which of the following buses is a one-way bus?

a)

Data bus between processor and memory

b)

Address bus

c)

Control bus

d)

Data bus inside the microprocessor

104.

For serial input and output connections, which of the following statements is false?

a)

Requires few data lines

b)

A converter from parallel to serial data or/and vice versa is required

c)

transmits bits one at a time

d)

Needs multiple data lines

105.

A hard drive is a type of peripheral device:

a)

Machine-machine communication

b)

Human-machine communication

c)

Person-to-person communication

d)

Communication

106.

With the software polling method (in determining the interrupt module), which of the following statements is correct?

a)

Fast input/output processing speed

b)

CPU checks multiple input/output modules at the same time

c)

The CPU executes software that asks each input and output module in turn

d)

The order of priority is not fixed

107.

How many lines does the IBM Pc bus have?

a)

52 lines

b)

42 lines

c)

62 lines

d)

32 lines

108.

There are the following types of DMA data exchange:

a)

Block DMA, Cyclic DMA, Transparent DMA

b)

Array DMA, block DMA, one-time DMA

c)

Periodic DMA, Half DMA, Transparent DMA

d)

Array DMA, Cyclic DMA, Transparent DMA

109.

Bus bandwidth is determined by:

a)

Number of Bits transferred through the Bus in a unit of time (sec)

b)

Number of Bytes transferred through the Bus in a unit of time (sec)

c)

Number of Bits transferred through the Bus in one clock cycle

d)

Number of Bytes transferred through the Bus in one clock cycle

110.

For DMA-type data exchange, which of the following statements is correct?

a)

This is the fastest exchange method

b)

This is a slow exchange method

c)

This method is suitable for exchanging small sized data (1 or 2 bytes)

d)

CPU participates in the data exchange process

111.

How many types of peripheral devices are there?

a)

2 types

b)

3 types

c)

4 types

d)

5 types

112.

Which of the following buses is a bidirectional bus for each signal line?

a)

Address bus for peripherals

b)

Data bus

c)

Control bus

d)

Address bus for memory

113.

One of the characteristics of the synchronous bus is:

a)

The general clock signal frequency varies depending on system conditions

b)

All operations are performed in time intervals that are multiples of the Bus period

c)

Bus period changes with each pair of devices exchanging data

d)

Data is transmitted continuously during every Bus cycle

114.

There are three input/output control methods as follows:

a)

I/O by interrupt, by CPU access, by operating system

b)

Input/output by program, by system, by DMA

c)

I/O by interrupt, by CPU access, by DMA

d)

Input/output by program, by interrupt, by DMA

115.

In which type of Bus arbitration do peripheral devices share the same Bus request line?

a)

The Bus referee focuses on one level

b)

Bus arbitration focuses on many levels

c)

Referee Bus is not focused

d)

Referee Bus focuses