Modern Programming Languages MCQs with Answers
Practice important Modern Programming Languages MCQs with answers and explanations.
Chapter: 5
Q61:
Who designed LISP in 1959?
A. John von Neumann
B. Alan Turing
C. John McCarthy
D. Dennis Ritchie
Correct Answer:
C
Chapter: 5
Q62:
LISP was developed as part of research in which field?
A. Physics
B. Artificial Intelligence
C. Game Development
D. Network Security
Correct Answer:
B
Chapter: 5
Q63:
LISP primarily processes data in ________.
A. Arrays
B. Dynamically growing lists
C. Static tables
D. Numeric arrays
Correct Answer:
B
Chapter: 5
Q64:
What are the two data types in LISP?
A. Numbers and strings
B. Atoms and lists
C. Objects and variables
D. Symbols and integers
Correct Answer:
B
Chapter: 5
Q65:
The syntax of LISP is based on ________.
A. Predicate logic
B. Boolean algebra
C. Lambda calculus
D. Set theory
Correct Answer:
C
Chapter: 5
Q66:
Which programming paradigm did LISP pioneer?
A. Object-oriented programming
B. Functional programming
C. Procedural programming
D. Event-driven programming
Correct Answer:
B
Chapter: 5
Q67:
How is control flow achieved in LISP?
A. Loops
B. Recursion
C. Conditional expressions
D. Both B and C
Correct Answer:
D
Chapter: 5
Q68:
Which of the following are contemporary dialects of LISP?
A. ML and Miranda
B. Scheme and COMMON LISP
C. Prolog and Python
D. Haskell and Java
Correct Answer:
B
Chapter: 5
Q69:
LISP was primarily designed to handle ________ computation.
A. Numeric
B. Symbolic
C. Logical
D. Statistical
Correct Answer:
B
Chapter: 5
Q70:
Which related language to LISP focuses on functional programming?
A. Prolog
B. Python
C. Haskell
D. Fortran
Correct Answer:
C
Chapter: 5
Q71:
Fill in the blank: LISP was created at _______ to solve problems in AI, linguistics, and mathematics.
A. MIT
B. Stanford University
C. Harvard
D. Oxford
Correct Answer:
A
Chapter: 5
Q72:
Fill in the blank: LISP's syntax is heavily influenced by _______.
A. Boolean algebra
B. Predicate logic
C. Lambda calculus
D. Functional theory
Correct Answer:
C
Chapter: 5
Q73:
What year was LISP introduced?
A. 1957
B. 1958
C. 1959
D. 1960
Correct Answer:
C
Chapter: 5
Q74:
What distinguishes LISP's data handling from other early programming languages?
A. Static arrays
B. Symbolic computation
C. Strong typing
D. Fixed data structures
Correct Answer:
B
Chapter: 5
Q75:
Which AI-related feature makes LISP dominant in the field?
A. Syntax simplicity
B. Functional paradigm
C. Dynamic list handling
D. Array-based processing
Correct Answer:
C
Chapter: 6
Q76:
What does ALGOL stand for?
A. Algorithmic Language
B. Algebraic Logic
C. Assembly Language
D. Analytical Language
Correct Answer:
A
Chapter: 6
Q77:
When was ALGOL 58 designed?
A. 1957
B. 1958
C. 1960
D. 1968
Correct Answer:
B
Chapter: 6
Q78:
What was the main motivation behind designing ALGOL?
A. To create a gaming language
B. To make machine-specific languages
C. To design a portable universal language
D. To replace assembly languages
Correct Answer:
C
Chapter: 6
Q79:
Which feature of ALGOL was introduced for separating statements?
A. Colon
B. Semicolon
C. Slash
D. Backslash
Correct Answer:
B
Chapter: 6
Q80:
What is the assignment operator in ALGOL?
A. :=
B. =
C. ==
D. <-
Correct Answer:
A