Introduction to Computing MCQs with Answers
Practice important Introduction to Computing MCQs with answers and explanations.
Multiple Choice Questions
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
View Answer
B
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
View Answer
C
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
View Answer
C
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
View Answer
B
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
View Answer
B
Q1696: Which term is used to describe objects with identical characteristics in OOP?
- A: Instances
- B: Classes
- C: Methods
- D: Variables
View Answer
A
Q1697: What does the term "OOP" stand for?
- A: Object-Oriented Programming
- B: Object-Oriented Process
- C: Object Optimization Protocol
- D: Object-Oriented Paradigm
View Answer
A
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
View Answer
B
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
View Answer
B
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
View Answer
D