comp 8

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

Consider the following numbers: The decimal value 1010 The binary value 10012 Hexadecimal value C16 Which of the following lists the numbers in order from least to greatest? 10012, 1010, C16 1010, 10012, C16 1010, C16, 10012 C16, 10012, 1010

10012, 1010, C16

What is the decimal value of 11012? 1310 1210 1.10110 110110

1310

How many different digits are used in the Hexadecimal number system? 2 10 8 16

16

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 more items can be uniquely identified 9 more items can be uniquely identified 2 times as many items can be uniquely identified 29 times as many items can be uniquely identified

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. A round-off error occurred. An off-by-one error occurred. The result was affected by lossy data compression.

An overflow error occurred.

Which number system is used to store information digitally in a computer? Decimal (base 10) Binary (base 2) Octal (base 8) Hexadecimal (base 16)

Binary (base 2)

Which ASCII character is represented by the decimal (base 10) number 72? 7 c r H

H

Suppose we have the following function that modifies a pixel and returns the result: RED = 0 GREEN = 1 BLUE = 2 def filter(pixel): pixel[RED] = 255 - pixel[RED]; pixel[GREEN] = 255 - pixel[GREEN]; pixel[BLUE] = 255 - pixel[BLUE]; return (pixel[RED], pixel[GREEN], pixel[BLUE]) Which of the following best describes the result of applying this filter to every pixel in the image? The image will be grayscaled to a black and white image. The image will look slightly darker. The image will look slightly brighter. The image will be inverted, bright pixels will become dark and dark pixels will become bright.

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

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. The saved image files were compressed with a lossless compression technique. The saved image files were not compressed properly. Some information is lost every time a file is saved on a computer.

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

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. This color is mostly green. This color is mostly blue. This color has no blue in it.

This color is mostly red.

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 6E16 n N k E

n

How many different values can be represented using 4 bits? 4 different values 8 different values 16 different values 32 different values

16 different values

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 times as many values can be represented 32 times as many values can be represented 232 times as many values can be represented 322 times as many values can be represented

232 times as many values can be represented

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? 25610 25510 1111111110 12810

25510

Which of the following is a true statement about data compression? Data compression is only useful for files being transmitted over the Internet. Regardless of the compression technique being used, once a data file is compressed, it cannot be restored back to its original state. Sending a compressed version of a file ensures that no one can read the contents of the file except for the intended recipient. There are trade-offs involved in choosing a compression technique for storing and transmitting data.

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


संबंधित स्टडी सेट्स

Cisco Network Administration - Chapter 2

View Set

Computer Applications Final Study Guide

View Set

AHTG 100 Chapter 14 - America and the World

View Set

Chapter 1- Introduction to Corporate Finance

View Set

Strategic Management Exam 1 practice quiz

View Set