• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 4 out of 34 pages
Exam (elaborations)

CSCI 340 – Operating Systems Concepts Study Guide

Document preview thumbnail
Preview 4 out of 34 pages

CSCI 340, focusing on operating systems fundamentals. It covers memory management (heap, stack, paging, page tables, MMU, TLB, virtual vs. physical addresses), process management (process states, PCB, context switching, fork/exec, scheduling, multitasking), synchronization (critical section problem, race conditions, semaphores, mutexes, test-and-set, reader-writer problem, producer-consumer problem), and inter-process communication (shared memory, message passing). Additional topics include file systems, I/O queues, networking (IP addresses, DNS, ports, protocols), machine cycle, interrupts, and system calls. This guide provides concise Q&A explanations for exam preparation.

Content preview

What are the properties of heap?


Give this one a try later!


It is fragmented; full of holes




what happens to processes in reality when process states change

,Give this one a try later!


The PCB (Process Control Block) keeps track of what state a process is in. If
it is in its running state, the PC will be pointing at code in this process. If is
in the I/O Queue the process was issued an interrupt handler.




What is a shared resource?


Give this one a try later!


A piece of data that is shared by multiple threads or programs




What is file? What is file system? What is logical disk?


Give this one a try later!


A file is a bunch of data that you want to store in memory.
A file system is a collection of information about all files stored in a storage
device.
A logical disk is a portion of a hard disk described in one separate hard disk




What is interpreter? What are interpreter advantages?


Give this one a try later!

, transforms or interprets a high-level programming code line by line into
code that can be understood by the machine. Can be slow, but can run in
different platforms




What is the layout of a process in memory?


Give this one a try later!


Text, data, heap, stack




What is MMU? What is its purpose?


Give this one a try later!


MMU is a piece of hardware that converts logical addresses to physical
ones.




What does busy waiting mean? Why is it inefficient? When is it still good?


Give this one a try later!


Busy waiting is a synchronization technique in which a process/thread waits
and constantly checks for a condition to be satisfies before proceeding
with its execution. It is inefficient because the looping procedure is a waste
of computer resources. It is still good when the expected wait times are
short and it is "cheaper" to wait while using the CPU than to perform
context switch to another process

, How do sizes of pages and frames relate?


Give this one a try later!


The size of the page is equal to the size of the frame




What is machine cycle?


Give this one a try later!


Sequence of steps CPU takes to execute a single instruction




What is physical address space? How many physical address spaces are there in the
system?


Give this one a try later!


Collection of all available physical addresses. There is one physical address
space per one RAM memory device




Why might we want to create a new process instead of new threads?


Give this one a try later!


Processes can use exec() and are independent regarding other processes.

Document information

Uploaded on
September 6, 2025
Number of pages
34
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$10.50

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
BestKey
4.2
(119)
Sold
299
Followers
108
Items
8950
Last sold
2 days ago




Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions