Purchase Solution

Direct access files

Not what you're looking for?

Ask Custom Question

Suppose a direct access file consists of sectors with 1024 byte capacity. Suppose also that records are 32 bytes long. On which logical sector do the following logical records lie? What is the relative record number in the sector?

Logical record 42
Logical record 131
Logical record 32
Logical record 512

Purchase this Solution

Solution Summary

The expert examines direct assess files.

Solution Preview

First multiply the logical record size by the logical record number to get the byte position.

Logical record 42 -> 42 * 32 = 1344

Byte position 1344
--------------------- = 1, remainder 320.
1024 bytes/sector

Logical sector is 1, the relative record number in the sector = 320/32, which is ...

Purchase this Solution


Free BrainMass Quizzes
Java loops

This quiz checks your knowledge of for and while loops in Java. For and while loops are essential building blocks for all Java programs. Having a solid understanding of these constructs is critical for success in programming Java.

Basic UNIX commands

Use this quiz to check your knowledge of a few common UNIX commands. The quiz covers some of the most essential UNIX commands and their basic usage. If you can pass this quiz then you are clearly on your way to becoming an effective UNIX command line user.

Basic Networking Questions

This quiz consists of some basic networking questions.

Excel Introductory Quiz

This quiz tests your knowledge of basics of MS-Excel.

Basic Computer Terms

We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.