Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 1 out of 3 pages
Exam (elaborations)

CSCI 1730 Final Exam Review Questions with Correct Answers Latest Update 2025/2026

Document preview thumbnail
Preview 1 out of 3 pages

CSCI 1730 Final Exam Review Questions with Correct Answers Latest Update 2025/2026 Kernel - Answers The core of an OS. Controls all hardware resources. System Call - Answers Service points that allow programs to request services from the kernel. Shell - Answers A program that takes user commands from the keyboard and executes those commands. errno - Answers A special integer variable whose value represents a type of error. errno modification - Answers System calls, typically modify errno. strerror(3) - Answers A function that returns a string which is an informative representation of the meaning of the current value of errno. perror(3) - Answers A function that prints an informative string to standard error. File Descriptor - Answers A unique nonnegative integer associated with each open file for a process. File Descriptor Assignment - Answers File descriptors are assigned by the kernel. 0, 1, 2 are already open when a process starts. Valid File Descriptors - Answers Nonnegative integers (0, 1, 2, 3, etc.) Unbuffered I/O - Answers I/O operation that performs immediately by invoking a system call. Buffered I/O - Answers I/O operation that holds onto data in a temporary storage (buffer). fstat and stat struct - Answers Using fstat and the stat struct to obtain file size, file permissions, and last modified timestamp. I/O Redirection - Answers Redirecting standard input/output to a file. dup vs. dup2 - Answers dup asks the kernel to assign a new file descriptor, dup2 asks the kernel to use an existing file descriptor. PID - Answers Process ID, a unique integer associated with each process. Special Processes - Answers PID 0 swapper/scheduler, PID 1 init, PID 2 pagedeamon. Normal Process Termination - Answers Return from main, call exit(3), _exit(2), or _Exit(2). Abnormal Process Termination - Answers Calling abort(3), receipt of a signal. exit(3) - Answers Runs exit handlers and does some clean up work before quitting. _exit(2) and _Exit(2) - Answers Equivalent functions that cause immediate termination of the process.

Content preview

CSCI 1730 Final Exam Review Questions with Correct Answers Latest Update 2025/2026

Kernel - Answers The core of an OS. Controls all hardware resources.

System Call - Answers Service points that allow programs to request services from the kernel.

Shell - Answers A program that takes user commands from the keyboard and executes those
commands.

errno - Answers A special integer variable whose value represents a type of error.

errno modification - Answers System calls, typically modify errno.

strerror(3) - Answers A function that returns a string which is an informative representation of
the meaning of the current value of errno.

perror(3) - Answers A function that prints an informative string to standard error.

File Descriptor - Answers A unique nonnegative integer associated with each open file for a
process.

File Descriptor Assignment - Answers File descriptors are assigned by the kernel. 0, 1, 2 are
already open when a process starts.

Valid File Descriptors - Answers Nonnegative integers (0, 1, 2, 3, etc.)

Unbuffered I/O - Answers I/O operation that performs immediately by invoking a system call.

Buffered I/O - Answers I/O operation that holds onto data in a temporary storage (buffer).

fstat and stat struct - Answers Using fstat and the stat struct to obtain file size, file permissions,
and last modified timestamp.

I/O Redirection - Answers Redirecting standard input/output to a file.

dup vs. dup2 - Answers dup asks the kernel to assign a new file descriptor, dup2 asks the kernel
to use an existing file descriptor.

PID - Answers Process ID, a unique integer associated with each process.

Special Processes - Answers PID 0 swapper/scheduler, PID 1 init, PID 2 pagedeamon.

Normal Process Termination - Answers Return from main, call exit(3), _exit(2), or _Exit(2).

Abnormal Process Termination - Answers Calling abort(3), receipt of a signal.

exit(3) - Answers Runs exit handlers and does some clean up work before quitting.

_exit(2) and _Exit(2) - Answers Equivalent functions that cause immediate termination of the

Document information

Uploaded on
December 14, 2025
Number of pages
3
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$11.49

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.
joshuawesonga22
3.5
(14)
Sold
119
Followers
2
Items
15119
Last sold
15 hours 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