Skip to main content

System Programming MCQs with Answers

Practice important System Programming MCQs with answers and explanations.

Multiple Choice Questions

Q2271: User time is ____.
  • A: Time spent in user mode
  • B: Time spent in kernel mode
  • C: Total system time
  • D: Idle time
View Answer
A

Q2272: Kernel time refers to ____.
  • A: Time spent in kernel mode
  • B: Time spent in user mode
  • C: Elapsed time
  • D: Idle CPU time
View Answer
A

Q2273: Elapsed time is calculated as ____.
  • A: Exit time minus create time
  • B: Create time minus exit time
  • C: User time minus kernel time
  • D: Kernel time minus user time
View Answer
A

Q2274: The command line arguments start from ____.
  • A: After the executable name
  • B: First token
  • C: Second token
  • D: Last token
View Answer
A

Q2275: The program uses union to handle ____.
  • A: File time arithmetic
  • B: Process priority
  • C: Thread information
  • D: Memory management
View Answer
A

Q2276: SkipArg() returns the command line after ____.
  • A: Executable name
  • B: First argument
  • C: Last argument
  • D: Process ID
View Answer
A

Q2277: The STARTUPINFO structure contains ____.
  • A: Process startup info
  • B: Execution times
  • C: OS version info
  • D: Thread ID
View Answer
A

Q2278: Which header file is included in the code?
  • A: Everything.h
  • B: Windows.h
  • C: Stdlib.h
  • D: Tchar.h
View Answer
A

Q2279: Terminating another process is problematic because the terminating process does not get a chance to _______.
  • A: release resources
  • B: raise exception
  • C: kill other processes
  • D: close handles
View Answer
A

Q2280: Console control events allow sending a message from one process to _______.
  • A: the same process
  • B: another process
  • C: the OS kernel
  • D: the user
View Answer
A

Test Your Knowledge

Take a timed quiz on System Programming

🚀 Start Quiz Now