Files [Computing] Computing.

Slides:



Advertisements
Similar presentations
Methods of Access Serial Sequential Indexed Sequential Random Access
Advertisements

What is an Information System?. What is data?  DATA is raw facts and figures.  These have very little meaning until they are sorted or they are used.
Files  File organisation and usage A record is a group of logically related fields A file is a group of logically related records Files are used to store.
23/05/20151 Data Structures Random Access Files. 223/05/2015 Learning Objectives Explain Random Access Searches. Explain the purpose and operation of.
Chapter 8 - Visual Basic Schneider1 Chapter 8 Sequential Files.
Previous Lecture Revision Previous Lecture Revision Hashing Searching : –The Main purpose of computer is to store & retrieve –Locating for a record is.
Computer Science: A Structured Programming Approach Using C1 Objectives ❏ To understand the basic concepts and uses of arrays ❏ To be able to define C.
Microsoft Access 2000 Creating Tables and Relationships.
Chapter 15 Relative Files.  File organization that converts key field to actual disk address to find location of record No need to look up disk address.
File Organization Techniques
Chapter 13 File Structures. Understand the file access methods. Describe the characteristics of a sequential file. After reading this chapter, the reader.
Computers Data Representation Chapter 3, SA. Data Representation and Processing Data and information processors must be able to: Recognize external data.
The Fun That Is File Structures Pages By: Christine Zeitschel.
What is data? DATA is raw facts and figures.
Data and its manifestations. Storage and Retrieval techniques.
Chapter 10 Applications of Arrays and Strings. Chapter Objectives Learn how to implement the sequential search algorithm Explore how to sort an array.
Indexed and Relative File Processing
A Level Computing#BristolMet Session Objectives#U2 S7 MUST understand the difference between an array and record SHOULD be able to estimate the size of.
©Brooks/Cole, 2003 Chapter 13 File Structures. ©Brooks/Cole, 2003 Understand the file access methods. Describe the characteristics of a sequential file.
INFORMATION MANAGEMENT Unit 2 SO 4 Explain the advantages of using a database approach compared to using traditional file processing; Advantages including.
13. File Structures. ACCESSMETHODSACCESSMETHODS 13.1.
1 5. Abstract Data Structures & Algorithms 5.2 Static Data Structures.
ENG College of Engineering Engineering Education Innovation Center 1 Array Accessing and Strings in MATLAB Topics Covered: 1.Array addressing. 2.
Data Structures and Algorithms Hashing First Year M. B. Fayek CUFE 2010.
CHAPTER 8 SEARCHING CSEB324 DATA STRUCTURES & ALGORITHM.
3 Data. Software And Data Data Data element – a single, meaningful unit of data. Name Social Security Number Data structure – a set of related data elements.
Hash Tables. Group Members: Syed Husnain Bukhari SP10-BSCS-92 Ahmad Inam SP10-BSCS-06 M.Umair Sharif SP10-BSCS-38.
Computer Science Projects Internal Assessment. Mastery Item Claimed Justification Where Listed Random Access File – Searching Lines P. 53 Random.
Computer Vocabulary Peripheral a device that can be connected to a computer for input or output.
Access Lessons 1, 2 and 3 ©2009 M and K Solutions, LLC – All Rights Reserved.
Code DescriptionColourSelling PriceNo. Sold C105MattPrimrose£ C106MattLilac£ C120SilkPrimrose£ C121SilkLilac£ C123SilkPlum£9.00.
FILE ORGANIZATION.
Given a set of data points as input Randomly assign each point to one of the k clusters Repeat until convergence – Calculate model of each of the k clusters.
Hash Tables. Group Members: Syed Husnain Bukhari SP10-BSCS-92 Ahmad Inam SP10-BSCS-06 M.Umair Sharif SP10-BSCS-38.
Computer Science: A Structured Programming Approach Using C1 Objectives ❏ To understand the differences between text and binary files ❏ To write programs.
Chapter 9: Data types and data structures OCR Computing for A Level © Hodder Education 2009.
©G. Millbery 2003File and Database ConceptsSlide 1 Module File and Database Concepts.
The Data Types and Data Structures
3.2.3 Data types and data structures
Introduction to Computer Systems
LEARNING OBJECTIVES O(1), O(N) and O(LogN) access times. Hashing:
Ch. 8 File Structures Sequential files. Text files. Indexed files.
Datastructure.
Database Management System
Review Graph Directed Graph Undirected Graph Sub-Graph
Chapter 8 Arrays Objectives
Hashing algorithm. Hashing algorithm key Buket size 1 Buket size 2 Buket size 3 Remainer Load factor size size
Binary Files.
DATABASE: INTERMEDIATE
Computer Science 2 Hashing
FILE ORGANIZATION.
2-Digit Subtraction.
Databases Lesson 2.
BBM 204 Algorithms Lab Recitation 5 Hash functions Sequential Chaining
Data Structures Hashing 1.
Perl Variables: Hash Web Programming.
Chapter 8 Arrays Objectives
Designing Algorithms for Multiplication of Fractions
Adding 2-Digit Numbers Name: ___________________________
COMPUTER 2430 Object Oriented Programming and Data Structures I
Hash Tables Chapter 12 discusses several ways of storing information in an array, and later searching for the information. Hash tables are a common.
RDBMS Chapter 4.
Indexed File Processing
Hash Tables Chapter 12 discusses several ways of storing information in an array, and later searching for the information. Hash tables are a common.
Chapter 8 Arrays Objectives
Chapter 9: More About Data, Arrays, and Files
File Organization.
+/- Numbers Year 2-3 – Addition and subtraction of two-digit numbers
PROGRAMMING CONCEPTS CHAPTER 8
RANDOM NUMBERS SET # 1:
Presentation transcript:

Files [Computing] Computing

Serial Files Records are added (appended) to the end of the file as they occur. Computing

Sequential File The records are stored in sorted order of a key field. Computing

Random Access File Each record has a key field. A calculation is performed on the key field (hashing algorithm) which results in an address (hash address). The record is stored at the hash address. Computing

Example : A file of members of a chess club. Each member has a 4-digit membership number. This is the key field. Hashing algorithm : Subtract 1000 from the membership number. Member John Smith has Membership Number 1004. His record would be stored at record 4 in the file. Computing

Serial (sequential) Access Each record in a file is input until the required record is found. Computing

Random (direct) Access The hashing algorithm is performed on the keyfield of the required record, giving… …a hash address where the record can be found. Computing

Hashing algorithm : Subtract 1000 from the membership number. In the Chess Club example, where would the record of Sally Jones (membership number 1006) be found? Hashing algorithm : Subtract 1000 from the membership number. Record 6 Computing