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
variable.nextDouble( )
Allows users to input int values.
Package
Allows users to input double values.
variable.nextLine( )
Allows users to input String values.
Scanner class
Used to group code into a folder for easy use.
variable.nextInt( )
A class within java.util. It contains code specifically designed to help with user input.
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.
(int) (x + .05)
Turning something of one type into another type!
casting
Rounds the value of a double to the nearest whole number.
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
15 questions
Comptia Quiz 4

Quiz
•
9th - 12th Grade
15 questions
Empowerment Technologies Module 1 - Pre-Test

Quiz
•
11th - 12th Grade
17 questions
TestOut IT Fundamentals Quiz 1

Quiz
•
10th - 12th Grade
10 questions
Research Variables

Quiz
•
11th - 12th Grade
10 questions
Exploring Quantitative Research Methods

Quiz
•
11th Grade - University
10 questions
Statistics Quiz

Quiz
•
12th Grade
10 questions
Java Script

Quiz
•
10th - 12th Grade
10 questions
Computer Software

Quiz
•
12th Grade
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
10 questions
Chaffey

Quiz
•
9th - 12th Grade
15 questions
PRIDE

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

Quiz
•
9th - 12th Grade
22 questions
6-8 Digital Citizenship Review

Quiz
•
6th - 8th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
Discover more resources for Other
10 questions
Chaffey

Quiz
•
9th - 12th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Lab Safety and Lab Equipment

Quiz
•
9th - 12th Grade
20 questions
Getting to know YOU icebreaker activity!

Quiz
•
6th - 12th Grade
12 questions
Macromolecules

Lesson
•
9th - 12th Grade
12 questions
Classifying Polys - 1.1

Quiz
•
10th - 12th Grade
20 questions
1.1 (b) Add / Sub/ Multiply Polynomials

Quiz
•
12th Grade