Quiz on Object-Oriented Programming

Quiz on Object-Oriented Programming

12th Grade

15 Qs

quiz-placeholder

Similar activities

Data Structures - Arrays

Data Structures - Arrays

12th Grade

13 Qs

Computer Science Vocab 1

Computer Science Vocab 1

9th - 12th Grade

20 Qs

AP CSP Unit 3

AP CSP Unit 3

9th - 12th Grade

20 Qs

Programming Paradigms

Programming Paradigms

12th Grade

10 Qs

Programing fundamental

Programing fundamental

12th Grade

20 Qs

Pseudocode

Pseudocode

KG - University

20 Qs

Quiz on Computational Thinking and Algorithms 10F

Quiz on Computational Thinking and Algorithms 10F

10th Grade - University

15 Qs

Quiz on Object-Oriented Programming

Quiz on Object-Oriented Programming

Assessment

Quiz

Computers

12th Grade

Medium

Created by

John Streety

Used 2+ times

FREE Resource

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

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?