Search Header Logo

#034 Topic 1.3 Video 2

Authored by Myra Deister

Computers

11th Grade

Used 2+ times

#034 Topic 1.3 Video 2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

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?