Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

Devoir Prog Sys

Chantal Fokunang
April 2017

Answers
1. System calls are used to request access to the resources of the machine,
to communicate with other currently running programs, and to start new
programs.

2. Memory Map:

Parent Process:
Label Address value
i 400-403 ?0
j 403-406 01234
k 407-410 0136

Child Process:
Label Address value
i 410-413 03456
j 413-416 1 -3 -8
k 416-420 6

3. Signals are a set of system calls designed to facilitate communication be-


tween the Operating System and an application.

They are most commonly used by operating systems to tell programs that
they need to terminate.

4. Raining
Cats
Raining

1
Dogs
Raining
Dogs

5. Set of code for programming functions: a - Library, c - API


Not a set of code: b - device driver
6. Ok
Ok
Bad!

7. See code.c in folder


8. See exo8.c in folder

You might also like