ITM 207 Midterm Review Exam
Questions and Answers
Run-Length Encoding - Answer-In some types of data files, a single value may be
repeated over and over again in a long sequence
Replace a repeated sequence with -a flag -the repeated value -the number of
repetitions
Huffman encoding - Answer-an example of prefix coding: no character's bit string is the
prefix of any other character's bit string To decode Look for match left to right, bit by bit
Record letter when a match is found Begin where you left off, going left to right
CDs - Answer-store audio (or other) information digitally
Pits - Answer-(reflect poorly)
Lands - Answer-(reflect well)
RGB - Answer-red-green-blue value - three numbers that indicate the relative
contribution of each of these three primary colors
Color depth - Answer-The amount of data that is used to represent a color
HiColor - Answer-A 16-bit color depth: five bits used for each number in an RGB value
with the extra bit sometimes used to represent transparency
TrueColor - Answer-A 24-bit color depth: eight bits used for each number in an RGB
value
Pixels (picture elements) - Answer-Dots of color in image (or display device)
Resolution - Answer-Number of pixels in image (or device)
Raster Graphics - Answer-Treat image as collection of pixels Most common formats:
BMP, GIF, PNG, and JPEG
Vector Graphics - Answer-Treat image as collection of geometric objects Most important
formats: Flash and SVG
Gate - Answer-A device that performs a basic operation of electrical signals
Circuits - Answer-Gates combined to perform more complicated tasks
Questions and Answers
Run-Length Encoding - Answer-In some types of data files, a single value may be
repeated over and over again in a long sequence
Replace a repeated sequence with -a flag -the repeated value -the number of
repetitions
Huffman encoding - Answer-an example of prefix coding: no character's bit string is the
prefix of any other character's bit string To decode Look for match left to right, bit by bit
Record letter when a match is found Begin where you left off, going left to right
CDs - Answer-store audio (or other) information digitally
Pits - Answer-(reflect poorly)
Lands - Answer-(reflect well)
RGB - Answer-red-green-blue value - three numbers that indicate the relative
contribution of each of these three primary colors
Color depth - Answer-The amount of data that is used to represent a color
HiColor - Answer-A 16-bit color depth: five bits used for each number in an RGB value
with the extra bit sometimes used to represent transparency
TrueColor - Answer-A 24-bit color depth: eight bits used for each number in an RGB
value
Pixels (picture elements) - Answer-Dots of color in image (or display device)
Resolution - Answer-Number of pixels in image (or device)
Raster Graphics - Answer-Treat image as collection of pixels Most common formats:
BMP, GIF, PNG, and JPEG
Vector Graphics - Answer-Treat image as collection of geometric objects Most important
formats: Flash and SVG
Gate - Answer-A device that performs a basic operation of electrical signals
Circuits - Answer-Gates combined to perform more complicated tasks