Introduction to Computing MCQs with Answers
Practice important Introduction to Computing MCQs with answers and explanations.
Multiple Choice Questions
Q2281: Fill in the blank: In a sequential file, each logical record in a text file is typically encoded using __________.
- A: ASCII or Unicode
- B: Binary or Hexadecimal
- C: Hexadecimal or Base64
- D: ASCII or Base64
View Answer
B
Q2282: What is the purpose of an indexed file?
- A: To store data in sequential order
- B: To retrieve records in an unpredictable order quickly
- C: To store files in a hierarchical structure
- D: To index file names alphabetically
View Answer
B
Q2283: How does an index in a file system work?
- A: It contains a list of keys and the locations of records associated with those keys
- B: It stores data in a random order
- C: It organizes data into separate files
- D: It encrypts the file’s data for security
View Answer
A
Q2284: Where is an index for a file typically stored?
- A: On a separate mass storage device
- B: On the same mass storage device as the indexed file
- C: Inside the indexed file itself
- D: In the CPU’s cache
View Answer
B
Q2285: What is a classic example of an indexed file usage?
- A: Employee records indexed by identification numbers
- B: Audio CDs indexed by track names
- C: Text documents indexed by creation date
- D: All of the above
View Answer
A
Q2286: How does an indexed file improve record retrieval?
- A: It avoids lengthy searches by providing direct access to the record’s location
- B: It stores records in a pre-sorted order
- C: It compresses records to reduce access time
- D: It encrypts records for faster decryption
View Answer
A
Q2287: What is a hierarchical index?
- A: A layered or tree-structured index used to organize file storage
- B: A linear index with records sorted alphabetically
- C: A simple list of file names without additional structure
- D: A numeric list of file sizes and locations
View Answer
A
Q2288: What role do directories play in a hierarchical index system?
- A: They act as indexes containing links to sub-indexes
- B: They store files in a sequential manner
- C: They encrypt the files for security
- D: They compress the files for faster access
View Answer
A
Q2289: In the context of audio CDs, how is indexing used?
- A: It allows quick access to individual recordings by locating their positions on the CD
- B: It stores all recordings in a continuous track
- C: It arranges recordings in alphabetical order
- D: It encodes recordings for better sound quality
View Answer
A
Q2290: Fill in the blank: An indexed file system is similar to an index in a book, which helps in __________.
- A: Locating topics quickly
- B: Sorting pages alphabetically
- C: Encrypting the book
- D: Compressing text
View Answer
A