Search Header Logo

Chapter 1 : Introduction of OOP

Authored by Norzaharawani Busu

Computers

University

Used 4+ times

Chapter 1 :  Introduction of OOP
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

1.      What is the main focus of Object-Oriented Analysis (OOA)?

A. Developing hardware systems for problem-solving

B. Writing code before analyzing the problem domain

C. Finding and describing objects or concepts in the problem domain

D. Focusing only on the user interface

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

2.      Which of the following best describes a "class"?

A. A method that performs actions on objects

B. A blueprint or prototype that defines attributes and methods for objects

C. A single instance of data in the system

D. A type of software tool used for debugging

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

3.      Which principle of OOP is demonstrated when a subclass inherits attributes and methods from a parent class?

A. Encapsulation

B. Abstraction

C. Polymorphism

D. Inheritance

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

4.      In OOP, encapsulation ensures:

A. Data security by hiding internal object details

B. The ability for objects to perform multiple tasks

C. The reuse of code across different applications

D. The creation of new methods automatically

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

5.      Polymorphism allows:

A. Objects to inherit attributes from their parent class

B. Objects to communicate using messages

C. One interface to be implemented in multiple ways

D. The hiding of internal details of a class

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

6.      Which of the following is NOT an advantage of OOP?

A. Easier debugging

B. Reusability of code

C. Faster hardware execution speed

D. Closely reflects real-world systems

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

7.      What differentiates Object-Oriented Programming from Structured Programming?

A. Use of global variables

B. Division of programs into functions and modules

C. Grouping of data and operations into objects

D. Lack of message-passing mechanisms

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?