Match the following Java terms to their meanings.
AP CS A Unit 1 Quiz Review

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Scott Chamberlain
Used 4+ times
FREE Resource
11 questions
Show all answers
1.
MATCH QUESTION
1 min • 5 pts
A class used to collect user input
nextLine
Send output to the display and stay on the same line
println
Send output to the display and advance to the next line
String
A reference (class) data type for character data
Scanner
A method of the Scanner class used to accept character data input
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following java statements correctly declares a variable and sets it to the value 2.87?
int x = 2.87;
decimal x = 2.87;
float x = 2.87
double x = 2.87;
real x = 2.87;
3.
REORDER QUESTION
45 sec • 2 pts
Order the following from smallest to largest memory storage size:
boolean
int
double
String
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which statement correctly inputs an integer using a properly initialized Scanner variable?
int num = nextScan(int);
int num = scan.nextNumber();
int num = scanNextInt();
int num = scan.nextLine();
int num = scan.nextInt();
5.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which is a valid variable name in Java?
Select ALL that apply.
String
ip.address
address_1
2ndplace
lastName
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which variable assignment is valid in java?
double k = 13;
int b = 2.0;
double r = "3.14";
String f = 0;
String w = 98.6;
7.
MULTIPLE SELECT QUESTION
45 sec • 2 pts
System.out.println() accepts which datatype(s) as parameters?
String
double
int
boolean
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
Arrays

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

Quiz
•
9th Grade - University
12 questions
Java - arrays and String methods

Quiz
•
9th - 12th Grade
10 questions
Jenis Data

Quiz
•
7th - 12th Grade
16 questions
Visual basic for beginners

Quiz
•
9th Grade
16 questions
Basic C# Programming Quiz

Quiz
•
9th Grade
15 questions
Java Scanner Quiz

Quiz
•
11th Grade
14 questions
programación en java

Quiz
•
10th 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
30 questions
Linear Inequalities

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

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