
Java Primitives Unit 1-B
Authored by Angel Ligon
Other
12th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
12 questions
Show all answers
1.
MATCH QUESTION
1 min • 1 pt
Match the following
variable.nextLine( )
Allows users to input double values.
Scanner class
Allows users to input int values.
variable.nextDouble( )
Allows users to input String values.
variable.nextInt( )
A class within java.util. It contains code specifically designed to help with user input.
Package
Used to group code into a folder for easy use.
2.
MATCH QUESTION
1 min • 1 pt
Match the following
(int) (x + .05)
Rounds the value of a double to the nearest whole number.
casting
When a calculation relies on a number outside the acceptable number range, Java will wrap back to the MIN or MAX value depending on the value.
overflow
When Java automatically casts the value correctly without the programmer needing to do so
implicit casting
Turning something of one type into another type!
3.
HOTSPOT QUESTION
1 min • 1 pt
Click on the data type.
4.
HOTSPOT QUESTION
1 min • 1 pt
Click on the variable name.
5.
HOTSPOT QUESTION
1 min • 1 pt
Click on the what creates a new object.
6.
HOTSPOT QUESTION
1 min • 1 pt
Click on the argument or actual parameter.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If you collect a users age and then collect their name what is the result? Assuming the user age is 16 and name is "Eric" and you are using the appropriate println statement.
16
Eric
16
Eric 16
16 Eric
Answer explanation
Remember to add a buffer if you use an int or double before a String.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
NATURE AND PURPOSE OF BUSINESS
Quiz
•
11th - 12th Grade
13 questions
disney princesses
Quiz
•
KG - Professional Dev...
10 questions
horses
Quiz
•
KG - Professional Dev...
10 questions
QUESTIONS ABOUT ROMANIA
Quiz
•
6th - 12th Grade
10 questions
Table Appointments "LINEN"
Quiz
•
12th Grade - University
10 questions
Guess the blackpink song lyrics
Quiz
•
4th Grade - Professio...
10 questions
SHORT VIDEO 1
Quiz
•
9th - 12th Grade
10 questions
ICT Project for Social Change
Quiz
•
12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Other
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
12 questions
Add and Subtract Polynomials
Quiz
•
9th - 12th Grade
13 questions
Model Exponential Growth and Decay Scenarios
Quiz
•
9th - 12th Grade
27 questions
7.2.3 Quadrilateral Properties
Quiz
•
9th - 12th Grade
7 questions
Amoeba Sisters Dihybrid Cross Punnett Square
Interactive video
•
9th - 12th Grade
10 questions
The Holocaust: Historical Overview
Interactive video
•
9th - 12th Grade
10 questions
Key Features of Quadratic Functions
Interactive video
•
8th - 12th Grade
11 questions
Exponent Quotient Rules A1 U7
Quiz
•
9th - 12th Grade