• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/20

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

20 Cards in this Set

  • Front
  • Back

Definition of file

logical units of information created by processes

Define field

basic element of data

Define record

an organization of related fields treated as a unit

Define file

a collection of similar records

Define database

a collection of related data

3 fundamental types of files

1. data


2. program


3. documents

types of files

1. ordinary files


2. directory files


3. special files aka device files

requirements for long term information storage

1. high capacity


2. an information must survive the termination of the process using it


3. multiple processes must be able to concurrently access the information


4. structural requirements

2 types of access

1. sequential access


2. direct access aka relative access


file attributes

name


type


location


size


protection


time date user identification

Define pile

simplest file organization - data are collected in order of arrival; the purpose is to amass data and save it


Define stack

a data structure that supports insertion and remove of new data items. always LIFO. used in-store function arguments and local variables

Define heap

a tree data structure on ordered data. used to refer to the memory that is available to an application and is not used for procedure call stack

another term for pile

1. ordered deque


2. improved heap

Basic File Organization methods

1. pile


2. sequential


3. indexed sequential


4. indexed


5. direct (hashed)

Define sequential

fixed format for equi length records and key fields. very common in batch but poor for interactive applications

Define indexed sequential

improved performance for interactive applications by adding an indexed file to support random access to the sequential file organization

Define indexed

more flexibility than indexed sequential . it has multiple indexes reflecting each type of field that may be searched

Define direct (hashed)

random access via hashing on the key value

Define hash function

any algorithm that maps large data sets of variable length (keys) to a smaller sets of fixed length.