Skip to main content

System Programming MCQs with Answers

Practice important System Programming MCQs with answers and explanations.

Multiple Choice Questions

Q1891: Handles in Windows must be:
  • A: Saved to disk
  • B: Kept open permanently
  • C: Logged for audit
  • D: Closed when not in use
View Answer
D

Q1892: What type of structure are process handles compared to in the content?
  • A: File handle
  • B: Socket
  • C: Port
  • D: Thread handle
View Answer
A

Q1893: Changing the environment block of the parent process after child creation affects the child.
  • A: A
  • B: B
  • C:
  • D:
View Answer
B

Q1894: Handles are required for ______ process-related functions.
  • A: name-based
  • B: ID-based
  • C: handle-based
  • D: path-based
View Answer
C

Q1895: What parameter usually specifies the executable image in Windows process creation?
  • A: lpApplicationName
  • B: lpSystemName
  • C: lpCommandLine
  • D: lpDirectory
View Answer
C

Q1896: If lpCommandLine is used to specify the image, what should be the value of lpApplicationName?
  • A: NULL
  • B: EXE
  • C: STRING
  • D: 1
View Answer
A

Q1897: Which parameter must not be NULL if lpCommandLine is not used?
  • A: lpDirectory
  • B: lpApplicationName
  • C: lpStartupInfo
  • D: lpEnvironment
View Answer
B

Q1898: The full name of the application, including path and extension, should be specified in ______.
  • A: lpCommandLine
  • B: argv[0]
  • C: lpApplicationName
  • D: ProgramData
View Answer
C

Q1899: What file extensions should be included when using lpApplicationName?
  • A: .ini, .dll
  • B: .exe, .bat
  • C: .txt, .sys
  • D: .doc, .xml
View Answer
B

Q1900: Quotes within the string are ______ for long application names.
  • A: mandatory
  • B: optional
  • C: not allowed
  • D: required only for .BAT files
View Answer
B

Test Your Knowledge

Take a timed quiz on System Programming

🚀 Start Quiz Now