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

Q1.Computer AwarenessEasy

How many contacts does the RJ-45 connector used for Ethernet networking have?

  1. A.4
  2. B.6
  3. C.8
  4. D.15
Show answer
Correct answer: C. 8

Explanation

The correct answer is C, eight. The RJ-45 connector is properly called 8P8C, meaning eight positions and eight contacts, and it is crimped on to the four twisted pairs of a network cable, one contact for each of the eight wires. It is the plug that fits the Ethernet port of a computer, a switch or a router. Option A is wrong because four contacts belong to the smaller RJ-11 telephone connector in its usual form. Option B is wrong because six positions also describe the RJ-11 housing, and the PS/2 mini-DIN socket has six pins, so six is the standard distractor here. Option D is wrong because fifteen is the number of pins on a VGA display connector, which has three rows of five and has nothing to do with networking.

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

Explanation

The correct answer is 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. It is called serial because it sends one bit at a time, universal because the same port serves a keyboard, a printer, a camera or a storage device, and a bus because many devices share the one path, up to a hundred and twenty-seven of them through hubs. Option B is wrong because the middle word is serial, not system, and a system bus is the internal path between the processor and memory, a different idea altogether. Option C is wrong because the first word is universal, not unified. Option D is wrong because USB is not limited to storage, even though pen drives are its commonest use.

Q3.Computer AwarenessMedium

How many pins does a standard VGA connector have?

  1. A.9
  2. B.15
  3. C.19
  4. D.25
Show answer
Correct answer: B. 15

Explanation

The correct answer is B, fifteen. The Video Graphics Array connector is a D-shaped plug with fifteen pins in three rows of five, usually coloured blue, and it carries an analogue video signal only, so a separate cable is needed for sound. Option A is wrong because nine pins belong to the DB-9 serial connector of the RS-232 standard, known to the operating system as the COM port. Option C is wrong because nineteen pins belong to the standard Type-A HDMI connector, which carries digital video and audio together; mixing up the fifteen of VGA with the nineteen of HDMI is the usual mistake in this question. Option D is wrong because twenty-five pins belong to the DB-25 parallel or LPT connector, which was used for printers on older computers.

Q4.Computer AwarenessEasy

Which of the following ports carries digital video and audio together in a single cable?

  1. A.VGA
  2. B.PS/2
  3. C.HDMI
  4. D.Serial port
Show answer
Correct answer: C. HDMI

Explanation

The correct answer is C, HDMI. The High-Definition Multimedia Interface carries high-definition digital video and multi-channel digital audio in the same cable, which is why one HDMI lead is enough to join a computer to a television or a projector. Option A is wrong because the Video Graphics Array port carries an analogue video signal only and needs a separate audio cable, a difference that is asked again and again. Option B is wrong because the PS/2 port is a six-pin socket for a keyboard or a mouse and carries no video or audio at all. Option D is wrong because the serial port sends one bit at a time at low speed and was used for modems and instruments, not for display. DisplayPort is the other port that carries both video and audio, chiefly on computer monitors.

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.

Explanation

The correct answer is A, because that statement is the false one. 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. Option B is a true statement, since UTP is the cable of almost every office and home local area network, in grades such as Cat 5e and Cat 6. Option C is also true: without the shield the cable is thinner, lighter and easier to bend around corners, which is one reason installers prefer it. Option D is true as well, because UTP is cheap to buy and to terminate and performs well over the hundred-metre segment that Ethernet allows.

Q6.Computer AwarenessMedium

In the colour code of PS/2 ports, the purple socket is meant for which device?

  1. A.Mouse
  2. B.Keyboard
  3. C.Printer
  4. D.Microphone
Show answer
Correct answer: B. Keyboard

Explanation

The correct answer is B, the keyboard. A computer with PS/2 ports has two six-pin mini-DIN sockets that are identical in shape, so they are distinguished by colour: purple for the keyboard and green for the mouse. Plugging the devices into the wrong sockets leaves them unrecognised, which is why the colour code was introduced at all. Option A is wrong because the mouse socket is the green one, and this swap is exactly what the question tests. Option C is wrong because a printer was connected through the twenty-five-pin parallel or LPT port, and is connected through USB today; it never used a PS/2 socket. Option D is wrong because a microphone goes into the pink 3.5 millimetre audio jack, while green among the audio jacks means the speaker or line output, a second colour code worth learning separately.

