Binary Numbers
Representing Text
Encoding Images
Boolean Logic Gates
python
100
8016 in binary is this
What is 1111101010000?
100
These three letters, in this order, are the most used in the English language.
What are e, t , and a?
100
The first number in a picture code.
What is the amount of blank space(s)?
100
And, or, not, xor are examples of these
What are the Boolean logic gates?
100
What does a While loop do?
What is it repeats the statements over and over?
200
This is the highest number you can count up to in binary with only 10 fingers
What is 1024?
200
This is the letter you would get when you use Huffman’s coding tree and the code is 000011000?
What is “z” ?
200
code for a straight 16 pixel horizontal line
What is 1,16
200
This gate is the sum bit and this gate is the carry over
What is the XOR gate and the AND gate?
200
The mathematical term that the percent sign represents
What is remaninders
300
Base of binary number system
What is 2?
300
The phrase translated into : 001-1010-011-0001-011-10011-1011-0101-10011-1110-10011-110111-1110-001-
What is "There is a cat"
300
Resolution does this.
What is making a picture not blurry
300
The word represented by the pointy sideways cup and curved line (and, or, xor)
What is or?
300
This is” not equal to” in python.
What is !=
400
Number of bits required to represent 23 in binary
What is 5?
400
Four English letters that use the longest Huffman code
What are z ,j, x, and q?
400
Higher resolution.
What is "pixels per inch"
400
This gate inverses the input
What is the “not” gate?
400
out put of: a=10 while (a>10 and a<1000000) print a a=a+10
What is 100000
500
This word in the Huffman Code: Applesauce
What is 11100100110100111111001101011111010010110111011?
500
A code says: (3,5,21,4,7,12,6,2,1,9,6,5,2,6) for one row. How many boxes are shaded in that row?
What is 43?
500
The number of gates needed to make a half-adder.
What is 7?
500
The following code opens ‘alice.txt’ and counts the amount of times each letter is printed. However, it contains an error. Which line (7 lines) has the error? Line 1> f = open('alice.txt', 'r') Line 2> counterTuple = {'a':0, 'b':0, 'c':0, 'd':0, 'e':0, 'f':0, 'g':0, 'h':0, 'i':0, 'j':0, 'k':0, 'l':0, 'm':0, 'n':0, 'o':0, 'p':0, 'q':0, 'r':0, 's':0, 't':0, 'u':0, 'v':0, 'w':0, 'x':0, 'y':0, 'z':0} Line 3> for line in f: Line 4> lowerLine = line.lower() Line 5> for char in counterTuple: Line 6> counterTuple[char] = lowerLine.count(char) + counterTuple Line 7> print counterTuple
What is Line 6?
M
e
n
u