Introduction to Computing MCQs with Answers
Practice important Introduction to Computing MCQs with answers and explanations.
Chapter: 115
Q1681:
What is the object-oriented paradigm primarily associated with?
A. Data storage
B. User interface design
C. Object-oriented programming (OOP)
D. Algorithm optimization
Correct Answer:
C
Chapter: 115
Q1682:
In the object-oriented paradigm, what is the term used for the functions associated with an object?
A. Algorithms
B. Procedures
C. Methods
D. Commands
Correct Answer:
C
Chapter: 115
Q1683:
How is a graphical user interface typically constructed in an object-oriented environment?
A. As a sequence of commands
B. As a collection of data structures
C. As a collection of objects
D. As a series of function calls
Correct Answer:
C
Chapter: 115
Q1684:
What happens when an object in OOP is "clicked" in a graphical user interface?
A. It changes its data
B. It triggers a method
C. It resets to default settings
D. It deletes itself
Correct Answer:
B
Chapter: 115
Q1685:
In the object-oriented paradigm, what does an object typically consist of?
A. Data only
B. Functions only
C. Both data and methods
D. Only commands
Correct Answer:
C
Chapter: 115
Q1686:
Fill in the blank: In the object-oriented paradigm, the description of an object's properties is called a _______.
A. Function
B. Method
C. Class
D. Instance
Correct Answer:
C
Chapter: 115
Q1687:
What is an instance of a class in object-oriented programming?
A. A single function call
B. A copy of an algorithm
C. A unique object built from the class
D. A data structure
Correct Answer:
C
Chapter: 115
Q1688:
What is a significant advantage of using the object-oriented paradigm compared to the imperative paradigm?
A. Faster execution
B. Better memory management
C. Objects encapsulate data and methods
D. Easier to learn
Correct Answer:
C
Chapter: 115
Q1689:
Fill in the blank: In OOP, objects interact with each other by _______.
A. sharing variables
B. executing algorithms
C. requesting actions from other objects
D. copying data
Correct Answer:
C
Chapter: 115
Q1690:
How is a list of names typically handled in the object-oriented paradigm?
A. As a simple data array
B. As a series of loops
C. As an object with methods for manipulation
D. As a static variable
Correct Answer:
C
Chapter: 115
Q1691:
What does an object "ask" another object to do in the object-oriented paradigm?
A. Store data
B. Perform a method
C. Access memory
D. Sort a list
Correct Answer:
B
Chapter: 115
Q1692:
Fill in the blank: Once a class is constructed, _______ objects can be created from it.
A. only one
B. multiple
C. unlimited
D. exactly two
Correct Answer:
C
Chapter: 115
Q1693:
Which of the following best describes a "class" in the context of OOP?
A. A single object
B. A collection of data
C. A blueprint for creating objects
D. A method for sorting data
Correct Answer:
C
Chapter: 115
Q1694:
In OOP, how are multiple objects with the same characteristics but distinct identities created?
A. By copying data from one to another
B. By instantiating them from the same class
C. By writing separate algorithms for each object
D. By creating separate data arrays
Correct Answer:
B
Chapter: 115
Q1695:
Fill in the blank: In object-oriented programming, objects are capable of _______ related to themselves.
A. storing data
B. performing actions
C. executing multiple algorithms
D. deleting other objects
Correct Answer:
B
Chapter: 115
Q1696:
Which term is used to describe objects with identical characteristics in OOP?
A. Instances
B. Classes
C. Methods
D. Variables
Correct Answer:
A
Chapter: 115
Q1697:
What does the term "OOP" stand for?
A. Object-Oriented Programming
B. Object-Oriented Process
C. Object Optimization Protocol
D. Object-Oriented Paradigm
Correct Answer:
A
Chapter: 115
Q1698:
Fill in the blank: In OOP, a class is used as a _______ to create objects.
A. data store
B. blueprint
C. memory allocation
D. list generator
Correct Answer:
B
Chapter: 116
Q1699:
What is a variable in high-level programming languages?
A. A memory address
B. A descriptive name referencing memory
C. A function in the code
D. A loop in the program
Correct Answer:
B
Chapter: 116
Q1700:
In languages like C, C++, Java, and C#, what is required before a variable is used in a program?
A. Declaration of the variable's name
B. Assignment of a value
C. Declaration of the variable's type
D. Both A and C
Correct Answer:
D