#034 Topic 1.3 Video 2

#034 Topic 1.3 Video 2

11th Grade

5 Qs

quiz-placeholder

Similar activities

Java Math

Java Math

1st - 12th Grade

10 Qs

Java

Java

11th Grade

10 Qs

W5-8

W5-8

11th Grade

10 Qs

AP CSA Unit 1 & 2 Review

AP CSA Unit 1 & 2 Review

9th - 12th Grade

10 Qs

Java Code Questions

Java Code Questions

9th - 12th Grade

10 Qs

For Loop

For Loop

9th - 12th Grade

10 Qs

C sharp

C sharp

11th Grade

9 Qs

Programmazione per sam

Programmazione per sam

3rd Grade - University

8 Qs

#034 Topic 1.3 Video 2

#034 Topic 1.3 Video 2

Assessment

Quiz

Computers

11th Grade

Easy

Created by

Myra Deister

Used 2+ times

FREE Resource

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

View the video at: https://apclassroom.collegeboard.org/d/jw99jpu05x?sui=8,1

In Java which operation would be performed first in the expression.

1/2

20 * 2

2 * 2

9.8 * 2

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output?

int num = 11 % 6 / 2 - 1;

System.out.println(num);

1
2
0
-1

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output?

double val = 11 % 6 / 2.0 - 1;

System.out.println(val);

0.5
1.0
1.5
2.0

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output?

int num = 15 / 2 % 3 - 1;

System.out.println(num);

1
2
3
0

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output?

int num = 3 - (5 + 10 / (2 - 2));

System.out.println(num);

-2

ArithmeticException
3
-12