AP Java 9-15-2023 (just functions1)

AP Java 9-15-2023 (just functions1)

9th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

Jaringan Komputer / AIJ

Jaringan Komputer / AIJ

11th Grade

10 Qs

Численные методы

Численные методы

12th Grade

10 Qs

Debugging Challenge 2

Debugging Challenge 2

7th - 12th Grade

15 Qs

The Dark Side

The Dark Side

KG - University

13 Qs

Understanding Compilers and Their Functions

Understanding Compilers and Their Functions

11th Grade

15 Qs

TRẮC NGHIỆM TIN 12 KỲ II

TRẮC NGHIỆM TIN 12 KỲ II

10th - 12th Grade

10 Qs

Hệ Điều Hành Của Máy Tính

Hệ Điều Hành Của Máy Tính

10th Grade - University

10 Qs

Computer Security

Computer Security

8th - 10th Grade

10 Qs

AP Java 9-15-2023 (just functions1)

AP Java 9-15-2023 (just functions1)

Assessment

Quiz

Computers

9th - 12th Grade

Hard

Created by

Arthur Simon

Used 12+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Which of the following replacements for /* missing code */ would correctly complete the function?

A only

B only

Both A and B

Neither A nor B

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Which of the following replacements for /* missing code */ would correctly complete the function?

answer = number1 * number2;

double answer = number1 + number2;

int answer = number1 * number2;

None of these

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Which of the following replacements for /* missing code */ would correctly complete the function?

a + b + c;

return int answer = a + b + c;

return double answer = a + b + c;

return a + b + c;

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Which of the following replacements for /* missing code */ would correctly complete the function?

return a + b + c/2;

return a + b + c/3;

return (a + b + c)/2;

return (a + b + c)/3;

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Which of the following replacements for /* missing code */ would correctly complete the function?

return num1 / num2;

return num1 % num2;

return num2 % num1;

return num2 / num1;

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Which of the following replacements for /* missing code */ would correctly complete the function?

A

B

C

D

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Which of the following replacements for /* missing code */ would correctly complete the function?

A only

B only

Both A and B

Neither A nor B

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?