HelpContactFor teachers and institutes
>_StemPy Lab
Mock TestsClasses

>_StemPy Lab

Learn. Solve. Code the solutions. Test yourself.

Live examsFree mock exams, timed and rankedEveryone starts together, and your score and rank come the moment it ends.See the exams →

Learn

  • Physics
  • Chemistry
  • Mathematics
  • Biology
  • Python Programming
  • Statistics & Data Science
  • Computer Science
  • Classes
  • Groups

Practice

  • Problems
  • Quizzes
  • Mock Tests
  • Prepare for an Exam
  • Question Sets
  • Exams
  • Certificates
  • Python Labs
  • AI Practice Generator
  • Student-Created Tests

Community

  • Discussions
  • Resources
  • Notes
  • Glossary
  • Blog

Account

  • Log in
© 2026 senLearn. All rights reserved.HelpFor SchoolsAboutContactPrivacy PolicyTerms of UseRefund Policy
Packets and Methods of Data Transmission
  1. 1Packets and packet switching
  2. 2Serial and parallel, simplex and duplex
  3. 3The universal serial bus (USB)
  1. Computer Science
  2. /Packets and Methods of Data Transmission
  3. /The universal serial bus (USB)

Course 2.1·Lesson 3 of 3

The universal serial bus (USB)

The universal serial bus (USB) is the connection on most computers, phones and chargers. This lesson explains how USB sends data serially, what happens when a device is plugged in, and the benefits and drawbacks you need to give in the exam.

about 25 min1 simulation1 practice question
Lesson 3 of 3Show all lessonsHide
Packets and Methods of Data Transmission
  1. 1Packets and packet switching
  2. 2Serial and parallel, simplex and duplex
  3. 3The universal serial bus (USB)

Try the code and the simulations beside the lesson.

A port for almost everything

Look at a computer, a charger or a games console. You will almost certainly find a small rectangular or oval socket. That is a USB port. USB stands for universal serial bus, and each word tells you something.

  • Universal: it is one standard, so the same kind of socket works with keyboards, mice, printers, memory sticks, phones and cameras.
  • Serial: the data goes one bit at a time, as in serial transmission from the last lesson.
  • Bus: it is a shared path that carries data between the computer and the device.

What happens when you plug in a device

  1. The computer detects that a device has been connected.
  2. The device tells the computer what kind of device it is.
  3. The computer looks for the right driver: the small program that lets it control that kind of device. If it already has the driver, it loads it at once.
  4. If it has no driver, the computer searches for one before the device can be used.
  5. The device is ready. Data now passes along the cable serially.

This automatic detection is one of the main benefits of USB. You do not have to set the device up by hand.

Benefits and drawbacks

Benefits of USB.

  • Devices are detected automatically, and the right driver is loaded or searched for.
  • It is an industry standard, so many different devices use the same connection.
  • The cable can supply power to the device, so a keyboard needs no plug of its own and a phone can charge.
  • Newer ports still work with older devices (it is backward compatible).
  • Because the data is serial, there is no skew, so the cable can be thin and cheap.

Drawbacks of USB.

  • The cable length is limited, to about five metres for a standard cable.
  • Older versions transfer data much more slowly than newer ones.
  • Some other connections are faster, so USB may not suit every task that moves very large amounts of data.

When an exam question gives a scenario, link the benefit to it. For example, a school wants staff to plug in their own keyboards: automatic detection and the standard connector mean anyone can do it without help.

The rates in the simulation are examples. Real cables differ, and the exam does not ask you to remember a rate.

Practise with new numbers

Try it in Python

The program is a model of plugging in three devices. For each one it shows detection and then looks up a driver. At the end it works out the ideal time to copy a file over a serial cable.

Read it first. Then run it. Which device has no driver yet?

1. Add "drawing tablet": "tablet driver" to known_drivers. Run it again. What changes?

2. Halve the rate in Step 4. Predict the new time first.

Common mistakes

  • Saying USB is parallel. The S in USB stands for serial.
  • Saying the device needs setting up by hand. USB devices are detected automatically.
  • Forgetting power. A USB cable can power a device as well as carry its data.
  • Giving a benefit with no link to the scenario. Say why the benefit matters for the task in the question.

Remember these

  • USB means universal serial bus: one standard connection that sends data serially.
  • When a device is plugged in, it is detected and its driver is loaded or searched for.
  • Benefits: automatic detection, industry standard, power supply, backward compatible.
  • Drawbacks: limited cable length, older versions are slow.

Check yourself

Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.

  1. The name universal serial bus has three words. What does the word universal tell you?
  1. Does USB send data serially or in parallel?
  1. A device is plugged into a USB port. What does the computer do first?
  1. Give one drawback of USB.
  1. A café wants customers to charge their phones from sockets in the tables. Which benefit of USB matters most here?

Enroll free in Packets and Methods of Data Transmission

Every lesson is open to read. Enrolling also lets you:

  • Mark lessons done and carry on where you stopped.
  • Take the tests of this lesson and its course.
  • Count the course towards the certificate for its chapter.
No payment. You can leave at any time.

Problems (2)

Tomás copies a video of 90 million bytes from a camera to a laptop with a USB cable…Easy · High School (9–10) · by StemPy Lab
A museum photographer has 1200 photos on a camera, each of 4 million bytes…Medium · High School (9–10) · by StemPy Lab

Question Sets (1)

That was the last lessonBack to the course: take the test
← Packets and Methods of Data Transmission
← Serial and parallel, simplex and duplexNext →

Discussion (0)

Log in to join the discussion.

Loading…

1 Python program
5 questions to check yourself

This lesson is free to read. Enroll free to keep your place and take the tests.

Packets and Transmission: Check Your Understanding10 questions · by StemPy Lab

Notes (1)

Packets and Data Transmission: Quick RevisionNote · by StemPy Lab