SnapCards

Computer Science: Operating Systems

20 cards|
6 easy10 medium4 hard
computer scienceoperating systemsprocesses

Processes, threads, memory management, and OS fundamentals.

Study these flashcards with spaced repetition

Track your progress, master difficult cards, and export to Anki. Free to start.

Start Studying — Free

Flashcards in This Deck

1
easy

What is the primary difference between a process and a thread regarding memory space?

A process has its own independent address space, whereas threads within the same process share the same address space and resources.

2
easy

Define 'Turnaround Time' in the context of CPU scheduling.

Turnaround Time is the total amount of time taken from the moment a process is submitted to the moment it completes execution.

3
easy

What is the main difference between shared memory and message passing in Inter-Process Communication (IPC)?

Shared memory allows processes to access a common buffer directly, while message passing requires the kernel to mediate communication between processes.

4
easy

What is 'paging' in memory management?

Paging is a memory management scheme that eliminates the need for contiguous allocation of physical memory by dividing physical memory into fixed-size blocks called frames.

5
easy

What does an 'inode' typically store in a Unix-like file system?

An inode stores metadata about a file, such as its size, permissions, owner, and pointers to data blocks, but it does not store the filename.

6
easy

What is the purpose of a system call?

A system call provides a programmatic interface for user-level applications to request services and resources directly from the operating system kernel.

7
medium

Explain why context switching between threads is generally faster than context switching between processes.

Thread switching is faster because threads share the same address space, meaning the OS does not need to switch page tables or flush the Translation Lookaside Buffer (TLB).

8
medium

How does the Round Robin algorithm handle time slices, and what is the trade-off of a very small quantum?

Round Robin assigns a fixed time quantum to each process; a very small quantum increases responsiveness (interactivity) but also increases context-switching overhead, reducing CPU efficiency.

9
medium

List the four necessary conditions for a deadlock to occur (Coffman conditions).

The four conditions are Mutual Exclusion, Hold and Wait, No Preemption, and Circular Wait.

10
medium

Explain the concept of 'Belady's Anomaly' and identify which page replacement algorithm it affects.

Belady's Anomaly is the phenomenon where increasing the number of page frames results in an increase in page faults; it specifically affects the FIFO (First-In-First-Out) algorithm.

+10 more cards — sign up to see all

Frequently Asked Questions

How many flashcards are in this Computer Science: Operating Systems deck?

This deck contains 20 flashcards with a mix of difficulty levels: 6 easy, 10 medium, and 4 hard cards.

Is this flashcard deck free to use?

Yes! You can study these flashcards for free with our spaced repetition system. Create a free account to track your progress and save your study history.

Can I export these flashcards to Anki?

Pro users can export any deck to Anki (.apkg format) with one click. Free users can export to CSV. Start studying for free and upgrade when you need Anki export.

What is spaced repetition?

Spaced repetition is a study technique that shows you cards at increasing intervals based on how well you know them. Cards you struggle with appear more often, while mastered cards are shown less frequently. This is proven to be one of the most effective ways to memorize information.

Related Flashcard Decks

Ready to study?

Create a free account and start studying these flashcards with spaced repetition.

Get Started — Free