FOP - CHAPTER 8

FOP - CHAPTER 8

University

10 Qs

quiz-placeholder

Similar activities

DesignPatterns

DesignPatterns

University

9 Qs

บทที่ 2

บทที่ 2

University

10 Qs

Principles of 3D Animation Quiz 1

Principles of 3D Animation Quiz 1

University

15 Qs

Unit-I- Java-Basics-MCQ

Unit-I- Java-Basics-MCQ

University

15 Qs

Understanding E-R Diagrams

Understanding E-R Diagrams

University

15 Qs

React101

React101

University

14 Qs

BINARY BRAINS

BINARY BRAINS

University

10 Qs

System Analysis and Design

System Analysis and Design

University

10 Qs

FOP - CHAPTER 8

FOP - CHAPTER 8

Assessment

Quiz

Computers

University

Medium

Created by

Marliana (AS)

Used 7+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the main focus of Object-Oriented Programming?

Functions

Objects

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

_______ contains both attributes and methods.

Object

Class

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is a class in OOP?

An instance of an object

A blueprint for creating objects

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What are the attributes of an object?

Data that defines the state

Methods that define behavior

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the role of methods in an object?

To perform actions on the object's data

To define the attributes of the object

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is encapsulation in OOP?

Hiding data and methods within a class

Inheriting properties from another class

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which principle of OOP allows for code reusability?

Inheritance

Encapsulation

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?