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
Match the following
Scanner class
A class within java.util. It contains code specifically designed to help with user input.
variable.nextInt( )
Allows users to input int values.
variable.nextDouble( )
Allows users to input String values.
Package
Used to group code into a folder for easy use.
variable.nextLine( )
Allows users to input double values.
2.
MATCH QUESTION
1 min • 1 pt
Match the following
implicit casting
Rounds the value of a double to the nearest whole number.
(int) (x + .05)
Turning something of one type into another type!
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
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 Wayground
10 questions
guess the cartoons

Quiz
•
KG - Professional Dev...
13 questions
Types of Research Methods

Quiz
•
12th Grade
15 questions
Statistics for Quantity Surveyors Methodologies, Variables, Data

Quiz
•
12th Grade
10 questions
Ergonomics in the Workplace: PT Edition

Quiz
•
12th Grade
10 questions
Welcome To Databases, Savvy Scorps!

Quiz
•
9th - 12th Grade
10 questions
Supply Chain Management

Quiz
•
9th - 12th Grade
16 questions
NHA Order of Draw

Quiz
•
9th - 12th Grade
17 questions
JavaScript and Graphics

Quiz
•
12th Grade
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