wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

I/O devices

Total questions: 45

Worksheet time: 23mins

Name
Class
Date
1.

Fill in the blank: An Input/Output (I/O) device is any hardware component that allows data to enter or leave the _________

a)

central processing unit (CPU)

b)

keyboard

c)

printer

d)

monitor

2.

Which of the following statements is true about I/O devices?

a)

I/O devices only send data to the CPU.

b)

I/O devices only receive data from the CPU.

c)

I/O devices can either send data to or receive data from the CPU.

d)

I/O devices are not part of the I/O system if used for communication.

3.

Which of the following is an example of a standard input device?

a)

Scanner

b)

Keyboard

c)

Camera

d)

Printer

4.

Which device is used to capture visual information?

a)

Keyboard

b)

Camera

c)

Microphone

d)

Joystick

5.

A scanner is an example of an imaging device.

a)

True

b)

False

6.

Which of the following is an example of a display device?

a)

Printer

b)

Monitor

c)

Speaker

d)

Motor

7.

What is the purpose of actuators/control outputs?

a)

Show text, graphics, or indicators

b)

Perform physical actions

c)

Produce hard copy output

d)

Generate sound output

8.

Fill in the blank: I/O interfacing is all about connecting external devices to the ________ so they can communicate effectively.

a)

microprocessor

b)

printer

c)

keyboard

d)

monitor

9.

What does PPI stand for in the context of I/O interfacing?

a)

Programmable Peripheral Interface

b)

Primary Processor Interface

c)

Peripheral Processing Input

d)

Programmed Processor Input

10.

Fill in the blank: The CPU operates at high clock speeds, while peripherals operate at ______ speeds.

a)

slow

b)

fast

c)

equal

d)

variable

11.

Which of the following is NOT a reason why direct connections between the CPU, memory, and peripherals are impractical?

a)

A) Speed differences

b)

B) Data format differences

c)

C) Color differences

d)

D) Signalling differences

12.

Fill in the blank: The CPU uses specific electrical signaling (e.g., voltage levels, timing), while peripherals have unique ______ requirements.

a)

signaling

b)

storage

c)

display

d)

processing

13.

I/O can happen in three ways. Which of the following is NOT one of them?

a)

Polled I/O

b)

Interrupt-driven I/O

c)

Direct Memory Access (DMA)

d)

Serial Communication

14.

Fill in the blank: In ________, the CPU constantly checks if a device is ready, which is simple but wasteful.

a)

Polled I/O

b)

Interrupt-driven I/O

c)

Direct Memory Access (DMA)

d)

Buffered I/O

15.

Which I/O method allows devices to bypass the CPU for large transfers?

a)

Polled I/O

b)

Interrupt-driven I/O

c)

DMA

d)

Serial Communication

16.

PPI fits mainly into ________ and ________ scenarios.

a)

polled, interrupt-driven

b)

serial, parallel

c)

analog, digital

d)

synchronous, asynchronous

17.

What does 'programmable' mean in the context of PPI?

a)

It means PPI lets software configure the interface on the fly.

b)

It means PPI can only be used with hardware switches.

c)

It means PPI is not compatible with any software.

d)

It means PPI is permanently fixed and cannot be changed.

18.

The 40 pins of the 8255 PPI are arranged in a dual in-line package (DIP), with pins numbered 1 to __ on the left and __ to __ on the right.

a)

1 to 20 on the left and 21 to 40 on the right

b)

1 to 10 on the left and 11 to 40 on the right

c)

1 to 40 on the left and 41 to 80 on the right

d)

1 to 15 on the left and 16 to 40 on the right

19.

Which port is selected when CS' = 0, A1 = 0, and A0 = 0 according to the address pin selection table?

a)

PORT A

b)

PORT B

c)

PORT C

d)

Control Register

20.

Which port is selected when CS' = 0, A1 = 0, and A0 = 1 according to the address pin selection table?

a)

PORT A

b)

PORT B

c)

PORT C

d)

Control Register

21.

Which register is selected when CS' = 0, A1 = 1, and A0 = 1 according to the address pin selection table?

a)

PORT A

b)

PORT B

c)

PORT C

d)

Control Register

22.

How many bits are used to select the port in the 8255 chip according to the description?

a)

2 bits

b)

1 bit

c)

3 bits

d)

4 bits

23.

Which pin on the 8255 chip is used for the +5V power supply?

a)

Pin 7

b)

Pin 26

c)

Pin 35

d)

Pin 6

24.

True or False: The CS (Pin 6) on the 8255 chip activates the chip when high, enabling communication.

a)

True

b)

False

25.

Which pin on the 8255 chip is used as the ground reference?

