OOP MIDTERM EXAMINATION 24-25

OOP MIDTERM EXAMINATION 24-25

University

15 Qs

quiz-placeholder

Similar activities

Deep Learning quiz

Deep Learning quiz

University

20 Qs

The OOP Quiz

The OOP Quiz

University

10 Qs

Geeks for Geeks PCCOER Info Session CP Quiz

Geeks for Geeks PCCOER Info Session CP Quiz

University

20 Qs

บทที่ 2

บทที่ 2

University

10 Qs

BINARY BRAINS

BINARY BRAINS

University

10 Qs

Conceptos BD - Modelo E-R

Conceptos BD - Modelo E-R

University

20 Qs

SAD - CHAPTER 1

SAD - CHAPTER 1

University

10 Qs

System Analysis and Design

System Analysis and Design

University

10 Qs

OOP MIDTERM EXAMINATION 24-25

OOP MIDTERM EXAMINATION 24-25

Assessment

Quiz

Computers

University

Medium

Created by

JONARD LOPEZ

Used 1+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary focus of Object-Oriented Programming (OOP)?

Manipulating functions and logic to achieve specific tasks

Organizing software design around "objects" which encapsulate data and behavior

Developing code that executes in a linear, step-by-step fashion

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which concept in OOP restricts access to certain parts of an object’s data?

Inheritance

Polymorphism

Encapsulation

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In OOP, what does the term 'method' refer to?

A variable that holds data for an object

A function defined inside a class that describes the behavior of an object

The blueprint for creating objects

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an object in the context of OOP?

The blueprint used to create instances

A specific instance of a class that contains data and methods

A collection of variables with no associated behavior

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How does inheritance benefit OOP design?

It allows for code reuse and creates a hierarchy between classes

It hides the internal state of objects

It focuses on writing code sequentially

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of attributes in a class?

To define functions that can be performed on objects

To represent the state or characteristics of an object

To act as a template for creating methods

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which language is considered a strongly typed language, where each variable must be declared with a specific data type?

PHP

Java

Python

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?