UPI Study › Courses › Introduction to Operating Systems › Free lessons › Lesson 1.3 Free with a free account
Kinds of Operating Systems
Introduction to Operating Systems · Chapter 1: Operating System FoundationsSection 1.3 · lesson 3 of 838 min · free with a free account
Free preview
Create a free account to keep watching
It takes a minute and costs nothing. Your free account unlocks all of Chapter 1 and 3 more lessons of Introduction to Operating Systems.
Lesson complete
Earn the 3 college credits for Introduction to Operating Systems
Enrolling adds a quiz after each lesson, the graded work and the official transcript. Recommended for credit by NCCRS.
Next lesson: Layers and Kernels →← Software BasicsNext lesson: Layers and Kernels →
A free account plays all of Chapter 1 and 3 more lessons of Introduction to Operating Systems. Create a free account →
In this lesson
Batch, time-sharing, real-time, embedded, and distributed systems compared.
- Compare batch processing with time-sharing using job completion times
- Explain why real-time means predictable deadlines rather than raw speed
- Describe embedded and distributed systems with everyday examples
- Classify a machine into one or more operating system categories
Free study notes
Get this lesson's notes by email
The key points and 4 practice questions with answers, in your inbox. One email, free.
One email. Unsubscribe in one click.
Transcript
Everything said in the video, section by section (1,058 words). Read along, or search it.
Opening Question
From Airbags to Laptops
The computer in a car that decides when to fire the airbag runs an operating system. So does the phone in your pocket, the server behind a bakery's web page, and the laptop on your desk. But you'd never want the airbag computer to stop and think about it for a few seconds, the way a laptop sometimes does. Different jobs need different kinds of operating systems. Here's a map of them.
Analogy
One Oven, Three Orders
Start with one oven in a busy bakery, and three orders waiting. The baker could finish the whole first order, then the whole second, then the third. Or the baker could put a bit of each order in the oven, in turn. Both plans use the oven for the same total time. But they feel very different to the customers.
Two Approaches
Batch Systems Versus Time-Sharing
The first plan is how early computers worked. A batch system collects jobs into a group, a batch, and runs each one from start to finish, with nobody at the keyboard. It makes good use of an expensive machine, but it answers slowly: you hand in a job, and come back later. The second plan is a time-sharing system. The processor gives each job a very short turn, then moves to the next, around and around. Many people can use the machine at once, and each one feels it's theirs. Modern laptops and phones work this way.
Worked Example
Three Jobs Under Each Plan
Here are real numbers. Three jobs, A, B, and C, need four, two, and three units of processor time. In batch, A runs from zero to four, B from four to six, and C from six to nine. With time-sharing, one unit each in turn, the jobs rotate until each is done. Now B finishes at five instead of six, and every job gets its first turn within two units. But A finishes at nine, not four. Sharing slows the long job a little. That's the trade.
Key Benefit
Responsiveness for Interactive Users
What time-sharing buys is responsiveness: the quick feeling that the machine answers you. That's why every interactive computer works this way. Chapter 2 works out how the turns are really chosen.
Definition
Finishing Within a Fixed Deadline
Some systems are judged not on how much they do, but on whether they act on time. A real-time operating system, or RTOS, guarantees that a task finishes within a fixed deadline. If it misses that deadline, the result is wrong, even if the answer itself is right.
Quick Check
Two Brake Controllers Compared
Quick check. Two brake controllers are tested on ten thousand stops. Controller X usually answers in one millisecond, but now and then it takes two whole seconds. Controller Y answers in exactly twenty milliseconds, every single time. Which one can be a real-time system? Pause, and decide. Y only. Real-time means predictable: Y meets its deadline every single time, even though it's slower on average. X is the tempting pick, because it's usually faster. But a brake that sometimes waits two seconds has missed its deadline, and a late answer is a wrong answer. So real-time doesn't mean very fast. It means always on time.
Embedded Systems
Computers Hidden Inside Devices
An embedded system is a computer hidden inside a device: a microwave, a thermostat, a router, a car. It does one job, often with little memory, and it usually has no keyboard or desktop. Many embedded systems use an RTOS. Many others use a trimmed-down general OS, such as Linux. And the two ideas often overlap. The airbag controller is embedded, and hard real-time.
Distributed Systems
One Service Across Many Machines
A distributed system spreads one job across several computers linked by a network. To the user, it looks like one service. Take Sam, who runs a small online bakery. When a customer opens his shop's web page, one machine may serve the page, another the pictures, and a third the payments. Each machine has its own OS, and software on top makes them cooperate. Chapter 8 says more about network operating systems.
Where They Run
Desktop, Server, and Mobile Systems
Three more you already use. A desktop operating system, like Windows, macOS, or a Linux desktop, serves one person at a time, with windows, a mouse, and many general programs. A server operating system is built to stay up for months, serve many users over a network, and be managed without a screen. Linux is very common there, and Windows has server editions. And a mobile operating system runs phones and tablets. Android and iOS are the best known, and lesson 1.6 covers them.
Decision Guide
Questions That Place a Machine
To place a new machine, ask a few questions. Must it never miss a deadline? Then it's real-time. Is it a computer hidden inside a device, doing one job? Then it's embedded. Does it spread one service across many machines? Then it's distributed. Are people waiting at a screen for quick answers? Then it's time-sharing. If nobody's waiting, the jobs can be queued, and run as a batch. Many machines answer yes more than once. A phone, for example, is a mobile system that also uses time-sharing.
Quick Check
A Traffic-Light Controller
One more check. A traffic-light controller sits in a metal cabinet at one street crossing. It runs nothing but the lights, and it must switch them on schedule, with cars moving through. Which pair of categories fits it best? Pause, and decide. Embedded and real-time. It's a computer hidden in a cabinet, doing one job, so it's embedded. And lights that change late could cause a crash, so it must meet its deadlines. Distributed doesn't fit: it's one machine, not many. And nobody sits at it waiting for answers, so time-sharing for people isn't the point.
Real Example
Three Systems in One School
Ivy, who looks after the computers at a school, runs three kinds: lab desktops for the pupils, a Linux server that stores their files, and the hidden computer inside a classroom projector. Same word, three different operating systems, she says. The projector has no mouse, and the server has no screen at all. Nothing is wrong with either.
Key Takeaways
Categories Often Overlap
To recap. Batch runs whole jobs one after another. Time-sharing gives quick turns, so everyone gets fast answers. Real-time means always on time, not just fast. Embedded systems hide inside devices, and distributed systems make many machines look like one. And desktop, server, and mobile say where a system runs. Many systems fit more than one category.
Try It
Categorizing Five Everyday Machines
Here's something to try. Pick five machines you meet in a day: a phone, a TV, a microwave, a car, a school computer. Write down which categories fit each one. Then circle the one that must never miss a deadline.
About Introduction to Operating Systems at UPI Study
Introduction to Operating Systems (Computer Science 354) is a self-paced online course of 83 video lessons in 10 chapters, from what an operating system does and process scheduling to concurrency, memory, devices, file systems, networks, the internet, security and virtual machines. It carries a NCCRS credit recommendation for 3 semester credits.
Every lesson transcript is free on pages like this one, and the videos are free with a free UPI Study account. Enrolling adds a practice quiz after each lesson, the graded work and final exam that earn the credit, lifetime access, and an official transcript on completion. UPI Study has helped over 130,000 students with college credits. ACE and NCCRS have over 2,100 cooperating colleges that will consider accepting credits; the final decision is with the universities.
Enroll now → Course details Download the syllabus All Computer Science courses Every course with PRO →
Compare: Linux vs Operating Systems
Why take it here
Why students take Introduction to Operating Systems with UPI Study
Where the credit goes
Universities that work with NCCRS
Introduction to Operating Systems carries a NCCRS credit recommendation. These universities work with NCCRS; some are UPI Study's signed partners. ACE and NCCRS have over 2,100 cooperating colleges that will consider accepting credits; the final decision is with the universities.
Thomas Edison State UniversitySigned partner
University of the PeopleSigned partner
Charter Oak State CollegeSigned partner
Strayer UniversitySigned partner
Columbia Southern UniversitySigned partner
Indiana TechSigned partner
Penn StateWorks with NCCRS
Southern New Hampshire UniversityWorks with NCCRS
SUNYWorks with NCCRS
+many more cooperating universitiesFind my college →Find my college → Not listed? Ask Athena in the corner of this page, or book a 15-minute call.
FAQ
Questions students ask us
About Kinds of Operating Systems
What is the difference between a batch system and a time-sharing system?
Does a real-time operating system mean a very fast one?
What is an embedded system?
What is a distributed system?
About the Introduction to Operating Systems course
How many college credits is Introduction to Operating Systems?
How much does Introduction to Operating Systems cost and what is included?
Which universities accept UPI Study credits?
How long does Introduction to Operating Systems take?
How are the exams done?
How do my credits reach my college?
Ready for the full course? Earn 3 credits in Introduction to Operating Systems.
83 video lessons, a quiz after each one, and the graded work that earns the credit. Recommended for credit by NCCRS.
Updated
3 credits · NCCRSEnroll →