AP CSA Unit 3

Flashcard
•
Computers
•
10th - 12th Grade
•
Hard
Wayground Content
FREE Resource
Student preview

34 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What does short circuit evaluation mean in the following code? if (a < b && c != d)
Back
if a < b is false it doesn't evaluate c != d
2.
FLASHCARD QUESTION
Front
Which if statement below tests if the variable letter holds the char value #? Options: if (letter == #), if (letter == "#"), if (letter == '#'), if (letter >= '#'), if (letter = '#')
Back
if (letter == '#')
3.
FLASHCARD QUESTION
Front
What is 0 0 1 1 1 0 0 0 in base ten?
Back
56
4.
FLASHCARD QUESTION
Front
What is 67 in binary?
Back
0 1 0 0 0 0 1 1
5.
FLASHCARD QUESTION
Front
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?
Back
R a p u
n z e l
6.
FLASHCARD QUESTION
Front
What does the String method substring() do?
Back
Returns a portion of the String.
7.
FLASHCARD QUESTION
Front
What does the following code do?
String w3 = "aardvark";
System.out.println(w3.charAt(w3.length() – 2));
Back
Prints the second to last letter in the String.
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
PLTW CSE Flashcard - Activities 1.1.1 thru 1.1.3

Flashcard
•
9th - 12th Grade
25 questions
PLTW CSE Flashcard - Activities 1.1.1 thru 1.1.3

Flashcard
•
9th - 12th Grade
28 questions
CPI - Final Review

Flashcard
•
9th - 12th Grade
34 questions
Python Vocab

Flashcard
•
9th - 12th Grade
35 questions
Java Basics

Flashcard
•
11th - 12th Grade
25 questions
Python Vocab Chapters 1-6

Flashcard
•
8th Grade - University
27 questions
Python GCSE

Flashcard
•
10th Grade
24 questions
Java String class methods

Flashcard
•
10th - 12th Grade
Popular Resources on Wayground
10 questions
SR&R 2025-2026 Practice Quiz

Quiz
•
6th - 8th Grade
30 questions
Review of Grade Level Rules WJH

Quiz
•
6th - 8th Grade
6 questions
PRIDE in the Hallways and Bathrooms

Lesson
•
12th Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
3rd Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
15 questions
Subtracting Integers

Quiz
•
7th Grade