Search Header Logo

AP CSA Exam Review

Authored by Adam Casbarian

Computers

9th - 12th Grade

Used 1+ times

AP CSA Exam Review
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Media Image

1 4 10 2 3 4 7 5

1 2 4 6 10 7 3 5

1 2 3 10 6 7 4 5

4 3 1 2 6 7 10 5

6 3 7 4 2 1 10 4

2.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Media Image

A

D

ABD

ABCD

ABCDE

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

If you wanted to set a variable equal to some value, which operator would you use?

==
equals
=
!=

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If you wanted to check to see if two numerical values were equal, which operator would you use?

=
!=
equals
==

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To check if some integer x was evenly divisible by another integer y, which line of code would you use?

if ( x / y = 0)
if ( x / y == 0 )
if ( x % y == 0 )
if ( x % y = 0 )

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How would you create a new array of 5 integers?

int[5] x;
new int[5] x;
int[] x = new int[5];
int x = new int[5];

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is NOT true of arrays?

A given array can hold both Strings and integers at the same time.
A given array can hold many integers.
A given array can hold many Strings.
A given array can hold Strings and integers, but not both at the same time.

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?