AP CS A Midterm Review

AP CS A Midterm Review

9th - 12th Grade

37 Qs

quiz-placeholder

Similar activities

PYTHON - SPRAWDZIAN

PYTHON - SPRAWDZIAN

11th Grade

37 Qs

Project STEM AP CS A Unit 1

Project STEM AP CS A Unit 1

9th - 12th Grade

34 Qs

Java Practice

Java Practice

9th - 12th Grade

35 Qs

class 10 output

class 10 output

10th Grade

35 Qs

STS Ganjil Pemrograman Perangkat Bergerak Kelas XI

STS Ganjil Pemrograman Perangkat Bergerak Kelas XI

11th Grade

40 Qs

Strings In java

Strings In java

9th - 10th Grade

35 Qs

PROGRAMMING(MIDTERM EXAM)

PROGRAMMING(MIDTERM EXAM)

12th Grade

35 Qs

Tin 11- Giữa kỳ 1

Tin 11- Giữa kỳ 1

11th Grade

40 Qs

AP CS A Midterm Review

AP CS A Midterm Review

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Danielle Mills

Used 41+ times

FREE Resource

37 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Media Image
4 16
4 10 16
0 6 12 18
1 4 7 10 13 16 19

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is output by the code?

0

1

2

3

4

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is output by the code?

0

1

2

3

4

4.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Media Image
[P, Q, R, s, T]
[P, Q, s, T, u]
[P, Q, T, s, u]
[P, T, s, R, u]

5.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Media Image
I)    while(count <= numRolls && Math.random() < 1/6.0)     count++;
II)    for(int roll = 0; roll < numRolls; roll++)   {     if(Math.random() < 1/6.0)     count++;   }
III)  for(int roll = 0; roll < numRolls; roll++)   {     if((int)(6 * Math.random() + 1) == 1)     count++;   }
II and III

6.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Media Image
1  0  0  0  0
0  1  0  0  0
0  0  1  0  0
0  0  0  1  0
0  0  0  0  1
0  0  0  0  1
0  0  0  1  0
0  0  1  0  0
0  1  0  0  0
1  0  0  0  0
0  0  1  0  0
0  0  1  0  0
1  1  1  1  1
0  0  1  0  0
0  0  1  0  0
0  0  0  1  0
0  0  0  1  0
0  0  0  1  0
1  1  1  1  1
0  0  0  1  0

7.

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
==

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?