The hiding/layering of information.
10 seconds
What is Abstraction?
Let x = true, y = true (exclamation '!' means NOT)
Evaluate the expression
(x AND !y)
15 seconds
true AND (NOT (true)) = true AND false = false
a=2, b=6, c=12
a=2b-a
b=3-a+c
c=ab-c
Find c
15 seconds
c = 38
DNS
10 seconds
Domain name service
Period 3: A loop that works like a 'for' loop, but picks random numbers instead of going in order.
Period 4: A catchphrase commonly heard in this class.
10 seconds
Period 3: What is a Wild Loop?
Period 4: What is "Oh no!"
A variable which can take on one of two values.
10 seconds
What is a Boolean variable?
Let x = true, y = true (exclamation '!' means NOT)
Evaluate the expression
(x OR !y) AND (!x OR y)
15 seconds
(true OR !(true)) AND (!(true) OR true)
(true OR false) AND (false OR true)
true AND true = true
What is returned from the following code segment?
x = 9, y = 4, r = 2
if (x MOD y < r):
return x + y
else:
return x - y
15 seconds
x MOD y = 1
1 < 2
return x + y = 9 + 4 = 13
IP
10 seconds
What is Internet Protocol?
The color purple can be written in four different ways:
Purple
0111 1111 0100 1111 1100 1001
#7F4FC9
R:127 G:79 B:201
The way of writing purple that uses the lowest level of abstraction is .
10 seconds
What is 0111 1111 0100 1111 1100 1001?
A set of related primitives or objects, stored in a single variable.
10 seconds
What is a list?
(Vector is also acceptable)
Let x = true, y = true (exclamation '!' means NOT)
Evaluate the expression
(x OR !(x AND y)) XOR (x AND y)
15 seconds
(true OR !(true AND true)) XOR (true AND true)
(true OR !(true)) XOR (true)
(true OR false) XOR (true)
true XOR true
false
What is returned after running the following code segment?
x = 1
for i = 1:9
x = x + 3
return x
30 seconds
28
LAN
10 seconds
Local area network
var a = 12 % 5;
5 * 8 - (6 + a)
15 seconds
What is 32?
A set of characters, often used for text or to display a message.
10 seconds
What is a string?
Let x = true, y = true, z = false (exclamation '!' means NOT)
Evaluate the expression
(x OR z) AND ((x AND !y) OR z)
15 seconds
(true OR false) AND ((true AND !(true)) OR false)
(true) AND ((true AND false) OR false)
(true) AND (false OR false)
(true) AND (false) = false
What is the value of x after executing the following code segment?
x = 1, y = 1
while (y < 50)
x = x + y
y = y + x
30 seconds
34
HTTPS
10 seconds
What is HyperText Transfer Protocol Secure?
Period 3: The PIN on an account created in the bitcoin miner program.
Period 4: "Dog Simulator" was coded in this object-oriented language.
10 seconds
Period 3: 0
Period 4: What is Java?
The concept of a function or method calling itself.
10 seconds
What is recursion?
Let x = true, y = true, find w (exclamation '!' means NOT)
Evaluate the expression
(w OR x) AND (y XOR !w) = false
15 seconds
w = false
Given the code below, evaluate mystery(4):
def test(value):
if value > 5:
return value
else:
return value*test(value + 1)
30 seconds
120
TCP 10 seconds
What is Transmission Control Protocol?
The name and composer of the symphony that we discussed in class before Christmas.
10 seconds
Olivier Messiaen
Turangalila-Symphonie