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

BCAC402.1

BCAC402

Uploaded by

mondalritu019
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views3 pages

BCAC402.1

BCAC402

Uploaded by

mondalritu019
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

# 1 Marks Questions

1. What is an Operating System?

An Operating System (OS) is software that manages computer


hardware resources and provides a platform for running
application software.

2. Name any two types of Operating Systems.

1. Single-user OS

2. Multi-user OS

3. What is the primary function of an OS?

The primary function of an OS is to manage computer


hardware resources and provide a platform for running
application software.

4. Define multitasking in an OS.

Multitasking is the ability of an OS to execute multiple tasks or


processes simultaneously.

5. What is the difference between a process and a thread?

A process is an independent unit of execution, while a thread


is a lightweight process that shares resources with other
threads within the same process.

# 4 Marks Questions

6. Explain different types of Operating Systems with


examples.

Types of Operating Systems:


1. Single-user OS: Allows only one user to access the
computer at a time. (Example: MS-DOS)

2. Multi-user OS: Allows multiple users to access the


computer simultaneously. (Example: UNIX)

3. Real-time OS: Guarantees a predictable and fast response


to events. (Example: VxWorks)

4. Mobile OS: Designed for mobile devices such as


smartphones and tablets. (Example: Android)

7. What is process scheduling? Explain different types of


schedulers in an OS.

Process scheduling is the allocation of CPU time to processes.


Types of schedulers:

1. First-Come-First-Served (FCFS) Scheduler: Schedules


processes in the order they arrive.

2. Shortest Job First (SJF) Scheduler: Schedules the process


with the shortest burst time first.

3. Priority Scheduler: Schedules processes based on their


priority.

4. Round Robin (RR) Scheduler: Allocates a fixed time slice to


each process.

8. Discuss memory management techniques in an OS.

Memory management techniques:

1. Partitioning: Divides memory into fixed-size partitions.

2. Paging: Divides memory into fixed-size pages.


3. Segmentation: Divides memory into variable-size segments.

4. Virtual Memory: Uses disk storage to provide additional


memory.

9. Explain the concept of deadlock and its prevention


methods.

Deadlock occurs when two or more processes are blocked


indefinitely, each waiting for the other to release a resource.
Prevention methods:

1. Mutual Exclusion: Ensure that only one process can access


a resource at a time.

2. Hold and Wait: Ensure that a process does not hold a


resource while waiting for another resource.

3. No Preemption: Ensure that a process cannot be preempted


while holding a resource.

4. Circular Wait: Ensure that there is no circular wait between


processes.

You might also like