
OOP MIDTERM EXAMINATION 24-25

Quiz
•
Computers
•
University
•
Medium
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
Similar Resources on Wayground
10 questions
Introduction to Java

Quiz
•
University
10 questions
CMP128 Java Ch. 05 Methods

Quiz
•
University
10 questions
Fundamentals of Object-Oriented Programming

Quiz
•
University
11 questions
Processing Methods

Quiz
•
12th Grade - University
15 questions
Object Oriented Programming MCQs

Quiz
•
University
10 questions
Programming Paradigms

Quiz
•
University
17 questions
Programming Concepts

Quiz
•
7th Grade - University
10 questions
Java - Introduction

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University