AP CSA Unit 3
Quiz
•
Computers
•
10th - 12th Grade
•
Practice Problem
•
Medium
Standards-aligned
Anne Kohart
Used 268+ times
FREE Resource
About this resource
This quiz covers fundamental concepts in AP Computer Science A, specifically focusing on Unit 3 topics that are appropriate for grades 10-12. The content addresses essential programming concepts including boolean logic and short-circuit evaluation, string manipulation methods, data types and variable storage, array operations, and number system conversions between binary, decimal, and octal. Students need a solid understanding of Java syntax, particularly how primitive and reference variables differ in memory storage, how string methods like charAt() and substring() work with zero-based indexing, and how mathematical operations behave with different data types. The quiz also requires knowledge of fundamental computer science concepts such as binary representation, powers of two, and how different number bases function, along with control structures like loops and break statements. Created by Anne Kohart, a Computers teacher in US who teaches grade 10-12. This comprehensive assessment serves as an excellent tool for measuring student understanding of core AP Computer Science A concepts and can be effectively used for formative assessment, homework assignments, or review sessions before unit tests. The quiz's varied question formats, from multiple choice conceptual questions to code analysis problems, make it ideal for identifying areas where students need additional support while reinforcing critical programming fundamentals. Teachers can use this as a warm-up activity to activate prior knowledge or as practice for AP exam-style questions, helping students build confidence with both theoretical concepts and practical coding applications. The content aligns with College Board standards for AP Computer Science A, particularly focusing on variables, control structures, and data representation that form the foundation for more advanced programming concepts.
See more
Enhance your content in a minute
34 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does short circuit evaluation mean in the following code?
i) if (a < b && c != d)
if a < b is false it evaluates c != d
if a < b is false it doesn't evaluate c != d
if c != d is false it evaluates a < b
f c != d is false it doesn't evaluate a < b
if a < b is true it doesn't evaluate c != d
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which if statement below tests if the variable letter holds the char value #?
if (letter == #)
if (letter == "#")
if (letter == '#')
if (letter >= '#')
if (letter = '#')
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is 0 0 1 1 1 0 0 0 in base ten?
54
55
56
57
58
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is 67 in binary?
0 1 0 0 0 0 1 0
0 1 0 0 0 0 1 1
0 1 0 0 0 1 1 0
0 1 0 0 0 1 1 1
0 1 0 0 1 1 1 0
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the following code:
String w = "Rapunzel";
for (int i = 0; i < w.length(); i++) {
System.out.print(w.charAt(i) + " ");
if (i%4 == 3)
System.out.println();
}
What is output?
R a p u
n z e l
R a p
n z e l
R a p u n z e l
u l
R a p n z e
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the String method substring() do?
Returns a portion of the String.
Tests two String objects for equality.
Compares this String with a second String for greater than, equal to, or less than.
Returns the character at a certain location as a char value.
Returns the length of a String.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the following code do?
String w3 = "aardvark";
System.out.println(w3.charAt(w3.length() – 2));
Prints the second letter in the String.
Prints the second to last letter in the String.
Prints the last letter in the String.
Prints the first letter in the String.
Causes an index out of bounds error.
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
30 questions
S1 CPA - Media Elements (MEL)
Quiz
•
7th - 10th Grade
30 questions
ULANGAN HARIAN DATA AWAL
Quiz
•
12th Grade
35 questions
Bab 3-Sistem Komputer -Grade 5
Quiz
•
5th Grade - University
30 questions
QUIZZ AIJ XII TKJ - BAB V - MANAJEMEN BANDWIDTH
Quiz
•
KG - Professional Dev...
33 questions
QUIZ INFORMATIKA 2
Quiz
•
10th Grade
38 questions
Examen Diagnóstico Páginas Web
Quiz
•
10th Grade
29 questions
Examen Primer Parcial de Submódulo 1
Quiz
•
11th Grade
30 questions
Linguagem C - Loops e Array
Quiz
•
10th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
Discover more resources for Computers
15 questions
Internet Vocabulary Notebook Check #2 - CTEA(2024)
Quiz
•
12th Grade
11 questions
Internet Terms Vocabulary- Notebook Check #1- CTEA
Quiz
•
12th Grade
50 questions
Money Matters Fall 2025 Final Exam — Worksheet Questions
Quiz
•
12th Grade
47 questions
CSF Final Exam Practice
Quiz
•
9th - 12th Grade
