Casting in Java

Casting in Java

11th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

Exam 4 Review

Exam 4 Review

9th - 12th Grade

20 Qs

C#

C#

11th Grade

10 Qs

Variables and Data Types

Variables and Data Types

10th - 12th Grade

10 Qs

19W Final Exam - PLTW

19W Final Exam - PLTW

9th - 12th Grade

15 Qs

Two-Dimensional Array

Two-Dimensional Array

9th - 12th Grade

12 Qs

Java Quick Reference

Java Quick Reference

9th - 12th Grade

16 Qs

Random Number Generation in Java

Random Number Generation in Java

12th Grade

13 Qs

AP Computer Science A Review 1

AP Computer Science A Review 1

10th - 12th Grade

15 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?