Quiz on Object-Oriented Programming

Quiz on Object-Oriented Programming

12th Grade

15 Qs

quiz-placeholder

Similar activities

Quiz Pemrograman Perangkat Bergerak 2

Quiz Pemrograman Perangkat Bergerak 2

12th Grade - University

20 Qs

Computing figures

Computing figures

4th - 12th Grade

14 Qs

BTEC Level 3 Nat Ext Dip in Computing - Unit 2.1 Hardware and Software

BTEC Level 3 Nat Ext Dip in Computing - Unit 2.1 Hardware and Software

11th - 12th Grade

10 Qs

Quiz - Pengenalan Sistem Operasi

Quiz - Pengenalan Sistem Operasi

12th Grade

15 Qs

Tree

Tree

12th Grade

10 Qs

To meet the horizon

To meet the horizon

11th - 12th Grade

20 Qs

Quiz on Object-Oriented Programming

Quiz on Object-Oriented Programming

Assessment

Quiz

Computers

12th Grade

Practice Problem

Medium

Created by

John Streety

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main aim of Object-Oriented Programming (OOP)?

To bind together data and functions that operate on them

To separate data and functions

To increase the complexity of code

To eliminate the use of objects

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is message passing in OOP?

Objects communicating with each other

Sending emails between programs

Transferring data to a database

Encrypting messages

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an example of data abstraction?

A man driving a car without knowing the inner mechanism

A computer running a program

A student solving a math problem

A chef cooking a meal

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is message passing in OOP?

A form of data-hiding

A method of code reuse

A form of communication between objects

A type of dynamic binding

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the role of a message in message passing?

To hide data

To request execution of a procedure

To inherit properties

To bind code at runtime

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does inheritance allow a class to do?

Hide its data from other classes

Inherit properties from other classes

Execute code at runtime

Communicate with other objects

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which language is NOT used in Object Oriented Programming?

BASIC

C++

JavaScript

Ruby

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?