wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

ITT440 - Chapter 1 Introduction to Process Model

Total questions: 10

Worksheet time: 2mins

Name
Class
Date
1.

What is a process in Linux?

a)

Program being process by CPU

b)

A binary application

c)

Instance of a program in memory

d)

Smallest sequence of programmed instructions

2.

How do we list processes in Linux?

a)

Using ls

b)

Using ps

c)

Using debug

d)

Using mem

3.

Which statement is correct

a)

A thread is a mirror of process

b)

Process is duplicated by alloc

c)

There is dedicated API for duplicating process

d)

In Linux, process must be created by other process

4.

Which statement is false option?

a)

The init process PPID is 1

b)

During boot up, the first process to be created is kernel

c)

All the other processes are created by the init process

d)

-o the '-o' option of the ps specify the field

5.

Which of the command did not create a process?

a)

fork

b)

Internal Command

c)

alloc

d)

Sourced file

6.

How to we copies process?

a)

Using ps command

b)

Using pipe()

c)

Using memcopy

d)

Using fork()

7.

Which of the following is true

a)

If fork return positive value it failed to copy process

b)

If form return negative value it is parent process

c)

If fork return zero value if it is child process

d)

Fork return 4 type of value

8.

What happen if we called fork() twice?

a)

It will return an error

b)

It will destroy a child process

c)

It will create 4 process

d)

It will create 2 process

9.

Which statement is false about child process?

a)

A child process will execute next instruction after created

b)

When fork() return 0 it is child process

c)

A child process uses same register as parent

d)

A child process uses different program counter than parent

10.

Why we need to use multiple process for network programming?

a)

Increase bandwidth

b)

Make CPU faster

c)

So your program could multitask

d)

Increase memory