Bird
Raised Fist0
Intro to Computingfundamentals~10 mins

Ports and connectivity (USB, HDMI, Wi-Fi) in Intro to Computing - Interactive Code Practice

Choose your learning style10 modes available

Start learning this pattern below

Jump into concepts and practice - no test required

or
Recommended
Test this pattern10 questions across easy, medium, and hard to know if this pattern is strong
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to identify the port used for connecting a keyboard.

Intro to Computing
device_port = '[1]'
Drag options to blanks, or click blank then click option'
AUSB
BHDMI
CWi-Fi
DEthernet
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing HDMI with USB because both are ports.
Choosing Wi-Fi which is wireless, not a physical port.
2fill in blank
medium

Complete the code to select the port used to connect a monitor for video output.

Intro to Computing
video_port = '[1]'
Drag options to blanks, or click blank then click option'
AEthernet
BWi-Fi
CHDMI
DUSB
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing USB which is mainly for data and power.
Selecting Ethernet which is for network connections.
3fill in blank
hard

Fix the error in the code to correctly assign the wireless connectivity type.

Intro to Computing
connectivity = '[1]'
Drag options to blanks, or click blank then click option'
AHDMI
BUSB
CEthernet
DWi-Fi
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing Wi-Fi with Ethernet which is wired.
Choosing USB or HDMI which are physical ports.
4fill in blank
hard

Fill both blanks to create a dictionary mapping device types to their common ports.

Intro to Computing
device_ports = {'Keyboard': '[1]', 'Monitor': '[2]'}
Drag options to blanks, or click blank then click option'
AUSB
BHDMI
CWi-Fi
DEthernet
Attempts:
3 left
💡 Hint
Common Mistakes
Swapping the ports between keyboard and monitor.
Using wireless options for wired devices.
5fill in blank
hard

Fill all three blanks to create a dictionary mapping device types to their connectivity methods.

Intro to Computing
connectivity_methods = {'Keyboard': '[1]', 'Monitor': '[2]', 'Internet': '[3]'}
Drag options to blanks, or click blank then click option'
AUSB
BHDMI
CWi-Fi
DEthernet
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing wired and wireless connections incorrectly.
Confusing Ethernet with Wi-Fi for internet.

Practice

(1/5)
1. Which port is commonly used to connect a keyboard or mouse to a computer?
easy
A. Ethernet port
B. HDMI port
C. USB port
D. Audio jack

Solution

  1. Step 1: Understand common device connections

    Keyboards and mice usually connect via USB ports because they transfer data and power.
  2. Step 2: Identify port functions

    HDMI is for video/audio, Ethernet for network, and audio jack for sound, so they are not used for keyboards/mice.
  3. Final Answer:

    USB port -> Option C
  4. Quick Check:

    Keyboard/mouse connection = USB port [OK]
Hint: Keyboards/mice use USB, not video or network ports [OK]
Common Mistakes:
  • Confusing HDMI as a data port for input devices
  • Thinking Ethernet connects keyboards
  • Assuming audio jack transfers data
2. Which of the following is the correct way to describe HDMI?
easy
A. A port for high-definition video and audio
B. A port used only for charging devices
C. A type of USB connector
D. A wireless connection for internet

Solution

  1. Step 1: Recall HDMI purpose

    HDMI stands for High-Definition Multimedia Interface and is used to send video and audio signals.
  2. Step 2: Eliminate incorrect options

    It is not a wireless connection, not used only for charging devices, and not a type of USB connector.
  3. Final Answer:

    A port for high-definition video and audio -> Option A
  4. Quick Check:

    HDMI = video/audio port [OK]
Hint: HDMI always relates to video and audio, not wireless or charging [OK]
Common Mistakes:
  • Thinking HDMI is wireless
  • Confusing HDMI with USB
  • Assuming HDMI charges devices
3. You want to connect your laptop to the internet without cables. Which option correctly describes how to do this?
easy
A. Connect via Wi-Fi to the wireless network
B. Use a USB cable to connect to the router
C. Plug an HDMI cable into the laptop
D. Use an Ethernet cable to connect to the monitor

Solution

  1. Step 1: Understand wireless internet connection

    Wi-Fi allows devices to connect to the internet without cables.
  2. Step 2: Evaluate options for internet connection

    USB and Ethernet cables require wires; HDMI connects video, not internet; only Wi-Fi is wireless internet.
  3. Final Answer:

    Connect via Wi-Fi to the wireless network -> Option A
  4. Quick Check:

    Wireless internet = Wi-Fi connection [OK]
Hint: Wireless internet means Wi-Fi, not cables [OK]
Common Mistakes:
  • Confusing HDMI with internet connection
  • Thinking USB cable provides wireless internet
  • Using Ethernet to connect to monitor for internet
4. A laptop is connected to a monitor using an HDMI cable. What will happen if the HDMI cable is unplugged while the laptop is on?
medium
A. The laptop will shut down immediately
B. The laptop will start charging
C. The laptop will lose internet connection
D. The monitor will stop displaying the laptop screen

Solution

  1. Step 1: Understand HDMI cable role

    HDMI carries video and audio signals from laptop to monitor.
  2. Step 2: Predict effect of unplugging HDMI

    Removing HDMI stops video signal, so monitor shows no laptop screen. Laptop stays on and internet is unaffected.
  3. Final Answer:

    The monitor will stop displaying the laptop screen -> Option D
  4. Quick Check:

    Unplug HDMI = no video on monitor [OK]
Hint: HDMI unplugged means no video on monitor, laptop stays on [OK]
Common Mistakes:
  • Thinking laptop shuts down
  • Assuming internet disconnects
  • Believing laptop starts charging
5. A user tries to connect a USB device but it is not recognized by the computer. Which of the following is the most likely cause?
medium
A. The HDMI cable is unplugged
B. The USB port is damaged or not working
C. The Wi-Fi signal is weak
D. The monitor is turned off

Solution

  1. Step 1: Identify the problem context

    The USB device is not recognized, so the issue relates to USB connection.
  2. Step 2: Analyze options

    Damaged USB port can cause this. HDMI cable, Wi-Fi, or monitor status do not affect USB device recognition.
  3. Final Answer:

    The USB port is damaged or not working -> Option B
  4. Quick Check:

    USB device not recognized = USB port issue [OK]
Hint: USB device issues usually mean USB port problems [OK]
Common Mistakes:
  • Blaming HDMI cable for USB device issues
  • Thinking Wi-Fi affects USB recognition
  • Assuming monitor power affects USB devices