What are the primitive data types?
TGT APCSA

Quiz
•
Computers
•
11th Grade
•
Easy
VIRENA MERLA
Used 12+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
int, double, boolean
int,double,boolean, String
int, float, boolean
integer, boolean, doubly
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What does the following code print?
System.out.print("9 ");
System.out.println("+ 5 = 14");
error
9 + 5 = 14
9
+ 5 = 14
9+5+14
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What’s the difference between System.out.println and System.out.print?
They do the same thing - no differences
print adds a return character at the end, while println does not
println adds a return character at the end, while print does not.
println creates a tab at the end while print does not
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What is 8 % 3?
2
0
1
3
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What does modulo do?
returns the dividend
divides the numbers
returns the remainder
divides with an integer result
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What does it mean for a value to be declared as final?
final is not in java
It can only be changed
It cannot be changed.
it is the final answer to the problem
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What does the following code do?
chips *= 7;
"chips" is equal to 7
Multiplies the value of "chips" by 1 and stores the result in "chips"
Adds 7 to "chips"
Multiplies the value of "chips" by 7 and stores the result in "chips".
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
Array

Quiz
•
10th - 12th Grade
18 questions
SAINS KOMPUTER F5 BAB 3

Quiz
•
10th - 12th Grade
15 questions
JavaScript Knowledge & Skills

Quiz
•
9th - 12th Grade
20 questions
Functions Parameters Return

Quiz
•
9th - 12th Grade
16 questions
Arithmetic Types Declare Initialize Relation Logical Ops

Quiz
•
9th Grade - University
20 questions
Quarter 3 Final Exam: Functions and Parameters

Quiz
•
9th - 12th Grade
18 questions
STATIC KEYWORD IN JAVA

Quiz
•
9th - 12th Grade
22 questions
CodeHS AP CSP Unit 3 Review

Quiz
•
11th - 12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

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

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

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

Quiz
•
KG - University