wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

BIM Peripherals Test

Total questions: 76

Worksheet time: 39mins

Name
Class
Date
1.

What does the CPU do?

a)
Manages the internet connection
b)

Performs arithmetic and logic operations and controls the operation of the entire system.

c)
Stores data in the hard drive
d)
Displays images on the screen
2.

True or false: Some tasks are completely controlled by the CPU, but for others it merely initiates as sequence of events which are controlled elsewhere, such as in a peripheral device.

a)
False
b)
True
3.

What do peripheral devices do?

a)

Permit communication of

information and storage of information.

b)
Play music
c)
Drive a car
d)
Cook food
4.

True or false: Peripherals normally communicate through the CPU.

a)
True
b)
False
5.

How many and what different types of peripherals are there in a computer?

a)
Peripherals in a computer are limited to just printers and scanners
b)

The number and types of peripheral devices depend on the

main applications for which the computer system is

intended.

c)
The only peripheral in a computer is a keyboard
d)
There are no peripherals in a computer
6.

True or false: Excluding CPUs and

Memory all other

Input/Output devices

connected with the

computer systems are

altogether referred to

as peripheral devices

a)
True
b)
False
7.

True or false: Modern computers perform operations very much faster than

most peripherals can generate or accept data.

a)

True

b)

False

8.

Since it would be inappropriate to connect peripherals directly to the

CPU due to the CPU's speed, what do we do?

a)

A Peripheral Adapter is

required to convert between the fast CPU and the slower peripherals

b)
Connect peripherals to the power supply
c)
Connect peripherals to the monitor
d)
Connect peripherals to the keyboard
9.

What are typically required functions performed after an address comparator matches an address?

a)

Read from or write to a register (may be data

register) connected to a data bus.

b)
Deleting the address from the database
c)
Restarting the system
d)
Sending a notification to the user
10.

What is a peripheral adaptor?

a)
A device used to measure peripheral vision
b)
A tool for organizing cables in a computer
c)

A device that works as an interface between

a fast CPU and a slow peripheral.

d)
A type of fruit that can be connected to a computer
11.

What is a data highway?

a)
A road for transporting physical data storage devices
b)
A pathway for transmitting sound waves
c)
A network for sharing personal photos and videos
d)

A data highway is a set of wires that moves different kinds of data around the computer.

12.

What is a data bus?

a)
A type of computer virus that spreads data
b)
A type of public transportation for data
c)

A transporter of data that contains the information or program instructions

required by the CPU.

d)
A physical storage device for data
13.

What is a good way to improve the speed of a data bus?

a)
Adding more memory
b)
Reducing the number of data lines
c)
Decreasing the clock frequency
d)

Add more data lines

14.

Order data bus bit systems in order of fastest to slowest

a)

32 bit, 16 bit, 8 bit

b)

16 bit, 32 bit, 8 bit

c)

8 bit, 16 bit, 32 bit

15.

What does an address bus do?

a)
Transfers data between the CPU and the memory
b)
Controls the flow of electricity in the computer
c)
Manages the input and output devices of the computer
d)
Transfers memory addresses between the CPU and the memory
16.

The number of lines available for this determines the

maximum amount of physical memory that can be

addressed. What is the equation for the number of locations that can be addressed?

a)

2^n

b)

n^2

c)

2 x n

d)

n/2

17.

What does a control bus do?

a)
It is responsible for storing data in the computer system.
b)
It carries control signals between the CPU and other components of the computer system.
c)

It contains control signals

d)
It controls the temperature of the computer system.
18.

Why are control signals necessary?

a)

To maintain orderly flow of

data along the bus.

b)

To indicate whether to read or write data during a transfer and timing signals

c)

To indicate whether a transfer is to memory or a

peripheral adaptor.

d)

To signal to the peripherals what is needed from the CPU.

19.

Peripheral adaptors contain:

a)

Control registers, status registers, and data registers

b)

Control logic and address comparator

c)

All of the mentioned

d)

None of the mentioned

20.

What is an address comparator?

a)
A software program that matches mailing addresses
b)
A device used to compare IP addresses
c)
A tool for comparing email addresses
d)

It compares the address on the address bus with the peripheral

adapter’s address.

21.

Why is an address comparator necessary?

a)
To compare the size of images
b)
To count the number of words in a document
c)
To bake a cake
d)

