
AP CSA Unit 3
Authored by Anne Kohart
Computers
10th - 12th Grade
CCSS covered
Used 269+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
About
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.
Content View
Student View
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.
Access all questions and much more by creating a free account
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
OXFORD - A LEVEL - NETWORKS
Quiz
•
12th Grade
33 questions
Paper 01 - OCR - 1.1
Quiz
•
10th Grade
31 questions
T1 - Examen Trimestral Informatica Décimo
Quiz
•
10th Grade
32 questions
LATIHAN SOAL PENGETAHUAN UKK
Quiz
•
12th Grade
30 questions
BAB 1 Memahami Jaringan fiber optic
Quiz
•
11th Grade
33 questions
Computer Knowledge
Quiz
•
1st - 10th Grade
31 questions
Quiz
•
6th - 10th Grade
30 questions
UKD3 Multimedia 11
Quiz
•
11th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade