System Programming MCQs with Answers
Practice important System Programming MCQs with answers and explanations.
Multiple Choice Questions
Q211: Which is more suitable when writing Windows-specific applications?
- A: Java APIs
- B: Windows APIs
- C: Standard C functions
- D: Bash commands
View Answer
B
Q212: Standard C functions can run on Windows because
- A: Windows supports Linux natively
- B: Windows has low-level system calls to support them
- C: Windows converts them into Java classes
- D: None of the above
View Answer
B
Q213: Which of the following is not provided by standard C I/O functions?
- A: File writing
- B: Portability
- C: Synchronization
- D: Reading data
View Answer
C
Q214: Using standard C functions helps in
- A: cross-platform compatibility
- B: accessing Windows kernel
- C: mode switching
- D: memory paging
View Answer
A
Q215: Standard functions like fread() and fwrite() can be used to perform
- A: looping
- B: file I/O operations
- C: window creation
- D: network scanning
View Answer
B
Q216: Which function reads content from a file into memory in C?
- A: fwrite()
- B: fread()
- C: fscanf()
- D: fclose()
View Answer
B
Q217: Standard C I/O functions are suitable for ______ development.
- A: Windows-only
- B: Network-low level
- C: portable and cross-platform
- D: BIOS-level
View Answer
C
Q218: Standard C functions cannot perform Windows-specific features such as
- A: reading input from user
- B: accessing memory
- C: locking, async I/O, inter-process communication
- D: writing output
View Answer
C
Q219: Portability of code is improved by using
- A: Windows Registry
- B: C/C++ Standard Library
- C: .NET Framework
- D: Hardware Drivers
View Answer
B
Q220: Windows APIs should be used when
- A: the goal is portability
- B: limited memory is available
- C: advanced Windows features are required
- D: code is written in Java
View Answer
C