Skip to main content

System Programming MCQs with Answers

Practice important System Programming MCQs with answers and explanations.

Multiple Choice Questions

Q2311: The time limit for each process, if specified, is passed as _______.
  • A: argv[1]
  • B: argv[0]
  • C: argv[2]
  • D: argc
View Answer
A

Q2312: If the time limit argument is zero or omitted, the process runs _______.
  • A: without a time limit
  • B: with default limit
  • C: for 1 second
  • D: only once
View Answer
A

Q2313: The macro MILLION is defined as _______.
  • A: 1000000
  • B: 1000
  • C: 1024
  • D: 1000000000
View Answer
A

Q2314: The Jobbg function prototype is: static int Jobbg (int, LPTSTR *, _______);
  • A: jobs
  • B: kill
  • C: command
  • D: line
View Answer
C

Q2315: The job shell program uses CreateJobObject() to create a _______.
  • A: job object
  • B: process
  • C: thread
  • D: event
View Answer
A

Q2316: If CreateJobObject() returns NULL, it indicates _______.
  • A: error creating job object
  • B: success
  • C: job completion
  • D: timeout
View Answer
A

Q2317: SetInformationJobObject() is called to set _______ on the job object.
  • A: information
  • B: priority
  • C: security
  • D: handles
View Answer
A

Q2318: The exitFlag variable is used to control the _______ of the shell.
  • A: termination
  • B: creation
  • C: pause
  • D: resume
View Answer
A

Q2319: The job shell waits for user commands in a loop until _______ is TRUE.
  • A: exitFlag
  • B: argc
  • C: command
  • D: line
View Answer
B

Q2320: _tprintf(_T("JM$")) is used to display the _______.
  • A: command prompt
  • B: error message
  • C: status
  • D: message
View Answer
A

Test Your Knowledge

Take a timed quiz on System Programming

🚀 Start Quiz Now