Unit 2 4

Unit 2 4

12th Grade

7 Qs

quiz-placeholder

Similar activities

Sprawdzian z MongoDB

Sprawdzian z MongoDB

12th Grade

10 Qs

Unit 2 - Post-test

Unit 2 - Post-test

10th - 12th Grade

10 Qs

TOPIC 8 (i) ACCOUNTING FOR INVENTORIES

TOPIC 8 (i) ACCOUNTING FOR INVENTORIES

12th Grade

10 Qs

COVID Accelerated or Advanced Payments (Part A)

COVID Accelerated or Advanced Payments (Part A)

12th Grade - Professional Development

10 Qs

Communication Styles Vocab  Part 1

Communication Styles Vocab Part 1

9th - 12th Grade

12 Qs

Depreciation-E-1

Depreciation-E-1

12th Grade

10 Qs

SOAL AKT KEU KD 3.11

SOAL AKT KEU KD 3.11

12th Grade

10 Qs

Coconut

Coconut

6th Grade - Professional Development

10 Qs

Unit 2 4

Unit 2 4

Assessment

Quiz

Other

12th Grade

Practice Problem

Medium

Created by

Angel Ligon

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an instance method?

An instance method is a piece of code called on a specific instance (an object) of the class.

An instance method is a piece of code that does not depend on any specific instances (objects), just on the general class.

An instance method adds functionality to a class by creating private fields.

An instance method adds functionality to the class by printing out a result.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following correctly calls the method addFiveMinutes on an object of the Timer class called kitchenTimer?

kitchenTimer(addFiveMinutes);

Timer.addFiveMinutes();

kitchenTimer.addFiveMinutes();

kitchenTimer.addFiveMinutes;

3.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Suppose the class Timer has a method called startTime that prints out the starting time of the Timer.
Write the line of code that correctly uses this method to print out the start time of a Timer object called laundry?

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Procedures that allow us to control and define the behavior of an object.

Methods
Variables
Classes
Strings

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Create an instance (object) called rect1 with formal values of 5 and 6.

Rectangle rect1 = new Retangle(5,6);

Rectangle rect1 = new Retangle( 5,6 )

rect1 = new Retangle(5, 6);

rect1.new Retangle (5, 6);

6.

HOTSPOT QUESTION

1 min • 1 pt

Click on the method.

7.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Media Image

Object rect1 has been created. Create a call to the method printArea.

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?