Ez Computerहिन्दीOpen app

Ports, Connectors and Interfaces

Preview Part B: Hardware · Chapter 10 · 14 min read · 55 practice questions

After this chapter you will be able to

  • explain what a port is and the difference between serial and parallel ports
  • identify common external ports by shape, colour and use
  • recall USB versions and connector types
  • name internal interfaces such as SATA, PCIe and M.2
  • explain plug-and-play and hot-swapping
Ports and interfaces Serial vs parallel Serial: 1 bit at a time Parallel: many bits Fast ports: serial USB USB 2.0: 480 Mbps USB 3.0: 5 Gbps Type-C is reversible Display and audio VGA: analog only HDMI: audio + video Green out, pink mic Network and phone RJ-45: LAN cable RJ-11: telephone PS/2: keyboard, mouse Internal SATA: drives PCIe x16: graphics M.2: NVMe SSD slot Wireless Bluetooth: about 10 m NFC: about 4 cm Wi-Fi: 30–100 m
Chapter 10 at a glance A port is the socket; the interface is the standard that talks through it. Learn the shape and colour of each port.

10.1 Ports and Interfaces

Serial port10110010One bit at a timeParallel portSeveral bits at onceFast ports are serial(USB, SATA, PCIe)
Serial vs parallel: one lane or many Serial sends one bit at a time on one line. Parallel sends several bits together on many wires, but they interfere at high speed. That is why fast ports are serial.
Feature Serial port Parallel port
Data sent One bit at a time over one line Several bits (usually 8) at once over many lines
Distance Longer cables possible Short cables (signals interfere)
Old standard RS-232 / COM port, 9-pin (DB-9) LPT / Centronics printer port, 25-pin (DB-25)
Old uses Mouse, modem Printers
Today USB, SATA, PCIe, HDMI are all serial Obsolete

⚡ QUICK FACT — Parallel sounds faster, but at high speeds the wires interfere (crosstalk, timing skew). That is why modern high-speed links — USB, SATA, PCIe — are all serial.

10.2 External Ports

PS/2 keyboard PS/2 mouse USB-A USB-C HDMI VGA RJ-45 (LAN) Audio jacks
Back-panel connectors Each connector has its own shape and colour. Blue USB ports are USB 3.x; the PS/2 colours are purple for keyboard and green for mouse.
USB-A USB-B Micro-USB USB-C PS/2 RJ-11 (telephone) RJ-45 (LAN)
Common plugs and sockets Same scale, front view of the plug. Shape and pin count tell the connectors apart: USB-C is reversible, PS/2 is round with 6 pins, RJ-11 is narrower than RJ-45.
Green goes out · Pink picks up · Blue brings in Green goes out Line-out Pink picks up Microphone Blue brings in Line-in
Audio jack colours Audio jacks: green = line-out (sound goes out to speakers), pink = microphone (sound is picked up), blue = line-in (sound is brought in).
FigureRear Panel of a Desktop PC
  1. PS/2 portspurple = keyboard, green = mouse
  2. USB-Ablack = USB 2.0, blue = USB 3.x
  3. USB-Creversible connector
  4. HDMI · DisplayPortdigital video + audio
  5. VGAblue 15-pin, analog video
  6. DVIwhite, digital video
  7. RJ-45Ethernet network port
  8. Audio jacksgreen = line-out, pink = mic, blue = line-in
  9. Serial DB-9older boards
  10. Power socketon the SMPS

USB — Universal Serial Bus

Version Year Speed
USB 1.0 / 1.1 1996 / 1998 1.5 Mbps (Low) / 12 Mbps (Full)
USB 2.0 2000 480 Mbps (High Speed)
USB 3.0 (now “USB 3.2 Gen 1”) 2008 5 Gbps (SuperSpeed)
USB 3.1 (Gen 2) 2013 10 Gbps
USB 3.2 (Gen 2×2) 2017 20 Gbps
USB4 2019 40 Gbps (USB4 v2: 80 Gbps)
Connector Look Used for
Type-A Flat rectangle Computer end of most cables, pen drives
Type-B Square with bevelled top Printers, scanners
Mini-USB Small trapezoid Old cameras, MP3 players
Micro-USB Thin trapezoid Older Android phones
Type-C Small oval, reversible Modern phones, laptops, charging, video (2014 onward; common charger standard in India and the EU)

