UPI Study › Courses › Introduction to Operating Systems › Free lessons › Lesson 1.2 Free with a free account
Software Basics
Introduction to Operating Systems · Chapter 1: Operating System FoundationsSection 1.2 · lesson 2 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: Kinds of Operating Systems →← What an Operating System DoesNext lesson: Kinds of Operating Systems →
A free account plays all of Chapter 1 and 3 more lessons of Introduction to Operating Systems. Create a free account →
In this lesson
Programs, data, system software, firmware, drivers, and how code runs.
- Distinguish a program from the data it works on
- Classify software as application software or system software by whom it serves
- Explain what firmware and device drivers do and where each one lives
- Compare how a compiler and an interpreter turn source code into machine code
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,091 words). Read along, or search it.
Opening Question
Same Laptop, New Instructions
Sam's laptop is the same metal and plastic it was last year. Yet today it runs his bakery's order system, tomorrow it plays a video, and next week it might do something nobody has invented yet. What changed? Not the parts you can touch. Only the instructions it was given. Those instructions are software, and they turn a box of electronics into something useful.
Analogy
Software as a Recipe Card
Think of a recipe card for banana muffins. The card isn't food. It's a list of steps that, when someone follows them, produce food. Software is the computer's recipe card: a set of instructions that tells the hardware what to do. The cook who follows the steps is the processor. One complete set of instructions for one job is called a program. And data is the information a program works on, its ingredients, like Sam's list of orders.
Example
A One-Line Program Run by Bash
A program doesn't have to look mysterious. It can be a plain text file. Here's a file named hello dot s h, holding a single line: echo, Welcome to the bakery shop. Bash, a program that reads and carries out commands, opens the file and follows it, and the words appear on the screen. So two pieces of software are at work: the tiny program in the file, and Bash, the bigger program that knows how to run it.
Two Families
Application Software and System Software
Software splits into two big families, according to who it serves. Application software, or apps, helps a person do something they care about: write a letter, edit photos, track orders. System software serves the computer itself. It runs the hardware, and gives apps a place to run. The operating system is the most important system software. It comes with helper tools, like file managers, disk checkers, and security programs.
Rule of Thumb
Who Does It Mostly Serve
A handy test: if you open it on purpose to get something done, it's probably an app. If it keeps the machine running, it's probably system software. The line isn't always sharp. A file manager is system software you use directly, and a browser is an app that behaves almost like a small operating system. So ask one question: who does this mostly serve? You'll be right nearly every time.
Quick Check
Picking the Application on School Laptops
Quick check. Ivy's school laptops come with three new programs: a disk-cleanup utility, a video-call program, and a driver for the Wi-Fi card. Which one is application software? Pause, and decide. The video-call program. A teacher opens it on purpose, to talk to a class. It serves the person. The cleanup utility is the tempting one, since people open it too. But its whole job is keeping the disk in shape, so it serves the machine. And the driver serves the hardware. You'll meet drivers properly in a minute.
Common Mistake
Programs Are Not Data
One common mistake: believing software and data are the same thing. A program is a set of steps, and data is what it works on. The same spreadsheet program can open Sam's orders today, and his budget tomorrow. And deleting a data file doesn't delete the program.
Definition
Firmware Stored on the Device
Now, where does the very first software come from? When you press the power button, there's nothing in memory yet. The computer needs instructions that are already there. They live in a chip on the motherboard, the main circuit board, and they stay put even with the power off. Software stored permanently on a hardware device is called firmware. Almost every gadget has some: a printer, a keyboard, a Wi-Fi router, even the controller in a memory stick. Lesson 1.9 shows how firmware starts the computer.
Device Drivers
Translators for Each Kind of Device
Then there's the problem of variety. Hundreds of companies make printers, each with its own way of receiving instructions. The OS can't know every one. A device driver solves this: a small piece of system software, written for one kind of device. It translates the OS's general request, like print this page, into the exact signals that one device understands.
Real Example
A Label Printer Needs Its Driver
Sam met this when he bought a second-hand label printer for his bakery boxes. Windows didn't know it, and nothing printed. Ivy, who looks after the computers at a school, found the maker's driver and installed it, and the labels came out. The printer was fine, she said. The OS just didn't have the translator. Keep your drivers updated, and get them from the device maker or the OS's own updates. Drivers run with a lot of power, so one from a random website is a risk.
Translation
Source Code, Compilers, and Interpreters
Last, how does software reach the processor? People write programs in a language they can read, like Python or C. That text is called source code. The processor can't read it. It only understands machine code: long strings of ones and zeros. So source code is translated first. A compiler translates it all at once, the way C works. An interpreter translates it line by line, as it runs. That's how Bash and Python run scripts.
Installing Apps
Copying, Loading, and Updating Code
When you install an app, its machine code and files are copied onto your disk, and the OS keeps a record of it. When you start the app, the OS loads that code into memory, and the processor follows it. An update replaces some of those files with newer ones, usually to fix mistakes or close security holes.
Quick Check
A Smart TV Rewrites Its Code
One more check. Ivy's smart TV shows a message: the maker has an update that rewrites the code built into the TV itself. No computer is involved. The TV downloads it and restarts. What kind of software is being updated? Pause, and decide. Firmware. The code lives on the TV itself, built into the device, and it's being replaced. That's exactly what a firmware update is. A device driver is the tempting answer, but a driver lives on a computer, and translates for a gadget plugged into it. Here, there's no computer at all. Home Wi-Fi routers get firmware updates the same way, and many of them run a small Linux system inside.
Key Takeaways
Instructions, Data, and Their Translators
To recap. Software is instructions; a program is one complete set of them, and data is what it works on. Apps serve the person. System software, led by the operating system, serves the machine. Firmware lives on the device itself. A driver translates the OS's requests for one kind of device. And source code is translated into machine code, by a compiler or an interpreter, before the processor can run it.
Try It
Sorting Eight Programs by Type
Here's something to try. List eight programs you used this week, and mark each one A for app, or S for system. Then, for every app, ask which system software it needed in order to work. You'll find the operating system on every list.
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 Software Basics
What is the difference between application software and system software?
What is firmware and how is it different from a device driver?
What is the difference between a compiler and an interpreter?
Why should device drivers come only from trusted sources?
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 →