{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

rec6-2010 - Exam#1 – sample questions Short answer How...

Info iconThis preview shows pages 1–6. Sign up to view the full content.

View Full Document Right Arrow Icon
Exam #1 Closed book Coverage: material up through today ~35% will be short answer questions ~65% will be short programming questions - we will provide call signatures Recitation will be a review session – bring questions!
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Exam #1 Topics: programs and processes -fork/exec/exit/wait, C programs -environments, identities, crashes, -zombie/orphans I/O -low-level/high-level -buffering/errors/control/random-seq access -terminals/formatting/redirection/binary
Background image of page 2
Exam #1 Topics (cont’d): File systems -files, directories -inodes/metadata, permissions, links, semantics IPC -pipes -message-passing (if we get to it today)
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Background image of page 4
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Background image of page 6
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Exam #1 – sample questions Short answer: How can dup2 fail? What is the difference between a hard and soft link? Give an example. Why is X more efficient than Y? Look at class notes, read the book! Exam #1 – longer sample q, 2 prog. 1 analysis Implement this function using low-level I/O: char *fgets(char *s, int n, FILE *stream) Create a ring of N processes and have them pass a simple integer token around Look at sample code in R&R, class, and proj. #1 … # # # You will have a programming question on: fork + pipes I/O...
View Full Document

{[ snackBarMessage ]}