Skip to main content

System Programming MCQs with Answers

Practice important System Programming MCQs with answers and explanations.

Multiple Choice Questions

Q2391: Which function creates the Job Object in the program?
  • A: CreateProcess
  • B: CreateJobObject
  • C: AssignProcessToJobObject
  • D: SetInformationJobObject
View Answer
B

Q2392: What is the effect of the 'jobbg' command in the JobShell program?
  • A: Run a job in the background
  • B: List all jobs
  • C: Terminate a job
  • D: Resume a job
View Answer
A

Q2393: What does the flag CREATE_NEW_CONSOLE indicate when creating a process?
  • A: Process runs detached
  • B: Process runs with new console
  • C: Process runs suspended
  • D: Process runs in background
View Answer
B

Q2394: Which function is used to assign a process to a Job Object?
  • A: CreateJobObject
  • B: AssignProcessToJobObject
  • C: TerminateProcess
  • D: ResumeThread
View Answer
B

Q2395: Which command lists all running or stopped jobs created by this user?
  • A: jobbg
  • B: kill
  • C: jobs
  • D: quit
View Answer
C

Q2396: What happens if AssignProcessToJobObject fails in Jobbg function?
  • A: Process continues
  • B: Process is terminated
  • C: Process is paused
  • D: Process is resumed
View Answer
B

Q2397: What does the Kill command do in JobShell?
  • A: Starts a process
  • B: Terminates a specified job
  • C: Pauses a job
  • D: Lists all jobs
View Answer
B

Q2398: What does the option '-c' in jobbg command specify?
  • A: New process is detached
  • B: Process runs with console
  • C: Process runs in background
  • D: Process suspended
View Answer
B

Q2399: Which Windows version is required to run this Job Object program?
  • A: Windows 95
  • B: Windows NT 3.1 or greater
  • C: Windows XP
  • D: Windows 7
View Answer
B

Q2400: The process time limit in the program is measured in ________.
  • A: Milliseconds
  • B: Seconds
  • C: Microseconds
  • D: Minutes
View Answer
C

Test Your Knowledge

Take a timed quiz on System Programming

🚀 Start Quiz Now