Casting in Java

Casting in Java

11th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

Arrays Unit 6 Computer Science

Arrays Unit 6 Computer Science

10th - 12th Grade

14 Qs

AP CSA Java Arrays

AP CSA Java Arrays

10th - 12th Grade

14 Qs

ARRAY C++

ARRAY C++

11th Grade

20 Qs

Array

Array

10th - 12th Grade

20 Qs

Practice <ultiple Choice - APCSA

Practice <ultiple Choice - APCSA

9th - 12th Grade

18 Qs

G10_C++_Arrays

G10_C++_Arrays

9th - 11th Grade

12 Qs

Arrays Unit 6 AP CSA

Arrays Unit 6 AP CSA

10th - 12th Grade

14 Qs

Codehs Unit 6

Codehs Unit 6

10th - 12th Grade

14 Qs

Casting in Java

Casting in Java

Assessment

Quiz

Computers

11th - 12th Grade

Hard

CCSS
7.NS.A.2C

Standards-aligned

Created by

Anne Kohart

Used 43+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the value stored in x?

double x = (int) (1.8 * 2.0)

3.0

3

3.6

Error

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the value stored in x?

double x = (int) 1.8 * 2.0

3.0

2.0

3.6

Error

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the value stored in x?

int x = 1.8 * 2.0

3

2

3.6

Error

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the value of:

(int) (1 + 1 + 1 + 1 + 1.0 + 1 + 1 / 8)

1

0

0.875

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

For Modular Arithmetic what value is the most important?
The Modulo
The Given Number
The Remainder
The Divisor

Tags

CCSS.7.NS.A.2C

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

5%2

3

5

2

1

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

6%12

0

2

6

1

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?