Skip to main content

System Programming MCQs with Answers

Practice important System Programming MCQs with answers and explanations.

Multiple Choice Questions

Q391: The suffix 'W' in Windows API function names usually indicates _______.
  • A: Unicode version
  • B: ASCII version
  • C: Generic version
  • D: 16-bit version
View Answer
A

Q392: Using generic data types and Unicode macros allows the compiler to _______.
  • A: Always choose ASCII version
  • B: Always choose Unicode version
  • C: Decide which API version to use
  • D: Ignore API version
View Answer
C

Q393: One Unicode strategy where the code uses only 8-bit characters is called _______.
  • A: IgnoreUnicode
  • B: Use8bitonly
  • C: UseUnicodeonly
  • D: GenericCode
View Answer
B

Q394: The strategy that uses data types like char or CHAR and standard library functions such as printf() is called _______.
  • A: Unicode Policy
  • B: IgnoreUnicode Policy
  • C: Generic Code Policy
  • D: Unicode and 8-bit Policy
View Answer
B

Q395: Most Windows APIs cannot be used when _______.
  • A: Using Unicode
  • B: Using IgnoreUnicode Policy
  • C: Using Generic Code Policy
  • D: Using Unicode and 8-bit Policy
View Answer
B

Q396: Which macro is used to switch between 8-bit and Unicode in generic code?
  • A: #define ASCII
  • B: #define UNICODE
  • C: #define _UNICODE
  • D: #define GENERIC
View Answer
B

Q397: Generic code uses _______ to handle character encoding flexibly.
  • A: Only 8-bit data types
  • B: Generic functions and data types
  • C: Only Unicode functions
  • D: Only ASCII functions
View Answer
B

Q398: Unicode Policy requires the use of _______ data types.
  • A: 8-bit characters
  • B: Char and CHAR
  • C: Wide characters
  • D: Generic characters
View Answer
C

Q399: The Unicode and 8-bit Policy handles _______.
  • A: Only Unicode characters
  • B: Only 8-bit characters
  • C: Both Unicode and 8-bit characters
  • D: No characters
View Answer
C

Q400: In the Unicode and 8-bit Policy, the choice of which encoding to use is made at _______.
  • A: Compile time
  • B: Runtime
  • C: Link time
  • D: Installation time
View Answer
B

Test Your Knowledge

Take a timed quiz on System Programming

🚀 Start Quiz Now