Match the following
Java Primitives Unit 1-B

Quiz
•
Other
•
12th Grade
•
Easy
Angel Ligon
Used 1+ times
FREE Resource
12 questions
Show all answers
1.
MATCH QUESTION
1 min • 1 pt
Package
A class within java.util. It contains code specifically designed to help with user input.
Scanner class
Used to group code into a folder for easy use.
variable.nextInt( )
Allows users to input int values.
variable.nextLine( )
Allows users to input String values.
variable.nextDouble( )
Allows users to input double values.
2.
MATCH QUESTION
1 min • 1 pt
Match the following
implicit 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
Turning something of one type into another type!
(int) (x + .05)
Rounds the value of a double to the nearest whole number.
casting
When Java automatically casts the value correctly without the programmer needing to do so
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
Similar Resources on Quizizz
14 questions
Intro to Python Programming Quiz 9B

Quiz
•
10th Grade - University
10 questions
Independent VS Dependent Variables

Quiz
•
11th - 12th Grade
8 questions
Java

Quiz
•
1st - 12th Grade
15 questions
Module 7 Research design

Quiz
•
12th Grade
15 questions
Users of Accounting Information

Quiz
•
12th Grade
14 questions
Intro to Python Programming Quiz 9D

Quiz
•
1st Grade - University
13 questions
Introduction to Python Programming Quiz 9E

Quiz
•
10th Grade - University
12 questions
Intro to Python Programming Quiz 9C

Quiz
•
10th Grade - University
Popular Resources on Quizizz
10 questions
Chains by Laurie Halse Anderson Chapters 1-3 Quiz

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
15 questions
Character Analysis

Quiz
•
4th Grade
12 questions
Multiplying Fractions

Quiz
•
6th Grade
30 questions
Biology Regents Review #1

Quiz
•
9th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
50 questions
Biology Regents Review: Structure & Function

Quiz
•
9th - 12th Grade
Discover more resources for Other
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
50 questions
Biology Regents Review: Structure & Function

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
14 questions
Attributes of Linear Functions

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University
50 questions
Biology Regents Review 2: Ecology

Quiz
•
9th - 12th Grade
20 questions
Investing

Quiz
•
9th - 12th Grade