BACS 287 Basics of Programming BACS 287.

Slides:



Advertisements
Similar presentations
Components of a computer system
Advertisements

Introduction to Computer Programming Nai-Wei Lin Department of Computer Science and Information Engineering National Chung Cheng University.
INTRODUCTION OF COMPUTER
Using Computers CS French Chapter 1.
Chapter Chapter Goals Describe the layers of a computer system Describe the concept of abstraction and its relationship to computing Describe.
Chapter 1 The Big Picture Chapter Goals Describe the layers of a computer system Describe the concept of abstraction and its relationship to computing.
Slide 3.1 Curtis/Cobham © Pearson Education Limited 2008 Chapter 3 Business Information Technology Lecture 1 Computer Hardware.
Introduction to Computer Systems
1 Introduction to computers Overview l · Grading Policy »Cheating Rules (serious concern) »Examinations and Fixation of Timings »Quizzes »Homework Assignments.
C++ Programming: From Problem Analysis to Program Design, Third Edition Chapter 1: An Overview of Computers and Programming Languages C++ Programming:
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.
1 The development of modern computer systems Early electronic computers Mainframes Time sharing Microcomputers Networked computing.
Chapter 1 The Big Picture Chapter Goals Describe the layers of a computer system Describe the concept of abstraction and its relationship to computing.
1 Chapter 1 The Big Picture. 2 2 Computing systems are dynamic entities used to solve problems and interact with their environment. They consist of devices,
1 CHAPTER 4 LANGUAGE/SOFTWARE Hardware Hardware is the machine itself and its various individual equipment. It includes all mechanical, electronic.
Chapter 1: Introduction To Computer | SCP1103 Programming Technique C | Jumail, FSKSM, UTM, 2005 | Last Updated: July 2005 Slide 1 Introduction To Computers.
Information Technology Ms. Abeer Helwa. Computer Generations First Generation (Vacuum Tubes) -They relied on the machine language to perform operations.
1 6 Abacus An early device to record numeric values Blaise Pascal Mechanical device to add, subtract, divide & multiply Joseph Jacquard Jacquard’s Loom,
Chapter 1 The Big Picture Chapter Goals Describe the layers of a computer system Describe the concept of abstraction and its relationship to computing.
CS102 Introduction to Computer Programming
Chapter 01 Nell Dale & John Lewis.
Tools make jobs easier to do -A computer is a tool used by many professions A computer can do many different jobs because they are programmable - Machine.
Alternate Version of STARTING OUT WITH C++ 4 th Edition Chapter 1 Introduction to Computers and Programming.
Introduction to Programming Dr Masitah Ghazali Programming Techniques I SCJ1013.
Elements of a Computer System Dr Kathryn Merrick Thursday 4 th June, 2009.
INTRODUCTION TO COMPUTER PROGRAMMING itc-314 LECTURE 01.
Computer Hardware and Software Chapter 1. Overview Brief History of Computers Hardware of a Computer Binary and Hexadecimal Numbers Compiling vs. Interpreting.
The History of Computers
Introduction Chapter 1. 1 History of Computers Development of computers began with many early inventions: The abacus helped early societies perform computations.
An Introduction to Computers August 12, 2008 Mrs. C. Furman.
What is a Computer? An, electrical machine, that can be programmed to accept data (input), process it into useful information (output) and store it away.
Chapter 1 The Big Picture.
1.1 The Computer Revolution. Computer Revolution Early calculating machines Mechanical devices used to add and subtract By Babylonian (Iraq) 5000 years.
C++ Programming Language Lecture 1 Introduction By Ghada Al-Mashaqbeh The Hashemite University Computer Engineering Department.
CMSC 120: Visualizing Information 1/29/08 Introduction to Computing.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Extended Prelude to Programming Concepts & Design, 3/e by Stewart Venit and.
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Introduction Lecture 01.
Visual C++ Programming: Concepts and Projects
History of Computers Computer Technology Day 2. Computer Generations: Overview GenerationTimePrincipal Technology Examples ZerothLate 1800’s to 1940Electro.
C++ Programming: From Problem Analysis to Program Design, Third Edition Chapter 1: An Overview of Computers and Programming Languages.
Basic of Programming Language Skill Area Computer System Computer Program Programming Language Programmer Translators.
Chapter 1 Introduction.
School of Computer Science & Information Technology G6DICP Introduction to Computer Programming Milena Radenkovic.
COMPUTER ARCHITECTURE. Recommended Text 1Computer Organization and Architecture by William Stallings 2Structured Computer Organisation Andrew S. Tanenbaum.
Intro to Computers Computer Applications. What is a Computer? Initially the term computer referred to an individual whose job it was to perform mathematical.
Introduction to Computer Application (IC) MH Room 517 Time : 7:00-9:30pm.
Chapter 1 The Big Picture Chapter Goals Describe the layers of a computer system Describe the concept of abstraction and its relationship to computing.
Calculators are used to increase speed and accuracy of numerical computations The abacus has roots dating back over 5,000 years Mechanical calculators.
1 Central Processing Unit (CPU) Consists of complex set of electronic circuitry Executes stored program instructions Three components –Registers –Control.
@2012 by Pedernal Jemerson G. Pedernal Jemerson G ICT Network Specialist Palawan State University.
Computer History Suranjana G7Y(A). Introduction Many people didn’t actually know how computers were created. These computers were actually created with.
A.Abhari CPS1251 Topic 1: Introduction to Computers Computer Hardware Computer components Connecting Computers Computer Software Operating System (OS)
Computer Systems. Bits Computers represent information as patterns of bits A bit (binary digit) is either 0 or 1 –binary  “two states” true and false,
Computer Systems Objectives: To gain an understanding of the types of computer systems. Be able to identify the main components. Understand the difference.
1 Chapter 1 Background Fundamentals of Java: AP Computer Science Essentials, 4th Edition Lambert / Osborne.
Computer A Computer may be defined as an electronic device that operates upon data. So, a computer can store, process and retrieve data as and when desired.
Victoria Ibarra Mat:  Generally, Computer hardware is divided into four main functional areas. These are:  Input devices Input devices  Output.
CHAPTER 1 OVERVIEW OF COMPUTER AND PROGRAMMING 1.1 Electronic Computer Then and Now 1.2 Computer Hardware 1.3 Computer Software 1.4 The Software Development.
Hardware and Software UCT Department of Computer Science Computer Science 1015F Hussein Suleman March 2009.
Chapter 1: An Overview of Computers and Programming Languages
Chapter 1 Introduction.
Chapter 1 The Big Picture
Computer Organization and Architecture
The abacus has roots dating back over 5,000 years
Introduction
Course Name: Computer Application Topic: Central Processing Unit (CPU)
Chapter 1: An Overview of Computers and Programming Languages
Introduction to Micro Controllers & Embedded System Design
National Diploma in Computer Studies
Computer Generations.
Presentation transcript:

