Unit 2 4

Unit 2 4

12th Grade

7 Qs

quiz-placeholder

Similar activities

UTS GERAK

UTS GERAK

12th Grade

10 Qs

Intro to Welding Quiz 1 - Material joining processes

Intro to Welding Quiz 1 - Material joining processes

11th Grade - Professional Development

10 Qs

Types of Card Catalogue

Types of Card Catalogue

9th - 12th Grade

10 Qs

ObliCon

ObliCon

1st - 12th Grade

10 Qs

Lesson Deepening #4: Animation 4

Lesson Deepening #4: Animation 4

12th Grade

10 Qs

Positive and Negative Space Quiz

Positive and Negative Space Quiz

9th - 12th Grade

10 Qs

Mousetrap Forces

Mousetrap Forces

7th - 12th Grade

12 Qs

Baking Recipes

Baking Recipes

KG - University

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