Object Oriented Programming Unit Quiz

Object Oriented Programming Unit Quiz

11th - 12th Grade

25 Qs

quiz-placeholder

Similar activities

Algorithms

Algorithms

10th - 11th Grade

20 Qs

Utility Software

Utility Software

9th - 12th Grade

20 Qs

Proses Komunikasi Data Pada Jaringan

Proses Komunikasi Data Pada Jaringan

11th Grade

20 Qs

Summative Test in EMPTECH 3rd

Summative Test in EMPTECH 3rd

12th Grade

20 Qs

NP IT Quiz ปริศนาไอที #4

NP IT Quiz ปริศนาไอที #4

9th - 12th Grade

20 Qs

TO PAS AIJ

TO PAS AIJ

11th Grade

20 Qs

Pointers

Pointers

12th Grade

20 Qs

Latihan Soal SIMKOMDIG

Latihan Soal SIMKOMDIG

12th Grade

20 Qs

Object Oriented Programming Unit Quiz

Object Oriented Programming Unit Quiz

Assessment

Quiz

Computers

11th - 12th Grade

Hard

Created by

Lynn Hadley

Used 34+ times

FREE Resource

AI

Enhance your content in a minute

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

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

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?