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

Os

Uploaded by

Bhagirathi
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)
27 views3 pages

Os

Uploaded by

Bhagirathi
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. What happens when you press the ON button on your laptop?

https://www.geeksforgeeks.org/what-happens-when-we-turn-on-computer/

2. What is Operating System ? Why do we need it ?


https://www.geeksforgeeks.org/need-and-functions-of-operating-systems/

3. Different Types of Operating Systems ?


https://www.geeksforgeeks.org/types-of-operating-systems/

4. Major Differences :
RAM ROM
Thread Process
SRAM DRAM
PROM EPROM / EEPROM
Multiprocessing Multiprogramming
Multitasking MultiThreading
https://www.geeksforgeeks.org/difference-between-ram-and-rom/
https://www.javatpoint.com/process-vs-thread
https://www.geeksforgeeks.org/difference-between-sram-and-dram/
https://www.geeksforgeeks.org/difference-between-prom-and-eprom/
https://www.geeksforgeeks.org/difference-between-multiprocessing-and-
multiprogramming/
https://www.geeksforgeeks.org/difference-between-multi-tasking-and-multi-
threading/

5. Difference between a Process and Thread with example.


https://www.geeksforgeeks.org/difference-between-process-and-thread/

8. What is fork()? User and Kernal Threads.


https://www.geeksforgeeks.org/difference-between-user-level-thread-and-kernel-
level-thread/

9. Scheduling Algorithms :
First Come First Serve (FCFS)
Shortest Job First (SJF)
Shortest Remaining Time First (SRTF)
Round Robin (RR) Scheduling
Priority Based scheduling (Non Preemptive)
Highest Response Ratio Next (HRRN)
Multilevel Queue Scheduling (MLQ)

https://www.javatpoint.com/cpu-scheduling-algorithms-in-operating-systems

10. What is Critical Section Problem and Race Around Condition ?


https://www.tutorialspoint.com/race-condition-critical-section-and-semaphore

11. Mutual Exclusion and Bounded Waiting in Operating Systems?


https://www.geeksforgeeks.org/mutual-exclusion-in-synchronization/
Bounded Waiting : A bound must exist on the number of times that other processes
are allowed to enter their critical sections after a process has made a request
to enter its critical section and before that request is granted

12. What are Semaphores ? Types of Semaphores ?


https://www.geeksforgeeks.org/semaphores-and-its-types/

13. What is Mutex ?14. Differences between Mutex and Semaphore . Use Cases as
well.
https://www.geeksforgeeks.org/mutex-vs-semaphore/

15. Deadlock and necessary conditions for deadlock to happen? Detailed


https://www.geeksforgeeks.org/introduction-of-deadlock-in-operating-system/

16. How to handle a deadlock?


https://www.geeksforgeeks.org/handling-deadlocks/
17. Banker’s Algorithm and its use case.
https://www.geeksforgeeks.org/bankers-algorithm-in-operating-system-2/

18. Memory Management


https://www.geeksforgeeks.org/memory-management-in-operating-system/

19. Partition Schemes - Best Fit , First Fit , Worst Fit


https://www.geeksforgeeks.org/first-fit-allocation-in-operating-systems/

20. What is Paging and its need ?


https://www.geeksforgeeks.org/paging-in-operating-system/

21. What is Segmentation and its need ?


https://www.geeksforgeeks.org/segmentation-in-operating-system/

22. Difference between Paging and Segmentation ?


https://www.geeksforgeeks.org/difference-between-paging-and-segmentation/

23. Why does a page fault occur?


https://www.geeksforgeeks.org/page-fault-handling-in-operating-system/

24. Major Page Replacement Algorithms


https://www.geeksforgeeks.org/page-replacement-algorithms-in-operating-systems/

25. Definitions : Logical address space , LBA , Spooling , Starvation ,


Aging ,Virtual
Memory
Logical Address Space

This is the set of all addresses a program can use to access memory. Think of it
as the "virtual" memory space that the program believes it has, even though the
actual physical memory (RAM) might be smaller.
LBA (Logical Block Addressing)
A method used by hard drives and SSDs to locate data. Instead of using
cylinders, heads, and sectors (like in old systems), LBA assigns a simple number
to each block of data, making it easier to access.

Spooling
Spooling is like a waiting room for tasks. When a device (like a printer) is
busy, tasks are sent to a queue (spool) to be processed one by one. It ensures
smooth operation even if the device is slower than the incoming tasks.

Starvation
This happens when a task waits indefinitely because higher-priority tasks keep
taking over. It's like waiting in a long queue where VIPs keep cutting ahead of
you.

Aging
A technique to prevent starvation. It gradually increases the priority of a
waiting task over time so that it eventually gets processed.

Virtual Memory
A way for computers to pretend they have more RAM than they actually do. It
temporarily uses part of the hard drive or SSD as memory, allowing the system to
run larger programs or multiple programs at once.

26. FIFO
Optimal Page Replacement Algorithm
Least Recently Used (Along with Code) - VV Imp.

27.Disk Scheduling and Terms associated - Seek Time , Rotational Latency,


Transfer Time ,
Disk Access Time ,Disk Response Time.

29. What is Thrashing ?


https://www.geeksforgeeks.org/techniques-to-handle-thrashing/
https://www.geeksforgeeks.org/disk-scheduling-algorithms/

You might also like