Object Oriented Programming

Object Oriented Programming

12th Grade

13 Qs

quiz-placeholder

Similar activities

Python Quiz For Starters

Python Quiz For Starters

3rd Grade - Professional Development

17 Qs

Cuestionario de Certificación JS 2024

Cuestionario de Certificación JS 2024

12th Grade

17 Qs

Fun-tastic Quiz

Fun-tastic Quiz

11th - 12th Grade

10 Qs

Kuis Dadakan ;)

Kuis Dadakan ;)

10th Grade - University

15 Qs

PreTest เครือข่ายคอมพิวเตอร์

PreTest เครือข่ายคอมพิวเตอร์

12th Grade

10 Qs

exploring computer science

exploring computer science

9th - 12th Grade

15 Qs

LA7.C7: Turtle Graphics

LA7.C7: Turtle Graphics

9th Grade - University

14 Qs

Basic CSS3

Basic CSS3

9th - 12th Grade

12 Qs

Object Oriented Programming

Object Oriented Programming

Assessment

Quiz

Computers

12th Grade

Practice Problem

Hard

Created by

Ian Garraway

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...

13 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

30 sec • 2 pts

A _______ is a variable inside an object that make sup part of its internal state.

2.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

A value that can be passed to a function or class when it is called.

3.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

In OOP, creating an object from a class is a process known as...

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

The ability for a class to inherit the methods and attributes of a parent class.  Its ‘child’ class can have its own methods and attributes and override methods of its parent class.

Polymorphism

Encapsulation

Attribute

Inheritance

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What makes it possible to create a new child class that shares the attributes and methods of the original (parent) class?

Instantiation

Inheritance

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the following code display when run?

String str1="Melvin";

String str2="Melvin";

if(str1!=str2)

System.out.print("I didn't expect that.");

else

System.out.print("This one is tricky.");

I didn't expect that.

This one is tricky.

7.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Ensuring private attributes can only be amended through public methods.  This prevents objects being manipulated in unintended ways.

Polymorphism

Inheritance

Encapsulation

Object Oriented Programming

(OOP)

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?