Skip to main content

System Programming MCQs with Answers

Practice important System Programming MCQs with answers and explanations.

Multiple Choice Questions

Q1911: Programs should modify a ______ of the command line if needed.
  • A: new process
  • B: copy
  • C: segment
  • D: binary
View Answer
B

Q1912: lpApplicationName allows ______ path or drive to be used.
  • A: only network
  • B: current
  • C: full
  • D: temporary
View Answer
B

Q1913: If both lpApplicationName and lpCommandLine are NULL, the process will still start normally.
  • A: A
  • B: B
  • C:
  • D:
View Answer
B

Q1914: lpCommandLine provides a string where tokens are delimited by ______.
  • A: spaces
  • B: commas
  • C: quotes
  • D: colons
View Answer
A

Q1915: The Windows API that returns the full command line string is ______.
  • A: GetCommandString()
  • B: GetProcessCommand()
  • C: GetCommandLine()
  • D: FetchCmdLine()
View Answer
C

Q1916: Which parameter can be set to NULL when lpCommandLine contains the image name?
  • A: lpCommandLine
  • B: lpStartupInfo
  • C: lpApplicationName
  • D: lpEnvironment
View Answer
C

Q1917: To locate the program image, Windows may search directories listed in ______.
  • A: System.ini
  • B: Registry
  • C: Path Environment variable
  • D: User profile path
View Answer
C

Q1918: The command line passed using lpCommandLine is considered constant.
  • A: A
  • B: B
  • C:
  • D:
View Answer
B

Q1919: lpApplicationName must contain the file extension such as .EXE or .BAT.
  • A: A
  • B: B
  • C:
  • D:
View Answer
A

Q1920: When lpCommandLine is used, the first token must be the ______.
  • A: command type
  • B: environment variable
  • C: image name
  • D: startup info
View Answer
C

Test Your Knowledge

Take a timed quiz on System Programming

🚀 Start Quiz Now