Quiz: Introduction to Operating Systems and UNIX History
Test your understanding of UNIX history, Linux origins, and the philosophy that shaped modern computing.
1. What is the primary function of an operating system?
- To display graphics on the screen
- To manage hardware resources and provide services for programs
- To connect to the internet
- To store user passwords
Show Answer
The correct answer is B. An operating system manages hardware resources (CPU, memory, storage) and provides services for running programs. It acts as an intermediary between applications and hardware, handling memory management, file systems, process scheduling, and hardware communication.
Concept Tested: Operating System
2. Where was UNIX originally developed in 1969?
- MIT
- Stanford University
- Bell Labs
- IBM Research
Show Answer
The correct answer is C. UNIX was developed at Bell Labs in Murray Hill, New Jersey by Ken Thompson and Dennis Ritchie. Bell Labs was a legendary research facility that also invented transistors, lasers, and information theory.
Concept Tested: Bell Labs, UNIX History
3. Who created the C programming language that UNIX was rewritten in?
- Linus Torvalds
- Richard Stallman
- Ken Thompson
- Dennis Ritchie
Show Answer
The correct answer is D. Dennis Ritchie created the C programming language between 1969-1973. UNIX was rewritten in C, making it the first operating system written in a high-level language, which enabled its portability to different hardware platforms.
Concept Tested: Dennis Ritchie, C Programming Language
4. Which principle is central to the UNIX philosophy?
- Create large programs that do everything
- Do one thing and do it well
- Avoid using text files
- Never combine programs together
Show Answer
The correct answer is B. The UNIX philosophy emphasizes creating small, modular tools that each do one thing well. These tools can then be combined using pipes to accomplish complex tasks. This approach leads to simpler, more maintainable code.
Concept Tested: UNIX Philosophy, Small Modular Tools
5. What does "portability" mean in the context of UNIX?
- The ability to carry a laptop
- The ability to run on different hardware platforms
- The ability to connect USB devices
- The ability to transfer files wirelessly
Show Answer
The correct answer is B. Portability refers to the ability of UNIX to run on different hardware platforms. Because UNIX was written in C (a high-level language) rather than assembly language, it could be compiled for different processor architectures, allowing it to spread across many types of computers.
Concept Tested: Portability
6. Who started the GNU Project to create a free UNIX-like operating system?
- Linus Torvalds
- Ken Thompson
- Richard Stallman
- Dennis Ritchie
Show Answer
The correct answer is C. Richard Stallman started the GNU Project in 1983 with the goal of creating a complete free software operating system. GNU stands for "GNU's Not Unix" - a recursive acronym. The project created many essential tools but needed a kernel, which Linux later provided.
Concept Tested: GNU Project, Richard Stallman
7. What motivated Linus Torvalds to create the Linux kernel in 1991?
- He wanted to start a company
- He wanted a free UNIX-like system for his PC
- He was hired by Bell Labs
- He needed it for a video game
Show Answer
The correct answer is B. Linus Torvalds was a Finnish university student who wanted a UNIX-like operating system for his personal PC but couldn't afford commercial options. He started Linux as a hobby project and famously announced it on a newsgroup, saying it was "just a hobby, won't be big and professional."
Concept Tested: Linus Torvalds, Linux Kernel
8. What is the relationship between GNU and Linux?
- They are competing operating systems
- GNU provides tools and Linux provides the kernel
- Linux is older than GNU
- They have no connection to each other
Show Answer
The correct answer is B. GNU provides essential tools and utilities (like the compiler, shell, and core utilities), while Linux provides the kernel that manages hardware. Together they form a complete operating system, which is why some prefer to call it "GNU/Linux."
Concept Tested: GNU Project, Linux Kernel, Open Source
9. Which Linux distribution is known as the "universal operating system" and serves as the base for Ubuntu?
- Red Hat
- Fedora
- Debian
- Arch Linux
Show Answer
The correct answer is C. Debian is known as the "universal operating system" and is one of the oldest and most influential Linux distributions. Ubuntu, one of the most popular desktop Linux distributions, is based on Debian and inherits its package management system (apt).
Concept Tested: Debian, Linux Distributions
10. What does POSIX stand for and why is it important?
- Personal Operating System Interface eXtension - for gaming
- Portable Operating System Interface - for compatibility across UNIX-like systems
- Programming Open Source Interface eXchange - for sharing code
- Professional Operating System Installation eXpert - for system setup
Show Answer
The correct answer is B. POSIX (Portable Operating System Interface) is a family of standards that define how UNIX-like operating systems should behave. This ensures that software written for one POSIX-compliant system can run on others with minimal changes, enabling software portability across Linux, macOS, BSD, and other UNIX-like systems.
Concept Tested: POSIX Standards
See: Chapter 1 - POSIX