Introduction to Computing MCQs with Answers
Practice important Introduction to Computing MCQs with answers and explanations.
Multiple Choice Questions
Q1651: What does the declarative paradigm ask a programmer to do?
- A: Write an algorithm
- B: Describe the problem
- C: Design a user interface
- D: Debug the code
View Answer
B
Q1652: In a declarative programming system, the pre-established algorithm is typically used for what purpose?
- A: Compiling code
- B: General-purpose problem-solving
- C: Memory management
- D: Code optimization
View Answer
B
Q1653: What is a major obstacle in developing declarative programming systems?
- A: Lack of general-purpose algorithms
- B: Complexity in syntax
- C: Limited programming languages
- D: High computational cost
View Answer
A
Q1654: Early declarative programming languages were mostly designed for what type of applications?
- A: Web development
- B: Special-purpose
- C: Database management
- D: Artificial intelligence
View Answer
B
Q1655: Which example is given in the content to illustrate the use of the declarative approach?
- A: Web server management
- B: Weather forecasting
- C: Financial accounting
- D: Game development
View Answer
B
Q1656: How does a weather forecaster use a declarative programming system, according to the content?
- A: By developing a forecasting algorithm
- B: By analyzing code
- C: By describing the current weather status
- D: By calculating probabilities manually
View Answer
C
Q1657: What subject within mathematics has boosted the development of the declarative paradigm?
- A: Algebra
- B: Geometry
- C: Formal logic
- D: Number theory
View Answer
C
Q1658: The discovery of formal logic in mathematics led to the emergence of which programming concept?
- A: Object-oriented programming
- B: Functional programming
- C: Logic programming
- D: Procedural programming
View Answer
C
Q1659: Fill in the blank: In the declarative paradigm, a programmer describes the _______ to be solved rather than the algorithm.
- A: problem
- B: method
- C: interface
- D: solution
View Answer
A
Q1660: Fill in the blank: The declarative approach is commonly used in simulations to test _______ or obtain predictions.
- A: algorithms
- B: applications
- C: code efficiency
- D: hypotheses
View Answer
D