Java Primitive Unit 1-A

Quiz
•
Other
•
12th Grade
•
Easy
Angel Ligon
Used 6+ times
FREE Resource
22 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Which of the following is a proper way to declare and initialize a variable in Java? Assuming the variable name is num and the value is 100.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which explains what the final keyword's purpose is in Java?
The final keyword is used to restrict the user from overriding/modifying a variable more than once.
The final keyword is used to define a constant variable and makes it possible for a variable to be changed.
The final keyword is used to prevent a variable from being overridden/modified.
All answer choices.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which explains the best practice for naming a variable in Java?
Using lowerCamelCase notation
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many primitive types are there in Java?
5.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Check all of the primitive types.
char
int
String
object
boolean
6.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Check all of the primitive types.
byte
short
long
float
double
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Java, the = sign in a statement means
is equal to.
the left hand side is equal to the right hand side in the equation.
an assignment of the right hand side value to the left hand side variable.
that two equivalent relationships can be compared using a Boolean comparison.
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Group 5 Presentation Quiz

Quiz
•
1st Grade - Professio...
20 questions
PRACTICAL RESEARCH 2

Quiz
•
12th Grade
20 questions
Budgeting B184

Quiz
•
9th - 12th Grade
25 questions
Cost of Production

Quiz
•
9th - 12th Grade
23 questions
PFLE Unit 5 Test review

Quiz
•
12th Grade
25 questions
Asesmen Algoritma dan Pemrograman

Quiz
•
9th - 12th Grade
20 questions
Python Functions and Parameters Quiz

Quiz
•
12th Grade
19 questions
Criminology - 2.1-2.2

Quiz
•
11th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Other
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Video Games

Quiz
•
6th - 12th Grade
28 questions
Ser vs estar

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
20 questions
Parallel lines and transversals

Quiz
•
9th - 12th Grade
9 questions
Geometry and Trigonometry Concepts

Interactive video
•
9th - 12th Grade
10 questions
Angle Relationships with Parallel Lines and a Transversal

Quiz
•
9th - 12th Grade