CS 2204 Quiz – Week of 11/12/2001

 


1.      In UNIX, a “process” refers to what?

a.       compiled source code

b.      uncompiled source code

c.       an executing instance of a program

d.      an executable file

Answer: c

 

2.      What is the term for an integer that defines the execution priority of a process?

a.       nice value

b.      pvalue

c.       importance index

d.      run number

Answer: a

 

3.      Which UNIX system call is used to create a new process?

a.  creat()

b.  new()

c.  open()

d.  fork()

Answer: d

 

4.      Which of these process properties is not retained when you set the program a process is executing with an exec system call?

a.       process ID

b.      variable values

c.       open file descriptors

d.      parent’s process ID

Answer: b

 

5.      Pipes are an example of what inter-process communication paradigm?

a.       message passing

b.      file sharing

c.       shared memory

d.      smoke signals

Answer: a