0
0
Computer Networksknowledge~30 mins

What is a computer network in Computer Networks - Hands-On Activity

Choose your learning style9 modes available
Understanding What a Computer Network Is
📖 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
Need a 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
Need a 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
Need a 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
Need a hint?

Use an equals sign = to assign the exact string to the variable.