Neco 2019 Data Processing Question 30

Practice objective / multiple choice question 30 from the 2019 Neco Data Processing examination.

Neco 2019 Data Processing Objective / Multiple Choice Medium Difficulty
Question 30 NECO • 2019 • DATA_PROCESSING • objective

A file of size 13 200 bytes is to be stored on a disk whose block size is 512 bytes.\n\n(a) Using contiguous allocation, how many blocks are required and how many bytes of internal fragmentation occur?\n(b) Using linked allocation, each block (except the last) stores a 4‑byte pointer to the next block. How many total bytes are used (data + pointers) in this method?\n(c) Which allocation method uses less disk space for this file?

Answer Options

Correct Answer A. Contiguous allocation uses 26 blocks with 112 bytes internal fragmentation (13 312 bytes total). Linked allocation uses 13 412 bytes total. Hence contiguous allocation uses less space.
B. Contiguous allocation uses 25 blocks with 0 bytes internal fragmentation (13 000 bytes total). Linked allocation uses 13 424 bytes total. Hence linked allocation uses less space.
C. Contiguous allocation uses 26 blocks with 112 bytes internal fragmentation (13 312 bytes total). Linked allocation uses 13 312 bytes total. Hence both methods use equal space.
D. Contiguous allocation uses 27 blocks with 224 bytes internal fragmentation (13 424 bytes total). Linked allocation uses 13 312 bytes total. Hence linked allocation uses less space.
Correct Answer
A
Correct Option:
Contiguous allocation uses 26 blocks with 112 bytes internal fragmentation (13 312 bytes total). Linked allocation uses 13 412 bytes total. Hence contiguous allocation uses less space.

About This Question

This is Neco 2019 Data Processing Question 30. It is one of the objective questions from the 2019 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