Quiz In comp sci
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
What is the decimal value of 11012?
13 10
How many different digits are used in the Hexadecimal number system?
16
Suppose the ESPN website uses 8-bit unsigned integers to store how many points a team has scored in an NBA game.
255 10 points they converted the 111111111 value into 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.
2^32 times as many values can be represented
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
Which of the following best describes the result of applying this filter to every pixel in the image?
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.
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.
Which number system is used to store information digitally in a computer?
binary
character encoding, which of the following characters is represented by the hexadecimal (base 16) number 6E16
n
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.
red
How many different values can be represented using 4 bits?
16 different values
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.
2 times as many