Presentation is loading. Please wait.

Presentation is loading. Please wait.

Course INF211 File Organization Revision 1.

Similar presentations


Presentation on theme: "Course INF211 File Organization Revision 1."— Presentation transcript:

1 Course INF211 File Organization Revision 1

2 Chapter 1 Questions Pages
State the file structure definition and functions. 2-3 Explain the need of designing efficient file structures.

3 Chapter 2 Questions Pages Define the physical and logical files. 14-15
Explain how you can use open, fread, fwrite and fseek in C++ languag. 17-28 Show how to change the permissions on a file myfile so that the owner has read and write permissions, group members have execute permission, and others have no permission. 18-19 Explain how you can use; fwrite to write to the Console, and fread to read from the Keyboard. 32-33 Write a C++ program to read a given matrix from a txt file and to write it and its transport to a new txt file and also to the console. 17-33

4 Chapter 3 Questions Pages Explain the organization of a magnetic disk.
46-48 State how a hard-disk drive capacity can be computed. 49 Consider a computer with a disk drive has the following specifications: Number of bytes per sector = 512, Number of sectors per track = 63, Number of tracks per cylinder = 16, Number of cylinders = How many cylinders does a file with 50,000 fixed-length data records require, each data record requires 256 bytes? 50 Discuss physical placement organization the sectors on a track. Discuss the “sector interleaving” process. 50-51 Discuss cluster organization the sectors on a track. 52

5 Chapter 3 Questions Pages Explain the internal fragmentation problem.
54 What is the advantages and disadvantages of storing at maximum 1 record per sector, and storing the records successively in sectors. 53-54 Discuss organizing tracks by block. And explain how can fragmentation problem appear in block organization of tracks. 55-58 What is the subblocks used in block organization of tracks. What is the non-data overhead? 56-58 Explain how to estimate the cost of a disk access. 58-62

6 Chapter 3 Questions Pages
Define the frame, odd parity, data blocks and interblock gaps in magnetic tapes. 54 If we want to store a backup copy of a file with one million 100-byte records. If we want to store the file on a 6250-bpi tape that has an interblock gap of 0.3, how much tape is needed? 69 Explain how to estimate the data transmission time in magnetic tape. 71 Discuss the many difference between magnetic disk and tape. 72 Explain the advantage of CLV over CAV in reading from a CD-ROM. 78-79 Show how can the data be addressed on a CD-ROM. 79-80


Download ppt "Course INF211 File Organization Revision 1."

Similar presentations


Ads by Google