Deck 4: Operating System and Process Management

ملء الشاشة (f)
exit full mode
سؤال
The process which terminates before the parent process exits becomes

A)zombie
B)orphan
C)child
D)none of the above
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
Return value of fork() system call can be:

A)-1,<0,0
B)-1,>0,0
سؤال
If the fork() system call returns -1, then it means?

A)no new child process is created
B)the child process is an orphan
C)the child process is in zombie
سؤال
Fork returns _____ to parent process on success

A)0
B)child process id
C)parent process id
D)none
سؤال
Which niceness value among the following indicate most favorable scheduling?

A)0
B)19
C)5
D)-20
سؤال
The maximum time slice that can be given to a process in Linux (where tick is 10ms) is

A)150ms
B)10ms
C)300 ms
D)600ms
سؤال
Nice can be used by an ordinary process to

A)increase the priority of a process
B)decrease the priority of a process
C)increase or decrease the priority of a process
سؤال
Which one can be a real time schedule policy?

A)sched_fifo
B)sched_spf
C)sched_other
D)sched_filo
سؤال
Solaris real time class priority is

A)0-59
B)60-99
C)100-159
D)160-169
سؤال
On x86-32 Linux, at which address the code segment of the program starts?

A)0x00000000
B)0x08048000
C)0x80000000
D)0xbfff0000
سؤال
On x86-32 Linux, at which address the user stack resides normally?

A)0x00000000
B)0x3fff0000
C)0x7fff0000
D)0xbfff0000
سؤال
A system has 512MB of physical memory. Which among the following is not a suitable virtual memory size for this system architecture?

A)512mb
B)256m
C)4gb
D)none of the above
سؤال
LRU stands for

A)last received unit
B)least recently used
C)least recently usable
D)lost recoverd unit
سؤال
Mm_struct maintains?

A)memory files
B)open files
C)pipe
D)active memory regions
سؤال
Is page table per process entity?
سؤال
Among these files which has an ELF format

A)shared objects
B)core
C)executables
D)all of the above
سؤال
If one of the thread in multithreaded process is blocked on an I/O, which of the following is true?

A)the entire process with block if their is no kernel supported threads
B)other threads of the process will continue to execute even if there is no kernel supported threads
C)it depends on specific implementatation
D)all of the above
سؤال
UNIX/Linux kernel is?

A)monolithic
B)micro
C)exo
D)nano
سؤال
Monolithic kernel

A)is highly extensiblity
B)has less run time overhead
C)smaller than micro level
D)suitable for real time system
سؤال
Runlevel system command is used for?

A)getting the present and previous runlevel of the system
B)setting the runlevel attribute of the system in the inittab file
C)can be used to restart or reboot the system
D)all of the above
سؤال
Pick the run level to run Linux in multi user mode with networking?

A)0
B)3
C)5
D)6
سؤال
Section 2 of manpage describes

A)commands
B)system calls
C)function calls
D)drivers
سؤال
Which of the following exec call is a system call?

A)execl
B)execlp
C)execve
D)execvp
سؤال
______________ timer is decremented only when the process is executing

A)itimer_real
B)itimer_virtual
C)itimer_prof
D)none of the above
سؤال
Daemon process is a?

A)group leader
B)session leader
C)orphan process
D)all the above
سؤال
The terminal used by a Daemon process is:

A)any terminal
B)no terminal
C)root terminal
D)system console
سؤال
shared memory can be used for?

A)read only operations
B)append
C)read or read write operations
D)write only
سؤال
Sysconf(_SC_PAGE_SIZE) returns?

A)size of the page
B)max size of the page
C)min size of the page
D)paging allowed or not
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/28
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 4: Operating System and Process Management
1
The process which terminates before the parent process exits becomes

A)zombie
B)orphan
C)child
D)none of the above
zombie
2
Return value of fork() system call can be:

A)-1,<0,0
B)-1,>0,0
-1,>0,0
3
If the fork() system call returns -1, then it means?

A)no new child process is created
B)the child process is an orphan
C)the child process is in zombie
no new child process is created
4
Fork returns _____ to parent process on success

A)0
B)child process id
C)parent process id
D)none
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 28 في هذه المجموعة.
فتح الحزمة
k this deck
5
Which niceness value among the following indicate most favorable scheduling?

A)0
B)19
C)5
D)-20
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 28 في هذه المجموعة.
فتح الحزمة
k this deck
6
The maximum time slice that can be given to a process in Linux (where tick is 10ms) is

