Search Header Logo

Object Oriented Programming Unit Quiz

Authored by Lynn Hadley

Computers

11th - 12th Grade

Used 34+ times

Object Oriented Programming Unit Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

___________ are special methods that can be used to create and initialize an object

 Constructors
classes
Interfaces
Objects

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The name of a Constructor should be _______.

a different name than its class
the same name as its class
 a different name than its method
the same name as its method

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Constructors are called just once when ______.

an object is being created
a class is being terminated
class is being closed
an object is being destroyed

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The return type of a constructor is always ______.

int
void
boolean
float

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A Constructor ______.

returns a value
does not return a value
returns an object
should be used to terminate an object

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Single inheritance passes the properties of ________.

one class to another class
one class to another class at multiple "generations
one class to multiple derived classes
 one class to another class at two levels

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Multi-level inheritance transfers the properties of ___________.

 one class to another class
one class to another class at multiple "generations"
one class to multiple derived classes
one class to another class at two levels

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?