Introduction to Computing MCQs with Answers
Practice important Introduction to Computing MCQs with answers and explanations.
Multiple Choice Questions
Q1661: Fill in the blank: The subject of _______ within mathematics provides a simple problem-solving algorithm for declarative systems.
- A: formal logic
- B: calculus
- C: set theory
- D: combinatorics
View Answer
A
Q1662: What is the primary role of a programmer in a declarative programming system?
- A: Writing code for data structures
- B: Debugging and testing
- C: Developing a precise problem statement
- D: Optimizing code execution
View Answer
C
Q1663: Which of the following is NOT typically associated with declarative programming?
- A: Simulating systems
- B: Solving problems
- C: Implementing complex algorithms
- D: Describing situations
View Answer
C
Q1664: In the declarative paradigm, what replaces the need to describe an algorithm for solving a problem?
- A: Code optimization
- B: Pre-established problem-solving algorithm
- C: Formal grammar rules
- D: Algorithmic complexity
View Answer
B
Q1665: How did the discovery of formal logic impact the declarative paradigm?
- A: It simplified syntax rules
- B: It provided a general-purpose algorithm
- C: It introduced new programming languages
- D: It made debugging easier
View Answer
B
Q1666: What is the functional paradigm based on?
- A: Storing data
- B: Logical reasoning
- C: Input-output relations
- D: Control structures
View Answer
C
Q1667: What do mathematicians refer to the entities that accept inputs and produce outputs?
- A: Variables
- B: Functions
- C: Loops
- D: Algorithms
View Answer
B
Q1668: In the functional paradigm, how is a program typically constructed?
- A: Using loops
- B: With conditional statements
- C: By connecting smaller predefined functions
- D: By iterative processes
View Answer
C
Q1669: Which programming language is mentioned as a prominent functional programming language?
- A: Python
- B: Java
- C: LISP
- D: C++
View Answer
C
Q1670: In the example provided, what does the function Find_sum do?
- A: Finds the maximum value
- B: Computes the average
- C: Adds values together
- D: Subtracts values
View Answer
C