Neco 2022 Data Processing Question 45

Practice objective / multiple choice question 45 from the 2022 Neco Data Processing examination.

Neco 2022 Data Processing Objective / Multiple Choice Medium Difficulty
Question 45 NECO • 2022 • DATA_PROCESSING • objective

A file contains 10 000 records, each 100 bytes long. The disk has a block size of 4 096 bytes, an average rotational latency of 5 ms, a seek time of 3 ms, and a transfer rate of 80 MB/s. Consider three file‑organization methods: 1. **Sequential**: records are stored consecutively; to access a random record the system seeks to the start of the file and then reads sequentially until the record is found. 2. **Indexed**: a primary index with one entry per block (key and block address) fits in a single block. To locate a record the system reads the index block, then seeks to the appropriate data block. 3. **Direct (hashed)**: a hash function maps a record key directly to a block; assume no collisions. Assuming a uniform random distribution of record positions, calculate the average time (in milliseconds, rounded to two decimal places) required to retrieve a randomly selected record for each method.

Answer Options

A. Sequential: 15.00 ms; Indexed: 17.30 ms; Direct: 9.10 ms.
B. Sequential: 12.80 ms; Indexed: 14.90 ms; Direct: 8.50 ms.
Correct Answer C. Sequential: 14.42 ms; Indexed: 16.10 ms; Direct: 8.05 ms.
D. Sequential: 13.50 ms; Indexed: 15.20 ms; Direct: 7.80 ms.
Correct Answer
C
Correct Option:
Sequential: 14.42 ms; Indexed: 16.10 ms; Direct: 8.05 ms.

About This Question

This is Neco 2022 Data Processing Question 45. It is one of the objective questions from the 2022 Neco Data Processing examination.

Difficulty level: Medium .

Master the Exam!

You've seen a preview, but there are thousands more questions plus AI tutor to break down complex solutions.

Unlock Full Access Available for Android & Windows
Chat with Support