Class 10 · Chapter 1
92 questions with model answers.
Answer
From the book: "An operating system works like a traffic controller for the computer. It decides which task should be done first, how the computer's memory is used, and which devices (like a printer or speakers) should be active at a given time. In short, we can say that the OS makes sure the computer works smoothly even when multiple tasks are running at the same time."
Answer
From the book: "Computer hardware cannot understand human language directly. The operating system acts as a translator between the user and the hardware system." Example: "When you click an icon or type something, the OS changes those actions into instructions that the hardware can understand."
Answer
From the book: "In most modern OS like Windows, a new account can be created through the Settings or Control Panel by selecting User Accounts, choosing Add New User, and entering details like username, password, and account type(Standard, Administrative, Guest)."
Answer
Operating System (OS) is a type of system software that manages hardware, runs application software, and provides a user interface like Windows, macOS, Linux, Android, and iOS, along with their basic roles.
Answer
Answer
Standard, Administrative, Guest.
Answer
From the book: "When you press the letter A on a keyboard, the operating system converts it into a special binary code: The letter A in binary is (01000001)₂. This code is then sent to the computer screen, which displays A on the screen. This process happens so quickly that it feels instant to the user."
Answer
From the book: "In computer lab, students login with a username and password provided by the school. This keeps each student's work separate and private." Each account has "its own desktop, files, settings, and passwords."
Answer
From the book: "The kernel is the core part of the operating system, that directly controls the computer's system software and hardware such as the CPU, memory, and devices". "The shell is the outer part of the OS that interacts with the user". "It receives commands from the user and passes them to the kernel." The book's analogy: "Like Engine of a car is kernel and accessories like steering wheel, dashboard are shells."
Answer
From the book: "When a photo editing app needs to open an image, it uses the operating system's library to read the file. This way, the app does not have to create its own method to open pictures." Purpose: "System libraries are collections of ready-made instructions that programs can use to perform common tasks, such as opening files or showing text on the screen."
Answer
The architecture of an operating system is the way how its parts are organized and how they work together. Each part has a special role, and together they make the computer work smoothly, just like a school has different departments that perform specific duties but work together for the smooth working of the school.
Answer
The kernel is the core part of the operating system, that directly controls the computer's system software and hardware such as the CPU, memory, and devices. It decides how and when different programs can use these resources.
Answer
The shell is the outer part of the OS that interacts with the user. It receives commands from the user and passes them to the kernel. Shells can be: "Graphical shells (like Windows desktop) where you click icons and use menus." and "Command-line shells (like the Command Prompt or Terminal) are where you type instructions."
Answer
Answer
Device drivers are special programs that allow the operating system to communicate with hardware devices such as printers, keyboards, and graphics cards.
Answer
Each layer depends on the one below it. This design makes the operating system easier to manage, repair, and improve without changing the whole system.
Answer
From the book: "Advantages: Easy to understand and implement, as processes are served in the exact order they arrive. No process is skipped." "Disadvantages: Short processes may have to wait a long time if they are queued behind longer processes (known as the "convoy effect"), which can affect the overall efficiency of the system."
Answer
From the book: "Multitasking: The operating system allows more than one program to be open and usable by a single user at the same time. You can easily switch between them whenever you need." Example: "You can listen to music, keep a document open, and browse the internet, moving between them as needed."
Answer
From the book: "The operating system is responsible for managing all the programs that run on a computer. In this context, these running programs are called processes." Process management ensures that each process gets the resources it needs, even when multiple processes are active.
Answer
Creation, Execution, and Termination.
Answer
Creation happens when you start any program (like MS Word). The OS loads the program into memory and gives it the resources (like CPU time and memory) it needs.
Answer
Concurrency is when more than one process is active at the same time in an OS, but the CPU processes them one by one in extremely fast cycles. Example: Like a chef preparing three dishes, working on one for a short time, then moving to the next, and repeating, the CPU switches between processes so rapidly that the user does not notice any delay.
Answer
Since the CPU cannot run all processes at the same time, the operating system must decide which process should run first and how long each process should run. This process is called scheduling.
Answer
In the FCFS (First Come, First Served) method, the CPU processes tasks in the exact order they arrive. The first process to arrive is completed first, and the next process starts only after the previous one finishes.
Answer
From the book: virtual memory is "part of the computer's storage drive (like Hard drives, solid-state drives (SSD), or Non-Volatile Memory Express (NVMe))". "Storage drives operate at lower data transfer speeds and have higher access times as compared to RAM; that's why the use of virtual memory can result in reduced system performance."
Answer
Memory is a fundamental component of a computer system, used to store data and instructions required for processing. It ensures that the CPU can access information quickly during program execution.
Answer
Primary memory, also called Random Access Memory (RAM), is the main working area of a computer. It is a fast storage area where the computer keeps the data and instructions temporarily. Its data is erased when the computer is turned off.
Answer
When you open a Word document, the computer quickly places the program and the document into RAM so the CPU can work on them right away.
Answer
When the RAM is full, the operating system uses part of the computer's storage drive (like Hard drives, solid-state drives (SSD), or Non-Volatile Memory Express (NVMe)) as virtual memory. This extra space acts like temporary RAM, allowing more programs to run at the same time.
Answer
When several programs are open simultaneously, the operating system may transfer data from less active programs to virtual memory. This frees up space in RAM for the programs you are currently using, but may make those fewer active programs slower to respond.
Answer
A process is an independent program that is currently being executed by the computer. It has its own memory space CPU time, and other resources (such as files or network connections). Processes are isolated from one another to ensure stability and security; a problem in one process generally does not affect another.
Answer
A thread is the smallest unit of execution within a process. Multiple threads can exist inside a single process, each performing a different task. All threads in the same process share the same memory and resources, but operate independently.
Answer
The entire browser application is one process. Within this process, different threads are responsible for one thread loading and rendering a webpage, the second thread playing audio or video content, and another thread downloading files in the background. Using multiple threads, the browser can continue loading new content while playing a video, without making the user wait for one task to finish before starting another.
Answer
Multithreading is an operating system technique that allows a single process to perform multiple tasks at the same time by dividing its work into smaller units called threads. Each thread runs independently but shares the same memory and resources of the process, enabling faster execution, better responsiveness, and efficient use of system resources.
Answer
Enhanced Performance, Improved Responsiveness, Support for Concurrent (parallel) Operations, and Efficient Use of Resources.
Answer
Applications remain responsive even when one thread is busy with a specific task. Example: A word processor enables continuous typing while another thread checks spelling in the background.
Answer
Threads share the same memory space and resources of their parent process, requiring fewer system resources compared to creating separate processes.
Answer
From the book: "A system call is a request made by a program to the operating system to perform a specific task that the program cannot do directly. They act as a bridge between user programs and the kernel, allowing applications to access hardware and core OS functions safely."
Answer
Without system calls, programs that directly control hardware can be unsafe and complex. System calls act as a bridge between user programs and the kernel, allowing applications to access hardware and core OS functions safely.
Answer
When you save a file in a text editor, the program uses a system call to tell the operating system to write the data to the storage drive(like a Hard drive).
Answer
Answer
Opening a new browser tab, where the OS may use fork to create another process.
Answer
Linux and macOS have a few hundred system calls, while Windows uses nearly 2,000. These calls handle everything from opening files to running apps and showing graphics in the background while you work.
Answer
From the book: "A file system is the way an operating system stores and organizes files on a storage device, such as a hard drive, SSD, or USB. It decides where each file will be kept and save its location so it can be access later." It "provides a structured way for users and applications to store, locate, and manage information on storage devices."
Answer
A file is a collection of related data stored on a computer. It may contain text, images, audio, video, or program instructions.
Answer
A folder (also called a directory) is a container used to organize files and other folders in a logical structure, making it easier to locate and manage information.
Answer
Metadata refers to details about a file, folder, such as its name, type, size, date of creation, and date of last modification. This information helps both the operating system and the user identify and manage files/ folders without opening them.
Answer
Answer
The choice of file system affects performance, storage capacity, and security features.
Answer
If you save a photo on your computer, the file system makes sure it is stored in the right place and knows exactly where to find it when you open it again, just like a librarian placing a book in the right section and knowing where to locate it later.
Answer
Operating systems are designed according to the needs of the device and the work it performs. Each type serves a different purpose and is optimized for specific tasks.
Answer
A Real-Time Operating System is designed to process data and respond within a strict time limit, known as a deadline. It is used where even a tiny delay can cause system failure or serious consequences. It is used in critical systems such as air traffic control, heart-monitoring devices, or industrial robots.
Answer
An Embedded OS is a small and highly efficient operating system built into a specific device to control only the functions it needs. It is not meant for general-purpose computing but is optimized for one task or a small set of tasks. Its key feature is that it uses very little memory and power, and is often stored permanently inside the device.
Answer
Home appliances (microwaves, washing machines), printers, smart TVs, and ATMs.
Answer
A Network OS manages and supports multiple computers connected through a network. It enables the sharing of resources like files, printers, and internet connections among users like windows multipoint servers. Its key feature is that it focuses on communication and coordination between computers.
Answer
In a school computer lab, students use different computers, but all can save files to the same server and print from the same printer, thanks to the Network OS.
Answer
A Mobile OS is designed for smartphones, tablets, and other handheld devices. It is optimized for touch-screen use, battery saving, and mobile apps. Its key feature is that it supports wireless connectivity, cameras, sensors, and app stores.
Answer
The very first mobile operating systems, like Symbian (used in early Nokia phones), could only run a few small apps. Today's mobile OS platforms like Android and iOS can handle millions of apps, 3D games, and even professional video editing tools.
Answer
"An operating system works like a traffic controller for the computer. It decides which task should be done first, how the computer's memory is used, and which devices (like a printer or speakers) should be active at a given time. In short, we can say that the OS makes sure the computer works smoothly even when multiple tasks are running at the same time." (Topic 1.1, page 2)
Answer
"Computer hardware cannot understand human language directly. The operating system acts as a translator between the user and the hardware system." Example: "When you click an icon or type something, the OS changes those actions into instructions that the hardware can understand. This allows people to use computers easily without learning how the hardware works." (Topic 1.1, page 2)
Answer
In most modern OS like Windows, a new account can be created through the Settings or Control Panel by selecting User Accounts, choosing Add New User, and entering details like username, password, and account type(Standard, Administrative, Guest).
Answer
Kernel: "The kernel is the core part of the operating system, that directly controls the computer's system software and hardware such as the CPU, memory, and devices". Shell: "The shell is the outer part of the OS that interacts with the user". "It receives commands from the user and passes them to the kernel." The book's analogy: "Like Engine of a car is kernel and accessories like steering wheel, dashboard are shells." (Topic 1.2, pages 3 to 4)
Answer
"When a photo editing app needs to open an image, it uses the operating system's library to read the file. This way, the app does not have to create its own method to open pictures." Purpose: "System libraries are collections of ready-made instructions that programs can use to perform common tasks, such as opening files or showing text on the screen." (Topic 1.2, page 5)
Answer
Advantage: "Easy to understand and implement, as processes are served in the exact order they arrive. No process is skipped." Disadvantage: Short processes may have to wait a long time if they are queued behind longer processes (known as the "convoy effect"), which can affect the overall efficiency of the system.
Answer
"When the RAM is full, the operating system uses part of the computer's storage drive (like Hard drives, solid-state drives (SSD), or Non-Volatile Memory Express (NVMe)) as virtual memory." "Storage drives operate at lower data transfer speeds and have higher access times as compared to RAM; that's why the use of virtual memory can result in reduced system performance." (Topic 1.4, page 10)
Answer
"A system call is a request made by a program to the operating system to perform a specific task that the program cannot do directly. They act as a bridge between user programs and the kernel, allowing applications to access hardware and core OS functions safely." (Topic 1.6, page 12)
Answer
"A file system is the way an operating system stores and organizes files on a storage device, such as a hard drive, SSD, or USB. It decides where each file will be kept and save its location so it can be access later." [sic: "saves", "accessed"] The file system "provides a structured way for users and applications to store, locate, and manage information on storage devices." (Topic 1.7, page 13)
Answer
"Multitasking: The operating system allows more than one program to be open and usable by a single user at the same time. You can easily switch between them whenever you need." Example: "You can listen to music, keep a document open, and browse the internet, moving between them as needed." (Topic 1.3, page 7)
Answer
The answer must cover two verbatim book sub-topics plus the DO YOU KNOW box:
Central System Controller (verbatim): "An operating system works like a traffic controller for the computer. It decides which task should be done first, how the computer's memory is used, and which devices (like a printer or speakers) should be active at a given time. In short, we can say that the OS makes sure the computer works smoothly even when multiple tasks are running at the same time."
Role in User Hardware Interaction (verbatim): "Computer hardware cannot understand human language directly. The operating system acts as a translator between the user and the hardware system." Example: "When you click an icon or type something, the OS changes those actions into instructions that the hardware can understand. This allows people to use computers easily without learning how the hardware works."
DO YOU KNOW binary example (verbatim): "Humans speak languages like Urdu or English, whereas computers understand only binary language, or ON and Off switch i.e. 0 and 1."
Aim for 200-300 words.
Answer
Cover both book sections (topic 1.1, page 3):
Responsibilities in Multi-User Environments (verbatim): "In places like schools, offices, or online systems, many people may use the same computer. The operating system ensures:"
Creating and Managing User Accounts (verbatim): "The operating system allows separate accounts for different users, each with its own desktop, files, settings, and passwords." Example: "In computer lab, students login with a username and password provided by the school. This keeps each student's work separate and private." Windows steps: "a new account can be created through the Settings or Control Panel by selecting User Accounts, choosing Add New User, and entering details like username, password, and account type(Standard, Administrative, Guest)."
The book names the three account types but does not explain what each one can do, so the answer only names them.
Aim for 200-300 words.
Answer
Cover all four parts using the book's text (topic 1.2, pages 3 to 5):
Architecture (verbatim): "The architecture of an operating system is the way how its parts are organized and how they work together. Each part has a special role, and together they make the computer work smoothly, just like a school has different departments that perform specific duties but work together for the smooth working of the school."
Kernel (verbatim): "The kernel is the core part of the operating system, that directly controls the computer's system software and hardware such as the CPU, memory, and devices, as shown in Figure 1.1. It decides how and when different programs can use these resources." Example: "When you open a file, the kernel manages the process of reading it from the hard drive and sending it to the screen. Like Engine of a car is kernel and accessories like steering wheel, dashboard are shells."
Shell (verbatim): "The shell is the outer part of the OS that interacts with the user, also depicted in Figure 1.1. It receives commands from the user and passes them to the kernel." "Graphical shells (like Windows desktop) where you click icons and use menus." "Command-line shells (like the Command Prompt or Terminal) are where you type instructions."
Layered design (verbatim):
Draw Figure 1.1 (User Applications, Operating System with Shell over Kernel, Hardware) if time allows.
Aim for 300-400 words.
Answer
Cover three parts:
Kernel (verbatim): "The kernel is the core part of the operating system, that directly controls the computer's system software and hardware such as the CPU, memory, and devices, as shown in Figure 1.1. It decides how and when different programs can use these resources." Book example: "When you open a file, the kernel manages the process of reading it from the hard drive and sending it to the screen."
Shell (verbatim): "The shell is the outer part of the OS that interacts with the user, also depicted in Figure 1.1. It receives commands from the user and passes them to the kernel." Two types:
Car analogy (verbatim): "Like Engine of a car is kernel and accessories like steering wheel, dashboard are shells."
Aim for 200-300 words.
Answer
Structure the answer in three parts:
The three layers (verbatim):
The school analogy (verbatim):
Benefit of the layered design (verbatim): "Each layer depends on the one below it. This design makes the operating system easier to manage, repair, and improve without changing the whole system."
Aim for 250-350 words.
Answer
Cover both parts:
The three stages (verbatim):
Google Chrome lifecycle example (verbatim):
Aim for 200-300 words.
Answer
Work it the way the book's numerical example does (topic 1.3, pages 7 to 8): "In the FCFS method, the CPU processes tasks in the exact order they arrive. The first process to arrive is completed first, and the next process starts only after the previous one finishes."
[ P1: 0-4] → [ P2: 4-7] → [ P3: 7-8]Exam curveball: the book's teaching shows only start and finish times; it never defines "waiting time" or "average waiting time". Learn the two steps above. P3 needs only 1 second but waits the longest (5 s): the book's Observation, "shorter tasks can be delayed if they arrive after longer ones" (the "convoy effect").
Aim for full working shown (order, timeline, table, waiting times, average).
Answer
Structure the answer in three parts:
Multitasking (verbatim): "The operating system allows more than one program to be open and usable by a single user at the same time. You can easily switch between them whenever you need." Example: "You can listen to music, keep a document open, and browse the internet, moving between them as needed."
Concurrency (verbatim): "More than one process is active at the same time in an OS, but the CPU processes them one by one in extremely fast cycles." Example: "Like a chef preparing three dishes, working on one for a short time, then moving to the next, and repeating, the CPU switches between processes so rapidly that the user does not notice any delay."
How they help (verbatim link): "Modern operating systems can manage many processes so efficiently that it appears they are all running at the same time."
Aim for 200-300 words.
Answer
Follow the book's step-by-step exactly:
Step-by-Step Explanation (verbatim):
Execution Timeline (draw):
[ P1: 0-5] → [ P2: 5-8] → [ P3: 8-10], total 10 seconds.
Observation (verbatim): Even though P3 has the shortest duration (only 2 seconds), it must still wait until P1 and P2 have finished because they arrived earlier. This is one of the main characteristics of FCFS; shorter tasks can be delayed if they arrive after longer ones.
Advantages + Disadvantages (verbatim): Advantages: Easy to understand and implement, as processes are served in the exact order they arrive. No process is skipped. Disadvantages: Short processes may have to wait a long time if they are queued behind longer processes (known as the "convoy effect"), which can affect the overall efficiency of the system.
Convoy effect using this example: P3 is the shortest task (2 seconds) but arrives last. It cannot start until 8s because P1 (5s) and P2 (3s) arrived earlier: "Short processes may have to wait a long time if they are queued behind longer processes".
Aim for 300-450 words.
Answer
This question spans topic 1.4 (Memory) and topic 1.5 (Processes and Threads). Cover three parts with the book's text:
Primary Memory (RAM) (1.4, pages 9 to 10): "Primary memory, also called Random Access Memory (RAM), is the main working area of a computer. It is a fast storage area where the computer keeps the data and instructions temporarily. Its data is erased when the computer is turned off." Example: "When you open a Word document, the computer quickly places the program and the document into RAM so the CPU can work on them right away."
Virtual Memory (1.4, page 10): "When the RAM is full, the operating system uses part of the computer's storage drive (like Hard drives, solid-state drives (SSD), or Non-Volatile Memory Express (NVMe)) as virtual memory. This extra space acts like temporary RAM, allowing more programs to run at the same time. Storage drives operate at lower data transfer speeds and have higher access times as compared to RAM; that's why the use of virtual memory can result in reduced system performance." Key differences from these lines: RAM is the fast main working area and is erased when the computer is turned off; virtual memory is part of the storage drive, used when the RAM is full, and is slower.
How multithreading improves performance (1.5, pages 11 to 12): "Multithreading is an operating system technique that allows a single process to perform multiple tasks at the same time by dividing its work into smaller units called threads." "Each thread runs independently but shares the same memory and resources of the process, enabling faster execution, better responsiveness, and efficient use of system resources." Benefits: "Enhanced Performance: Tasks can be divided into multiple threads and executed in parallel, allowing complex operations to complete more quickly and improving overall system efficiency." "Improved Responsiveness" (example: "A word processor enables continuous typing while another thread checks spelling in the background."), "Support for Concurrent (parallel) Operations", "Efficient Use of Resources".
Aim for 300-400 words.
Answer
Use the book's text (topic 1.4, page 10):
Aim for 200-280 words.
Answer
Cover three parts:
Process (verbatim): "A process is an independent program that is currently being executed by the computer. It has its own memory space CPU time, and other resources (such as files or network connections). Processes are isolated from one another to ensure stability and security; a problem in one process generally does not affect another."
Thread (verbatim): "A thread, on the other hand, is the smallest unit of execution within a process. Multiple threads can exist inside a single process, each performing a different task. All threads in the same process share the same memory and resources, but operate independently."
Web browser example (verbatim): The entire browser application is one process. Within this process, different threads are responsible for:
By using the above multiple threads, the browser can continue loading new content while playing a video, without making the user wait for one task to finish before starting another.
Key contrast: processes are isolated (each has its own memory), threads share memory within a single process.
Aim for 220-320 words.
Answer
Structure the answer in two parts:
Definition (verbatim): "Multithreading is an operating system technique that allows a single process to perform multiple tasks at the same time by dividing its work into smaller units called threads. Each thread runs independently but shares the same memory and resources of the process, enabling faster execution, better responsiveness, and efficient use of system resources."
The four benefits (verbatim, in order):
Enhanced Performance: Tasks can be divided into multiple threads and executed in parallel, allowing complex operations to complete more quickly and improving overall system efficiency.
Improved Responsiveness: Applications remain responsive even when one thread is busy with a specific task. Example: A word processor enables continuous typing while another thread checks spelling in the background.
Support for Concurrent (parallel) Operations: Multiple tasks can progress during the same period, which is particularly important in applications such as games, video editing, and real-time communication tools.
Efficient Use of Resources: Threads share the same memory space and resources of their parent process, requiring fewer system resources compared to creating separate processes.
Aim for 250-350 words.
Answer
Cover three parts with the book's text (topic 1.6, page 12):
Definition and purpose (verbatim): "A system call is a request made by a program to the operating system to perform a specific task that the program cannot do directly. They act as a bridge between user programs and the kernel, allowing applications to access hardware and core OS functions safely. Without system calls, programs that directly control hardware can be unsafe and complex."
Example (verbatim): "When you save a file in a text editor, the program uses a system call to tell the operating system to write the data to the storage drive(like a Hard drive)."
At least three types (verbatim):
Aim for 200-300 words.
Answer
Cover three parts:
Definition (verbatim): "A system call is a request made by a program to the operating system to perform a specific task that the program cannot do directly. They act as a bridge between user programs and the kernel, allowing applications to access hardware and core OS functions safely."
Why they are necessary (verbatim): "Without system calls, programs that directly control hardware can be unsafe and complex."
Text editor example (verbatim): "When you save a file in a text editor, the program uses a system call to tell the operating system to write the data to the storage drive(like a Hard drive)."
DO YOU KNOW (verbatim): "Linux and macOS have a few hundred system calls, while Windows uses nearly 2,000. These calls handle everything from opening files to running apps and showing graphics in the background while you work."
Aim for 200-300 words.
Answer
Cover all four parts:
File (verbatim): "A file is a collection of related data stored on a computer. It may contain text, images, audio, video, or program instructions."
Folder (verbatim): "A folder (also called a directory) is a container used to organize files and other folders in a logical structure, making it easier to locate and manage information."
Metadata (verbatim): "Metadata refers to details about a file, folder, such as its name, type, size, date of creation, and date of last modification. This information helps both the operating system and the user identify and manage files/ folders without opening them."
Librarian analogy (verbatim): "If you save a photo on your computer, the file system makes sure it is stored in the right place and knows exactly where to find it when you open it again, just like a librarian placing a book in the right section and knowing where to locate it later."
Explain the relationship: files hold the actual data; folders organize files into a logical structure; metadata describes each file/folder so the OS and user can identify them without opening.
Aim for 200-300 words.
Answer
Cover three parts:
Definition (verbatim): "A file system is the way an operating system stores and organizes files on a storage device, such as a hard drive, SSD, or USB. It decides where each file will be kept and save its location so it can be access later."
Four widely used file systems (verbatim):
What the choice affects (verbatim): "The choice of file system affects performance, storage capacity, and security features."
Aim for 200-300 words.
Answer
Cover all four types verbatim:
Real-Time Operating System (RTOS):
Embedded Operating System (EOS):
Network Operating System (NOS):
Mobile Operating System:
Introduce with the book's opening line: "Operating systems are designed according to the needs of the device and the work it performs. Each type serves a different purpose and is optimized for specific tasks."
Aim for 300-450 words.
Answer
Use only the book's text (topic 1.8, page 15):
Aim for 200-300 words.
Answer
Cover all three parts using verbatim book text:
Architecture (verbatim): "The architecture of an operating system is the way how its parts are organized and how they work together. Each part has a special role, and together they make the computer work smoothly, just like a school has different departments that perform specific duties but work together for the smooth working of the school."
Kernel (verbatim): "The kernel is the core part of the operating system, that directly controls the computer's system software and hardware such as the CPU, memory, and devices, as shown in Figure 1.1. It decides how and when different programs can use these resources." Example: "When you open a file, the kernel manages the process of reading it from the hard drive and sending it to the screen. Like Engine of a car is kernel and accessories like steering wheel, dashboard are shells."
Shell (verbatim): "The shell is the outer part of the OS that interacts with the user, also depicted in Figure 1.1. It receives commands from the user and passes them to the kernel." Two types: Graphical shells (like Windows desktop) where you click icons and use menus; Command-line shells (like the Command Prompt or Terminal) are where you type instructions.
Layered design (verbatim + school analogy):
Aim for 300-400 words.
Answer
Cover both parts verbatim:
Three stages (verbatim):
Google Chrome lifecycle example (verbatim):
Aim for 200-300 words.
Answer
Cover three parts:
Primary Memory (RAM) verbatim: "Primary memory, also called Random Access Memory (RAM), is the main working area of a computer. It is a fast storage area where the computer keeps the data and instructions temporarily. Its data is erased when the computer is turned off."
Virtual Memory verbatim: "When the RAM is full, the operating system uses part of the computer's storage drive (like Hard drives, solid-state drives (SSD), or Non-Volatile Memory Express (NVMe)) as virtual memory. This extra space acts like temporary RAM, allowing more programs to run at the same time. Storage drives operate at lower data transfer speeds and have higher access times as compared to RAM; that's why the use of virtual memory can result in reduced system performance."
How multithreading improves performance (verbatim): "Multithreading is an operating system technique that allows a single process to perform multiple tasks at the same time by dividing its work into smaller units called threads. Each thread runs independently but shares the same memory and resources of the process, enabling faster execution, better responsiveness, and efficient use of system resources." Benefits (topic 1.5, pages 11 to 12): Enhanced Performance ("Tasks can be divided into multiple threads and executed in parallel"), Improved Responsiveness ("A word processor enables continuous typing while another thread checks spelling in the background"), Support for Concurrent (parallel) Operations ("games, video editing, and real-time communication tools"), Efficient Use of Resources ("requiring fewer system resources compared to creating separate processes").
Aim for 300-400 words.
Answer
Cover three parts verbatim:
Definition + purpose (verbatim): "A system call is a request made by a program to the operating system to perform a specific task that the program cannot do directly. They act as a bridge between user programs and the kernel, allowing applications to access hardware and core OS functions safely. Without system calls, programs that directly control hardware can be unsafe and complex."
Real-world example (verbatim): "When you save a file in a text editor, the program uses a system call to tell the operating system to write the data to the storage drive(like a Hard drive)."
At least three types (verbatim):
Aim for 200-300 words.
Answer
I. Execution order (FCFS = order of arrival): P1 → P2 → P3
II. Execution sequence (Gantt chart):
[ P1: 0-4 ] → [ P2: 4-7 ] → [ P3: 7-8 ]
0 4 7 8
| P1 | P2 | P3 |III. Start time and completion time for each process:
| Process | Arrival Time | Burst Time | Start Time | Completion Time |
|---|---|---|---|---|
| P1 | 0 | 4 | 0 | 4 |
| P2 | 1 | 3 | 4 | 7 |
| P3 | 2 | 1 | 7 | 8 |
IV. Waiting time for each process (Waiting time = Start time − Arrival time):
V. Average waiting time:
Average waiting time = (Sum of waiting times) / (Number of processes) = (0 + 3 + 5) / 3 = 8 / 3 ≈ 2.67 seconds
Note on the formula (exam curveball, R-H): the book never defines "waiting time" or "average waiting time"; its teaching (page 8) only shows start and finish times. The step used here is the standard one:
Aim for full working shown (order, timeline, table, waiting times, average).