8.11.1 Digital Information Quiz

Ace your homework & exams now with Quizwiz!

Consider the following numbers: The decimal value 10\/10 The binary value 100\/12 Hexadecimal value C\/16 Which of the following lists the numbers in order from least to greatest?

1001\/2, 10\/10, C\/16

What is the decimal value of 1101\/2?

13\/10 - 1101 in binary is equal to 8 + 4 + 1 = 13 in decimal

An online store uses 8-bit binary values to identify each unique item for sale. The store plans to increase number of items it sells and is considering changing to 9-bit binary values. 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

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 number system is used to store information digitally in a computer?

Binary (base 2)

Which ASCII character is represented by the decimal (base 10) number 72? (I don't have chart)

H

ASCII is a character encoding scheme that uses a numeric value to represent each character. For example, the uppercase letter 'G' is represented by the binary (base 2) value 0100 0111, which is equivalent to the decimal (base 10) value 71. ASCII characters can also be represented by hexadecimal (base 16) numbers. According to the ASCII character encoding, which of the following characters is represented by the hexadecimal (base 16) number 6E\/16 ( I don't have chart)

N

A student is transferring photos from her camera to her computer. The student notices that the saved photos on her computer are lower quality than the original raw photo on her camera. 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 is a true statement about data compression?

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

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.

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

16 - The Hexadecimal number system uses 16 digits (0 1 2 3 4 5 6 7 8 9 A B C D E F)

How many different values can be represented using 4 bits?

16 different values - 4 bits can encode 2^4 = 16 different values

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 - The highest value is 1111 1111 which is 255 in decimal.

A news website uses 32-bit integers to count the number of times an article has been viewed. The website is becoming more popular, and expects some of the articles to exceed the number of views that can be represented with 32 bits. In anticipation of this, the website is planning to change to 64-bit integers for the view counter. 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 - The number of values that can be represented doubles with each bit that is added. Since the website is adding 32 bits to the counter, the number of values that can be represented is 2^32 times greater.

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

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


Related study sets

chapter 4, 5 & 6 quizzes combined

View Set

Chapter 9.4 (U.S History) "Progressivism Under Taft"

View Set

BTS 147 Ch 7 - Presentations Using Tables and Pie Charts

View Set

Mr. Dye Period 5 AP classroom questions and Khan questions

View Set

p. 55 ex. 1 - Mise en pratique - Les Invites

View Set

Ch.15 Professional Practice Models, Leadership Exam #3

View Set