Search Header Logo

AP Computer Science A Final Review

Authored by Wayground Content

Computers

10th Grade

Used 8+ times

AP Computer Science A Final Review
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the 1st step in creating a WHILE loop?

Loop Condition

Display Out

Declaration of Variable

Increment or Decrement

2.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Media Image

1 1 2 3 4 5 6

2 2 3 4 5 6 7

6 6 5 4 3 2 1

7 7 6 5 4 3 2

7 7 7 7 7 7 7

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

A while loop carries on as long as...

The condition in the brackets is true

The condition in the brackets is false

i < 10

the for loop has not ended

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

While loops are not really important or necessary in Java

True

False

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the value of num after this statement is executed?


int num = 23;

if(num>20) { num = 20; }

else { num = 30; }

20

30

23

true

6.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Media Image

The sum of all the integers greater than y but less than or equal to x

The sum of all the integers greater than or equal to y but less than or equal to x

The sum of all the integers greater than y but less than x

The sum of all the integers greater than y but less than or equal to x

The sum of all the integers less than y but greater than or equal to x

7.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Media Image

Mail m = p[10].getBox (57) .getmail (4);

Mail m = p[9].getBox (56).getMail(3);

Mail m = p.geMail (57) .getMail (4) [10];

Mail m = getMail (getBox (p[9], 560, 3)

Mail m = new Mail (10, 57,.4);

Access all questions and much more by creating a free account

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

Already have an account?