Introduction to Computing MCQs with Answers
Practice important Introduction to Computing MCQs with answers and explanations.
Multiple Choice Questions
Q471: How does dictionary encoding in word processors benefit text compression?
- A: By encoding words as single dictionary references
- B: By using variable-length patterns for characters
- C: By encoding text with fixed-length codes
- D: By compressing data without a dictionary
View Answer
A
Q472: What is a typical dictionary size in word processors for text compression?
- A: 25,000 entries
- B: 50,000 entries
- C: 10,000 entries
- D: 100,000 entries
View Answer
A
Q473: What does adaptive dictionary encoding allow?
- A: The dictionary to change during encoding
- B: The encoding to use fixed-length patterns
- C: The message to be encoded with constant references
- D: The data to be encoded without a dictionary
View Answer
A
Q474: What is Lempel-Ziv-Welsh (LZW) encoding known for?
- A: Using a fixed dictionary throughout encoding
- B: Dynamically updating the dictionary during encoding
- C: Encoding with fixed-length codes
- D: Using a non-adaptive dictionary
View Answer
B
Q475: How does the LZW encoding process start?
- A: With a dictionary containing basic building blocks
- B: With a dictionary containing complex patterns
- C: With a fixed-length encoding system
- D: With a complete dictionary of the message
View Answer
A
Q476: In the LZW encoding example, how is the pattern "xyx" encoded initially?
- A: As 121
- B: As 3434
- C: As 1213
- D: As 0011
View Answer
A
Q477: How is the pattern "xyx" added to the dictionary during LZW encoding?
- A: When a complete word is identified
- B: After encoding each individual character
- C: When the dictionary is full
- D: At the end of the encoding process
View Answer
A
Q478: When decoding an LZW-encoded message, what happens when a new pattern is encountered?
- A: It is added to the dictionary for future use
- B: It is ignored
- C: It is decoded as a single character
- D: It is re-encoded as a reference
View Answer
A
Q479: What does the LZW decoding process do when it encounters a reference to a dictionary entry?
- A: Decodes it as the corresponding pattern
- B: Encodes it as a new pattern
- C: Ignores the reference
- D: Adds it to the dictionary
View Answer
A
Q480: What does GIF stand for?
- A: Graphics Interchange Format
- B: Graphic Image File
- C: General Interchange Format
- D: Graphical Interface File
View Answer
A