0% found this document useful (0 votes)
7 views3 pages

Tutorial 1 - OperatingSystems - UCSI

the first answered tutorial for the operating systems course in UCSI
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views3 pages

Tutorial 1 - OperatingSystems - UCSI

the first answered tutorial for the operating systems course in UCSI
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Operating Systems Jawad Hassan Khan Jan-April 2024

Tutorial 1

Answer the following questions.

1. Explain basic OS Concepts.

An operating system is a set of basic programming instructions for computer hardware. It is

certainly a system software that acts as a central control program for the computer. Main

component in OS is Kernel, which acts as an intermediary between applications and

hardware.

2. Discuss how operating systems work.

The elements involved in the operating systems are the kernel, resource managers, BIOS,

device drivers, application programming interface, application software.

 Kernel: Handles core functions like memory management, CPU scheduling, and I/O

operations.

 BIOS: Manages low-level hardware communications and starts the full OS

 Device Drivers: Allow hardware communication by translating OS commands.

 API: Acts as an interface between the kernel and application software

 Application Software: programs like word processors or media players that users

run to perform specific tasks. It interacts with the OS, which processes data and

manages hardware access to execute these tasks

3. Describe THREE (3) types of operating systems.

Page 1 of 3
Operating Systems Jawad Hassan Khan Jan-April 2024

 Desktop OS: Installed on personal computers for individual users, e.g., Windows,

macOS.

 Server OS: Designed for network-based sharing of resources, e.g., Linux server

distributions.

 Real-Time OS: Responds immediately to user inputs, e.g., systems used in robotics

4. Discuss single-tasking versus multitasking.

 Single-Tasking: It executes one task at a time

 Multi-Tasking: Allows multiple tasks simultaneously by sharing CPU time

5. Give THREE (3) differences between single-user and multi-user operating systems.

 Single-user OS supports one user at a time; multi-user OS supports multiple users


simultaneously.
 Single-user OS is less complex and resource-intensive; multi-user OS requires robust
resource management.
 Single-user OS often lacks sophisticated security compared to multi-user OS

6. Give THREE (3) differences between preemptive multitasking and cooperative

multitasking.

 Preemptive: The OS decides when to switch tasks; in Cooperative, tasks voluntarily

yield control.

 Preemptive: ensures fair CPU time distribution; Cooperative relies on task

cooperation.

 Preemptive: prevents one task from monopolizing the CPU; Cooperative risks

system unresponsiveness if a task fails to yield


Page 2 of 3
Operating Systems Jawad Hassan Khan Jan-April 2024

7. Explain the kernel mode and application programming interface (API).

 Kernel Mode: The privileged mode of operation where the OS executes, allowing

direct hardware access.

 API: The layer between the application and OS kernel that translates requests and

facilitates user-visible interactions

Page 3 of 3

You might also like