BACS 287 Basics of Programming BACS 287

History of Computers Early “computers” mechanized the calculation process Charles Babbage designed the analytical engine - first with stored memory in early 1800s Herman Hollerith built a punched card tabulating machine in 1880s None of these were “true” computers Abacus - earliest computing devices - ancient Egypt and China 1st mechanical adding machine - add and subtract - 1642 Blaise Pascal 1st mechanical calculating machine - multiple and divide too - Gottfried Liebnitz 1692 Charles Babbage - professor of mathematics at Cambridge - Difference engine - perform calculations and print results without human intervention - Analytical Engine - designed but not built - had memory unit, arithmetic unit, punched card input Herman Hollerith - tabulating machine - process US census in 1890 1896 the Tabulating Machine Company that later merged with 12 other companies to form IBM None of these were true computers because they did not have a way to internally store its own program and memory. BACS 287

History of Computers First true computers developed during W.W.II EGNIMA - early 1940s Colossus - early 1940s MARK I - 1944 ENIAC - 1946 EDVAC, EDSAC - 1949 UNIVAC I - 1951 EGNIMA was German code machine, not true computer Colossus was British counter machine to break German code MARK I was essentially Babbage difference engine. Had program entry via punched paper tape. ENIAC (Electronic Numerical Integrator and Calculator) 1st US computer. Did not use stored program - used wire board. EDVAC (U.S.) , EDSAC (Electronic Delay Storage Automatic Computer) - (England) had internally stored programs UNIVAC I - First commercial system. Delivered to census in 1951. First business use was GE in 1954 IBM 650 - 1954 first commercial computer for IBM IBM dominance did not take off until 1960 with IBM 1401 followed by the IBM 360. UNIVAC I and IBM 650 were 1st generation hardware BACS 287

