0
0
Intro to Computingfundamentals~20 mins

Routers and switches in Intro to Computing - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Networking Mastery: Routers and Switches
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Understanding the Role of a Router

Which of the following best describes the main function of a router in a network?

AIt connects multiple networks and directs data packets between them.
BIt connects devices within the same network and forwards data based on MAC addresses.
CIt stores data and manages file access for network users.
DIt provides wireless access to devices without using cables.
Attempts:
2 left
💡 Hint

Think about how data moves between different networks, like between your home and the internet.

🧠 Conceptual
intermediate
2:00remaining
Switch Functionality in a Network

What is the primary role of a network switch?

ATo connect different networks and route data between them.
BTo encrypt data for secure transmission.
CTo assign IP addresses to devices automatically.
DTo connect devices within the same network and forward data based on MAC addresses.
Attempts:
2 left
💡 Hint

Think about how devices in your home connect to each other using cables.

trace
advanced
2:30remaining
Data Packet Flow Through Router and Switch

Consider a data packet sent from a computer in Network A to a computer in Network B. The packet passes through a switch and then a router. Which sequence correctly shows how the packet is handled?

ASwitch reads MAC address → forwards to router → Router reads IP address → sends to destination
BRouter reads MAC address → forwards to switch → Switch reads IP address → sends to destination
CRouter reads IP address → forwards to switch → Switch reads IP address → sends to destination
DSwitch reads IP address → forwards to router → Router reads MAC address → sends to destination
Attempts:
2 left
💡 Hint

Remember that switches use MAC addresses and routers use IP addresses.

identification
advanced
2:00remaining
Identifying Device by Function

You see a device that connects multiple devices in the same office and forwards data only to the device that needs it. What device is this?

AModem
BSwitch
CRouter
DFirewall
Attempts:
2 left
💡 Hint

Think about a device that directs data inside the same network.

Comparison
expert
3:00remaining
Comparing Router and Switch Functions

Which statement correctly compares routers and switches?

ARouters connect devices within the same network; switches connect different networks.
BSwitches use IP addresses to forward data; routers use MAC addresses.
CRouters direct data between networks using IP addresses; switches forward data within a network using MAC addresses.
DBoth routers and switches perform the same function but use different cables.
Attempts:
2 left
💡 Hint

Focus on the type of addresses each device uses to forward data.