2023-DSA-Object-Oriented Programming (OOP) Basics

2023-DSA-Object-Oriented Programming (OOP) Basics

University

15 Qs

quiz-placeholder

Similar activities

Stack & Queue

Stack & Queue

University

16 Qs

Data Structures

Data Structures

University

20 Qs

DSAA Quiz

DSAA Quiz

University

15 Qs

Analysis of Algorithms Quiz

Analysis of Algorithms Quiz

University

10 Qs

data structures1

data structures1

University

20 Qs

AlgoMania Quiz

AlgoMania Quiz

University

15 Qs

Algorithm questions

Algorithm questions

12th Grade - University

20 Qs

ANALYSIS OF ALGORITHMS

ANALYSIS OF ALGORITHMS

University

15 Qs

2023-DSA-Object-Oriented Programming (OOP) Basics

2023-DSA-Object-Oriented Programming (OOP) Basics

Assessment

Quiz

Computers

University

Easy

Created by

Chi Vi

Used 2+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

1 min • Ungraded

What is the main principle of OOP that bundles data and functions together into a single unit?

Abstraction

Encapsulation

Inheritance

Polymorphism

2.

MULTIPLE SELECT QUESTION

1 min • Ungraded

What is a class in OOP?

A member variable

A function that performs a specific task

A blueprint for creating objects

A variable used to store an object's state

3.

MULTIPLE SELECT QUESTION

1 min • Ungraded

Which OOP concept allows a class to acquire properties and behaviors from another class?

Encapsulation

Inheritance

Polymorphism

Abstraction

4.

MULTIPLE SELECT QUESTION

1 min • Ungraded

What is the process of creating a new object based on a class called?

Inheritance

Abstraction

Instantiation

Polymorphism

5.

MULTIPLE SELECT QUESTION

1 min • Ungraded

What does the term "overloading" mean in OOP?

Creating multiple objects from a single class

Redefining a method in a subclass

Having multiple methods with the same name but different parameters

Making a method accessible from outside the class

6.

MULTIPLE SELECT QUESTION

1 min • Ungraded

What is the purpose of Data Structures in computer science?

To store and organize data in a program

To perform arithmetic operations

To connect to the internet

To create user interfaces

7.

MULTIPLE SELECT QUESTION

1 min • Ungraded

Which of the following is NOT an example of a linear data structure?

Linked List

Stack

Queue

Binary Tree

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?