Question 1
Question
Preemptive means the rules governing which processes receive the CPU and for how long is determined by?
Answer
-
Process
-
Process scheduler
-
Kernel
-
Tickless clock
Question 2
Question
When running in kernel mode, the CPU can access both user and kernel memory space.
Question 3
Question
A [blank_start]________[blank_end] link is the name for a symbolic link which references a file that doesn't exist
Question 4
Question
The SUSv3 specified portable filename character set has how many characters?
Question 5
Question
It's recommended that a filename should not contain the [blank_start]_[blank_end] character because it may be mistaken for command options.
Question 6
Question
An execve() call destroys the existing memory segments of the process, these are?
Question 7
Question
C programs can access the environment variables of a process by what?
Answer
-
char **environ
-
char **getenv
-
char **environment
-
char **getconf
Question 8
Question
What are the outcomes of inheriting the environment after an exec() family of calls?
Question 9
Question
Resource limits set by setrlimit() are inherited by a new child process created via fork().
Question 10
Question
The type of linking where the linker extracts the required objects from modules and copies these into the resulting executable is called [blank_start]______[blank_end] linking.
Question 11
Question
The type of linking where the linker writes a record into the resulting executable to indicate that at run time the executable needs a library is called [blank_start]______[blank_end] linking.
Question 12
Question
Threads share the same program code and all memory segments except?
Question 13
Question
A process controlling terminal receives this signal if the terminal is disconnected (e.g. window closed)
Answer
-
SIGHUP
-
SIGTERM
-
SIGTSTP
-
SIGSTOP