To distinguish between adapters used for different

peripherals.

22.

What happens if the address on the bus matches that of the adapter?

a)

Then the control

lines are interpreted by the control logic to perform the required

function

b)
The data is discarded
c)
The data is transmitted to all devices
d)
The data is encrypted
23.

What does a control register do?

a)

Stores values written to it to control the operation of the

adaptor.

b)
Generates random numbers
c)
Stores data in the memory
d)
Displays error messages
24.

What does a status register do?

a)

Can be read by the CPU to determine the status of the

device (e.g. whether it is ready for use, busy, switched

on/off etc.)

b)
Stores the amount of memory used by the processor
c)
Records the temperature of the processor
d)
Keeps track of the number of users logged in
25.

How many bits does each piece of information stored in the control and status registers need?

a)
Each piece of information stored in the control and status registers needs 16 bits.
b)

Generally only 1 bit. Such bits are stored in the control register and referred to as 'flags'.

c)
Each piece of information stored in the control and status registers needs 8 bits.
d)
Each piece of information stored in the control and status registers needs 32 bits.
26.

What does a data register do?

a)
Transfers data to the computer's hard drive
b)

Temporarily holds a value to be transferred to/from the peripheral so that it's not necessary to

synchronize the computer with the peripheral.

c)
Deletes data from the computer's memory
d)
Sends data to the printer for printing
27.

True or false: The transfer of data to or from the port can be done in two ways.

a)

True

b)

False

28.

What are two ways to transfer data to or from the port?

a)

Execute an instruction that causes a single byte or word to be

transferred.

b)

Block Transfer (also called Direct Memory Access)

c)

Be transferred via CPU register.

29.

What is Block Transfer (also called Direct Memory Access)?

a)

Executing a sequence of instructions that causes a special system

component associated with the interface to transfer a

sequence of bytes or words to/from a predesignated block of memory locations.

b)
A method of transferring data by physically moving the storage device
c)
A method of transferring data wirelessly
d)
A method of transferring data using the CPU
30.

True or false: If Block Transfer takes place, data can only be transferred between memory and a port by a CPU register.

a)

True

b)

False

31.

How is a stream of bytes or words able to be sent to memory from an I/O?

a)
By sending physical letters to the memory
b)

Successively input the byte or words one by one to the CPU and put them

in consecutive memory locations.This could be done with program loop.

c)

Execute a sequence of instructions that causes a special system

component associated with the interface to transfer a

sequence of bytes or words to or from a predesignated block of memory locations.

d)
By performing mathematical calculations
32.

What is a DMA controller?

a)
A software for editing images
b)

A type of software that runs the data highways.

c)

A special system

component associated with the interface that manages transferring

d)
A type of computer mouse
33.

What precautions are taken in case of block transfer?

a)

Take consecutive bytes or

words from memory and send them to external device.

b)

The program would need

to successively, one by one, input the byte or words to the CPU and put them

in consecutive memory locations.

c)

Supervision by the interface and the DMA

controller. Each byte is moved directly from port to the memory as soon as

it arrives at the port.

d)
Data integrity and consistency
34.

How is Block Transfer initiated?

a)
By sending a request to the server or using a specific command
b)
By performing a dance ritual
c)

The program need only give the required commands to

the interface and DMA controller

d)
By sending a request to the moon
35.

True or false: the interface and its DMA controller can take consecutive bytes or

words from memory and send them to external device.

a)
True
b)
False
36.

Which of the following methods may be used to control the peripheral adaptor and pass data to

and from the attached peripheral?

a)

Programmed I/O

Memory Mapped I/O

b)

Interrupted I/O

DMA

c)
Peripheral adaptor operations
d)

General Input/output (I/O) operations

37.

True or false: all transfers between the CPU and the peripheral adaptor are

completely under program control.

a)

True

b)

False

38.

What kind of instructions does the processor contain?

a)
  1. Input data to the CPU from the peripheral

Output data from the CPU to the peripheral

b)

Set individual bits in the peripheral adaptor's control register

Set individual bits in the peripheral adaptor's status register

c)

instructions containing arithmetic, logic, and data movement

d)

Intructions regarding reading, writing, and speaking

39.

True or false: A program waits for the peripheral to be ready with data (or ready to receive

data) and then explicitly transfers the data

a)

True

b)

False

40.

