CS 10241 CS 1024 - Computing for Business Instructor:David Tucker GTA:Batul Mirza.

Slides:



Advertisements
Similar presentations
CHAPTER 1: AN OVERVIEW OF COMPUTERS AND LOGIC. Objectives 2  Understand computer components and operations  Describe the steps involved in the programming.
Advertisements

CS105 INTRODUCTION TO COMPUTER CONCEPTS INTRO TO PROGRAMMING Instructor: Cuong (Charlie) Pham.
Chapter 1: Introduction
The IDENTIFICATION and ENVIRONMENT DIVISIONS Chapter 2.
Starting Out with C++, 3 rd Edition 1 Chapter 1. Introduction to Computers and Programming.
COSC 120 Computer Programming
1 ICS103 Programming in C Lecture 3: Introduction to C (2)
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming.
Introduction to Computers and Programming. Some definitions Algorithm: –A procedure for solving a problem –A sequence of discrete steps that defines such.
An Overview of Computers and Logic
An Overview of Programming Logic and Design
A High-Level Model For Software Development
COBOL for the 21 st Century Stern, Stern, Ley Chapter 1 INTRODUCTION TO STRUCTURED PROGRAM DESIGN IN COBOL.
Chapter 1 Program Design
Lecture Notes 8/30/05 Program Design & Intro to Algorithms.
Introduction to Computers and Programming. Some definitions Algorithm: Algorithm: A procedure for solving a problem A procedure for solving a problem.
Starting Out with C++: Early Objects 5/e © 2006 Pearson Education. All Rights Reserved Starting Out with C++: Early Objects 5 th Edition Chapter 1 Introduction.
Chapter 3 Planning Your Solution
Copyright 2003 Scott/Jones Publishing Brief Version of Starting Out with C++, 4th Edition Chapter 1 Introduction to Computers and Programming.
CS102 Introduction to Computer Programming
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming.
Chapter Introduction to Computers and Programming 1.
CSC 125 Introduction to C++ Programming Chapter 1 Introduction to Computers and Programming.
Chapter 1: Introduction to Visual Basic.NET: Background and Perspective Visual Basic.NET Programming: From Problem Analysis to Program Design.
Structured COBOL Programming, Stern & Stern, 9th edition
Topics Introduction Hardware and Software How Computers Store Data
CIS Computer Programming Logic
สาขาวิชาเทคโนโลยี สารสนเทศ คณะเทคโนโลยีสารสนเทศ และการสื่อสาร.
Chapter To familiarize you with  Why COBOL is a popular business-oriented language.  Programming practices and techniques  History of COBOL.
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming 1.
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming.
Chapter 1: Introduction to Computers and Programming.
Copyright © 2009 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 1: Introduction to Computers and Programming.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with C++ Early Objects Seventh Edition by Tony Gaddis, Judy.
Goals of Course Introduction to the programming language C Learn how to program Learn ‘good’ programming practices.
Computer system overview1 The Effects of Computers Pervasive in all professions How have computers affected my life? How have computers affected my life?
King Saud University College of applied studies and community services CSC 1101 Computer Programming I Lecture 2.
The DATA DIVISION Chapter 3. COBOL Data Organization Field - group of characters forming a meaningful unit or basic fact –Characters in a name or digits.
3-1 Chapter 3. To familiarize you with  Ways in which data is organized in COBOL  Rules for forming data-names  Defining input and output files in.
S2008Final_part1.ppt CS11 Introduction to Programming Final Exam Part 1 S A computer is a mechanical or electrical device which stores, retrieves,
1 Interactive vs Batch Programs Cobol suited for developing both types of programs Interactive programs Accept input data from keyboard Input data processed.
Chapter 8 High-Level Programming Languages. 8-2 Chapter Goals Describe the translation process and distinguish between assembly, compilation, interpretation,
1 INTRODUCTION TO PROBLEM SOLVING AND PROGRAMMING.
Property of Jack Wilson, Cerritos College1 CIS Computer Programming Logic Programming Concepts Overview prepared by Jack Wilson Cerritos College.
Object-Oriented Program Development Using Java: A Class-Centered Approach, Enhanced Edition.
An Object-Oriented Approach to Programming Logic and Design Chapter 1 An Overview of Computers and Logic.
CPSC3111/CISM3111 COBOL Structured COBOL Programming Text: murach’s structured COBOL Authors: Murach, Prince, Menendez.
Structured Programming
1 Chapter 5 – The Procedure Division File handling statements –OPEN statement Initiates processing for a file Input Output Each file opened must have been.
1 Principles of Information Technology Introduction to Software and Information Systems Copyright © Texas Education Agency, All rights reserved.
PowerPoint Presentation: Richard H. Baum, Ph.D. DeVry Institute of Technology 9th Edition Structured COBOL Programming Nancy Stern Hofstra University Robert.
Lecture #1: Introduction to Algorithms and Problem Solving Dr. Hmood Al-Dossari King Saud University Department of Computer Science 6 February 2012.
Copyright © 2014, 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with C++ Early Objects Eighth Edition by Tony Gaddis,
Chapter 1: Introduction to Computers and Programming.
Software Engineering Algorithms, Compilers, & Lifecycle.
Chapter 1: Introduction to Computers and Programming
Programming Languages
Submitting Instructions on web site CS 1024 students Read guide
CSCI-235 Micro-Computer Applications
Structured Programming
ICS103 Programming in C Lecture 3: Introduction to C (2)
Chapter 1. Introduction to Computers and Programming
Chapter 1: Introduction to Computers and Programming
Designing and Debugging Batch and Interactive COBOL Programs
Chapter 3 The DATA DIVISION.
An Introduction to Structured Program Design in COBOL
Computing in COBOL: The Arithmetic Verbs and Intrinsic Functions
Chapter 6 Programming the basic computer
Chapter 1: Introduction to Computers and Programming
Presentation transcript:

