File Organisation and Data Access 3.1.2

Similar documents
What is Data Storage?

Easy Windows Working with Disks, Folders, - and Files

Definition: A data structure is a way of organizing data in a computer so that it can be used efficiently.

Logical File Organisation A file is logically organised as follows:

Intro to the Apple Macintosh Operating System, OSX

Lecturer 4: File Handling

Blaze Audio Karaoke Sing-n-Burn

Midterm Exam, October 24th, 2000 Tuesday, October 24th, Human-Computer Interaction IT 113, 2 credits First trimester, both modules 2000/2001

XP: Backup Your Important Files for Safety

BACKUP, CLONE OR IMAGE? WHY YOU SHOULD BE INTERESTED

The Office Procedures and Technology

Rescuing Lost Files from CDs and DVDs

ABook Reader Instruction Manual

Memory Study Material

Managing Data. When records in a file need to be accessed there are three ways of doing it;

Variables and Data Representation

Xchange for Samsung MAC User Guide. Version 2.4

4Sight for Mac User Guide. Version 2.4

Wednesday, May 3, Several RAID "levels" have been defined. Some are more commercially viable than others.

MP3/MP4 Digital Player User s Manual

Lesson 1. Why Use It? Terms to Know

Backing Storage Media

6 counterintuitive strategies to put your list building efforts into overdrive

CMSC 104 -Lecture 2 John Y. Park, adapted by C Grasso

The Key Playlist Report for New York and Texas is Ready!

(Refer Slide Time 00:01:09)

Civil Engineering Computation

Lecture-7 Characteristics of Memory: In the broad sense, a microcomputer memory system can be logically divided into three groups: 1) Processor

Unit 3 Part B. Computer Storage. Computer Technology

Burning CDs in Windows XP

Digital Talking Book Players

(With a few XP tips thrown in for good measure)

CS5412 CLOUD COMPUTING: PRELIM EXAM Open book, open notes. 90 minutes plus 45 minutes grace period, hence 2h 15m maximum working time.

we do Windows For more information about Windows, see Windows Basics under Help and Support in the Start menu.

English Listening Teaching Assisted by the Audio Editor Run-Mei ZHAI

CS/ECpE 5516, Spring 1998, Midterm Exam 75 minutes, 120 points Prof. Abrams

How can you simplify? How can you get x alone? Is there more than one way to simplify? Is there always a solution? CPM Materials modified by Mr.

Directory Structure and File Allocation Methods

[CS(SG)06FMS] NATIONAL QUALIFICATIONS. COMPUTING STUDIES STANDARD GRADE Foundation Level. Marking Guidelines

Sequential Files EXAMPLE

Fig 1.1 A designer working on a personal computer

Clean & Speed Up Windows with AWO

Hashing for searching

Cassette2CD Wizard 2.05 User's Manual

Information Technology Training Package ICA99

Unit 9 Tech savvy? Tech support. 1 I have no idea why... Lesson A. A Unscramble the questions. Do you know which battery I should buy?

3 USING NERO BURNING ROM

Database Management Systems, 2nd edition, Raghu Ramakrishnan, Johannes Gehrke, McGraw-Hill

If you ve never used Quicken, begin here. This chapter tells you how to

Computer Skills Checklist

Introduction to DBMS

Bits and Bytes. Here is a sort of glossary of computer buzzwords you will encounter in computer use:

Intro. Scheme Basics. scm> 5 5. scm>

Introduction to Computer Programming Using FORTRAN 77

4.1 COMPUTATIONAL THINKING AND PROBLEM-SOLVING

What is ? How Do I Send a Message? How Do I Reply to a Message? How Do I Forward a Message? How Do I Send a Document or Photo As an Attachment?

we do Windows For more information about Windows, see Windows Basics under Help and Support in the Start menu.

MV-8800 Production Studio

What s New in Blackboard 9.1

Managing Files & Folders

In the beginning. In those days the single floppy drive was called the A: drive. This held the Operating System Windows.

Organizing your Outlook Inbox

SAFETY INFORMATION 1. Carefully read all instructions and safety information prior to operating this unit. 2. Please comply with the warnings printed

So the UI needs to change when the button changes. When the button becomes submit it needs to change color and get bigger.

Using the remote controller

MANAGING FILES: Basic Concepts A database is a logically organized collection of related data designed and built for a specific purpose,

11. Implementation of sequential file

LECTURE SCHEDULE 2. Units of Memory, Hardware, Software and Classification of Computers

Tutorial. Includes lessons on transferring music to ipod, playing music, and storing files on ipod

CDs & DVDs: Different Types of Disk Explained

Children Aged 5-8. For. A Velsoft Computer Manual for Kids. Entertaining Activities Especially for Children...

Computer Overview. A computer item you can physically see or touch. A computer program that tells computer hardware how to operate.

COPYRIGHTED MATERIAL. Getting Started with Google Analytics. P a r t

ipod Tutorial Includes lessons on transferring music to ipod, playing music, and storing files on ipod

Field Device Database Editor User Guide <Virtual Environment> 5.9

News English.com Ready-to-use ESL / EFL Lessons

How to Construct. Accessible Talking Books MAC

Chapter 1.6 Systems Development Life Cycle.

