AP Computer Science A Final Review

AP Computer Science A Final Review

Assessment

Flashcard

Computers

10th Grade - University

Easy

VAR.2.A, VAR.1.C, CON.2.A.2

+5

Standards-aligned

Created by

Wayground Content

Used 1+ times

FREE Resource

Student preview

quiz-placeholder

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

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?