0% found this document useful (0 votes)
19 views5 pages

OSY Answer Pepper

Hi am study diploma in Computer engineering and technology and technology and technology

Uploaded by

sayedshaad02
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)
19 views5 pages

OSY Answer Pepper

Hi am study diploma in Computer engineering and technology and technology and technology

Uploaded by

sayedshaad02
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/ 5

Answers OSY First Sessional.

2Marks
Q1) State any four services of operating system.
Ans) :-
1) Process Management
2) Memory Management
3) File System Management
4) Device Management

Q2) Define Deadlock.


Ans):- Deadlock is a situation in an operating system where two
or more processes are unable to proceed because each is waiting
for a resource held by the other, leading to an indefinite halt in
execution.

Q3)Enlist Components of Operating System. (Any four).


Ans) :-
1) Kernel
2) File System
3) Device Drivers
4)User Interface (Shell)
Q4) Define Operating System.
Ans):- An Operating System (OS) is software that manages
hardware, runs applications, and provides an interface between
the user and the computer.

Q5) Describe System Calls.


Ans):-An Operating System (OS) is software that manages
hardware, runs applications, and provides an interface between
the user and the computer.

4 Marks
Q1) Explain different types of system calls.
Ans):-
System calls are classified into four main types:
1.Process Control: Manages process creation, termination, and
synchronization (e.g., `fork()`, `exit()`).
2. File Management: Handles file operations like open, read,
write, and close (e.g., `open()`, `read()`).
3.Device Management: Manages device input/output operations
(e.g., `ioctl()`, `write()`).
4. Memory Management: Allocates and frees memory for
processes (e.g., `malloc()`, `free()`).
Q2)Explain real time OS. Explain its types.
Ans):-
A Real-Time Operating System (RTOS)processes tasks within
strict timing constraints to ensure timely responses.

Types:
1. Hard Real-Time OS: Guarantees task completion within
deadlines.
2. Soft Real-Time OS: Aims for timely task execution but can
tolerate occasional deadline misses.

Q3)Differentiate Multi-tasking and Multi Programming.


Multi-tasking Multiprogramming
Definition: Allows Definition: Involves
multiple tasks or running multiple
processes to run programs or processes
concurrently by on a single CPU by
rapidly switching switching between
between them. them based on their
needs

Objective: Provides Objective: Increases


the appearance of CPU utilization by
simultaneous keeping it busy with
execution. multiple jobs.

Example: Modern
operating systems like Example: Early batch
Windows and Linux. processing systems.

Q4)What is PCB? Explain its purpose.


Ans):-
PCB (Process Control Block) is a data structure used by the
operating system to manage processes. It contains:

1. Process State: Information about the current state of the


process.
2. Program Counter: The address of the next instruction to
execute.
3. CPU Registers: Values of registers used by the process.
4. Memory Management: Details about memory allocation and
limits.

You might also like