Basic Concepts of OOPs

Basic Concepts of OOPs

12th Grade

10 Qs

quiz-placeholder

Similar activities

PE2 Module 3

PE2 Module 3

KG - Professional Development

11 Qs

INTRODUCTION TO OOP TECHNIQUE

INTRODUCTION TO OOP TECHNIQUE

11th - 12th Grade

15 Qs

AP Computer Science A Quiz

AP Computer Science A Quiz

12th Grade

15 Qs

Object Orient Programming

Object Orient Programming

12th Grade

6 Qs

Recap - OOP

Recap - OOP

12th Grade

11 Qs

H466 - Paradigms and High-Level Programming Languages

H466 - Paradigms and High-Level Programming Languages

12th Grade - University

15 Qs

1.2.4 Types of Programming Language

1.2.4 Types of Programming Language

12th Grade

15 Qs

C# Programming Quiz

C# Programming Quiz

12th Grade

10 Qs

Basic Concepts of OOPs

Basic Concepts of OOPs

Assessment

Quiz

Computers

12th Grade

Hard

Created by

Rajath Vijayakumar

Used 8+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

1 min • 5 pts

Why should we learn object oriented programming languages?

(Hint - 2 answers are correct)

It connects to the real world

It is fun to learn

Conceptually this is similar to what we see in our life

It is in the form of functions and procedures

2.

MULTIPLE CHOICE QUESTION

45 sec • 5 pts

Ram is an excellent singer and got this skill from his grand mother. Which C++ concept does this correlate to?

Data Abstraction

Inheritance

Encapsulation

Polymorphism

3.

MULTIPLE SELECT QUESTION

2 mins • 5 pts

Ali transferred the money from his HDFC bank account to Axis bank account of his friend(Neha) for buying a tennis racket. The transaction was successful in this case.

If we were to write a C++ program for this scenario, what classes and objects would you be creating?

(Hint - multiple answers are correct)

Class :- Customer_name

Objects :- Ali, Neha

Class :- Items_purchased

Objects :- Tennis_racket

Class :- Money_transfer

Objects :- SB, FD, RD

Class :- Bank_Account

Objects :- HDFC_bank_account, Axis_bank_account

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

If I create a class, I can create unlimited number of objects from it?

True

False

Don't know

5.

MULTIPLE SELECT QUESTION

45 sec • 5 pts

How will Data Encapsulation help us in C++?

(Hint - multiple answers are correct)

Data members can be accessed without the functions in a class

Data members can be accessed only through functions in a class

Data members and functions are together coded in a class

Data members can be manipulated through functions in a class

6.

MULTIPLE CHOICE QUESTION

45 sec • 5 pts

In C++, addition symbol(+) is used for calculating numbers as well as it is used to concatenate strings together. Which C++ concept are we trying to explain here?

Data abstraction

Modularity

Data encaspulation

Operator Overloading

(polymorphism)

7.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

We know how to use smartphones and this knowledge is sufficient for us. We do not need to know how the smartphone works internally. Which C++ concept is applied here?

Inheritance

Data encapsulation

Data Abstraction

Polymorphism

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?