0
0
Computer Networksknowledge~30 mins

Transmission media (wired, wireless) in Computer Networks - Mini Project: Build & Apply

Choose your learning style9 modes available
Understanding Transmission Media: Wired and Wireless
📖 Scenario: You are helping a small office set up their network. They want to understand the types of transmission media available to connect their computers and devices.
🎯 Goal: Build a simple data structure that lists common wired and wireless transmission media, then categorize them and finally summarize their main characteristics.
📋 What You'll Learn
Create a dictionary named transmission_media with exact keys and values for wired and wireless media
Add a variable named wired_types that holds only the wired media names
Use a loop to create a new dictionary media_summary with media names as keys and a short description as values
Add a final statement that sets a variable total_media to the total count of all media types
💡 Why This Matters
🌍 Real World
Understanding transmission media helps in planning and setting up computer networks in homes, offices, and public spaces.
💼 Career
Network technicians and IT professionals must know different transmission media to choose the best option for reliable and efficient communication.
Progress0 / 4 steps
1
Create the transmission media dictionary
Create a dictionary called transmission_media with two keys: 'wired' and 'wireless'. The value for 'wired' should be a list containing 'Twisted Pair', 'Coaxial Cable', and 'Fiber Optic'. The value for 'wireless' should be a list containing 'Radio Waves', 'Microwaves', and 'Infrared'.
Computer Networks
Need a hint?

Use a dictionary with keys 'wired' and 'wireless'. Each key should have a list of the exact media names as values.

2
Create a list of wired media types
Create a variable called wired_types and set it equal to the list of wired media from the transmission_media dictionary.
Computer Networks
Need a hint?

Access the 'wired' key from the transmission_media dictionary and assign it to wired_types.

3
Create a summary dictionary for all media
Create a new dictionary called media_summary. Use a for loop with variables media_type and media_list to iterate over transmission_media.items(). Inside the loop, use another for loop with variable media to iterate over media_list. Add each media as a key in media_summary with a short description as the value. Use these exact descriptions:

Wired:
Twisted Pair: 'Common copper cable used in telephone lines'
Coaxial Cable: 'Shielded cable for TV and internet'
Fiber Optic: 'Glass fibers for high-speed data'

Wireless:
Radio Waves: 'Used for AM/FM radio and Wi-Fi'
Microwaves: 'Used for satellite and mobile phones'
Infrared: 'Used for remote controls and short-range communication'
Computer Networks
Need a hint?

Use nested loops to go through each media type and media. Use if-elif to assign the exact descriptions to media_summary.

4
Calculate total number of media types
Create a variable called total_media and set it to the sum of the lengths of the lists for 'wired' and 'wireless' in the transmission_media dictionary.
Computer Networks
Need a hint?

Use the len() function on both lists in transmission_media and add the results.