wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

AP Quiz #1 Review

Total questions: 15

Worksheet time: 4hrs 45mins

Name
Class
Date
1.

Look at the partial chart above of the ASCII values. According to ASCII character encoding, which of the following letters is represented by the 8-bit binary value: 0100 0010

a)

ASCII Character A

b)

ASCII Character B

c)

ASCII Character D

d)

The table does not contain the value presented by this binary number

2.
Which form of comression would you use to save data when you transmit text messages and you don't want to lose information?
a)
Lossless Compression
b)
Lossy Compression
c)
Reversible Encryption
d)
Compression Encryption
3.

Which of the following best defines the digital divide?

a)

The difference in programming skills between experienced and novice users

b)

The gap in access to computing devices and the Internet based on socioeconomic, geographic, or demographic factors

c)

The separation between different types of wireless network technologies

d)

The difficulty of connecting older devices to modern Internet infrastructure

4.
Given the following network diagram, what is the minimum number of connections that must be broken or removed before computer E can no longer communicate with computer B?
a)
1
b)
2
c)
3
d)
4
5.

Which of the following best explains how fault tolerance in a network is achieved?

a)

By providing high-bandwidth connections between devices, enabling data packets to be transmitted as quickly as possible

b)

By providing multiple paths between devices, enabling routing to occur even in the presence of a failed component

c)

By providing open network protocols, ensuring that all devices on the network are interacting in a standard way

d)

By providing software to monitor all network traffic, ensuring that data packets are sent and received in the proper order

6.

What is the output?

a)

True

b)

False

7.

Which of the following is FALSE regarding packets?

a)

Packets contain metadata that is used for knowing where to send/receive data.

b)

Packets could arrive out of order from the order they were originally sent

c)

Packets will always take the same path to their destination.

d)

If a couple of packets are missing from the original message sent, only those packets needs to be resent (and not all the packets in their entirety)

8.

Determine what is displayed by the shown code.

a)

18

b)

16

c)

14

d)

This is an infinite loop and nothing will be displayed.

9.

Which expression should be used to check whether a number, called num, is odd?

a)

num MOD 2 = 0

b)

num MOD 1 = 0

c)

num MOD 1 = 1

d)

num MOD 2 = 1

10.

Consider the following code and then determine which of the two given statements are true, if any.

 I. The number 5 could possibly be displayed.
II. The number 3 could possibly be displayed.


a)

I only

b)

II only

c)

I and II

d)

Neither is true

11.

Determine what is printed by the following code:

a)

6

b)

5

c)

12

d)

0

12.

Determine what is displayed after the following code is run.

a)

5

b)

0

c)

12

d)

6

13.

A club would like to create a program that stores all the students ID numbers. If the club has 100 members, what is the minimum number of bits their system need in order to represent each student?

a)

5

b)

6

c)

7

d)

8

14.

To be eligible to receive a discount at a store, a customer has to have 500 points or more on their card or they must have spent more than 600 dollars in the past year. If a customer's points are stored in a variable custPoints and their total purchases in the past year are stored in the variable totalMoney, which of the following would evaluate to true if the customer was eligible?

a)

(custPoints500) AND (totalMoney>600)\left(custPoints\ge500\right)\ AND\ \left(totalMoney>600\right)

b)

(custPoints500) AND (totalMoney600)\left(custPoints\ge500\right)\ AND\ \left(totalMoney\ge600\right)

c)

(custPoints500) OR (totalMoney600)\left(custPoints\ge500\right)\ OR\ \left(totalMoney\ge600\right)

d)

(custPoints500) OR (totalMoney>600)\left(custPoints\ge500\right)\ OR\ \left(totalMoney>600\right)

15.

If a person playing a game has reached 1000 experience Points, what will happen to their level when the accompanying code is run?

a)

It will go up by 10

b)

It will go up by 1

c)

It will go up by 1000

d)

It will stay the same