What a MAC address is

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

What a MAC address is

Name:
Date:
Class:

Quick Questions

Shade in the A or B circle for each question.

1. A MAC address identifies which part of a device?
A Its network interface card (NIC)
B The network it is connected to
2. A laptop has both a Wi-Fi adapter and an Ethernet port. How many MAC addresses does it have?
A One, shared by the whole laptop
B Two, one for each NIC
3. Which statement about a MAC address is correct?
A It is a network address
B It is a hardware address
4. What does MAC stand for in MAC address?
A Media Access Control
B Machine Address Code
5. How many NICs can share the same MAC address?
A None, each NIC has a unique one
B All NICs in the same building

Match the Pairs

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

Left columnRight column
100:1A:2B:3C:4D:5E AA MAC address is a hardware address for one NIC. It does not depend on the network. An IP address is the network address.
2Wi-Fi NIC + Ethernet NIC BAn example MAC address: a unique hardware identifier for one network interface card (NIC)
3Each NIC has its own MAC address, so a laptop with Wi-Fi and Ethernet has two different ones CMAC address -> NIC
4A MAC address is a hardware address that belongs to the NIC, not a network address DTwo NICs in one device, so the device has two MAC addresses
5laptop (Wi-Fi + Ethernet) = 1 MAC address Ewifi_mac != ethernet_mac
6MAC address = network address that changes on each network FA MAC address belongs to a NIC, not to the whole device. A laptop with Wi-Fi and Ethernet has two NICs, so it has two MAC addresses.

Definitions

MAC address

Fill in the Blanks

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

1.
nic1.___ ← "00:1A:2B:3C:4D:5E"
2.
IF wifi.mac __ ethernet.mac THEN OUTPUT "Different hardware" ENDIF
3.
nics ← ["Wi-Fi", "Ethernet"] macCount ← ______(nics)
4.
address ← "MAC" ______ "Hardware, not network"
5.
wifiNIC.mac ← "00:1A:2B:3C:4D:5E" ethNIC.mac ← "00:1A:2B:3C:4D:5F" laptop.macCount ← _

Spot the Error

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

Question 1
A nic1 = "Wi-Fi adapter"
B mac1 = "00:1A:2B:3C:4D:5G"
C print("NIC:", nic1, mac1)
Question 2
A nic = "Ethernet card"
B macs_per_nic = 2
C print(nic, macs_per_nic)
Question 3
A nic_list = ["Wi-Fi", "Ethernet"]
B mac_count = len(nic_list) - 1
C print(mac_count)
Question 4
A pc = "Laptop"
B nic = "Wi-Fi adapter"
C mac = "3C:22:FB:10:9A:01"
D print(mac, "identifies", pc)
Question 5
A mac = "00:1A:2B:3C:4D:5E"
B ip = "192.168.1.20"
C mac_type = "network address"
D print(mac_type)

Answer Key

What a MAC address is
Section A: Quick Questions
Q1
A — Its network interface card (NIC)
Q2
B — Two, one for each NIC
Q3
B — It is a hardware address
Q4
A — Media Access Control
Q5
A — None, each NIC has a unique one
Section B: Match the Pairs
Q1
00:1A:2B:3C:4D:5E → An example MAC address: a unique hardware identifier for one network interface card (NIC)
Q2
Wi-Fi NIC + Ethernet NIC → Two NICs in one device, so the device has two MAC addresses
Q3
Each NIC has its own MAC address, so a laptop with Wi-Fi and Ethernet has two different ones → wifi_mac != ethernet_mac
Q4
A MAC address is a hardware address that belongs to the NIC, not a network address → MAC address -> NIC
Q5
laptop (Wi-Fi + Ethernet) = 1 MAC address → A MAC address belongs to a NIC, not to the whole device. A laptop with Wi-Fi and Ethernet has two NICs, so it has two MAC addresses.
Q6
MAC address = network address that changes on each network → A MAC address is a hardware address for one NIC. It does not depend on the network. An IP address is the network address.
Section C: Definitions
Q1
MAC address — A unique hardware address given to one network interface card (NIC). Each NIC has its own, so a device with Wi-Fi and Ethernet has two. It identifies the hardware, not the network.
Section D: Fill in the Blanks
Q1
nic1.mac ← "00:1A:2B:3C:4D:5E"
Q2
IF wifi.mac <> ethernet.mac THEN OUTPUT "Different hardware" ENDIF
Q3
nics ← ["Wi-Fi", "Ethernet"] macCount ← LENGTH(nics)
Q4
address ← "MAC" OUTPUT "Hardware, not network"
Q5
wifiNIC.mac ← "00:1A:2B:3C:4D:5E" ethNIC.mac ← "00:1A:2B:3C:4D:5F" laptop.macCount ← 2
Section E: Spot the Error
Q1
B — A MAC address is written in hexadecimal, so each digit must be 0-9 or A-F. G is not a hexadecimal digit. The last pair should be 5E.
Q2
B — Each network interface card has exactly one MAC address, so macs_per_nic should be 1, not 2.
Q3
B — Every NIC has its own MAC address. A device with Wi-Fi and Ethernet has two NICs, so it has two MAC addresses. Subtracting 1 gives the wrong count; it should be len(nic_list).
Q4
D — A MAC address identifies one network interface card, not the whole device. The device can have several NICs. The line should print nic.
Q5
C — A MAC address is a hardware address belonging to the NIC. It is not a network address. The line should be mac_type = "hardware address".