Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
Document preview thumbnail
Voorbeeld 1 van de 3 pagina's
Tentamen (uitwerkingen)

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

Document preview thumbnail
Voorbeeld 1 van de 3 pagina's

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.

Voorbeeld van de inhoud

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

Documentinformatie

Geüpload op
14 december 2025
Aantal pagina's
3
Geschreven in
2025/2026
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden
€10,18

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF

Seller avatar
De reputatie van een verkoper is gebaseerd op het aantal documenten dat iemand tegen betaling verkocht heeft en de beoordelingen die voor die items ontvangen zijn. Er zijn drie niveau’s te onderscheiden: brons, zilver en goud. Hoe beter de reputatie, hoe meer de kwaliteit van zijn of haar werk te vertrouwen is.
joshuawesonga22
3,5
(14)
Verkocht
119
Volgers
2
Items
15119
Laatst verkocht
14 uur geleden


Echte notities, van echte studenten
Elk document op Stuvia is geschreven door een medestudent die hetzelfde vak deed. Zo leer je van iemand die het al heeft gehaald.



Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen