MCQ Collection
Programming Fundamentals MCQs
Programming Fundamentals MCQs for variables, loops, functions, arrays, and basic logic building.
A. Divisor equal to zero
B. Installing fonts
C. Renaming the folder
D. Changing wallpaper
Correct Answer: A. Divisor equal to zero
A. Audio bus
B. Text bus
C. Control bus
D. Print bus
Correct Answer: C. Control bus
A. A book reference
B. An error that occurs while the program is executing
C. A flowchart symbol
D. An error before writing code
Correct Answer: B. An error that occurs while the program is executing
A. Delete all variables
B. Avoid input
C. Translate the algorithm into code
D. Ignore testing
Correct Answer: C. Translate the algorithm into code
A. Use only global variables
B. Stop testing
C. Break it into smaller tasks
D. Skip requirements
Correct Answer: C. Break it into smaller tasks
A. Automatic debugging
B. Von-Neumann bottleneck
C. Unlimited memory speed
D. No need for CPU
Correct Answer: B. Von-Neumann bottleneck
A. Loader only
B. Linker
C. Printer
D. Interpreter
Correct Answer: D. Interpreter
A. Naming
B. Testing
C. Linking only
D. Formatting
Correct Answer: B. Testing
A. Vague instructions
B. Precise step-by-step logic
C. Missing output
D. Unlimited steps
Correct Answer: B. Precise step-by-step logic
A. CPU and memory share a limited communication path
B. Programs have comments
C. The keyboard has too many keys
D. The monitor is too large
Correct Answer: A. CPU and memory share a limited communication path
A. Only the keyboard input
B. Only comments
C. Only the monitor output
D. The complete source program before execution
Correct Answer: D. The complete source program before execution
A. Compiling
B. Indenting
C. Commenting
D. Debugging
Correct Answer: D. Debugging