Bluetooth for short-range transfer

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

Bluetooth for short-range transfer

Name:
Date:
Class:

Quick Questions

Shade in the A or B circle for each question.

1. Which describes Bluetooth best?
A Wired data transfer between two far apart devices
B Wireless data transfer between two nearby paired devices
2. Before a phone can send music to Bluetooth headphones, what must happen first?
A The two devices must be paired
B The headphones must be plugged into a router
3. Which range does Bluetooth usually work over?
A Short range, like within the same room
B Long range, like across a whole city
4. Which is an example of Bluetooth being used?
A A phone playing music through a wireless speaker
B A computer loading a website from a server in another country
5. True or false: Bluetooth needs a cable between the two devices.
A True, it needs a cable to carry the data
B False, it sends data wirelessly

Match the Pairs

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

Left columnRight column
1Bluetooth Adistance < 10
2pair(phone, headphones) Bphone.sendAudio(speaker)
3Bluetooth works over a short range, so the devices must be close together CA wireless technology that sends data between two nearby paired devices over a short range
4Headphones and speakers use Bluetooth to receive sound wirelessly from a paired phone DBluetooth is short range, so 500 metres is far too long. The devices must be close, about 10 metres or less.
5phone.send(speaker) # not paired yet EThe devices have not been paired, so Bluetooth cannot send data between them. Pair them first.
6headphones.connect(phone, distance=500) FConnects two nearby devices so they can send data to each other using Bluetooth

Definitions

Bluetooth

Fill in the Blanks

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

1.
____(phone, headphones)
2.
connect(phone, speaker, _________)
3.
distance = 5 if distance __ maxRange: sendAudio(phone, speaker)
4.
paired = ____ if paired: sendAudio(phone, speaker)
5.
sendAudio(_____, headphones)

Spot the Error

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

Question 1
A turn on Bluetooth on phone
B turn on Bluetooth on speaker
C pair phone with a router
D play music from phone
Question 2
A range_m = 10000
B distance_m = 3
C if distance_m <= range_m:
D print("Connected")
Question 3
A connection = "cable"
B paired = True
C if paired:
D send("song")
Question 4
A device = "headphones"
B found = True
C pair(device
D play("music")
Question 5
A turn on Bluetooth
B search for devices overseas
C select headphones
D pair

Answer Key

Bluetooth for short-range transfer
Section A: Quick Questions
Q1
B — Wireless data transfer between two nearby paired devices
Q2
A — The two devices must be paired
Q3
A — Short range, like within the same room
Q4
A — A phone playing music through a wireless speaker
Q5
B — False, it sends data wirelessly
Section B: Match the Pairs
Q1
Bluetooth → A wireless technology that sends data between two nearby paired devices over a short range
Q2
pair(phone, headphones) → Connects two nearby devices so they can send data to each other using Bluetooth
Q3
Bluetooth works over a short range, so the devices must be close together → distance < 10
Q4
Headphones and speakers use Bluetooth to receive sound wirelessly from a paired phone → phone.sendAudio(speaker)
Q5
phone.send(speaker) # not paired yet → The devices have not been paired, so Bluetooth cannot send data between them. Pair them first.
Q6
headphones.connect(phone, distance=500) → Bluetooth is short range, so 500 metres is far too long. The devices must be close, about 10 metres or less.
Section C: Definitions
Q1
Bluetooth — A wireless technology that sends data between two nearby paired devices, such as a phone and headphones, over a short range.
Section D: Fill in the Blanks
Q1
pair(phone, headphones)
Q2
connect(phone, speaker, Bluetooth)
Q3
distance = 5 if distance <= maxRange: sendAudio(phone, speaker)
Q4
paired = True if paired: sendAudio(phone, speaker)
Q5
sendAudio(phone, headphones)
Section E: Spot the Error
Q1
C — Bluetooth pairs two nearby devices directly, such as a phone and a speaker. A router is for networks like Wi-Fi. It should be 'pair phone with speaker'.
Q2
A — Bluetooth only works over a short range, about 10 metres. A range of 10000 metres is far too long. It should be 'range_m = 10'.
Q3
A — Bluetooth sends data wirelessly, with no cable. The value should be "wireless".
Q4
C — The function call is missing its closing bracket. It should be 'pair(device)'.
Q5
B — Bluetooth has a short range, so it searches for nearby devices, not ones far away. It should be 'search for nearby devices'.