Introduction to Computing MCQs with Answers
Practice important Introduction to Computing MCQs with answers and explanations.
Chapter: 112
Q1641:
What is the imperative paradigm’s main approach to the programming process?
A. Developing a sequence of commands
B. Defining abstract classes
C. Identifying reusable modules
D. Writing in a high-level language
Correct Answer:
A
Chapter: 112
Q1642:
What programming languages are mentioned as being based on the imperative paradigm?
A. FORTRAN and COBOL
B. Python and pseudocode
C. JavaScript and HTML
D. SQL and CSS
Correct Answer:
B
Chapter: 112
Q1643:
According to the content, what term is considered more appropriate than “programming paradigm”?
A. Coding style
B. Software development paradigm
C. Programming model
D. Algorithmic method
Correct Answer:
B
Chapter: 112
Q1644:
Fill in the blank: The __________ paradigm defines programming as the development of a sequence of commands that manipulate data.
A. functional
B. object-oriented
C. imperative
D. declarative
Correct Answer:
C
Chapter: 112
Q1645:
Fill in the blank: The multiple-track diagram shows different paths resulting from different ________.
A. coding styles
B. programming paradigms
C. software methodologies
D. generations of languages
Correct Answer:
B
Chapter: 112
Q1646:
Fill in the blank: The __________ paradigm is associated with languages like Python and machine language.
A. imperative
B. declarative
C. object-oriented
D. functional
Correct Answer:
A
Chapter: 112
Q1647:
Which of the following is not one of the paradigms mentioned in the content?
A. Functional paradigm
B. Object-oriented paradigm
C. Algorithmic paradigm
D. Declarative paradigm
Correct Answer:
C
Chapter: 112
Q1648:
What does the imperative paradigm suggest as the first step in the programming process?
A. Debugging the code
B. Designing the user interface
C. Finding an algorithm
D. Writing pseudocode
Correct Answer:
C
Chapter: 112
Q1649:
What is the key characteristic of the imperative programming paradigm?
A. It focuses on data flow
B. It emphasizes command sequences
C. It is based on class hierarchies
D. It prioritizes declarative statements
Correct Answer:
B
Chapter: 112
Q1650:
The historical development of programming languages is compared to which of the following?
A. A linear scale
B. A tree diagram
C. A circular process
D. A multiple-track diagram
Correct Answer:
D
Chapter: 113
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
Correct Answer:
B
Chapter: 113
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
Correct Answer:
B
Chapter: 113
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
Correct Answer:
A
Chapter: 113
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
Correct Answer:
B
Chapter: 113
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
Correct Answer:
B
Chapter: 113
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
Correct Answer:
C
Chapter: 113
Q1657:
What subject within mathematics has boosted the development of the declarative paradigm?
A. Algebra
B. Geometry
C. Formal logic
D. Number theory
Correct Answer:
C
Chapter: 113
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
Correct Answer:
C
Chapter: 113
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
Correct Answer:
A
Chapter: 113
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
Correct Answer:
D