AP CS A Midterm Review

AP CS A Midterm Review

9th - 12th Grade

37 Qs

quiz-placeholder

Similar activities

Topic 3 : Java Language

Topic 3 : Java Language

12th Grade

35 Qs

APCSA Unit 4 test

APCSA Unit 4 test

9th Grade

35 Qs

CB30: Unit 2 Test Review

CB30: Unit 2 Test Review

9th - 12th Grade

34 Qs

Assignment No. 12 - Array and Function in C

Assignment No. 12 - Array and Function in C

10th Grade

41 Qs

C Programming Midterm Review

C Programming Midterm Review

11th - 12th Grade

40 Qs

AP CS A unit 1

AP CS A unit 1

11th Grade - University

36 Qs

CodeHS Unit 3 Methods Practice

CodeHS Unit 3 Methods Practice

9th - 12th Grade

40 Qs

Quiz Informatika Kelas XI

Quiz Informatika Kelas XI

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?