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

Key Concepts of Operating Systems

The document contains important questions and answers related to operating systems, covering definitions, types, system calls, scheduling algorithms, and key concepts such as process control blocks and inter-process communication. It discusses various operating system functionalities, including CPU scheduling and memory management. Additionally, it highlights specific operating systems and their characteristics, such as real-time and network operating systems.
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)
9 views3 pages

Key Concepts of Operating Systems

The document contains important questions and answers related to operating systems, covering definitions, types, system calls, scheduling algorithms, and key concepts such as process control blocks and inter-process communication. It discusses various operating system functionalities, including CPU scheduling and memory management. Additionally, it highlights specific operating systems and their characteristics, such as real-time and network operating systems.
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

IMPORTANT QUESTIONS

1. Define Operating System? Explain different operations performed by operating


system?
2. Construct the Gantt chart for a) Shortest job first b) Round Robin with q=3 for the
following
3. A) List the different types of operating systems? Explain RTOS in detail?
B) Distinguish symmetric and asymmetric multiprocessor systems?
4. What is a system call? Explain different types of system calls with examples in
Windows and UNIX?
5. a) List the objectives and functions of Operating System?
b) Explain the services of operating system?

1. To access the services of operating system, the interface is provided by the


system calls.
2. Multiprocessor system are also called as parallel or tightly coupled system
3. The Volatile storage is main memory.
4. What is a Process control Block Data structure.
5 Which of the following do not belong to Queues for processes PCB Queue.
6. A solution to the problem of indefinite blockage of low – priority processes
are aging.
7. Which of the Following scheduling Algorithms gives minimum average
waiting time SJF.
8. In UNIX, which system call creates the new process fork
9. Round Robin Scheduling falls under the category of pre-emptive process
scheduling algorithm.
10. What are the two steps of a process execution CPU & I/O Burst.
[Link] time sharing is Logical extension of multiprogramming.
12. In UNIX each process is identified by its PID.
[Link] process communication can be done through Message Passing or
Shared memory.
14.A program at the time of execution is called as a process.
[Link] a time-sharing operating system, when time Quantum expires, the process
goes from RUNNING state to the READY state.
[Link] number of Processes completed per unit time is known as throughput.
[Link] passing system allows process to communicate with each other
without sharing same address space.
18.A process is selected from the Ready queue by the short-term scheduler, to
be executed.
[Link] link between two processes P and Q to send and receive message is
called communication link.
[Link] Primary distinction between the short term and long-term scheduler lies
in frequency of their execution.
21. Among the following CPU scheduling algorithms, which of these allocated
the CPU first to the process that requests the CPU first?
FCFS allocates resources to the process that requests first.

22. What is meant by ready state of a process?


Ready state of the process means the process has all necessary resources
which are required for execution of that process when CPU is allocated.

[Link] memory of a computer system is?


volatile.

24. Why is CPU scheduling done?


CPU scheduling is done to increase the CPU utilisation, so that many
process can complete their execution without having to wait for too long.

25. Which of the following is a single user operating system?


Ms-DOS is a single user operating system.

[Link] was the first operating system developed?


1950

27. What else is a command interpreter called?


Shell

28. What is the mean of the Booting in the operating system?


Restarting computer
29. Which of the following is not application software?
Windows 7

30. What is the number of characters contained in the primary name of the file
of MS-DOS?
Up to 8 characters

31. The operating system work between


User and Computer

32. Which of the following programs is loaded first when starting a computer?
Operating system
33. Buffer is a .
Temporary area

34. Which of the following binary formats support the Linux operating system?
ELF Binary Format

35. What is Kali Linux?


Operating system

36. SSTF stands for


Shortest Seek Time First
37. COW stands for
Copy overwrite

38. In real time operating system


a task must be serviced by its deadline period

39. Network operating system runs on


Server

40. The real difficulty with SJF in short term scheduling is


knowing the length of the next CPU request

Common questions

Powered by AI

Volatile storage, like main memory, loses its stored data when power is lost, which presents challenges for data management in terms of persistence and reliability. Operating systems must ensure that critical data is periodically written to non-volatile storage to preserve it across reboots or failures. This necessitates mechanisms like checkpoints and logging to ensure that work can be resumed with minimal data loss .

A process control block (PCB) is a data structure used by the operating system to store information about a process. It contains process-related information such as the process ID, process state, CPU registers, memory limits, and scheduling information. The PCB allows the operating system to track and manage processes efficiently, ensuring that the CPU can switch between processes without losing track of their individual states .

System calls provide the interface for application programs to access operating system services and hardware resources. In UNIX, system calls like 'fork' are used to create processes and manage system resources directly in a straightforward and uniform manner. Windows, however, generally uses higher-level API calls with a more complex and layered architecture, which abstracts many traditional system call functions into extensive libraries, providing a wider yet more complex programming interface .

Message passing and shared memory are two fundamental methods of inter-process communication. Message passing involves processes sending and receiving messages to communicate, useful in distributed systems as it avoids dependency on shared memory spaces but can incur overhead due to data copying. Shared memory allows multiple processes to access the same memory space simultaneously, which provides fast communication since data does not need to be copied between processes, but it requires synchronization to avoid race conditions .

A real-time operating system (RTOS) is designed to process data as it comes in, typically without buffering delays. It ensures task deadlines are met by prioritizing tasks and using scheduling algorithms that trigger the execution of tasks in a manner that allows them to be completed within their designated time constraints. This often involves preemptive scheduling to ensure high-priority tasks are executed immediately .

Round Robin scheduling assigns time slices, or quanta, to each process in the queue and cycles through them, providing each process a fair share of the CPU without preemption. This makes it equitable for all processes but not necessarily efficient in minimizing waiting times. In contrast, Shortest Job First (SJF) selects the process that has the shortest next CPU burst time, which can minimize average waiting time but may lead to starvation of longer processes .

In symmetric multiprocessor systems, each processor runs an identical copy of the operating system and they share the same memory, allowing any processor to access any IO device and memory unit, leading to efficient load balancing. In contrast, asymmetric multiprocessor systems designate one processor as the master processor and the others as slave processors, with the master processor controlling the system and assigning specific tasks to slave processors, typically leading to less efficient use of resources but simpler architecture .

The primary challenge with the Shortest Job First (SJF) algorithm is accurately predicting the length of the next CPU burst. This uncertainty can lead to incorrect scheduling decisions. Additionally, since SJF is non-preemptive, longer processes can suffer from starvation if shorter jobs continuously arrive. This makes it difficult to apply in systems where job lengths are not predictable or where fairness cannot be assured .

Time sharing in operating systems enhances user experience by allowing multiple users to interact with the system concurrently, seemingly running multiple applications at once. This is achieved by rapidly switching the CPU among user programs, providing each user with a time-sliced share of the CPU. This approach ensures high responsiveness and efficient computation resources utilisation, making it ideal for environments with multiple interactive users .

CPU burst times significantly impact overall system throughput, as they determine how long a process will occupy the CPU. Shorter CPU bursts lead to higher throughput as processes spend less time occupying the CPU, allowing more processes to complete within a given time frame. Scheduler algorithms like Shortest Job First optimize throughput by favoring shorter processes, although they can be less effective when burst times are unpredictable .

You might also like