Unit 2 4

Unit 2 4

12th Grade

7 Qs

quiz-placeholder

Similar activities

Control circuits components

Control circuits components

12th Grade

10 Qs

IED: Unit 3

IED: Unit 3

9th - 12th Grade

11 Qs

Impressions evidence

Impressions evidence

12th Grade

11 Qs

Star-delta starting components

Star-delta starting components

12th Grade

10 Qs

Labs Recap Quiz

Labs Recap Quiz

12th Grade

10 Qs

L3 Fast Track to College Success Distance Learning Quiz

L3 Fast Track to College Success Distance Learning Quiz

9th Grade - University

10 Qs

Unit 2 Terms 2.4-2.7

Unit 2 Terms 2.4-2.7

12th Grade

12 Qs

HS II 3.01 Vital Signs

HS II 3.01 Vital Signs

11th - 12th Grade

10 Qs

Unit 2 4

Unit 2 4

Assessment

Quiz

Other

12th Grade

Medium

Created by

Angel Ligon

Used 1+ times

FREE Resource

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.