AP CSA Unit 3 Review

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

17 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
The boolean expression (A || B) && A is true whenever?
Back
A is true
3.
FLASHCARD QUESTION
Front
The boolean expression (A && B) && B is true whenever...
Back
both A is true and B is true
4.
FLASHCARD QUESTION
Front
For what values of n with this code segment generate output? Options: for all values of n, for all even values of n, for all values of n that are multiples of 3, for all values of n that are multiples of 6, for all values of n that are either a multiple of 2 or a multiple of 3.
Back
for all values of n that are multiples of 6
5.
FLASHCARD QUESTION
Front
Which java statement correctly implements the following pseudocode: display "A" when the student's grade is higher than 90 (inclusive)
Back
if (studentGrade >= 90)
6.
FLASHCARD QUESTION
Front
Consider the following code, assuming grade is an int: Which of the following will always produce the same result as the code above, regardless of the value of grade?
Back
7.
FLASHCARD QUESTION
Front
What is output by the following code? Options: 11, 31, 15, error
Back
11
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Flashcard 1

Flashcard
•
University
15 questions
AP Computer Science A Review 1

Flashcard
•
10th - 12th Grade
7 questions
Java Basics #2

Flashcard
•
10th - 12th Grade
18 questions
AP CSA Unit 1 Review

Flashcard
•
10th - 12th Grade
15 questions
Mastering Nested Loops in Java

Flashcard
•
12th Grade
15 questions
Fundamental Theorem of Calculus (Evaluation Part)

Flashcard
•
12th Grade
9 questions
Java OOP

Flashcard
•
Professional Development
15 questions
Reverse Power Rule (Integration)

Flashcard
•
11th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade