Modern Programming Languages MCQs with Answers
Practice important Modern Programming Languages MCQs with answers and explanations.
Multiple Choice Questions
Q391: What does PROLOG stand for?
- A: Programming in Logic
- B: Program Logic Organizer
- C: Predicate Logic Operator Generator
- D: Programming Language Operator Guide
View Answer
A
Q392: Who designed PROLOG in 1975?
- A: John McCarthy
- B: Phillippe Roussell
- C: Alan Turing
- D: Donald Knuth
View Answer
B
Q393: PROLOG is based on which calculus?
- A: Boolean Algebra
- B: Predicate Calculus
- C: Set Theory
- D: Propositional Logic
View Answer
B
Q394: Which of the following is NOT a feature of PROLOG?
- A: Declarative syntax
- B: Built-in inference mechanism
- C: Procedural algorithm specification
- D: Symbolic processing
View Answer
C
Q395: In PROLOG, what are facts used for?
- A: Defining rules
- B: Representing unchanging information
- C: Writing algorithms
- D: Creating variables
View Answer
B
Q396: Which of the following languages is PROLOG most similar to in its execution model?
- A: Python
- B: SQL
- C: C++
- D: JavaScript
View Answer
B
Q397: What type of programming paradigm does PROLOG belong to?
- A: Object-Oriented
- B: Declarative
- C: Procedural
- D: Functional
View Answer
B
Q398: PROLOG primarily uses which proof technique?
- A: Modus Ponens
- B: Modus Tollens
- C: Inductive Reasoning
- D: Bayesian Inference
View Answer
A
Q399: Which is more efficient for large collections of axioms in PROLOG?
- A: Forward chaining
- B: Backward chaining
- C: Random traversal
- D: Brute force search
View Answer
B
Q400: A PROLOG query is used to:
- A: Insert new facts
- B: Retrieve information
- C: Delete rules
- D: Optimize algorithms
View Answer
B