100% satisfaction guarantee Immediately available after payment Read online or as PDF No strings attached 4.6 TrustPilot
logo-home
Exam (elaborations)

CSCI 340 – Operating Systems Midterm Study Guide

Rating
-
Sold
-
Pages
24
Grade
A+
Uploaded on
06-09-2025
Written in
2025/2026

CSCI 340 Operating Systems midterm exam. It covers OS fundamentals, including definitions of processes, threads, programs, kernels, and executables. Topics include process management (process states, PCB, scheduling, context switching, fork, exec, wait, exit), interprocess communication (shared memory, message passing, RPC), multitasking, and system calls. It also reviews memory organization (stack, heap, data, text sections, virtual memory), interrupts and handlers, machine cycle, user vs. kernel mode, drivers, compilers, and interpreters. Networking concepts such as IP addresses, DNS, ports, sockets, and protocols are also included, along with OS functions like resource management, I/O, security, and user interfaces.

Show more Read less
Institution
CSCI 340
Course
CSCI 340

Content preview

What is an operating system?


Give this one a try later!


A special program (needs CPU) that manages hardware and provides other
programs with an environment to run

,Can shared memory kind of IPC communication be used for two processes running
on two different computers? Why do you think so?


Give this one a try later!


No because shared memory requires a region of memory physically shared
by multiple processes.




List five process states (use the naming from our textbook and class please)


Give this one a try later!


-New (not ready to use)
-Ready (ready and willing)
-Running (using the CPU right now)
-Waiting (doesn't need the CPU right now)
-Terminated (won't need the CPU anymore)




What is I/O queue? How many I/O queues do you expect in the system?


Give this one a try later!


I/O queue = buffer that holds data waiting to be transferred between an
I/O device and the CPU


The amount depends on the system.




What is multitasking? How is it arranged?

, Give this one a try later!


Technique to pick simultaneous execution of multiple programs on a single
CPU core, uses I/O controller (scheduling) to manage which process gets
device, when, and for how much time




What is an executable file?


Give this one a try later!


A file that contains a sequence of instructions that can be executed directly
by OS




What is compiler? What are compiler advantages?


Give this one a try later!


Compiler is a program that takes source code and translates it into CPU
instructions, advantages: improved performance




What is (networking) socket?


Give this one a try later!


An endpoint for communication between two programs running on the
network. It is a combination of IP address + Networking port
Ex: 123.445.67:80 (IP:Networking port)

Written for

Institution
CSCI 340
Course
CSCI 340

Document information

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

Subjects

Get to know the seller

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 chamberlain university
View profile
Follow You need to be logged in order to follow users or courses
Sold
261
Member since
3 year
Number of followers
108
Documents
7407
Last sold
11 hours ago

This Page Provides Excellent Exam Solutions and Study Guides that Guarantee Top Grades

3.9

75 reviews

5
38
4
12
3
11
2
7
1
7

Trending documents

Recently viewed by you

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

Frequently asked questions