Hardware/Software Generations 1st Generation Hardware Vacuum tubes Punched cards, Paper tape Magnetic tape available Machine language Millisecond access time 1st Generation Software Machine language Specific to CPU tedious, error prone time consuming 1-to-1 instruction ratio explicit control fast execution (within hardware limitations) BACS 287

Hardware/Software Generations 2nd Generation Hardware Discrete Transistors Punched Cards, paper tape Magnetic tape Assembly language Microsecond access time 2nd Generation Software Assembly language mnemonics symbolic names relocatable code explicit control usually 1-to-1 instruction ratio fast (within hardware limitations) BACS 287

Hardware/Software Generations 3rd Generation Hardware Integrated circuits Magnetic Disk High-level languages (COBOL,Fortran...) > 100 Nanosecond access time 3rd Generation Software High-level languages portable between machines instruction explosion relatively English-like problem specific less control less speed than low level languages BACS 287

Hardware/Software Generations 4th Generation Hardware (...) large scale Integrated circuits Mass Storage devices 4th Generation languages (Easytrieve, Mapper) 1-10 Nanosecond access time 4th Generation Software (...) 4th generation less procedural, more problem oriented graphically oriented built-in code generation facilities less control less speed than low level BACS 287

Hardware Hardware are the physical devices that make up a computer system Hardware systems are “tuned” to work together There are five basic hardware components in a computer system BACS 287

Hardware Components of a Computer System Input & Output Devices Central Processing Unit (CPU) Primary Storage (RAM) Secondary Storage (disk) Communication Devices BACS 287

CPU The “brains” of the computer Executes instructions to perform simple functions Capable of executing only one instruction at a time Executes instructions in billionths of a second (i.e., nanoseconds) Composed of several sub-components BACS 287

CPU Sub-Components Control Unit (CU) Arithmetic and Logic Unit (ALU) Registers Cache memory Clock and others... BACS 287

Primary Storage Random Access Memory (RAM) Volatile storage All computer programs must be in RAM before the CPU can execute them Access time normally measured in nanoseconds (billionth of a second) Relatively limited amount of RAM in a system BACS 287

Secondary Storage Hard disks, floppy disks, tape, ... Non-Volatile storage Large Capacity -- Relatively Slow Most rely on moving parts Access time normally measured in thousandths of a second (milliseconds) Speed difference between RAM and Disk is tremendous BACS 287

Software Software is the logical component of a computer system Software are detailed instructions (procedural logic) that tell the CPU how to solve a problem There are various levels (types) of software; each has a specific purpose The three types are 1) operating systems, 2) compilers and interpreters, and 3) application programs BACS 287

Operating System A program that works directly with the hardware Provides useful services that application programs need Usually written in low level languages (e.g., assembler, C) to work on a specific CPU “Windows” is an operating system BACS 287

Compilers and Interpreters Utilities to translate English-like source code into executable object code for the CPU Compilers translate the entire program as a unit and save the results Interpreters translate one line at a time and discard the results after execution Visual Basic can be both an interpreter and a compiler. BACS 287

Application Programs Application programs are software that perform end-user tasks Normally, high-level and very specific (e.g., spreadsheet, word processor) You can write applications programs using Visual Basic and other computer languages BACS 287

Where this class fits into the picture In this class you use a compiler (& interpreter) running under the control of the operating system (on the hardware) to write application programs. Generally speaking, it is incorrect to say that you are “programming” when you use an application program (like Excel or Access). Programmers write new applications; they don’t utilize existing packages. BACS 287

Quiz What is the difference between hardware and software? What are the 5 components of a “true” computer? What is the difference between a compiler and an interpreter? What is the main difference between primary storage and secondary storage? What is the main difference between 2nd generation and 3rd generation programming languages? BACS 287