Worksheets[AP CSP] Sem 1 Review
Total questions: 20
Worksheet time: 5hrs 31mins
8
5
11
10
11
6
12
7
In a Python program, how many iterations(loops) will occur for the FOR LOOP code?
1
10
9
8
In a Python program, how many outputs will occur for the snippet of code?
15
3
6
5
What happens to the memory in the hard drive once the computer is shut off?
It stays stored
It is sent to the CPU
It is all erased
lul
What computer component holds together many of the crucial components of a computer?
Expansion Card
CPU
Motherboard
Hard Drive
What is the name of the chip inside the computer that processes information and carries out a sequence of instructions?
Random Access Memory
Central Processing Unit
Python
Motherboard
What is expression that would represent this Boolean Gate Diagram?
~(A & B) | (C & D)
(A & B) | (C & D)
(A & B) | ~(C & D)
(A & B) | ~(C | D)
What is expression that would represent this Boolean Gate Diagram?
~(A (+) B) & C
(A (+) B) & ~C
(A (+) B) & C
~((A (+) B) & C)
What is expression that would represent this Boolean Gate Diagram?
(A | B) (+) (C | D)
(A & B) (+) (C | D)
(A | B) | (C & D)
(A & B) (+) (C & D)
What is the Binary Value for the decimal number: 233
1110 1001
1001 1110
1010 1110
1001 1010
What is the Binary Value for the hexadecimal number: 4DB
1011 1101 0110
0100 1001 0110
0100 1101 1011
1011 0100 1101
What is the Decimal Value for the Binary Number:
1001 0111 + 1011 0111
516
334
14E
278
Iteration is
When a loop exits
When a loop starts
A single loop through a block of code
The same as a condition
Assume n1 = 10 ... n2 = 20
What will be displayed as output?
10
20
15
25
What would the variables be if age = 14?
Concessions: true, EntranceFee: 500.
Concessions: false, EntranceFee: 500.
Concessions: false, EntranceFee: 1000.
Concessions: true, EntranceFee: 1000.