The CPU addresses the adapter and tests the status register. If the relevant bit

in the register shows that the peripheral is ready, what happens?

a)

The CPU puts the data

into the interface unit transmit data register.

This will automatically set a flag to indicate that data is available for the peripheral.

b)
The peripheral is disconnected
c)
The CPU shuts down
d)
The data transfer is delayed
41.

What happens if the peripheral is not ready to recieve data?

a)

The programmed I/O will wait and retry

b)
The data will be transmitted successfully
c)
The data will be stored for later transmission
d)
The peripheral will automatically be ready to receive data
42.

True or false: The status of an input device may be tested and data taken from

the input data register if it is available

a)
True
b)
False
43.

If an input device isn't ready to receive transported data and the I/O processor must wait and try again, what does this result in?

a)
I/O device available
b)
I/O processor malfunction
c)

The processor sits idle waiting for the device for possibly significant

periods, when the time used up could have been filled with useful work.

d)
Data transmission error
44.

For programmed I/O: What does the command "JZ" stand for?

a)
Jump if Zero
b)
Jump Zone
c)
Just Zero
d)
Jazz
45.

If there are more than one device using programmed I/O, what happens?

a)
The devices will automatically prioritize their access to the CPU and memory.
b)
They can all access the CPU and memory simultaneously, improving overall performance.
c)
They must take turns accessing the CPU and memory, which can lead to slower overall performance.
d)

It is necessary

to poll the ready bits of all the devices.

46.

What is software polling?

a)

The technique of testing a number

of peripherals in turn

b)

A technique used to continuously check the data of a device

c)
A method of watering plants using software
d)
A type of dance performed by software engineers
47.

Why do programmed I/Os give devices priorities?

a)
To confuse the operating system and cause errors
b)
To slow down the system and cause data loss
c)
To make the devices feel important
d)
To ensure critical tasks are handled first and prevent data loss or system instability
48.

What does an interrupt I/O program do?

a)
Continues the current process without any interruption
b)
Causes the system to shut down immediately
c)
Triggers a random error message to appear on the screen
d)

Allows the peripheral to signal its readiness by interrupting

the processor.

49.

Why are interrupts put in place?

a)
To improve system security
b)

To handle synchronous events and improve system capacity

c)

To improve the programmed I/O by not requiring

the program to sit idle while waiting for a peripheral to become

ready. (aka Efficiency)

d)
To slow down the system
50.

True or false: When an interrupt I/O happens, it requires action from the CPU for each data to be transferred.

a)
False
b)
True
51.

What happens when there is an interrupt?

a)

An interrupt sequence happens, which is an event that causes the CPU to initiate a fixed

sequence

b)
The computer shuts down completely
c)
The interrupt handler takes control of the program and continues execution
d)

The current execution of a program is fast-forwarded and the control is transferred to a specific interrupt handler.

52.

What happens when an interrupt is ready to transfer data?

a)
The interrupt controller sends a signal to the hard drive to transfer the data
b)

It sets its ready flag in the

status register and asserts a control line (IREQ) connected to the

CPU.

c)

The interrupt controller signals the CPU to stop its future operations and prioritize the interrupt.

d)
The interrupt is ignored and the CPU continues its current operation
53.

True or false: During an interrupt sequence, as soon as it is able (often at the end of the current instruction)

the CPU then stops what it is doing, stores enough information to resume later and starts executing an interrupt routine.

a)
False
b)
True
54.

What does the CPU do after executing an interrupt routine?

a)

Resumes the interrupted program or task without any other information

b)
Starts a new program from scratch
c)

Prioritizes everything completely

d)

Uses the

information stored at the beginning of the interrupt to return the CPU

to executing the interrupted program.

55.

What is an Interrupt Vector Table (IVT)?

a)

A table with an index that contains an address for every peripheral device.

b)
A list of memory addresses for storing variables
c)
A table used for storing data related to input/output operations
d)
A data structure for organizing function calls in a program
56.

True or false: Many devices are able to interrupt.

a)
True
b)
False
57.

True or false: There is a list of addresses for

the interrupt routines and one is chosen by using the interrupt

identifier as an index into the Interrupt Vector Table.

a)
True
b)
False
58.

True or false: Whenever a peripheral is ready to transfer data it is necessary to

service its within a reasonable amount of time or else subsequent data

