Skip to main content

System Programming MCQs with Answers

Practice important System Programming MCQs with answers and explanations.

Multiple Choice Questions

Q1001: SEH is supported in Windows and ________.
  • A: Microsoft C++
  • B: Java
  • C: Python
  • D: Linux
View Answer
A

Q1002: Using SEH is essential for handling exceptions in ________ programs.
  • A: Some specific
  • B: Most new
  • C: All
  • D: No
View Answer
A

Q1003: SEH is primarily designed to handle exceptions at the ________ level.
  • A: Low-level
  • B: Application
  • C: High-level
  • D: User interface
View Answer
A

Q1004: Microsoft SEH and ISO C++ exception handling are both ways to manage ________.
  • A: Code exceptions
  • B: Runtime performance
  • C: Memory allocation
  • D: File handling
View Answer
A

Q1005: SEH provides a way to handle exceptions that occur due to ________.
  • A: Hardware faults
  • B: Logic errors
  • C: User input
  • D: Network issues
View Answer
A

Q1006: Structured exception handling in Microsoft C is a(n) ________.
  • A: Extension
  • B: Standard
  • C: Library
  • D: Function
View Answer
A

Q1007: It is recommended to use SEH when maintaining ________ code.
  • A: Existing
  • B: New
  • C: Obsolete
  • D: Faulty
View Answer
A

Q1008: In Python, the block used to test a block of code for errors is called ________.
  • A: try
  • B: except
  • C: else
  • D: finally
View Answer
A

Q1009: The block that handles an error in Python exception handling is called ________.
  • A: try
  • B: except
  • C: else
  • D: finally
View Answer
B

Q1010: Which Python block executes code only when there is no error in the try block?
  • A: try
  • B: except
  • C: else
  • D: finally
View Answer
C

Test Your Knowledge

Take a timed quiz on System Programming

🚀 Start Quiz Now