Java Code

Quiz
•
Computers
•
10th - 12th Grade
•
Medium
Charles Martinez
Used 1+ times
FREE Resource
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
0
1
2
3
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a Java arithmetic operator?
/
%
&
+
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of running the line of code below in Java?
System.out.println(3/2);
0.5
1
1.5
2
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of running the line of code below in Java?
System.out.println(2/3);
0
0.5
1
1.5
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of running the line of code below in Java?
System.out.println(3.0/2);
0
0.5
1
1.5
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is short for "integer" in Java?
int
inte
intr
inr
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If the user inputs 12, what will this code output?
Your number tripled is: 3
Your number tripled is: 36
Your number tripled is: 15
Your number tripled is: 1728
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Java Level 1 - A

Quiz
•
12th Grade
12 questions
Loops

Quiz
•
9th - 12th Grade
16 questions
Java Chapter 1 CS2

Quiz
•
9th - 12th Grade
10 questions
Quiz 15 - Array Basics

Quiz
•
11th Grade
15 questions
Java Script Quiz

Quiz
•
9th - 12th Grade
10 questions
STRING HANDLING

Quiz
•
10th Grade
15 questions
Basics in Java

Quiz
•
9th - 12th Grade
15 questions
Class X - Java 1

Quiz
•
10th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
40 questions
LSHS Student Handbook Review: Pages 7-9

Quiz
•
11th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
10 questions
Essential Lab Safety Practices

Interactive video
•
6th - 10th Grade
20 questions
Scalars, Vectors & Graphs

Quiz
•
11th Grade
62 questions
Spanish Speaking Countries, Capitals, and Locations

Quiz
•
9th - 12th Grade