AP CSA Unit 3

Flashcard
•
Computers
•
10th - 12th Grade
•
Hard
Quizizz 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
23 questions
Array & ArrayList Review

Flashcard
•
10th - 12th Grade
25 questions
Python Data Types

Flashcard
•
9th - 12th Grade
30 questions
AP CSA Exam Review 2019

Flashcard
•
10th Grade - University
33 questions
Java Programming Fundamentals Flashcard

Flashcard
•
9th - 12th Grade
22 questions
CodeHS AP CSP Unit 3 Review

Flashcard
•
11th - 12th Grade
25 questions
Intro to CS Unit 3 Review

Flashcard
•
9th - 12th Grade
33 questions
AP Computer Science Applications - Final Exam Spring 2025

Flashcard
•
10th Grade
30 questions
APCS A - Array 6.1,6.2,6.3,6.

Flashcard
•
9th - 12th Grade
Popular Resources on Wayground
15 questions
Hersheys' Travels Quiz (AM)

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
17 questions
MIXED Factoring Review

Quiz
•
KG - University
10 questions
Laws of Exponents

Quiz
•
9th Grade
10 questions
Characterization

Quiz
•
3rd - 7th Grade
10 questions
Multiply Fractions

Quiz
•
6th Grade