Modern Programming Languages MCQs with Answers
Practice important Modern Programming Languages MCQs with answers and explanations.
Multiple Choice Questions
Q81: Which statement structure did ALGOL introduce?
- A: if-else
- B: while-do
- C: begin ... end
- D: try-catch
View Answer
C
Q82: How were parameters separated in ALGOL?
- A: By type
- B: By mode (in & out)
- C: By size
- D: By length
View Answer
B
Q83: Which of the following is NOT a feature of ALGOL 58?
- A: Array subscript flexibility
- B: Compound statements
- C: Built-in I/O
- D: Semicolon usage
View Answer
C
Q84: What is the lower bound of an array in ALGOL?
- A: Fixed
- B: Undefined
- C: User-defined
- D: Zero
View Answer
C
Q85: Which version of ALGOL introduced block structure and stack-dynamic arrays?
- A: ALGOL 58
- B: ALGOL 60
- C: ALGOL 68
- D: ALGOL 70
View Answer
B
Q86: What method of parameter passing did ALGOL 60 introduce?
- A: By value
- B: By reference
- C: By value and by name
- D: By mode
View Answer
C
Q87: Which syntax-defining tool was first used with ALGOL 60?
- A: BNF (Backus-Naur Form)
- B: LISP notation
- C: Syntax diagrams
- D: Finite automata
View Answer
A
Q88: What was the major drawback of ALGOL 60 in the U.S.?
- A: Lack of I/O support
- B: Poor recursion handling
- C: Lack of dynamic arrays
- D: No block structure
View Answer
A
Q89: What key design concept was ALGOL 68 based on?
- A: Abstraction
- B: Orthogonality
- C: Procedural programming
- D: Modularity
View Answer
B
Q90: Which of the following features did ALGOL 68 introduce?
- A: Inline functions
- B: User-defined data structures
- C: Fixed-length arrays
- D: Simple recursion
View Answer
B