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

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

University

15 Qs

quiz-placeholder

Similar activities

Dr. S. Uma's Object Oriented Programming Quiz Event 1

Dr. S. Uma's Object Oriented Programming Quiz Event 1

University

10 Qs

DS(Part2)-After

DS(Part2)-After

University

11 Qs

M3-1

M3-1

University

15 Qs

DSAA Quiz

DSAA Quiz

University

15 Qs

ML Course Activity-II

ML Course Activity-II

University

10 Qs

Fundamentals of DAta structure IS 2-2B

Fundamentals of DAta structure IS 2-2B

University

20 Qs

MangoDB 1

MangoDB 1

10th Grade - University

20 Qs

Data structures

Data structures

University

12 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?