a)

Pin 7

b)

Pin 26

c)

Pin 35

d)

Pin 5

26.

Refer to the block diagram of 8255. How many bits are there in GROUP A PORT A?

a)

4

b)

8

c)

16

d)

2

27.

Refer to the block diagram of 8255. The 8-bit internal data bus connects which components in the diagram?

a)

The 8-bit internal data bus connects the DATA BUS BUFFER, GROUP A CONTROL, GROUP B CONTROL, and the ports (GROUP A PORT A, GROUP A PORT C UPPER, GROUP B PORT C LOWER, GROUP B PORT B).

b)

The 8-bit internal data bus connects only the DATA BUS BUFFER and GROUP A CONTROL.

c)

The 8-bit internal data bus connects only the ports (GROUP A PORT A, GROUP A PORT C UPPER, GROUP B PORT C LOWER, GROUP B PORT B).

d)

The 8-bit internal data bus connects only the GROUP B CONTROL and GROUP A PORT C UPPER.

28.

Refer to the block diagram of 8255. The power supplies for the 8255 are ______ and ______.

a)

+5V and GND

b)

+12V and GND

c)

+3.3V and GND

d)

+5V and +12V

29.

Refer to the block diagram of 8255. Which port is associated with the I/O lines PA7-PA0?

a)

A) GROUP A PORT A

b)

B) GROUP B PORT B

c)

C) GROUP A PORT C UPPER

d)

D) GROUP B PORT C LOWER

30.

The two major modes of operation of the 8255 are ______ and ______.

a)

I/O Mode and BSR Mode (Bit Set/Reset Mode)

b)

Input Mode and Output Mode

c)

Read Mode and Write Mode

d)

Serial Mode and Parallel Mode

31.

Which of the following is NOT a mode of operation of the 8255?

a)

I/O Mode

b)

BSR Mode (Bit Set/Reset Mode)

c)

DMA Mode

d)

Both A and B

32.

How many sub-modes does the Input/Output Mode of the 8255A have?

a)

One

b)

Two

c)

Three

d)

Four

33.

Mode 0 of the 8255A Input/Output Mode is described as _________

a)

Simple I/O (unidirectional, no handshake)

b)

Bidirectional I/O with handshake

c)

Strobed I/O with interrupt

d)

Memory-mapped I/O

34.

Which mode of the 8255A Input/Output Mode is used for a bidirectional bus (for Port A only)?

a)

Mode 0

b)

Mode 1

c)

Mode 2

d)

Mode 3

35.

Port B of the 8255A is typically connected to which peripheral in Mode 1 input?

a)

Printer

b)

Keyboard

c)

Status and control lines

d)

Monitor

36.

Port A of the 8255A is used for ________ in Mode 1 output.

a)

Printer

b)

Keyboard

c)

ADC Interface

d)

Stepper Motor

37.

Port C of the 8255A is used for ________.

a)

Status and control lines

b)

Data storage

c)

Arithmetic operations

d)

Memory addressing

38.

What is the primary purpose of the BSR Mode (Bit Set/Reset Mode) in the 8255A?

a)

Data transfer

b)

Setting or resetting individual bits of Port C

c)

Configuring Ports A and B

d)

Controlling analog signals

39.

Which port's individual bits can be set or reset using the BSR Mode in the 8255A?

a)

Port C

b)

Port A

c)

Port B

d)

Port D

40.

The BSR Mode in the 8255A is used for data transfer.

a)

True

b)

False

41.

Fill in the blank: The BSR Mode in the 8255A controls one bit at a time, specifically from ____ to ____.

a)

PC0 to PC7

b)

PA0 to PA7

c)

PB0 to PB7

d)

PD0 to PD7

42.

Why is the 8255 PPI not used in contemporary PCs?

a)

Due to the shift to integrated, serial, and more efficient I/O technologies.

b)

Because it is too expensive to manufacture.

c)

Because it is incompatible with all modern operating systems.

d)

Because it consumes excessive power compared to modern chips.

43.

8255 PPI was designed for which era of microprocessors?

a)

1990s/2000s

b)

1970s/80s

c)

2010s/2020s

d)

1960s/70s

44.

Modern processors like Intel Core i7 and AMD Ryzen integrate I/O controllers on the CPU chip or motherboard chipset.

a)

True

b)

False

45.

What is the main reason parallel PPI chips like the 8255 are considered obsolete for general use today?

a)

The shift to serial interfaces like USB, SATA, and PCIe, which offer faster data rates and smaller pin counts.

b)

They are more expensive to manufacture than modern microcontrollers.

c)

They are incompatible with modern operating systems.

d)

They consume significantly more power than serial devices.