Benefits of USB

Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.

Benefits of USB

Name:
Date:
Class:

Quick Questions

Shade in the A or B circle for each question.

1. Which statement describes a benefit of USB being a standard connector?
A Each device needs its own special port made only for that device
B One type of port can be used by many different devices, such as keyboards, mice and printers
2. What happens when a USB device is plugged into a computer?
A The computer automatically detects the device and can load a driver for it
B The user must restart the computer so it can find the device
3. An old USB 2.0 flash drive is plugged into a newer USB 3.0 port. What is likely to happen?
A It still works because USB is backwards compatible
B It will not work because the port is a newer version
4. Which is a benefit of USB when using a small device like a phone or a flash drive?
A The cable can supply power to the device, so it may not need its own power supply
B The cable can only carry data, so every device needs its own battery or plug
5. Which describes how USB sends data quickly?
A It uses parallel transmission, sending all bits side by side, which causes skew
B It uses fast serial transmission, sending bits one after another along a wire

Match the Pairs

Draw a line connecting each item on the left to its match on the right.

Left columnRight column
1USB_PORT <- keyboard, mouse, printer AUSB uses a standard connector, so one type of port works with many devices.
2IF device_plugged_in THEN detect(device) BUSB2_DEVICE -> USB3_PORT : works
3Older USB devices still work when plugged into newer USB ports (backwards compatible) Ccable.carry(data, power)
4The USB cable supplies power to the device as well as carrying data DThe computer recognises the device automatically when it is connected
5User must tell the computer a USB device is connected EOne standard connector works with many different types of device
6Every device needs a different type of USB connector FUSB devices are detected automatically. The user does not need to tell the computer.

Definitions

USB benefits

Fill in the Blanks

Complete each line of code by filling in the missing parts.

1.
plug mouse INTO ___ port
2.
IF pluggedIn = TRUE THEN detected ← ____ ENDIF
3.
IF deviceVersion __ portVersion THEN works ← TRUE ENDIF
4.
device.power ← usbCable._____
5.
mode ← ______ speed ← FAST sendBits(mode, speed)

Spot the Error

Shade in the letter of the line that contains an error.

Question 1
A device = "keyboard"
B connector = "unique shape"
C print(device, connector)
Question 2
A plug_in("mouse")
B manual_setup = True
C if not manual_setup:
D print("Auto detected")
Question 3
A device = 2 # older device
B port = 1 # newer port
C ok = device <= port
D print(ok)
Question 4
A usb_gives = "data only"
B device = "phone"
C print(device, usb_gives)
Question 5
A usb_mode = "serial"
B bits_at_once = 1
C speed = "very slow"
D print(usb_mode, speed)

Answer Key

Benefits of USB
Section A: Quick Questions
Q1
B — One type of port can be used by many different devices, such as keyboards, mice and printers
Q2
A — The computer automatically detects the device and can load a driver for it
Q3
A — It still works because USB is backwards compatible
Q4
A — The cable can supply power to the device, so it may not need its own power supply
Q5
B — It uses fast serial transmission, sending bits one after another along a wire
Section B: Match the Pairs
Q1
USB_PORT <- keyboard, mouse, printer → One standard connector works with many different types of device
Q2
IF device_plugged_in THEN detect(device) → The computer recognises the device automatically when it is connected
Q3
Older USB devices still work when plugged into newer USB ports (backwards compatible) → USB2_DEVICE -> USB3_PORT : works
Q4
The USB cable supplies power to the device as well as carrying data → cable.carry(data, power)
Q5
User must tell the computer a USB device is connected → USB devices are detected automatically. The user does not need to tell the computer.
Q6
Every device needs a different type of USB connector → USB uses a standard connector, so one type of port works with many devices.
Section C: Definitions
Q1
USB benefits — One standard connector fits many devices, devices are detected automatically, older devices work in newer ports, power comes through the cable, and fast serial transfer is used.
Section D: Fill in the Blanks
Q1
plug mouse INTO USB port
Q2
IF pluggedIn = TRUE THEN detected ← TRUE ENDIF
Q3
IF deviceVersion <= portVersion THEN works ← TRUE ENDIF
Q4
device.power ← usbCable.power
Q5
mode ← SERIAL speed ← FAST sendBits(mode, speed)
Section E: Spot the Error
Q1
B — USB uses one standard connector for many different devices. It should be connector = "standard USB", not a unique shape for each device.
Q2
B — USB devices are detected automatically, so the user does not need to set them up by hand. manual_setup should be False.
Q3
B — Backwards compatibility means older devices work in newer ports. The newer port needs a higher version number than the older device, so it should be port = 3.
Q4
A — A USB cable supplies power as well as carrying data. It should be "power and data", not data only.
Q5
C — USB uses serial transmission and transfers data quickly. The speed should be "fast".