This preview shows page 1. Sign up to view the full content.
Unformatted text preview: (a) computing square root of a ﬂoating point number (b) writing to a ﬁle (c) creating a process (d) comparing two strings (e) reading from the keyboard Answer: b,c, and e. 3. (1.5 pts) Match each system call on the left to the correct deﬁnition on the right. 1. fork a. replaces core image of a process with a new program 2. read b. creates a new process 3. wait c. terminates a process and passes termination status 4. execvp d. gets input 5. exit e. blocks until a child process terminates and when that happens extracts the status Answer: 1-b, 2-d, 3-e, 4-a, 5-c....
View Full Document
This test prep was uploaded on 04/18/2008 for the course COP 4600 taught by Professor Yavuz-kahveci during the Spring '07 term at University of Florida.
- Spring '07
- Operating Systems