MCQ Collection
Programming Fundamentals MCQs
Programming Fundamentals MCQs for variables, loops, functions, arrays, and basic logic building.
A. Guess and run
B. Compile and ignore
C. Copy and paste
D. Divide and conquer
Correct Answer: D. Divide and conquer
A. Keyboard driver
B. Control Unit
C. Output screen
D. Hard disk cable
Correct Answer: B. Control Unit
A. Run a website
B. Translate source code into object or machine code
C. Store passwords
D. Draw flowcharts
Correct Answer: B. Translate source code into object or machine code
A. It creates hardware
B. It changes the CPU speed
C. It reduces logical errors and improves structure
D. It removes the need for testing
Correct Answer: C. It reduces logical errors and improves structure
A. Print final reports
B. Store instructions and data during execution
C. Cool the processor
D. Display only graphics
Correct Answer: B. Store instructions and data during execution
A. Check screen brightness
B. Format the keyboard
C. Combine object files and libraries into an executable
D. Design algorithms automatically
Correct Answer: C. Combine object files and libraries into an executable
A. Printer
B. Sequence
C. Cable
D. Pixel
Correct Answer: B. Sequence
A. Color Register
B. Mouse Counter
C. Printer Register
D. Program Counter
Correct Answer: D. Program Counter
A. Executable file only
B. Cache file only
C. Object file only
D. Source code file
Correct Answer: D. Source code file
A. Storage
B. Selection
C. Formatting
D. Compilation
Correct Answer: B. Selection
A. Instruction Register
B. Screen Register
C. Keyboard Buffer only
D. File Register
Correct Answer: A. Instruction Register
A. Compiled code that may still need linking
B. A text-only requirement
C. A handwritten algorithm
D. A flowchart symbol
Correct Answer: A. Compiled code that may still need linking