CS CS Computing for Business Instructor:David Tucker GTA:Batul Mirza

CS Overview of the Course Syllabus Use of computers in business Introduction to programming using COBOL

CS Brief Introduction to Computers Computer hardware  PC & components  Mainframes Computer software  Programs which cause a computer to carry out a task  Sequential instructions  Processes data  Examples Data  Raw fact Information  Organized and processed  Form that is meaningful

CS Types of Processing Batch processing  Submit a job – wait – get results  Ex. Monthly payroll processing  Posting to general the ledger  Validation checks Interactive processing  Interaction with a computer through a terminal  Personal computer

CS Business Data Processing COBOL : common business oriented language Characteristics of B.D.P.  Many large data files  Relatively few computations  Lots of reports Typical tasks of B.D.P.  Rearrange data  Change data’s appearance  Compare data items  Locate items  Summarize  Tabulate  Combine data

CS Algorithm A natural language statement of a systematic procedure for solving a problem. Algorithm Characteristics  Must terminate  Have zero or more inputs  Have one or more outputs  Each step unambiguous

CS Examples of Algorithms Add 2 numbers  Get num1  Get num2  Sum <- num1 + num2  Write sum Calculate Pay  Get rate of pay  Get hours worked  pay <- rate_of_pay * hours worked  Write pay

CS Languages Machine  0 & 1s only Low-level  Assembly  Managing memory High-level  COBOL, C, Pascal  Machine does the work of translating Natural language  English  Spanish

CS COBOL Features English-like Self-documenting “sort of” Data declaration “location”  File structure  Records Fixed decimal data handling Separates machine independent and machine dependant parts “Environment Division”

CS Data Organization Data is composed of 3 types of characters 1. Digits or numeric characters (0,1,…9) 2. Letters or alphabetic characters (A,B,…Z) 3. Special characters (coma, decimal point, equal sign, space, etc.) Field hold a piece of information  Alphanumeric field  Numeric field Record  Related fields File  Records that are used together

CS Programming Specifications Program name Narrative or additional info Input File(s) Input Record Layout  Fields in which location of the row Data Report Layout Processing Requirement  File  Filtering  Printing

CS Logic Write out the logic before you start coding  Pseudocode  Flow chart

CS Divisions of a COBOL Program 1. IDENTIFICATION DIVISION – provides basic information about the program such as a name 2. ENVIRONMENT DIVISION – Specifies the computer hardware that is to be used when the program is compiled and executed

CS Divisions Cont. DATA DIVISION – defines the characteristics of the files, records, and fields to be used in the program. File section FD (file description) SELECT statement Level numbers Relation to each other 01 – record description entry 05 – field entry Record description Working-storage section Define data that does not appear in the input or output.

CS Divisions Cont. PROCEDURE DIVISION – specifies the processing steps to be followed by the computer when the program is executed.  Paragraphs (procedures)  PERFORM statement  IF statement  READ statement Test data

CS Elements of COBOL Reserved words Programmer-supplied names  Paragraph names  Data names  File names Literals  Numeric  Non numeric Symbols  Punctuation  Arithmetic  Relational Level numbers Pictures