
AP Computer Science A Final Review
Flashcard
•
Computers
•
10th Grade - University
•
Practice Problem
•
Easy
+5
Standards-aligned
Wayground Content
Used 1+ times
FREE Resource
Student preview

40 questions
Show all answers
1.
FLASHCARD QUESTION
Front
A Boolean expression...
Back
Checks if something is true or false
2.
FLASHCARD QUESTION
Front
How many values does a Boolean variable have?
Back
2
3.
FLASHCARD QUESTION
Front
Determine the truth value of the statement: ((a <= b) or (a == b)) and (b > a) where a = 5 and b = 6
Back
True
4.
FLASHCARD QUESTION
Front
Which Java type can be used to store a true or false value?
Back
boolean
5.
FLASHCARD QUESTION
Front
Evaluate (to true or false) each of the following expressions:
14 >= 14
15 > 15
16 != 16
18 >= 19
Back
T, F, F, F
6.
FLASHCARD QUESTION
Front
True/False: The body of an "if" statement will only be executed if the condition is true.
Back
True
7.
FLASHCARD QUESTION
Front
What is the value of num after this statement is executed?
int num = 23;
if(num>20) { num = 20; }
else { num = 30; }
Back
20
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?