Clearing Out Legacy Electronic Records

CSC258: Computer Organization. Memory Systems

What is version control? (discuss) Who has used version control? Favorite VCS? Uses of version control (read)

Moodle 2 Importing Courses from Moodle 1.9

Troubleshooting. Solve the most common problems and compatibility issues with Windows Movie Maker 2

Associate Professor Dr. Raed Ibraheem Hamed

Bar Graphs and Dot Plots

itunes What Is It? What Does it Do?

Paul's Online Math Notes Calculus III (Notes) / Applications of Partial Derivatives / Lagrange Multipliers Problems][Assignment Problems]

MATH& 146 Lesson 8. Section 1.6 Averages and Variation

Audio System. Audio System. The in-dash CD changer holds up to six discs. You operate the CD changer with the same controls used. changer operation.

7. Mechanical & Electrical calculator:-

2016 All Rights Reserved

Binary Trees

Getting Started with Snaptune One

Creating DVDs and CDs. With Your DVD Writer/CD Writer Drive

A Step-by-Step Guide to getting started with Hot Potatoes

Windows File Management

Last Updated: October 12, Learning Ally ReadHear by gh for PC, Quick Start Guide

CIMA 2015 Syllabus Student Guide

Fundamentals of Database Systems Prof. Arnab Bhattacharya Department of Computer Science and Engineering Indian Institute of Technology, Kanpur

Errors. Chapter Extension of System Model

Transcription:

File Organisation and Data Access 3.1.2

Computers can store large volumes of data. The difficulty is to be able to get it back. In order to be able to retrieve data, it must be stored in some sort of order.

Take the phone book for example it contains large volumes of data which can be accessed fairly easily because all the records are stored in alphabetical order.

Imagine how difficult it would be to find an entry if the records had just been placed in the book at random.

The worth of the book is not just that it contains all the data that may be needed. But that it has a structure that makes it easily accessible. Similarly, the structure of the data in a computer file is just as important as the data that it contains. There are a number of ways of arranging the data that will aid access under different circumstances

ARRANGING DATA

3 methods are Serial Sequential Random (or Direct)

Serial Organization Data is stored in the computer in the order in which it arrives (chronological order). This is the simplest form of storage, but the data is pretty much unstructured, so finding a data item again can be very difficult. This sort of data storage is only used when it is unlikely that the data will be needed again, or when the order of the data is not critical.

A good example of a serial file is a typical word document. The characters were all typed in, in a random pattern less order. Reading this document would be close to impossible if all the words were in alphabetic order!

Another example of serial organization is shows that come on TV.

When thinking of storage systems, one could presume that all of your data in one folder is located next to each other within the hard drive.

This is false when talking about random access. With random access, your information can be pulled from any location on the disk. Meaning, your one folder could have its data scattered about the physical hard drive. The benefit of this type of storage is that you could access data in any order.

Think of it as your CD player, your favorite song ends and you want to hear it again just hit the back button and done. It s fast and nearly instantaneous, unlike sequential

You could think of sequential access like a cassette within a cassette player. When a song finishes and you want to listen to it again, you must rewind the cassette, or if you want to skip a song, you must fast forward the tape. This is used with magnetic tape drives which are used for backup purposes.

Even though in random access media devices it may seem like data could be misplaced or somehow lost in the sea of data. When created, every file is given a unique name by the computer system, otherwise referred to as addressable media, in order to keep track of all the data so it can be accessed later

Random access and sequential access of data are two separate ways a computer can access data. Random access is the ability to access data in any given location within the hard drive, quickly and efficiently. Most computers use random access today because it saves the user time.

Sequential access requires data being accessed in a sequence. Examples of sequential access would be: Data on a disk file (floppy disk) Magnetic tape disk storage.

This can be useful to some users, if they are purposely attempting to process a sequence of data elements in order. However, this can also be time consuming for users who are trying to find a certain file on a disk tape, which requires skimming through all of the data in sequence.

Direct Access The alternative access method is direct-access which allows records to be read and written in any order. Most systems only permit this for files stored on randomaccess devices such as discs; it is sometimes also permitted on tapes.

All records in a direct-access file must be the same length so that the system can compute the location of a record from its record number unlike sequential access where variable length records are allowed. The record length has to be chosen when the file is created and (on most systems) is then fixed for the life of the file.

Sequential organization Consider a set of students whose records are stored in a computer. The data could have been stored in alphabetic order of their names. It could have been stored in the order that they came in a Computing exam, or by age with the oldest first. However it is done, the data has been arranged so that it is easier to find a particular record. If the data is in alphabetic order of name and the computer is asked for Zaid record, it won t start looking at the beginning of the file, but at the end, and consequently it should find the data faster. A file of data that is held in sequence is known as a sequential file

Random organization A file that stores data in no order is very useful because it makes adding new data or taking data away very simple. In any form of sequential file, an individual item of data is dependent on other items of data. Jawad cannot be placed after Mahmood because that is the wrong order. However, it is necessary to have some form of order because otherwise the file cannot be read easily. What would be wonderful is if, by looking at the data that is to be retrieved, the computer can work out where that data is stored. In other words, the user asks for Jawad s record and the computer can go straight to it because the word Jawad tells it where it is being stored.