Skip to content
GK24
GK NotesComputer AwarenessComputer Ports, Cables and Connectors

Computer Ports, Cables and Connectors: Types and Uses

Complete notes on computer ports, cables and connectors for exams: serial and parallel ports, USB, HDMI, VGA, RJ-45, twisted pair, coaxial and fibre optic cables.

By · Published · 5 min read

Computer Ports, Cables and Connectors: Types and Uses — GK24 title card
Computer Ports, Cables and Connectors: Types and Uses — GK24 title card

A port is the socket on a computer through which a device outside it is connected, a cable is the medium that carries the signal, and a connector is the plug at the end of the cable that fits the port. Computer awareness papers in the banking and SSC examinations ask this topic as a set of one-line facts: how many pins a connector has, which port carries audio along with video, which cable resists interference, and which old port has been replaced by which new one. The facts are stable, so a single careful reading is enough, and the section below arranges them in the order in which they are asked.

Serial, parallel and the legacy ports

A serial port sends one bit at a time over a single wire. The familiar serial port on an older personal computer followed the RS-232 standard, used a nine-pin D-shaped connector called DB-9 and was known to the operating system as a COM port; it was used for modems, mice and instruments. A parallel port sends several bits at once over separate wires, which makes it faster over short distances. The parallel port of a personal computer used a twenty-five-pin connector called DB-25, was known as the LPT port, and was used mostly for printers, where the printer end of the cable carried a thirty-six-pin Centronics connector.

The PS/2 port, introduced with the IBM Personal System/2 in the late nineteen-eighties, is a six-pin mini-DIN socket used for the keyboard and the mouse. The two sockets are identical in shape, so they are colour coded: purple for the keyboard and green for the mouse. Both the serial and the PS/2 ports have been replaced in practice by USB.

USB, the universal port

  • USB stands for Universal Serial Bus, and the standard first appeared in 1996.
  • It is hot-swappable, that is a device may be attached or removed without restarting the computer, and plug and play, that is the operating system detects and configures the device itself.
  • One USB host controller can support up to 127 devices, using hubs.
  • Speeds rose with each version: 12 megabits per second in USB 1.1, 480 megabits per second in USB 2.0, 5 gigabits per second in USB 3.0, which is called SuperSpeed and whose connector is usually blue, and 10 gigabits per second and more in the versions after it.
  • The connector shapes are Type-A, the familiar rectangular plug, Type-B, the squarer plug used at the printer end, the Mini and Micro forms used by older mobile phones and cameras, and Type-C, a reversible twenty-four-pin connector that can be inserted either way up.

Display and audio ports

PortPinsCarries
VGA15, in three rowsAnalogue video only; the connector is usually blue
DVI24 in the digital formDigital video; the connector is usually white
HDMI19 in the standard Type-A formDigital video and audio together, in one cable
DisplayPort20Digital video and audio, used mostly on computer monitors
3.5 mm audio jackThree contacts in the stereo formAnalogue audio; green for output, pink for the microphone, blue for line in

Network ports and the cables behind them

The RJ-45 connector, properly called 8P8C because it has eight positions and eight contacts, is the plug at the end of an Ethernet cable and fits the network port of a computer. The RJ-11 connector is smaller, carries four or six contacts and is used for telephone and older modem lines. Mistaking one for the other is the commonest error in this part of the syllabus.

  • Twisted pair cable has pairs of insulated copper wires twisted around each other to cancel interference. Unshielded twisted pair, or UTP, is the cheap and flexible form used in most local area networks; shielded twisted pair, or STP, adds a metal foil or braid and therefore resists electromagnetic interference better, at a higher cost. The grades are known as categories: Cat 5e, Cat 6 and Cat 6a, each carrying more bandwidth than the last, and an Ethernet segment on twisted pair is limited to about a hundred metres.
  • Coaxial cable has a central copper conductor, an insulating layer, a braided metal shield and an outer jacket. It resists interference better than unshielded twisted pair and was once used for networks and still for television; its usual connector is the BNC.
  • Optical fibre carries data as pulses of light through a glass or plastic core by total internal reflection. It offers the highest bandwidth and the longest distance, and because it carries light and not electricity it is completely immune to electromagnetic interference and very hard to tap. Single-mode fibre has a narrow core and goes further; multi-mode fibre has a wider core and is used over shorter distances. The common connectors are SC, ST and LC.

Internal and storage interfaces

Inside the cabinet, the hard disk and the optical drive are connected by their own interfaces. The older IDE or PATA interface used a wide forty-pin ribbon cable. SATA, which replaced it, uses a thin seven-pin data cable and a separate fifteen-pin power connector, and its external version is called eSATA. FireWire, formally IEEE 1394, was a fast port used for digital video cameras. It is worth remembering the difference between a port and a slot: a port is on the outside of the cabinet for a peripheral, while a slot such as PCI Express is on the motherboard inside and takes an expansion card.

Exam Point of View