Q7.Computer AwarenessMedium

The parallel port of a personal computer, used mainly for printers, is also known as the

  1. A.COM port
  2. B.LPT port
  3. C.PS/2 port
  4. D.AGP port
Show answer
Correct answer: B. LPT port

Explanation

The correct answer is B, the LPT port. LPT stands for line print terminal, the name by which the operating system knew the parallel port, which used a twenty-five-pin DB-25 connector on the computer and a thirty-six-pin Centronics connector at the printer end. Being parallel, it sent eight bits at once over separate wires, which made it faster than a serial port over a short distance. Option A is wrong because COM, short for communication, was the name of the serial port, which used the nine-pin DB-9 connector and sent one bit at a time. Option C is wrong because the PS/2 port is the six-pin socket for keyboard and mouse. Option D is wrong because the Accelerated Graphics Port was an internal expansion slot for a graphics card on the motherboard, not an external port at all.

Q8.Computer AwarenessHard

What is the maximum data transfer speed of USB 2.0?

  1. A.12 megabits per second
  2. B.480 megabits per second
  3. C.5 gigabits per second
  4. D.10 gigabits per second
Show answer
Correct answer: B. 480 megabits per second

Explanation

The correct answer is B, 480 megabits per second, the speed known as high speed in the USB 2.0 specification. Option A is wrong because twelve megabits per second was the full-speed rate of USB 1.1, forty times slower, with a low-speed mode of one and a half megabits per second for devices such as a mouse. Option C is wrong because five gigabits per second is the SuperSpeed rate of USB 3.0, whose connector is usually coloured blue so that it can be told apart from a 2.0 socket. Option D is wrong because ten gigabits per second belongs to the generation after USB 3.0. The figures to carry into the examination hall are therefore twelve for 1.1, four hundred and eighty for 2.0 and five thousand, that is five gigabits, for 3.0.

Q9.Computer AwarenessEasy

Which transmission medium is completely immune to electromagnetic interference?

  1. A.Unshielded twisted pair
  2. B.Shielded twisted pair
  3. C.Coaxial cable
  4. D.Optical fibre cable
Show answer
Correct answer: D. Optical fibre cable

Explanation

The correct answer is D, optical fibre cable. Fibre carries data as pulses of light travelling through a glass or plastic core by total internal reflection, and since no electric current flows in it, an external electromagnetic field cannot induce noise in the signal. That is also why fibre offers the highest bandwidth, loses least signal over distance and is very hard to tap without being detected. Option A is wrong because unshielded twisted pair relies only on the twisting of its pairs to cancel noise and is the most vulnerable of the four. Option B is wrong because the foil or braid of shielded twisted pair reduces interference but does not remove it. Option C is wrong because the braided shield of coaxial cable likewise reduces interference without making the cable immune, as the signal is still electrical.

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

Explanation

The correct answer is B, a telephone or 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. Option A is wrong because Ethernet uses the wider RJ-45 connector with eight contacts; an RJ-11 plug will not hold in an RJ-45 port, and confusing the two is the commonest mistake in this part of the syllabus. Option C is wrong because a monitor is connected through VGA, DVI, HDMI or DisplayPort. Option D is wrong because a hard disk inside the cabinet is connected by a SATA data cable of seven pins, or by the older forty-pin IDE ribbon cable, neither of which uses a modular telephone connector.

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

Explanation

The correct answer is 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. It is seen on older network cabling, on television and on test instruments. Option A is wrong because twisted pair cable ends in the modular RJ-45 connector for Ethernet or RJ-11 for telephone lines. Option C is wrong because optical fibre uses SC, ST and LC connectors, which align the fibre core precisely so that light passes across the joint. Option D is wrong because a SATA data cable has its own flat seven-pin keyed connector that plugs into the drive and the motherboard, and is used only inside the cabinet.

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