★ EXAM POINT — USB is a serial interface. USB Type-C is reversible. USB 2.0 = 480 Mbps; USB 3.0 = 5 Gbps. Blue USB ports usually mean USB 3.x.

Display Ports

Port Signal Pins / look Note
VGA (Video Graphics Array) Analog video only 15-pin, D-shaped, usually blue Old monitors, projectors
DVI (Digital Visual Interface) Digital (some analog) video White, 24+5 pins Transition from VGA
HDMI (High-Definition Multimedia Interface) Digital video + audio in one cable 19-pin, flat TVs, monitors, set-top boxes (2002/03)
DisplayPort Digital video + audio One corner cut PC monitors, high refresh rates
Thunderbolt Data + video + power (Intel with Apple, 2011) Uses USB-C shape from version 3 High-speed docks, displays

Legacy and Other Ports

Port Details
PS/2 (Personal System/2) IBM, 1987; 6-pin mini-DIN; purple = keyboard, green = mouse
Serial (COM / RS-232) 9-pin DB-9 (male on PC); modems, old mice, lab equipment
Parallel (LPT) 25-pin DB-25 (female on PC); old printers
FireWire (IEEE 1394) Apple; also called i.LINK (Sony’s name); fast serial port with isochronous (guaranteed, real-time) transfer for cameras and audio/video devices; can move large files directly between two devices — obsolete
Game port 15-pin; old joysticks and game controllers
Modem port Connects a PC’s modem to the telephone line
Infrared (IR) port Sends and receives data by infrared light; usually on the side or back of a laptop
eSATA External SATA drives
SCSI (Small Computer System Interface) Servers, older scanners and drives; early Apple Macintosh computers used it for disks and peripherals
GPIB (General-Purpose Interface Bus, also called IEEE-488) Parallel bus that connects test and measurement instruments to a computer

Network and Audio Ports

Port Use
RJ-45 (Registered Jack-45) Ethernet LAN cable; 8 pins
RJ-11 Telephone line / DSL modem; smaller, 4–6 pins
3.5 mm audio jacks Green = line-out (speakers/headphones), pink = microphone, blue = line-in
S/PDIF (optical/coaxial) Digital audio to home theatre
Coaxial (F-type) Cable TV, cable internet
MIDI (Musical Instrument Digital Interface) Connects musical instruments and keyboards to a sound card; carries notes and timing, not recorded sound

★ EXAM POINT — RJ-45 → LAN/Ethernet; RJ-11 → telephone. VGA → analog; HDMI → digital audio + video. PS/2: purple keyboard, green mouse.

What the full chapter covers

The full chapter has these sections:

  1. 10.1 Ports and Interfaces
  2. 10.2 External Ports
  3. 10.3 Internal Interfaces and Expansion Slots
  4. 10.4 Wireless Interfaces
  5. 10.5 Plug-and-Play and Hot-Swapping
  6. 10.6 I/O Addresses of Legacy Ports
  7. 10.7 More Exam Facts
  8. Chapter Quick Revision
  9. Most Important Terms
  10. Common Confusions
  11. Rapid Recall

Sample questions from this chapter

1. Maximum devices per USB host controller?

  1. 256
  2. 127
  3. 25
  4. 65,536
Show answer

Answer: B. 127

One USB host controller can support up to 127 devices, using hubs.

2. Parallel port was mainly used for?

  1. Speakers
  2. Modems
  3. Mice
  4. Printers
Show answer

Answer: D. Printers

The parallel (LPT) port was mainly used to connect printers.

3. Fast serial port used by cameras and audio devices?

  1. FireWire
  2. eSATA
  3. Infrared port
  4. Game port
Show answer

Answer: A. FireWire

FireWire (IEEE 1394) is a fast serial port used by cameras and audio-video devices.

4. Which port carries both audio and video digitally?

  1. DVI
  2. HDMI
  3. VGA
  4. S/PDIF
Show answer

Answer: B. HDMI

HDMI carries digital video and audio in one cable; it is used by TVs and monitors.

5. Register of an I/O port that holds device status bits?

  1. Status register
  2. Control register
  3. Data-in register
  4. Data-out register
Show answer

Answer: A. Status register

The status register holds bits that show the device state, such as ready or busy.