Search Header Logo

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

Authored by Chi Vi

Computers

University

15 Questions

Used 3+ times

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

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

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?