Data Groupings: File File: a group of related records

Slides:



Advertisements
Similar presentations
Grade K-Digital Citizenship
Advertisements

Input and Output Devices Grade 1-Digital Citizenship.
including File Management
Human Computer Interface
Lesson 6 Software and Hardware Interaction
Programming Logic and Design Fourth Edition, Introductory
Automating Tasks With Macros
1 The Five Parts of an Information System
Guide To UNIX Using Linux Third Edition
Understanding the Mainline Logical Flow Through a Program (continued)
Programming Logic and Design, Introductory, Fourth Edition1 Understanding Computer Components and Operations (continued) A program must be free of syntax.
Programming Logic and Design Fourth Edition, Introductory
Data: A collection of raw facts and figures. It may consist of numbers, characters, symbols or pictures. Information: Organized and processed form of.
 A data processing system is a combination of machines and people that for a set of inputs produces a defined set of outputs. The inputs and outputs.
Programming Logic and Design Fifth Edition, Comprehensive
Basic Computer Technology Online Education Solutions© (773)
MATLAB File Management. MATLAB User File Management Matlab provides a group of commands to manage user files. For more information, type help iofun. pwd.
4-1 Coding Complete COBOL Programs: The PROCEDURE DIVISION Chapter 4.
System software operating system 1.
1 2 Basics of Computer Systems Ch.1-A,B,C FALL 2000 Rob Wolfe.
Agenda User Profile File (.profile) –Keyword Shell Variables Linux (Unix) filters –Purpose –Commands: grep, sort, awk cut, tr, wc, spell.
Keyboarding Vocabulary Key Computer Terms. Click To rapidly press and release the mouse button To rapidly press and release the mouse button.
Chapter Four UNIX File Processing. 2 Lesson A Extracting Information from Files.
Guide To UNIX Using Linux Fourth Edition
Computer Parts Hardware.
Intro to Computers Computer Apps 1.
C++ Basics Structure of a Program. C++ Source Code Plain text file Typical file extension .CPP Must compile the C++ source code without errors before.
GCSE Computing#BristolMet Session Objectives# 20 MUST describe a database and discuss the legal implications of storing personal information SHOULD explain.
Common Application Software. MS Word Some advanced use : Mail-merge Self-made Templates Macro (recording and running)
Chapter 2 Pseudocode. Objectives To introduce common words, keywords and meaningful names when writing pseudocode To define the three basic control structures.
Computers in the Library A database application. Input and Output Devices Input Keyboard Mouse Scanner / light pen Output VDU / screen / monitor Printer.
Printer. Keyboard In computing, a keyboard is a typewriter-style device, which uses an arrangement of buttons or keys, to act as mechanical levers or.
1 Program Input Software Design Chapter 4. 2 You Will Want to Know... Prompting for and reading values into a program. Accessing data from a file. What.
Verification & Validation. Batch processing In a batch processing system, documents such as sales orders are collected into batches of typically 50 documents.
Lesson 3-Touring Utilities and System Features. Overview Employing fundamental utilities. Linux terminal sessions. Managing input and output. Using special.
Lesson 13 Databases Unit 2—Using the Computer. Computer Concepts BASICS - 22 Objectives Define the purpose and function of database software. Identify.
Producing a Mail Merged Letter Step 1 Create an Access database for Names and Addresses you can use the ‘Customers’ template in Group Work. Enter the necessary.
Computer Vocabulary Computer
Oct 091 Example Program DemoInputValidation1.java DemoInputValidation2.java.
Chapter 4 PROCEDURE DIVISION. Paragraphs PROCEDURE DIVISION divided into paragraphs Each is independent module or routine Made up of series of instructions.
Lesson 4 Access Lesson 4 Lesson Plans Michele Smith – North Buncombe High School, Weaverville, NC
Practical Session 12 Input &Output (I/O). I/O Device Input / Output (I/O) devices Input / Output (I/O) devices provide the means to interact with the.
FUNCTIONS OF THE COMPUTER.  A programmable machine that performs high-speed processing of numbers, as well as of text, graphics, symbols, and sound.
Hosted by Mrs. Smith Parts of a Computer InputOutputMisc
Input, Output and Processing.. What data needs to be input into the system? Identify the sources – i.e. where does the data come from? What is the volume.
Operating Systems. Operating System Every general-purpose computer must have an operating system to run other programs. Operating systems perform basic.
Chapter 1: Introduction to Computers and Programming
Chapter 6: Sequential Data Files
Databases.
Basic operations in Matlab
Everyday term used to refer to the monitor, keyboard, mouse and CPU
Keyboard Input and Screen Display ––––––––––– Interactive Programming
Information Technology By: Debs Hogan
Identify information technology equipment/software and operating systems supported by the organization By Jack+ Aaron.
08/28/06 parts of the computer.
Operating Microcomputer
Input/Output Input/Output operations are performed using input/output functions Common input/output functions are provided as part of C’s standard input/output.
For Monday Read WebCT quiz 18.
Chapter 3 The DATA DIVISION.
Interactive I/O Input from keyboard Must prompt user User friendly
Mail Merge a letter for Integration Office 2016
A poorly named Curt Hill utility program
For Wednesday No new reading No quiz.
Chapter Four UNIX File Processing.
Click ‘browse’ to search your device for
Writing a Complete Program
User Input Keyboard input.
The monitor shows information.
08/28/06 parts of the computer.
PYTHON - VARIABLES AND OPERATORS
Presentation transcript:

Data Groupings: File File: a group of related records Customer file, containing all customer records Record: a group of related fields Customer record containing name and address fields Field: group of characters forming a single data item “Smith” Character: single symbol (letter, number, special symbol) “A”, “7”, “$”

Data Groupings: Database Database: collection of related tables, that serve the information needs of the organization Table: a group of related fields Customer record containing name and address fields Field: group of characters forming a single data item “Smith” Character: single symbol (letter, number, special symbol) “A”, “7”, “$”

Opening Files Specify file name and path (location) Issue a file open command If no input file is opened, input may be accepted from the standard input device (e.g., keyboard) You must open both input and output files to be used, including printer output device If no output file is opened, standard output device (e.g., monitor) may be used

Reading an Input Record Reading the first input record is the last housekeeping task (sometimes) Interactive application: Interacts with users via keyboard or mouse input Program pauses when the read command is executed until the user enters data Delimiter: a character designated as a separator between data values Prompt: an output statement that asks the user to enter specific data (usually from keyboard)

Reading (Input) a Record

Reading an Input Record Input from a data file:

Checking for the End of the File After reading a file – states no more data to input For an interactive (keyboard input) program, EOF may be determined when: User enters a predetermined sentinel value User selects a screen option using a mouse For input from a file, the input device recognizes EOF EOF may occur on the first read If there is data, each record is processed before the next read occurs and EOF is checked

Checking for End of File No read before checking for EOF