Assume 100,000 records of fixed length. It has name: 30 bytes, id: 5 bytes, street: 30 bytes, city: 20 bytes, state: 2 bytes, orderdate: 8 bytes,...
View the step-by-step solution to:

Question

Assume 100,000 records of fixed length. It has name: 30 bytes, id: 5 bytes, street: 30 bytes, city: 20 bytes,

state: 2 bytes, orderdate: 8 bytes, status: 5 bytes.


a). What is the record size (in bytes)?

b). Assume a block size of 1024. How many unspanned records will fit per block?

c). How many blocks are needed to hold the file?

d). What percent of the disk space is wasted when using unspanned records.

e). Will this fit on a 1GB thumb drive?

Top Answer

a) Record size : 30 + 5 + 30 + 20 + 2 + 8 + 5 = 100 bytes b) Block size is 1024 bytes. Each block has size of 100 bytes. So... View the full answer

Sign up to view the full answer

Why Join Course Hero?

Course Hero has all the homework and study help you need to succeed! We’ve got course-specific notes, study guides, and practice tests along with expert tutors.

  • -

    Study Documents

    Find the best study resources around, tagged to your specific courses. Share your own to gain free Course Hero access.

    Browse Documents
  • -

    Question & Answers

    Get one-on-one homework help from our expert tutors—available online 24/7. Ask your own questions or browse existing Q&A threads. Satisfaction guaranteed!

    Ask a Question