may be lost.

a)

True

b)

False

59.

True or false: Faster peripherals require faster servicing

a)
False
b)
True
60.

What happens if two or more peripherals are ready at the same time?

a)
The system will randomly select a peripheral to prioritize
b)

The faster one is serviced first

since the slow one can wait a little while.

c)
The system will shut down
d)

The system will always prioritize the peripherals based on the order in which they were ready.

61.

How can multiple interrupt requests be resolved?

a)
By using priority levels or interrupt nesting
b)
By randomly selecting an interrupt request to process
c)

By using a

priority interrupt scheme where a hardware priority

encoder assigns every device a priority and sends the lowest priority device to the

CPU.

d)

By using a

priority interrupt scheme where a hardware priority

encoder assigns every device a priority and sends the highest priority device to the

CPU.

62.

How is a prioritized interrupt request formed?

a)
By ignoring all interrupt requests
b)
By randomly selecting an interrupt request
c)

By performing a logical OR of the peripheral's IREQ lines.

d)
By assigning a priority level to each process
63.

True or False: Interrupt requests are assumed to remain asserted until reset by

instructions in the service routine.

a)
False
b)
True
64.

Interrupt requests are assumed to remain asserted until reset by

instructions in the service routine. Is this the most efficient technique?

a)
No
b)
Yes
65.

Until a request is de-asserted it is not possible for another request to

be seen. What does this result in?

a)

Blocking the peripherals

b)

Data from a fast peripheral will be lost

while service routine is clearing a low priority

interrupt.

c)

The system ignores the new requests

66.

Until a request is de-asserted it is not possible for another request to

be seen. What would be a better system?

a)

The request could be cleared quickly after the

request is noticed.

b)

Use a request queue with the new requests at the very top.

c)

Delay the new requests

d)

Ignore the new requests until the first request is completed

67.

What is Interrupt Acknowledgement?

a)

Where computers have a signal generated by the CPU that is returned to

the peripheral as soon as the interrupt is detected.

b)
The process of initiating an interrupt request
c)
The process of ignoring an interrupt request
d)
The process of delaying an interrupt request
68.

What does Interrupt Acknowledgement do?

a)

Clear the interrupt request from that device and allows other

devices to use the interrupt line.

b)

Ignore the interrupting device and continuing with the current request

c)

This clears the interrupt request from that device and allows other

devices to use the interrupt line.

d)
Sending a request to the interrupting device to stop interrupting
69.

True or False: By using an interrupt acknowledgement, it's possible to construct a simpler

priority scheme.

a)
True
b)
False
70.

What happens during priority interrupts ?

a)
The interrupt request is sent to all devices simultaneously
b)

The interrupt request is ignored by all systems

c)

The CPU is able to determine priority by which device the acknowledgement is sent to.

d)

The interrupt request is passed from one device to the next until it reaches the Memory.

71.

What is a daisy chain in priority interrupts?

a)

Where all the interrupt request lines are OR’ed together like a daisy chain crown.

b)

A type of chain used in data storage named after daisy chain crowns.

c)
A method of connecting devices in parallel
d)
A type of flower used in computer programming
72.

True or false: The CPU IACK is connected directly to the highest priority device, so if more than one request has been made the highest priority device

sees it first.

a)
True
b)
False
73.

The CPU IACK is connected directly to the highest priority device. What happens because of this in a priority daisy chain?

a)
The CPU is given control of the highest priority device
b)
The highest priority device is put in a queue and not acknowledged
c)
The highest priority device is immediately acknowledged and given control of the CPU.
d)
The CPU is disconnected from the highest priority device
74.

If the highest priority device has the CPU but doesn't have a request, what does it do?

a)

It passes the IACK along to the

next device, and so on

to the lowest priority device, which will receive an

acknowledgement only if no other device has made a request.

b)
It shuts down to conserve energy
c)

It ignores the requests and moves on to the lowest-priority device

d)
It processes the request from the device with the highest priority
75.

True or false: In order to ensure a fast response to a high priority interrupt, it is possible

to allow interrupts to interrupt interrupts.

a)
False
b)
True
76.

What is a nested interrupt?

a)

An interrupt that specifically interrupts certain requests

b)
An error in computer programming
c)

It allows a higher priority device to be serviced

quickly even if a lower priority device is being serviced.

d)
A type of bird's call