Java Primitives Unit 1-B
Quiz
•
Other
•
12th Grade
•
Easy
Angel Ligon
Used 1+ times
FREE Resource
Enhance your content
12 questions
Show all answers
1.
MATCH QUESTION
1 min • 1 pt
Match the following
Package
A class within java.util. It contains code specifically designed to help with user input.
Scanner class
Allows users to input String values.
variable.nextDouble( )
Allows users to input double values.
variable.nextInt( )
Allows users to input int values.
variable.nextLine( )
Used to group code into a folder for easy use.
2.
MATCH QUESTION
1 min • 1 pt
Match the following
overflow
When Java automatically casts the value correctly without the programmer needing to do so
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.
(int) (x + .05)
Rounds the value of a double to the nearest whole number.
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.
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
10 questions
Quiz 6 (Content Evaluation)
Quiz
•
12th Grade
15 questions
Trivia Day
Quiz
•
9th Grade - University
10 questions
Trial - Quiz Bowl HS
Quiz
•
10th - 12th Grade
14 questions
AC2:3 Durkheim
Quiz
•
12th Grade
9 questions
star wars
Quiz
•
3rd Grade - Professio...
13 questions
rubiks cube quiz
Quiz
•
KG - Professional Dev...
10 questions
RAPAT TELECONFERENCE
Quiz
•
12th Grade - University
15 questions
CHN 1 EXPANDED PROGRAM ON IMMUNIZATION
Quiz
•
7th Grade - University
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
Discover more resources for Other
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NFL Football logos
Quiz
•
KG - Professional Dev...
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
29 questions
CCG 2.2.3 Area
Quiz
•
9th - 12th Grade
15 questions
PRESENTE CONTINUO
Quiz
•
9th - 12th Grade
13 questions
BizInnovator Startup - Experience and Overview
Quiz
•
9th - 12th Grade
16 questions
AP Biology: Unit 1 Review (CED)
Quiz
•
9th - 12th Grade