A)150ms
B)10ms
C)300 ms
D)600ms
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 28 في هذه المجموعة.
فتح الحزمة
k this deck
7
Nice can be used by an ordinary process to

A)increase the priority of a process
B)decrease the priority of a process
C)increase or decrease the priority of a process
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 28 في هذه المجموعة.
فتح الحزمة
k this deck
8
Which one can be a real time schedule policy?

A)sched_fifo
B)sched_spf
C)sched_other
D)sched_filo
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 28 في هذه المجموعة.
فتح الحزمة
k this deck
9
Solaris real time class priority is

A)0-59
B)60-99
C)100-159
D)160-169
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 28 في هذه المجموعة.
فتح الحزمة
k this deck
10
On x86-32 Linux, at which address the code segment of the program starts?

A)0x00000000
B)0x08048000
C)0x80000000
D)0xbfff0000
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 28 في هذه المجموعة.
فتح الحزمة
k this deck
11
On x86-32 Linux, at which address the user stack resides normally?

A)0x00000000
B)0x3fff0000
C)0x7fff0000
D)0xbfff0000
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 28 في هذه المجموعة.
فتح الحزمة
k this deck
12
A system has 512MB of physical memory. Which among the following is not a suitable virtual memory size for this system architecture?

A)512mb
B)256m
C)4gb
D)none of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 28 في هذه المجموعة.
فتح الحزمة
k this deck
13
LRU stands for

A)last received unit
B)least recently used
C)least recently usable
D)lost recoverd unit
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 28 في هذه المجموعة.
فتح الحزمة
k this deck
14
Mm_struct maintains?

A)memory files
B)open files
C)pipe
D)active memory regions
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 28 في هذه المجموعة.
فتح الحزمة
k this deck
15
Is page table per process entity?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 28 في هذه المجموعة.
فتح الحزمة
k this deck
16
Among these files which has an ELF format

A)shared objects
B)core
C)executables
D)all of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 28 في هذه المجموعة.
فتح الحزمة
k this deck
17
If one of the thread in multithreaded process is blocked on an I/O, which of the following is true?

A)the entire process with block if their is no kernel supported threads
B)other threads of the process will continue to execute even if there is no kernel supported threads
C)it depends on specific implementatation
D)all of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 28 في هذه المجموعة.
فتح الحزمة
k this deck
18
UNIX/Linux kernel is?

A)monolithic
B)micro
C)exo
D)nano
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 28 في هذه المجموعة.
فتح الحزمة
k this deck
19
Monolithic kernel

A)is highly extensiblity
B)has less run time overhead
C)smaller than micro level
D)suitable for real time system
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 28 في هذه المجموعة.
فتح الحزمة
k this deck
20
Runlevel system command is used for?

A)getting the present and previous runlevel of the system
B)setting the runlevel attribute of the system in the inittab file
C)can be used to restart or reboot the system
D)all of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 28 في هذه المجموعة.
فتح الحزمة
k this deck
21
Pick the run level to run Linux in multi user mode with networking?

A)0
B)3
C)5
D)6
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 28 في هذه المجموعة.
فتح الحزمة
k this deck
22
Section 2 of manpage describes

A)commands
B)system calls
C)function calls
D)drivers
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 28 في هذه المجموعة.
فتح الحزمة
k this deck
23
Which of the following exec call is a system call?

A)execl
B)execlp
C)execve
D)execvp
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 28 في هذه المجموعة.
فتح الحزمة
k this deck
24
______________ timer is decremented only when the process is executing

A)itimer_real
B)itimer_virtual
C)itimer_prof
D)none of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 28 في هذه المجموعة.
فتح الحزمة
k this deck
25
Daemon process is a?

A)group leader
B)session leader
C)orphan process
D)all the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 28 في هذه المجموعة.
فتح الحزمة
k this deck
26
The terminal used by a Daemon process is:

A)any terminal
B)no terminal
C)root terminal
D)system console
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 28 في هذه المجموعة.
فتح الحزمة
k this deck
27
shared memory can be used for?

A)read only operations
B)append
C)read or read write operations
D)write only
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 28 في هذه المجموعة.
فتح الحزمة
k this deck
28
Sysconf(_SC_PAGE_SIZE) returns?

A)size of the page
B)max size of the page
C)min size of the page
D)paging allowed or not
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 28 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 28 في هذه المجموعة.