The questions are short and factual. Expect the number of pins or contacts, where RJ-45 with eight and VGA with fifteen are the favourites. Expect full forms: USB, HDMI, VGA, UTP, STP and BNC. Expect a comparison, most often UTP against STP for interference, or optical fibre against copper for bandwidth and immunity. Expect the colour codes of the PS/2 ports and of the audio jacks. Expect a which-replaced-which question, such as SATA for IDE or USB for the serial and PS/2 ports. The standing traps are to swap RJ-45 with RJ-11, to say that VGA carries audio, and to call a PCI Express slot a port.

Important Facts

USB full formUniversal Serial Bus; standard first released in 1996
Devices on one USB host controllerUp to 127, using hubs
USB 2.0 speed480 megabits per second
USB 3.0 speed5 gigabits per second; the connector is usually blue
RJ-45Eight contacts, used for Ethernet networking
RJ-11The smaller connector used for telephone and modem lines
VGA portFifteen pins; analogue video only
HDMIHigh-Definition Multimedia Interface; digital video and audio in one cable
PS/2 portSix-pin mini-DIN; purple for keyboard, green for mouse
Serial portRS-232 standard, nine-pin DB-9 connector, called COM
Parallel portTwenty-five-pin DB-25 connector, called LPT, used for printers
Connector for coaxial cableBNC
Optical fibre connectorsSC, ST and LC
SATA data cableSeven pins, with a separate fifteen-pin power connector; replaced the forty-pin IDE ribbon

Practice MCQs on this topic

Q2.Computer AwarenessEasy

What is the full form of USB?

  1. A.Universal Serial Bus
  2. B.Universal System Bus
  3. C.Unified Serial Bus
  4. D.Universal Storage Bus
Show answer
Correct answer: A. Universal Serial Bus

The standard first appeared in 1996 and was meant to replace the many different ports of an older computer with one socket for every kind of peripheral.

Q5.Computer AwarenessAsked in: RRB JE · 22 Apr 2025, Shift 2Medium

Which of the following is NOT true about Unshielded Twisted Pair (UTP) cables?

  1. A.They have a higher resistance to EMI than STP cables.
  2. B.They are commonly used in local area networks (LANs).
  3. C.They are lighter and more flexible than STP cables.
  4. D.They are cost-effective for short-distance communication.
Show answer
Correct answer: A. They have a higher resistance to EMI than STP cables.

Unshielded twisted pair cable has no metal foil or braid around its pairs, so it resists electromagnetic interference less well than shielded twisted pair, not better; the only protection it has is the twisting of each pair, which cancels much of the noise picked up by the two wires.

Q10.Computer AwarenessMedium

The RJ-11 connector is normally used for which purpose?

  1. A.Connecting a computer to an Ethernet network
  2. B.Connecting a telephone or a dial-up modem line
  3. C.Connecting a monitor to the computer
  4. D.Connecting a hard disk inside the cabinet
Show answer
Correct answer: B. Connecting a telephone or a dial-up modem line

The RJ-11 is the small modular connector at the end of a telephone cord, with four or six positions and usually two or four contacts, and it was also used to join a dial-up or ADSL modem to the telephone line.

Q11.Computer AwarenessHard

The BNC connector is used with which type of cable?

  1. A.Twisted pair cable
  2. B.Coaxial cable
  3. C.Optical fibre cable
  4. D.SATA data cable
Show answer
Correct answer: B. Coaxial cable

The BNC connector is the bayonet-fitting plug that is pushed on and given a quarter turn to lock, and it terminates a coaxial cable, the cable with a central copper conductor, an insulating layer, a braided metal shield and an outer jacket.

Frequently Asked Questions

What is the difference between a port and a connector?

A port is the socket built into the computer, such as the USB or HDMI socket on its side or back. A connector is the plug at the end of a cable that fits into that port, such as a Type-A USB plug or an RJ-45 plug. The cable in between is the medium that carries the signal.

What is the difference between UTP and STP cable?

Both are twisted pair cables of copper wire. Unshielded twisted pair has no metal shield, so it is cheaper, lighter and more flexible, and is used in most local area networks. Shielded twisted pair adds a foil or braided shield around the pairs, which gives better protection against electromagnetic interference but makes the cable costlier and stiffer.

Which cable is immune to electromagnetic interference?

Optical fibre, because it carries data as pulses of light through a glass or plastic core instead of electric current through copper. Having no electrical signal, it is unaffected by electromagnetic interference, suffers less signal loss over distance and is very difficult to tap, which is why it is used for long-distance and backbone links.

How many devices can be connected to a single USB host controller?

Up to 127 devices, using hubs to branch out from the port. USB is also hot-swappable, which means a device can be plugged in or removed while the computer is running, and plug and play, which means the operating system recognises and configures the device without the user installing drivers by hand in most cases.

Which port carries both video and audio in one cable?

HDMI, the High-Definition Multimedia Interface, carries digital video and digital audio together in a single cable, which is why it is used for televisions, monitors and projectors. DisplayPort does the same on computer monitors. A VGA port carries analogue video only, so a separate audio cable is needed with it.

Sources

View all