Introduction to Computing MCQs with Answers
Practice important Introduction to Computing MCQs with answers and explanations.
Multiple Choice Questions
Q2271: What is a sequential file?
- A: A file accessed in a random order
- B: A file accessed in a serial manner from beginning to end
- C: A file with multiple access points
- D: A file with no specific access order
View Answer
B
Q2272: Which of the following is an example of a sequential file?
- A: Database table
- B: Audio file
- C: Index file
- D: Cache file
View Answer
B
Q2273: What format is used to encode each logical record in a text file?
- A: Binary format
- B: ASCII or Unicode format
- C: Hexadecimal format
- D: Compressed format
View Answer
B
Q2274: In a sequential file, what does each 31-character block represent in the given example?
- A: An employee's name
- B: An employee's identification number
- C: A single employee's record
- D: A part of an employee's record
View Answer
C
Q2275: How does a magnetic disk storage system maintain the sequential nature of a file?
- A: It uses a list of sectors to retrieve the file in the proper sequence
- B: It stores the file on a single continuous track
- C: It uses sequential memory to store the file
- D: It encodes the file in a special format
View Answer
A
Q2276: What is the end-of-file (EOF) in a sequential file?
- A: A special record or information that indicates the end of the file
- B: A marker that shows the beginning of the file
- C: A section that holds temporary data
- D: A location where the file is stored on disk
View Answer
A
Q2277: What is a sentinel in the context of sequential files?
- A: A special record placed at the end of the file to mark its termination
- B: A temporary record used during file processing
- C: A record that helps in file retrieval
- D: A marker indicating the file's beginning
View Answer
A
Q2278: In which scenario is a sequential file particularly useful?
- A: Payroll processing in a small company
- B: Handling complex queries on large datasets
- C: Storing real-time streaming data
- D: Managing high-frequency trading transactions
View Answer
A
Q2279: What challenge does magnetic disk storage pose for sequential files?
- A: The file is scattered over different sectors, which requires maintaining a list for retrieval
- B: Files are stored sequentially by default
- C: There is no way to access files in order
- D: Files are automatically encoded in a special format
View Answer
A
Q2280: Fill in the blank: A sequential file is accessed in a __________ manner from its beginning to end.
- A: Serial
- B: Random
- C: Parallel
- D: Chunked
View Answer
A