8.1-.6

¡Supera tus tareas y exámenes ahora con Quizwiz!

binary

base 2, starts 2^0, 2^1

According to the ASCII character encoding, which of the following characters is represented by the hexadecimal (base 16) number 6E16

n

Which number system is used to store information digitally in a computer?

Binary (base 2)

What is the value of 9F16 in binary?

1001 11112

Which of the following best describes the result of using 9-bit values instead of 8-bit values?

2 times as many items can be uniquely identified

Which of the following is a true statement about data compression?

There are trade-offs involved in choosing a compression technique for storing and transmitting data.

Consider the following numbers: The decimal value 10(10) The binary value 1001(2) Hexadecimal value C(16) Which of the following lists the number in order from least to greatest?

10012, 1010, C16

What is the value of F16 in decimal?

15(10)

How many different digits are used in the Hexadecimal number system?

16

Which of the following best describes the result of using 64-bit integers instead of 32-bit integers?

2^32 times as many values can be represented

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

4

How many bits are used to encode a character according to the ASCII encoding scheme?

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

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

WWWWWWHAAAAAAT?? Which of the following would be the proper compressed text?

W6H1A6T1?2

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[GREEN] = 0; pixel[BLUE] = 0; return pixel; }

Suppose the ESPN website uses 8-bit unsigned integers to store how many points a team has scored in an NBA game. For example: 0000 0010 represents 2 points 0000 1000 represents 8 points What is the highest possible score the ESPN website could display?

(255)10

How many different values can be represented using 4 bits?

16

pixel

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

Which of the following describes the instructions for a general image filter?

Given an image: for every (x, y) coordinate in the image Get the current pixel at (x, y) Modify the pixel according to a function Update image at (x, y) with this modified pixel

Which of the following statements are true about Caesar's Cipher?

I: Caesar's Cipher is a form of Symmetric Encryption

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

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 symmeric key encryption to communicate

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 = Math.min(R + 50, 255); G = Math.min(G + 50, 255); B = Math.min(B + 50, 255);

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.

What is the range of values (expressed in decimal) that each color channel can have?

(0)10 - (255)10

What is the decimal value of (1101)2?

(13)10

data abstraction

The process of simplifying complicated data into manageable chunks

RGB

red, green, blue

A computer program uses 3 bits to represent integers. When the program adds the decimal (base 10) numbers 6 and 2, the result is 0. Which of the following is the best explanation for this result?

An overflow error occurred.

Which ASCII character is represented by the decimal (base 10) number 72?

H

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.

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

Which of the following is true about lossless data compression?

The compressed data can be restored back to its original state

The RGB encoding scheme encodes a color using 24 bit sequences. The first 8 bits encode the amount of red in the color, the next 8 bits encode the amount of green in the color, and the last 8 bits encode the amount of blue in the color. Which of the following is a true statement about the color encoded by this binary sequence: 1110 1001 0111 1100 0000 1111

This color is mostly red.

Suppose we have the following function that modifies a pixel and returns the result: var RED = 0; var GREEN = 1; var BLUE = 2; function filter(pixel) { pixel[RED] = 255 - pixel[RED]; pixel[GREEN] = 255 - pixel[GREEN]; pixel[BLUE] = 255 - pixel[BLUE]; return pixel; }

The image will be inverted, bright pixels will become dark and dark pixels will become bright.

Which of the following could be a possible explanation for the difference in image quality?

The saved image files were compressed with a lossy compression technique.

Which of the following pixels has a color value of #ff0000 (expressed in hexadecimal)

red pixel


Conjuntos de estudio relacionados

Exam 3 - Capital Budgeting Quizlet

View Set

BrainPop States of Matter Quiz Part 2 - (Watch Video) - https://www.brainpop.com/science/matterandchemistry/statesofmatter/

View Set

8% CHAPTER 8: Property Rights: Estate and Tenancies, Condominiums, Cooperatives, and Time-Sharing

View Set

chapter 3 oceanography mastering questions

View Set

BIO 106 Exam 2 - Questions based off LBLs

View Set

Differentiating Business Entities - Chapter 12

View Set

Unit 5.1,5.2,5.4,2.1 (IB Business Management)

View Set

Quiz #7: Technology and Environment

View Set