Skip to main content

Modern Programming Languages MCQs with Answers

Practice important Modern Programming Languages MCQs with answers and explanations.

Chapter: 6
Q81:
Which statement structure did ALGOL introduce?
A. if-else
B. while-do
C. begin ... end
D. try-catch
Correct Answer: C
Chapter: 6
Q82:
How were parameters separated in ALGOL?
A. By type
B. By mode (in & out)
C. By size
D. By length
Correct Answer: B
Chapter: 6
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
Correct Answer: C
Chapter: 6
Q84:
What is the lower bound of an array in ALGOL?
A. Fixed
B. Undefined
C. User-defined
D. Zero
Correct Answer: C
Chapter: 6
Q85:
Which version of ALGOL introduced block structure and stack-dynamic arrays?
A. ALGOL 58
B. ALGOL 60
C. ALGOL 68
D. ALGOL 70
Correct Answer: B
Chapter: 6
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
Correct Answer: C
Chapter: 6
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
Correct Answer: A
Chapter: 6
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
Correct Answer: A
Chapter: 6
Q89:
What key design concept was ALGOL 68 based on?
A. Abstraction
B. Orthogonality
C. Procedural programming
D. Modularity
Correct Answer: B
Chapter: 6
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
Correct Answer: B
Chapter: 6
Q91:
Which programming languages were influenced by ALGOL 68?
A. Pascal, C, Ada
B. COBOL, Java, SQL
C. Python, JavaScript, Ruby
D. Prolog, Fortran, BASIC
Correct Answer: A
Chapter: 6
Q92:
Fill in the blank: ALGOL 60 syntax was formally defined using _______.
A. Regular expressions
B. Backus-Naur Form (BNF)
C. Context-free grammar
D. Syntax trees
Correct Answer: B
Chapter: 6
Q93:
Fill in the blank: The concept of _______ in ALGOL 68 greatly influenced modern languages.
A. Orthogonality
B. Modularity
C. Encapsulation
D. Simplicity
Correct Answer: A
Chapter: 6
Q94:
Fill in the blank: ALGOL 58 allowed array subscripts to have _______.
A. Only positive values
B. A fixed number
C. Any user-defined range
D. A dynamic length
Correct Answer: C
Chapter: 7
Q95:
What does COBOL stand for?
A. Common Business Oriented Language
B. Common Basic Oriented Language
C. Computer Business Operational Language
D. Common Binary Operation Language
Correct Answer: A
Chapter: 7
Q96:
What was COBOL designed for?
A. Scientific computing
B. Business-oriented computation
C. System simulation
D. Logic programming
Correct Answer: B
Chapter: 7
Q97:
What feature did COBOL introduce for managing data structures?
A. Dynamic arrays
B. Hierarchical data structures (records)
C. Classes
D. Pointers
Correct Answer: B
Chapter: 7
Q98:
Which institution required COBOL for its operations?
A. IBM
B. Dartmouth College
C. Department of Defense (DoD)
D. Bell Labs
Correct Answer: C
Chapter: 7
Q99:
BASIC was designed at which institution?
A. IBM
B. Dartmouth College
C. Bell Labs
D. University of Edinburgh
Correct Answer: B
Chapter: 7
Q100:
What was the primary goal of designing BASIC?
A. To support AI research
B. To teach structured programming
C. To make programming easy for non-science students
D. To create a universal programming language
Correct Answer: C

Test Your Knowledge

Take a timed quiz on Modern Programming Languages

🚀 Start Quiz Now