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
Match the following Java terms to their meanings.
String
Send output to the display and advance to the next line
nextLine
A method of the Scanner class used to accept character data input
println
A reference (class) data type for character data
Send output to the display and stay on the same line
Scanner
A class used to collect user 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
double
int
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 Wayground
11 questions
#124 Unit 2 Lesson 6 Variables

Quiz
•
11th Grade
10 questions
Программирование C#

Quiz
•
1st - 10th Grade
15 questions
Java Variables, Input and Output

Quiz
•
10th - 12th Grade
13 questions
Java 1

Quiz
•
11th Grade
10 questions
LATIHAN 4

Quiz
•
10th Grade
15 questions
Data Types and Operations

Quiz
•
10th Grade
11 questions
Python Quiz

Quiz
•
12th Grade
11 questions
Programming basics

Quiz
•
10th - 11th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade