Casting in Java

Quiz
•
Computers
•
11th - 12th Grade
•
Hard
Standards-aligned
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
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
Similar Resources on Wayground
20 questions
คำสั่งพื้นฐานในภาษา Python (เก็บคะแนนครั้งที่ 2)

Quiz
•
12th Grade
15 questions
Java Math

Quiz
•
9th - 12th Grade
15 questions
C# alapok 2

Quiz
•
11th Grade
10 questions
Advanced Java Study Guide

Quiz
•
11th - 12th Grade
17 questions
Java-Basics

Quiz
•
9th - 12th Grade
10 questions
Java Quiz 1: Introduction

Quiz
•
6th - 12th Grade
15 questions
AP Computer Science A Quiz

Quiz
•
12th Grade
15 questions
Unit 8 - Searching and Sorting

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade