Comp Sci Quiz Unit 8
What is the range of values (expressed in decimal) that each color channel can have?
0^10 - 255^10
1 in decimal
1
1010 in decimal
10
8 in binary
1000
What is the value of 9F16 in binary?
1001 1111^2
5 in binary
101
6 in binary
110
55 in binary
110111
7 in binary
111
231 in binary
11100111
What is the value of 1410 in binary?
1110^2
1100 in decimal
12
1101 in decimal
13
1111 in decimal
15
What is the value of F16 in decimal?
15 base 10
10001 in decimal
17
What is the number base of the binary number system?
2 (0's and 1's)
11000 in decimal
24
0011 in decimal
3
11 in decimal
3
How many possible values can be created with only 2 bits?
4
In the binary value 1002, what is the place value of the 1?
4s place
101 in decimal
5
110 in decimal
6
How many bits are used to encode a character according to the ASCII encoding scheme?
8 bits (ex: 0100 0001 encodes 'A')
Which of the following are true about Symmetric Key Encryption? I: The same key is used for both encryption and decryptionII: The sender and receiver must exchange a shared key in private before using symmeric key encryption to communicateIII: Symmetric key encryption is the most common form of encryption for internet communication
I and II only
Which of the following statements are true about Caesar's Cipher? I: Caesar's Cipher is a form of Symmetric Encryption II: Caesar's Cipher is a "hard" encryption to crack
I only
Which of the following are true about Public Key Encryption? I: It requires all senders and receivers to have their own public key and their own private key II: A message encrypted with a person's public key can only be decrypted with the same person's private key III: A public key can be shared with anyone IV: Public key encryption is the most common form of encryption for internet communication
I, II, III, and IV
Which of the following pixels has a color value of #ff0000 (expressed in hexadecimal)
Red Pixel
What are the 3 color channels that make up a pixel according to the RGB color scheme?
Red, Green, and Blue
What types of data should be compressed with the Run Length Encoding algorithm? What types of data does the algorithm perform well with?
Text with many repeated characters
What is data abstraction?
The process of simplifying complicated data into manageable chunks
We are going to compress this text using the Run Length Encoding compression algorithm: WWWWWWHAAAAAAT?? Which of the following would be the proper compressed text?
W6H1A6T1?2
Which of the following are examples of encoding information? a. Representing fast food meals as numbers on the menu. For example number 1 represents a hamburger. b. Assigning a numeric value to every area of a region, for example zip codes in the United States c. Assigning a number to every character of the alphabet so we can represent sentences as series of simple digits. d. All of the above
d. All of the above
Which of the following is true about lossy compression? a. Lossy compression can compress data down to significantly less bits than lossless compression can b. Data compressed with lossy compression cannot be restored back to its original state c. Lossy compression throws away a lot of the original data, but humans can't even tell anything is missing. d. All of the above
d. All of the above
Why do we compress data? a. To save memory space on devices b. To speed up the time it takes to send a file over the internet c. The computation it takes to decompress data is cheaper than the storage space required to store uncompressed data d. All of the above
d. All of the above