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

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 DocumentRight 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 DocumentRight 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 DocumentRight 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

This note was uploaded on 10/21/2011 for the course CSCI 4061 taught by Professor Tripathi during the Spring '08 term at Minnesota.

Page1 / 6

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

This preview shows document pages 1 - 6. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online