Deck 4: Operating System and Process Management

Full screen (f)
exit full mode
Question
The process which terminates before the parent process exits becomes

A)zombie
B)orphan
C)child
D)none of the above
Use Space or
up arrow
down arrow
to flip the card.
Question
Return value of fork() system call can be:

A)-1,<0,0
B)-1,>0,0
Question
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
Question
Fork returns _____ to parent process on success

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

A)0
B)19
C)5
D)-20
Question
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
Question
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
Question
Which one can be a real time schedule policy?

A)sched_fifo
B)sched_spf
C)sched_other
D)sched_filo
Question
Solaris real time class priority is

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

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

A)0x00000000
B)0x3fff0000
C)0x7fff0000
D)0xbfff0000
Question
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
Question
LRU stands for

A)last received unit
B)least recently used
C)least recently usable
D)lost recoverd unit
Question
Mm_struct maintains?

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

A)shared objects
B)core
C)executables
D)all of the above
Question
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
Question
UNIX/Linux kernel is?

A)monolithic
B)micro
C)exo
D)nano
Question
Monolithic kernel

A)is highly extensiblity
B)has less run time overhead
C)smaller than micro level
D)suitable for real time system
Question
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
Question
Pick the run level to run Linux in multi user mode with networking?

A)0
B)3
C)5
D)6
Question
Section 2 of manpage describes

A)commands
B)system calls
C)function calls
D)drivers
Question
Which of the following exec call is a system call?

A)execl
B)execlp
C)execve
D)execvp
Question
______________ timer is decremented only when the process is executing

A)itimer_real
B)itimer_virtual
C)itimer_prof
D)none of the above
Question
Daemon process is a?

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

A)any terminal
B)no terminal
C)root terminal
D)system console
Question
shared memory can be used for?

A)read only operations
B)append
C)read or read write operations
D)write only
Question
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
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/28
auto play flashcards
Play
simple tutorial
Full screen (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
Unlock Deck
Unlock for access to all 28 flashcards in this deck.
Unlock Deck
k this deck
5
Which niceness value among the following indicate most favorable scheduling?

A)0
B)19
C)5
D)-20
Unlock Deck
Unlock for access to all 28 flashcards in this deck.
Unlock Deck
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
Unlock Deck
Unlock for access to all 28 flashcards in this deck.
Unlock Deck
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
Unlock Deck
Unlock for access to all 28 flashcards in this deck.
Unlock Deck
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
Unlock Deck
Unlock for access to all 28 flashcards in this deck.
Unlock Deck
k this deck
9
Solaris real time class priority is

A)0-59
B)60-99
C)100-159
D)160-169
Unlock Deck
Unlock for access to all 28 flashcards in this deck.
Unlock Deck
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
Unlock Deck
Unlock for access to all 28 flashcards in this deck.
Unlock Deck
k this deck
11
On x86-32 Linux, at which address the user stack resides normally?

A)0x00000000
B)0x3fff0000
C)0x7fff0000
D)0xbfff0000
Unlock Deck
Unlock for access to all 28 flashcards in this deck.
Unlock Deck
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
Unlock Deck
Unlock for access to all 28 flashcards in this deck.
Unlock Deck
k this deck
13
LRU stands for

A)last received unit
B)least recently used
C)least recently usable
D)lost recoverd unit
Unlock Deck
Unlock for access to all 28 flashcards in this deck.
Unlock Deck
k this deck
14
Mm_struct maintains?

A)memory files
B)open files
C)pipe
D)active memory regions
Unlock Deck
Unlock for access to all 28 flashcards in this deck.
Unlock Deck
k this deck
15
Is page table per process entity?
Unlock Deck
Unlock for access to all 28 flashcards in this deck.
Unlock Deck
k this deck
16
Among these files which has an ELF format

A)shared objects
B)core
C)executables
D)all of the above
Unlock Deck
Unlock for access to all 28 flashcards in this deck.
Unlock Deck
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
Unlock Deck
Unlock for access to all 28 flashcards in this deck.
Unlock Deck
k this deck
18
UNIX/Linux kernel is?

A)monolithic
B)micro
C)exo
D)nano
Unlock Deck
Unlock for access to all 28 flashcards in this deck.
Unlock Deck
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
Unlock Deck
Unlock for access to all 28 flashcards in this deck.
Unlock Deck
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
Unlock Deck
Unlock for access to all 28 flashcards in this deck.
Unlock Deck
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
Unlock Deck
Unlock for access to all 28 flashcards in this deck.
Unlock Deck
k this deck
22
Section 2 of manpage describes

A)commands
B)system calls
C)function calls
D)drivers
Unlock Deck
Unlock for access to all 28 flashcards in this deck.
Unlock Deck
k this deck
23
Which of the following exec call is a system call?

A)execl
B)execlp
C)execve
D)execvp
Unlock Deck
Unlock for access to all 28 flashcards in this deck.
Unlock Deck
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
Unlock Deck
Unlock for access to all 28 flashcards in this deck.
Unlock Deck
k this deck
25
Daemon process is a?

A)group leader
B)session leader
C)orphan process
D)all the above
Unlock Deck
Unlock for access to all 28 flashcards in this deck.
Unlock Deck
k this deck
26
The terminal used by a Daemon process is:

A)any terminal
B)no terminal
C)root terminal
D)system console
Unlock Deck
Unlock for access to all 28 flashcards in this deck.
Unlock Deck
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
Unlock Deck
Unlock for access to all 28 flashcards in this deck.
Unlock Deck
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
Unlock Deck
Unlock for access to all 28 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 28 flashcards in this deck.