Data Modelling & Data Structures.

Authors Avatar
Data Modelling & Data

Structures

Unit6 Element 6.1

By Nicky Wilson

GNVQ Advanced IT

Action Plan

4/5/95 -

9/5/95

Received assignment which is to cover element 3.1 all PCs. My initial task is

to Gather all relevant information on the basic data structures for storage and

retrieval. I will research through lecture notes and the books BTEC

Information Technology, BTEC in Computing, File structures theory and

practice, as well as to search through the CD ROM Groliers Encyclopaedia.

Take notes on any relevant Information

9/5/95 -

1/5/95

Research information on the way that Basic data structures are analysed for

different applications. Research through above books and CD ROM's and

take relevant notes.

1/5/95

3/5/95

Find out about logical and physical file organisation, with regards to PC3

Element 6.1 of the log book. Take notes on relevant Information.

3/5/95 -

5/5/95

6/5/95

8/5/95

Research information using methods as above with regards to how the

physical file organisation is analysed in relation to different media, PC4.

Make notes

Research information to cover PC 5, which needs me to explain location and

access methods. Use literature as above

9/5/95

Word process first draft, and take to tutor for first review

After outcome of first review take tutors advice accordingly.

20/5/95

Check work to see if any important facts have been omitted, ask Tutor for a

second review. After outcome of second review finalise any missing facts.

Word process final draft, check the work for mistakes and hand in finished

report for 1/6/95

Nicky Wilson

GNVQ Advanced IT

Investigate data Structure for storage and Retrieval

Element 6.1

Introduction

The report will analyse basic data structures for different applications and physical file organisation in relation to

different media. The report will also explain basic data structure for storage and retrieval, logical and physical file

organisation and location and access methods.

A data structure is essentially a number of data items, also called elements or nodes with some relationship

linking them together. Each item consists of one or more named parts called fields occupying one or more

memory locations in the computer. For instance a list of numbers occupying consecutive memory locations in a

computer is a simple data structure.

Array: This is an ordering of the data elements so that the data is able to be extracted in a logical fashion, shown

below is a diagram showing an example of this

1 6 9 3

Dim x (3) Index value

7 4 4 1 Dim y (3) Index value

Dim x (3,3) Index value

9 2 6 7 Dim y (3,3,3) Index value

Stack: The stack is a data structure chacterized by the expression LIFO = Last in first out this means that most

recent item added to the stack is the first one which can be removed from the stack. A stack pointer is used to

keep track of the last item added to the stack, which is the current top of the stack. Stacks are frequently used for

data temporary storage. One common application of stacks is for storing return addresses (link values) for closed

routines.

TOP

SP

BOTTOM

A stack only has two operations PUSH: Add an item

POP: Remove the top item.

FULL & EMPTY: Stack pointer

It can define maximum values only one end used.

Queue: The data structure known as a queue has the same characteristics as the queues that we encounter in

everyday life. A queue in a data structure in which elements are added only at the rear of the list and removed

only from the front of the list. A queue structure is often given the name FIFO which stands for first In first out.
Join now!


Data in what we call a queue is not moved along like people in a cinema queue, instead each datum stays in its

storage location until its turn comes, thereby reducing time spent in data movement. The use of pointers makes

this possible.

FRONT BACK JOIN HERE

Take items from the front, add items to the end.

List: Lists provide a flexible way of handling data items in order. Changes to the order can be achieved with

minimal data movement and little loss of storage space These can be ...

This is a preview of the whole essay