Search Header Logo

Java Programming Quiz unit 3

Authored by Nicholas Savold

Computers

12th Grade

Used 9+ times

Java Programming Quiz unit 3
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

21 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is a method?

A. A procedure that is defined by the user.

B. A keyword used to loop for a fixed amount of time.

C. A place where we can store data.

D. The type that is given to a variable.

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is a return value?

A. The value that a method prints to the screen.

B. The value that is inputted to a method.

C. The value that a user inputs to a program.

D. The value that a method outputs.

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What would this method call output?

830

30

0

8

83

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will this method call output?

1

2

3

4

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will the value of yourBankAccount be after the method call?

A. 1000000

B. 0

C. 100000

D. The code will error.

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will this method call print to the screen?

12345

54321

123

543

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What does this method call return?

10

5

This method returns nothing.

This method is improperly written.

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?