AP CSA Unit 3
Flashcard
•
Computers
•
10th - 12th Grade
•
Practice Problem
•
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.
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
24 questions
Materi Himpunan
Flashcard
•
7th Grade - University
30 questions
Charles Dickens & Oliver Twist Insights
Flashcard
•
12th Grade
30 questions
113翰林B1U1
Flashcard
•
10th Grade
30 questions
Commonly confused words
Flashcard
•
12th Grade
31 questions
Informações sobre a empresa Xbits
Flashcard
•
KG
35 questions
Theatre Terminology
Flashcard
•
8th Grade - University
27 questions
Household Chores and Furniture Vocabulary
Flashcard
•
7th Grade - University
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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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