System Programming MCQs with Answers
Practice important System Programming MCQs with answers and explanations.
Multiple Choice Questions
Q2301: When a process is created with CREATE_NEW_CONSOLE, it has a _______.
- A: separate console
- B: shared console
- C: no console
- D: virtual console
View Answer
A
Q2302: The flag DETACHED_PROCESS causes a process to run without _______.
- A: a console
- B: a thread
- C: a process
- D: an event handler
View Answer
A
Q2303: The Simple Job Management Shell supports the commands jobbg, jobs, and _______.
- A: kill
- B: stop
- C: start
- D: exit
View Answer
C
Q2304: The shell keeps track of process ID and related information using a _______.
- A: user-specific file
- B: system log
- C: memory buffer
- D: database
View Answer
A
Q2305: Several shells running concurrently accessing the same file can cause _______ issues.
- A: concurrency
- B: security
- C: performance
- D: compatibility
View Answer
A
Q2306: File locking is used in the job shell to ensure _______ access to the shared file.
- A: mutually exclusive
- B: parallel
- C: concurrent
- D: random
View Answer
A
Q2307: The command jobbg in the job shell is used to _______.
- A: run a job in the background
- B: list all jobs
- C: terminate a job
- D: quit the shell
View Answer
A
Q2308: The jobs command lists _______.
- A: all background jobs
- B: all processes
- C: all running threads
- D: all terminated jobs
View Answer
A
Q2309: The kill command is used to _______.
- A: terminate a specified job
- B: run a new job
- C: list jobs
- D: quit the shell
View Answer
A
Q2310: The job shell parses the _______ and calls the respective function.
- A: command line
- B: source code
- C: process ID
- D: job ID
View Answer
A