Question 1 Which number system is used to
Question: 1 Which number system is used to store information digitally in a computer? A) Decimal (base 10) B) Binary (base 2) C) Octal (base 8) D) Hexadecimal (base 16)
Question: 2 How many different digits are used in the Hexadecimal number system? A) 2 B) 10 C) 8 D) 16
Question: 3 What is the decimal value of 10112? A) 9 B)10 C) 11 D) 12
Question: 4 How many different values can be represented using 3 bits? A) 4 different values B) 8 different values C) 16 different values D) 32 different values
Question: 5 Suppose the ESPN website uses 8 -bit unsigned integers to store how many points a team has scored in an basketball game. For example: 0000 0010 represents 2 points 0000 1000 represents 8 points What is the highest possible score the ESPN website could display? A) 25610 B) 25510 C) 111110 D) 12810
Question: 6 Which of the following best describes the result of using 64 -bit integers instead of 32 -bit integers? A) 2 times as many values can be represent. B) 32 times as many values can be represent. C) 232 times as many value can be represented. D) 322 times as many value can be represented.
Question: 7 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. A subset of characters and their corresponding ASCII values are shown in the table to the right: 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 6 F 16 A) m B) n C) o D) p
Question: 8 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. A subset of characters and their corresponding ASCII values are shown in the table to the right: Which ASCII character is represented by the decimal (base 10) number 71? A) D B) E C) F D) G
Question: 9 Which of the following is a true statement about data compression? A) There are trade-offs involved in choosing a compression technique for storing and transmitting data. B) Regardless of the compression technique being used, once a data file is compressed, it cannot be restored back to its original state. C) Data compression is only useful for files being transmitted over the Internet. D) Sending a compressed version of a file ensures that no one can read the contents of the file except for the intended recipient.
Question: 10 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? A) The saved image files were compressed with a lossy compression technique. B) The saved image files were compressed with a lossless compression technique. C) The saved image files were not compressed properly. D) Some information is lost every time a file is saved on a computer.
Question: 11 Consider the following numbers: The decimal value 1010 The binary value 01012 Hexadecimal value D 16 Which of the following lists the numbers in order from least to greatest? A) 01012, 1010, D 16 B) 01012, D 16, 1010 C) 1010, D 16, 01012 D) D 16, 1010, 01012
Question: 14 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: 0000 1111 0111 1100 1110 1001 A) This color is mostly red. B) This color is mostly green. C) This color is mostly blue. D) This color has no blue in it.
Question: 15 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? A) The image will be grayscaled to a black and white image B) The image will be inverted, bright pixels will become dark and dark pixels will become bright. C) The image will look slightly brighter. D) The image will look slightly darker.
- Slides: 13