📖 Scenario: Imagine you want to share photos and messages with your friends using your computers or phones. To do this, your devices need to connect and talk to each other. This connection is called a computer network.
🎯 Goal: Build a simple explanation and example of a computer network using a list of devices and how they connect.
📋 What You'll Learn
Create a list called devices with the names of 4 devices: 'Laptop', 'Smartphone', 'Tablet', and 'Printer'.
Create a variable called network_type and set it to the string 'Local Area Network'.
Create a dictionary called connections that shows which devices are connected to each other. Use the device names as keys and lists of connected devices as values.
Add a final statement that defines a simple sentence called network_description that explains what the network is.
💡 Why This Matters
🌍 Real World
Computer networks allow devices like computers, phones, and printers to communicate and share resources like files and internet connections.
💼 Career
Understanding computer networks is essential for jobs in IT support, network administration, and cybersecurity.
Progress0 / 4 steps
1
Create a list of devices
Create a list called devices with these exact device names: 'Laptop', 'Smartphone', 'Tablet', and 'Printer'.
Computer Networks
Hint
Use square brackets [] to create a list and separate items with commas.
2
Set the network type
Create a variable called network_type and set it to the string 'Local Area Network'.
Computer Networks
Hint
Use an equals sign = to assign the string to the variable.
3
Define device connections
Create a dictionary called connections that shows which devices are connected. Use the device names as keys and lists of connected devices as values. For example, connect 'Laptop' to 'Printer' and 'Smartphone', and connect 'Tablet' to 'Smartphone'.
Computer Networks
Hint
Use curly braces {} to create a dictionary. Each key is a device name, and each value is a list of connected devices.
4
Write a network description
Create a variable called network_description and set it to a string that says: 'This is a Local Area Network connecting Laptop, Smartphone, Tablet, and Printer.'
Computer Networks
Hint
Use an equals sign = to assign the exact string to the variable.
Practice
(1/5)
1. What is the main purpose of a computer network?
easy
A. To connect multiple computers to share data and resources
B. To increase the speed of a single computer
C. To store data on a single device
D. To protect a computer from viruses
Solution
Step 1: Understand the definition of a computer network
A computer network is a group of computers connected to share data and resources.
Step 2: Identify the main purpose from the options
Only To connect multiple computers to share data and resources describes connecting multiple computers to share data and resources.
Final Answer:
To connect multiple computers to share data and resources -> Option A
Quick Check:
Network purpose = sharing data and resources [OK]
Hint: Networks connect computers to share data and resources [OK]
Common Mistakes:
Thinking a network speeds up a single computer
Confusing storage with networking
Assuming networks only protect from viruses
2. Which of the following is a correct example of a computer network type?
easy
A. Offline Data Network (ODN)
B. Single Computer Network (SCN)
C. Wireless Local Area Network (WLAN)
D. Personal Storage Network (PSN)
Solution
Step 1: Recall common network types
Common network types include LAN, WAN, and WLAN (wireless LAN).
Step 2: Match options with known network types
Only Wireless Local Area Network (WLAN) is a valid network type.
Final Answer:
Wireless Local Area Network (WLAN) -> Option C
Quick Check:
WLAN is a real network type [OK]
Hint: Look for known network acronyms like LAN or WLAN [OK]
Common Mistakes:
Choosing made-up network names
Confusing storage or offline terms with networks
Assuming all options are valid
3. If a home network connects 3 devices wirelessly to share files and internet, what type of network is this?
medium
A. Local Area Network (LAN)
B. Wide Area Network (WAN)
C. Metropolitan Area Network (MAN)
D. Personal Area Network (PAN)
Solution
Step 1: Understand network size categories
LAN covers a small area like a home or office; WAN covers large areas; MAN covers cities; PAN covers very close devices.
Step 2: Identify the network type for 3 devices in a home
A home wireless network connecting a few devices is a Local Area Network (LAN).
Final Answer:
Local Area Network (LAN) -> Option A
Quick Check:
Home network = LAN [OK]
Hint: Home or office small networks are LANs [OK]
Common Mistakes:
Confusing WAN with home networks
Thinking PAN is for multiple devices in a home
Mixing MAN with home networks
4. Identify the error in this statement: "A computer network only connects devices using cables."
medium
A. Networks do not connect devices at all
B. Networks can also connect devices wirelessly
C. Networks only connect devices in the same room
D. Networks require internet to function
Solution
Step 1: Analyze the statement about network connections
The statement says networks only use cables, which ignores wireless connections.
Step 2: Identify the correct correction
Networks can connect devices both wired and wirelessly, so Networks can also connect devices wirelessly corrects the error.
Final Answer:
Networks can also connect devices wirelessly -> Option B
Quick Check:
Networks = wired or wireless [OK]
Hint: Remember networks can be wired or wireless [OK]
Common Mistakes:
Thinking networks only use cables
Assuming networks need internet always
Believing networks connect only same-room devices
5. A company wants to connect 5 offices in different cities to share data securely. Which network type should they use?
hard
A. Local Area Network (LAN)
B. Personal Area Network (PAN)
C. Metropolitan Area Network (MAN)
D. Wide Area Network (WAN)
Solution
Step 1: Understand network types by coverage area
LAN covers small areas like offices; PAN covers personal devices; MAN covers cities; WAN covers large areas like multiple cities.
Step 2: Match the company's need to network type
Connecting offices in different cities requires a Wide Area Network (WAN).
Final Answer:
Wide Area Network (WAN) -> Option D
Quick Check:
Multiple cities = WAN [OK]
Hint: Use WAN for networks across cities or countries [OK]
Common Mistakes:
Choosing LAN for multi-city connections
Confusing MAN with WAN
Selecting PAN for office networks
Recommended
Ready to prove it?
Pass the test and this pattern moves unknownstrongwhile earning +1 Grip toward your certificate.