Midterm Spring 2004

Midterm Spring 2004 - Midterm Spring 2004 Name:_ _ Question...

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

View Full Document Right Arrow Icon
Midterm Spring 2004 Name:_______________________________________________________________ _ Question Max. Current True/False 10 pts. Short Questions 1-5 15 pts. Short Questions 5-10 15 pts. 11, 10 pts. 12. 10 pts. 13. 20 pts. 14. 10 pts. 15. 10 pts Total:
Background image of page 1

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

View Full DocumentRight Arrow Icon
Part 1. True False Questions Answer True/False (T/F) (1 point each) ____ A call to sin(x) will show in the truss output ____ COFF is an executable format in Windows. ____ The close() system call always releases the resources of an open file object. ____ Threads created with pthread_create in the parent will be duplicated in the child after calling fork(). ____ The function strcat(a,b) will allocate strlen(1)+strlen(b)+1 bytes and copy the concatenation of a and b in this memory. ____ After forking a process, a write call in the parent could modify the offset of an open file in the child. ____ A parent and child processes may communicate through a pipe created by the child process. ____ The counter of a semaphore cannot have a value larger than the initial count. ____ It is possible to modify the interrupt vector in user space.
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 8

Midterm Spring 2004 - Midterm Spring 2004 Name:_ _ Question...

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

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