Quiz
Untitled
Create a free account to finish this quiz
Save your progress and see your final score.
Already have an account? Sign in
Questions in this quiz (8)
1Convert the binary number 110101₂ to its decimal equivalent.
- A41
- B53
- C45
- D52
2Which of the following is the hexadecimal equivalent of the binary number 10111011₂?
- A7A
- BB7
- C8B
- DBB
3Which of the following best illustrates the concept of abstraction in programming
- AWriting a program that directly manipulates binary data instead of using variables.
- BUsing a variable named total_score to store the sum of points scored in a game.
- CCreating a custom file format to store images as raw binary values.
- DConverting a binary number directly into hexadecimal without using any intermediate steps.
4Which of the following file types should be compressed using a lossless method rather than a lossy method?
- AA) A high-quality video file for streaming on YouTube.
- BB) A song file for streaming on Spotify.
- CC) A software application installer (like a .EXE file).
- DD) An image posted to a social media platform.
5A video streaming platform wants to reduce the file size of its videos while still providing a good user experience. Which of the following approaches would be the most appropriate?
- AA) Use run-length encoding to reduce the video file size.
- BB) Compress the video using a lossy compression algorithm.
- CC) Compress the video using a lossless compression algorithm.
- DD) Store the video uncompressed for better quality.
6How would the string "AAAABBBCCDAA" be represented using run-length encoding (RLE)?
- AA) A4B3C2D1A2
- BB) 4A3B2C1D2A
- CC) 3A2B2C1D2A
- DD) 4A2B3C1D2A
7Which of the following statements about Huffman coding is true?
- AA) Huffman coding assigns longer binary codes to more frequently used characters.
- BB) Huffman coding assigns shorter binary codes to more frequently used characters.
- CC) Huffman coding works best for audio compression.
- DD) Huffman coding is only used for images and videos.
8Which of the following describes a trade-off associated with using lossy compression?
- AA) The file size is smaller, but some quality is lost.
- BB) The file size is larger, but no data is lost.
- CC) The compression is reversible, and you can get back the exact original file.
- DD) The file size is reduced, but all original data is preserved.
Information
- Description
- Quiz on Untitled, created by Success Godday on 19/12/2024.
- Author
- Success Godday
- Language
- English
- Views
- 1
- Rating
- No ratings yet Rate this quiz