QUESTIONS AND CORRECT ANSWER WITH
EXPLANATION GRADED A+ STUDY GUIDE SOUTHERN
NEW HAMPSHIRE UNIVERSITY
1. Programming is:
A. Designing hardware
B. Writing instructions for a computer
C. Browsing internet
D. Data entry
Answer: B
Rationale: Programming is creating instructions for computers.
2. A program is:
A. Hardware device
B. Set of instructions
C. Internet connection
D. Database
Answer: B
Rationale: Programs contain executable instructions.
3. Algorithm is:
A. Hardware part
B. Step-by-step solution to a problem
C. Programming language
D. Operating system
Answer: B
Rationale: Logical steps to solve a problem.
4. Flowchart is:
A. Code
B. Diagram of algorithm
C. Database
D. Compiler
Answer: B
Rationale: Visual representation of logic.
,5. Pseudocode is:
A. Real code
B. Structured English-like logic
C. Hardware design
D. OS tool
Answer: B
Rationale: Human-readable algorithm.
6. Compiler is used to:
A. Delete files
B. Convert code into machine language
C. Browse internet
D. Design UI
Answer: B
Rationale: Translates source code.
7. Interpreter executes:
A. Hardware
B. Code line by line
C. Database
D. OS only
Answer: B
Rationale: Step-by-step execution.
8. Syntax means:
A. Program speed
B. Rules of writing code
C. Hardware design
D. Output format
Answer: B
Rationale: Language rules.
9. Semantics refers to:
A. Code structure
B. Meaning of code
C. Hardware
D. OS
Answer: B
Rationale: Program meaning.
, 10. Variable is:
A. Fixed value
B. Storage for data
C. OS
D. Hardware
Answer: B
Rationale: Holds data values.
11. Constant is:
A. Changing value
B. Fixed value
C. Loop
D. Function
Answer: B
Rationale: Cannot change.
12. Data type defines:
A. CPU speed
B. Type of data stored
C. Network
D. OS
Answer: B
Rationale: Data classification.
13. Integer data type stores:
A. Text
B. Whole numbers
C. Images
D. Audio
Answer: B
Rationale: Numeric values.
14. Float stores:
A. Whole numbers
B. Decimal numbers
C. Text
D. Boolean
Answer: B
Rationale: Fractional numbers.