Font size
WorksheetsITT440 - Chapter 1 Introduction to Process Model
Total questions: 10
Worksheet time: 2mins
What is a process in Linux?
Program being process by CPU
A binary application
Instance of a program in memory
Smallest sequence of programmed instructions
How do we list processes in Linux?
Using ls
Using ps
Using debug
Using mem
Which statement is correct
A thread is a mirror of process
Process is duplicated by alloc
There is dedicated API for duplicating process
In Linux, process must be created by other process
Which statement is false option?
The init process PPID is 1
During boot up, the first process to be created is kernel
All the other processes are created by the init process
-o the '-o' option of the ps specify the field
Which of the command did not create a process?
fork
Internal Command
alloc
Sourced file
How to we copies process?
Using ps command
Using pipe()
Using memcopy
Using fork()
Which of the following is true
If fork return positive value it failed to copy process
If form return negative value it is parent process
If fork return zero value if it is child process
Fork return 4 type of value
What happen if we called fork() twice?
It will return an error
It will destroy a child process
It will create 4 process
It will create 2 process
Which statement is false about child process?
A child process will execute next instruction after created
When fork() return 0 it is child process
A child process uses same register as parent
A child process uses different program counter than parent
Why we need to use multiple process for network programming?
Increase bandwidth
Make CPU faster
So your program could multitask
Increase memory
