Digital information

Ace your homework & exams now with Quizwiz!

What is the value of 9F16 in binary? 1001 11112 1111 10012 0111 10002 1100 00112

1100 00112

What is the value of 14(little 10) in binary? 1012 11012 11102 100002

1110(little 2)

What is the value of F16 in decimal? 1610 1510 610 510

1510

What is the number base of the binary number system? 10 2 1 0

2

How many possible values can be created with only 2 bits? 4 2 11 3

4

In the binary value 100(little 2), what is the place value of the 1? 100s place 2s place 4s place 1s place

4s place

How many bits are used to encode a character according to the ASCII encoding scheme? 2 bits(ex: 10 encodes 'A') 4 bits(ex: 1011 encodes 'A') 6 bits(ex: 10 0110 encodes 'A') 8 bits(ex: 0100 0001 encodes 'A')

8 bits(ex: 0100 0001 encodes 'A')

What is a pixel? A grid of several colors in a digital image Another name for a digital image A single tiny dot, or square, of color in a digital image. A small picture

A single tiny dot, or square, of color in a digital image.

What is the range of values (expressed in decimal) that each color channel can have? 110 - 25610 010 - 25510 -12810 - 12710 010 - 12710

010 - 25510

Which of the following are examples of encoding information? Representing fast food meals as numbers on the menu. For example a number 1 represents a hamburger. Assigning a numeric value to every area of a region, for example zip codes in the United States Assigning a number to every character of the alphabet so we can represent sentences as series of simple digits. All of the above

All of the above

Which of the following is true about lossy compression? Lossy compression can compress data down to significantly less bits than lossless compression can Data compressed with lossy compression cannot be restored back to its original state Lossy compression throws away a lot of the original data, but humans can't even tell anything is missing. All of the above

All of the above

Why do we compress data? To save memory space on devices To speed up the time it takes to send a file over the internet The computation it takes to decompress data is cheaper than the storage space required to store uncompressed data All of the above

All of the above

Which of the following are true about Symmetric Key Encryption? I: The same key is used for both encryption and decryption II: The sender and receiver must exchange a shared key in private before using symmetric key encryption to communicate III: Symmetric key encryption is the most common form of encryption for internet communication I only I and II only I, II, and III I and III only

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 II only Both I and II Neither I nor II

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 and II only I, II, and IV I, II, III, and IV I and IV only

I, II, III, and IV

Which of the following instructions would brighten a pixel? Assume R is the red value of the pixel, G is the green value, and B is the blue value. R = R + 50; G = G + 50; B = B + 50; R = Math.min(R + 50, 255); G = Math.min(G + 50, 255); B = Math.min(B + 50, 255); R = R - 50; B = B - 50; G = G - 50; R = Math.max(R - 50, 0); B = Math.max(B - 50, 0); G = Math.max(G - 50, 0);

R = Math.min(R + 50, 255); G = Math.min(G + 50, 255); B = Math.min(B + 50, 255);

What are the 3 color channels that make up a pixel according to the RGB color scheme? Red, Green, and Blue Red, Blue, and Yellow White, Black, and Gray Cyan, Magenta, and Yellow

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? Images Videos Text with few repeated characters Text with many repeated characters

Text with many repeated characters

Which of the following is true about lossless data compression? It is only useful for files being sent over the internet. The compressed data can be restored back to its original state Once a file is compressed, it cannot be read by anyone else but you There only exists one lossless compression algorithm. This algorithm is used regardless of what kind of data is being compressed.

The compressed data can be restored back to its original state

What is data abstraction? Manipulating data to create something new Storing data in as little space as possible The process of simplifying complicated data into manageable chunks Filtering data to gain new knowledge

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? WHAT? W6HA6T?2 W6H1A6T1?2 WHT?

W6H1A6T1?2

Which of the following pixels has a color value of #ff0000 (expressed in hexadecimal) (White Pixel) (Blue Pixel) (Green Pixel) (Red Pixel)

red pixel

Which of the following functions properly removes all green and blue from a pixel and returns the modified pixel? var RED = 0; var GREEN = 1; var BLUE = 2; function removeGreenAndBlue(pixel) { pixel[RED] = 255; return pixel; } var RED = 0; var GREEN = 1; var BLUE = 2; function removeGreenAndBlue(pixel) { pixel[GREEN] = 0; pixel[BLUE] = 0; return pixel; } var RED = 0; var GREEN = 1; var BLUE = 2; function removeGreenAndBlue(pixel) { pixel[GREEN] = 0; pixel[BLUE] = 0; } function removeGreenAndBlue(pixel) { pixel.setGreen(0); pixel.setBlue(0); return pixel; }

var RED = 0; var GREEN = 1; var BLUE = 2; function removeGreenAndBlue(pixel) { pixel[GREEN] = 0; pixel[BLUE] = 0; return pixel; }


Related study sets

Working Capital Management Review (Problems)

View Set

Ch.6 & Ch.15 Final Exam Multiple Choice

View Set

Unit 2 Practice Test (Modules 9-13)

View Set

Ch 33: Health Promotion and Care of the Older Adult

View Set