Java Casting & Booleans

Java Casting & Booleans

10th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

MATEMATICAS. TRIMESTRE 1

MATEMATICAS. TRIMESTRE 1

1st - 10th Grade

20 Qs

PC prezentace

PC prezentace

10th - 11th Grade

16 Qs

Sequences

Sequences

10th Grade

20 Qs

Pre Test UPS 3

Pre Test UPS 3

12th Grade - University

18 Qs

ôn tập HK1 mũ logarit

ôn tập HK1 mũ logarit

12th Grade

20 Qs

Volume and Surface Area Review

Volume and Surface Area Review

11th Grade

15 Qs

CCEA Digital Technology Chapter 14 Multimedia Applications

CCEA Digital Technology Chapter 14 Multimedia Applications

11th Grade

20 Qs

Performance Test #1 Circles and Conic Section

Performance Test #1 Circles and Conic Section

10th - 11th Grade

15 Qs

Java Casting & Booleans

Java Casting & Booleans

Assessment

Quiz

Mathematics, Computers

10th - 12th Grade

Practice Problem

Medium

CCSS
7.NS.A.2, HSA.CED.A.3, 6.EE.A.2

+7

Standards-aligned

Created by

Jennifer Hoagland

Used 176+ times

FREE Resource

AI

Enhance your content in a minute

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

20 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

2 mins • 1 pt

Indicate whether the following lines of code are legal or illegal. If legal select the resulting value of x. If illegal select Error.


double x;

x = 2.3;

legal

illegal

2

2.3

Error

2.

MULTIPLE SELECT QUESTION

2 mins • 1 pt

Indicate whether the following lines of code are legal or illegal. If legal select the resulting value of x. If illegal select Error.


int x;

x = 2.3;

legal

illegal

2

2.3

Error

3.

MULTIPLE SELECT QUESTION

2 mins • 1 pt

Indicate whether the following lines of code are legal or illegal. If legal select the resulting value of x. If illegal select Error.


double x;

x = 7;

legal

illegal

7

7.0

Error

4.

MULTIPLE SELECT QUESTION

2 mins • 1 pt

Indicate whether the following lines of code are legal or illegal. If legal select the resulting value of x. If illegal select Error.


int x;

x = 7.0;

legal

illegal

7

7.0

Error

5.

MULTIPLE SELECT QUESTION

2 mins • 1 pt

Indicate whether the following lines of code are legal or illegal. If legal select the resulting value of x. If illegal select Error.


int x;

x = 3/4;

legal

illegal

0

0.75

Error

Tags

CCSS.7.NS.A.2

CCSS.7.NS.A.3

6.

MULTIPLE SELECT QUESTION

2 mins • 1 pt

Indicate whether the following lines of code are legal or illegal. If legal select the resulting value of x. If illegal select Error.


double x;

x = 3/4;

legal

illegal

0.0

0.75

Error

7.

MULTIPLE SELECT QUESTION

2 mins • 1 pt

Indicate whether the following lines of code are legal or illegal. If legal select the resulting value of x. If illegal select Error.


double x;

x = 3.0/4;

legal

illegal

0.0

0.75

Error

Tags

CCSS.7.EE.B.4

CCSS.7.NS.A.2

CCSS.7.NS.A.3

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?