Quiz on Object-Oriented Programming

Quiz on Object-Oriented Programming

12th Grade

15 Qs

quiz-placeholder

Similar activities

Understanding Object-Oriented Programming Concepts (video)

Understanding Object-Oriented Programming Concepts (video)

12th Grade

11 Qs

20.1 Programming Paradigms Cambridge iA 9618

20.1 Programming Paradigms Cambridge iA 9618

12th Grade

20 Qs

Komputer

Komputer

1st Grade - University

11 Qs

Object Orientated Programming (BTEC Computing)

Object Orientated Programming (BTEC Computing)

11th - 12th Grade

18 Qs

SC025 - Topic 1 (Introduction to Programming

SC025 - Topic 1 (Introduction to Programming

KG - 12th Grade

20 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

Programming Paradigms Quiz

Programming Paradigms Quiz

12th Grade

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

Discover more resources for Computers