AP CS A Unit 1 Quiz Review
Quiz
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Medium
Scott Chamberlain
Used 6+ times
FREE Resource
Enhance your content in a minute
11 questions
Show all answers
1.
MATCH QUESTION
1 min • 5 pts
Match the following Java terms to their meanings.
println
Send output to the display and advance to the next line
Scanner
A class used to collect user input
nextLine
A reference (class) data type for character data
A method of the Scanner class used to accept character data input
String
Send output to the display and stay on the same line
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:
int
double
String
boolean
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
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
“Классная” работа с динамической памятью
Quiz
•
9th Grade
10 questions
TIN 11 - PYTHON - PHÉP TOÁN - BIỂU THỨC - CÂU LỆNH GÁN
Quiz
•
11th Grade
12 questions
Python
Quiz
•
7th - 9th Grade
10 questions
QBASIC Programming
Quiz
•
5th - 10th Grade
10 questions
RFID Quiz
Quiz
•
10th - 12th Grade
10 questions
TIK Kelas X
Quiz
•
10th Grade
15 questions
Основные теги THML
Quiz
•
12th Grade
10 questions
Tin học 10 _ Bài 16 _Định dạng văn bản
Quiz
•
10th - 12th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
