NEW
Font size
WorksheetsAP Quiz #1 Review
Total questions: 15
Worksheet time: 4hrs 45mins
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
ASCII Character A
ASCII Character B
ASCII Character D
The table does not contain the value presented by this binary number
Which of the following best defines the digital divide?
The difference in programming skills between experienced and novice users
The gap in access to computing devices and the Internet based on socioeconomic, geographic, or demographic factors
The separation between different types of wireless network technologies
The difficulty of connecting older devices to modern Internet infrastructure
Which of the following best explains how fault tolerance in a network is achieved?
By providing high-bandwidth connections between devices, enabling data packets to be transmitted as quickly as possible
By providing multiple paths between devices, enabling routing to occur even in the presence of a failed component
By providing open network protocols, ensuring that all devices on the network are interacting in a standard way
By providing software to monitor all network traffic, ensuring that data packets are sent and received in the proper order
What is the output?
True
False
Which of the following is FALSE regarding packets?
Packets contain metadata that is used for knowing where to send/receive data.
Packets could arrive out of order from the order they were originally sent
Packets will always take the same path to their destination.
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)
Determine what is displayed by the shown code.
18
16
14
This is an infinite loop and nothing will be displayed.
Which expression should be used to check whether a number, called num, is odd?
num MOD 2 = 0
num MOD 1 = 0
num MOD 1 = 1
num MOD 2 = 1
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.
I only
II only
I and II
Neither is true
Determine what is printed by the following code:
6
5
12
0
Determine what is displayed after the following code is run.
5
0
12
6
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?
5
6
7
8
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?
(custPoints≥500) AND (totalMoney>600)
(custPoints≥500) AND (totalMoney≥600)
(custPoints≥500) OR (totalMoney≥600)
(custPoints≥500) OR (totalMoney>600)
If a person playing a game has reached 1000 experience Points, what will happen to their level when the accompanying code is run?
It will go up by 10
It will go up by 1
It will go up by 1000
It will stay the same
