©Brooks/Cole, 2003 Foundations of Computer Science from Data Manipulation to Theory of Computation Behrouz A. Forouzan, Brooks/Cole — Thomson Learning,

Slides:



Advertisements
Similar presentations
Machine cycle.
Advertisements

Microcomputer Circuits Prof Jess UEAB 2007 Designing a Microprocessor Chapter 1.
EEE226 MICROPROCESSORBY DR. ZAINI ABDUL HALIM School of Electrical & Electronic Engineering USM.
Introduction to Computer Science CS 21a: Introduction to Computing I Department of Information Systems and Computer Science Ateneo de Manila University.
Engineering Problem Solving With C++ An Object Based Approach Fundamental Concepts Chapter 1 Engineering Problem Solving.
Chapter 5: Computer Systems Organization Invitation to Computer Science, Java Version, Third Edition.
Chapter 01 Introduction Chapter 0 Introduction. Chapter 02 History of Computing - Early Computers Abacus (ancient orient, still in use) Slide rule (17C,
1 Engineering Problem Solving With C++ An Object Based Approach Fundamental Concepts Chapter 1 Engineering Problem Solving.
1 Introduction to computers Overview l · Grading Policy »Cheating Rules (serious concern) »Examinations and Fixation of Timings »Quizzes »Homework Assignments.
1 Introduction Foundations of Computer Science ã Cengage Learning 1.#
SHARANPREET SIDHU IT/9. The first generation of computers is said by some to have started in 1946 with Eniac, the first 'computer' to use electronic.
Introduction to Computers. Are Computers Important? OF COURSE!
Final Exam Review Instructor : Yuan Long CSC2010 Introduction to Computer Science Apr. 23, 2013.
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.
Studies in Big Data 4 Weng-Long Chang Athanasios V. Vasilakos MolecularComputing Towards a Novel Computing Architecture for Complex Problem Solving.
CS 21a: Intro to Computing I Department of Information Systems and Computer Science Ateneo de Manila University.
1.1 1 Introduction Foundations of Computer Science  Cengage Learning.
Quiz # 2 Chapters 4, 5, & 6.
Overview Introduction The Level of Abstraction Organization & Architecture Structure & Function Why study computer organization?
COMPUTER SYSTEM.
Chapter I: Introduction to Computer Science. Computer: is a machine that accepts input data, processes the data and creates output data. This is a specific-purpose.
Chapter 5: Computer Systems Organization Invitation to Computer Science, Java Version, Third Edition.
Introduction to Programming Using C Introduction to Computer Programming.
Computer Systems Organization CS 1428 Foundations of Computer Science.
Visual C++ Programming: Concepts and Projects
Chapter 1 Introduction. Objectives To explain the definition of computer architecture To discuss the history of computers To describe the von-neumann.
1.1 1 Introduction Foundations of Computer Science  Cengage Learning.
C++ Programming: From Problem Analysis to Program Design, Third Edition Chapter 1: An Overview of Computers and Programming Languages.
Chapter 1 Introduction. Understand the concept of a black box, a data processor, and a programmable data processor. Define the von Neumann model and name.
CPIT 201 Introduction to Computing
Chapter 1 Introduction.
Department of Mathematics Computer and Information Science1 CS112: Survey of Computer Science Chapter One Review: Introduction, Chapter Two: Number Systems.
Computer Architecture And Organization UNIT-II General System Architecture.
1 Text Reference: Warford. 2 Computer Architecture: The design of those aspects of a computer which are visible to the programmer. Architecture Organization.
Indira Gandhi National Open University presents. A Video Lecture Course: Computer Platforms.
Computer Architecture 2 nd year (computer and Information Sc.)
Copyright © 2003 Prentice Hall, IncSlides created by Bob Koziel.
Chapter 5 Computer Systems Organization. Levels of Abstraction – Figure 5.1e The Concept of Abstraction.
Simple ALU How to perform this C language integer operation in the computer C=A+B; ? The arithmetic/logic unit (ALU) of a processor performs integer arithmetic.
1 Introduction Foundations of Computer Science  Cengage Learning.
CS 101 INTRODUCTION TO COMPUTING * image from The Central Eglinton Community Centre website.
1. an electronic device that manipulates information, or "data“
1 3 Computing System Fundamentals 3.2 Computer Architecture.
©Brooks/Cole, 2003 Chapter 1 Introduction. ©Brooks/Cole, 2003 Figure 1-1 Data processor model This model represents a specific-purpose computer not a.
Von Neumann Machines. 3 The Von Neumann Architecture Model for designing and building computers, based on the following three characteristics: 1)The.
مقدمة في البرمجة CS 201 Huda aljaloud. Chapter1 Introduction.
C++ Programming: From Problem Analysis to Program Design, Fifth Edition Chapter 1: An Overview of Computers and Programming Languages.
Review A program is… a set of instructions that tell a computer what to do. Programs can also be called… software. Hardware refers to… the physical components.
CHAPTER 1 INTRODUCTION.  Data Processor: ◦ The basic definition of a computer is as a data processor. ◦ A black box that: 1.Accepts input data, 2.Processes.
Victoria Ibarra Mat:  Generally, Computer hardware is divided into four main functional areas. These are:  Input devices Input devices  Output.
Lecture 4 Number Systems Lecturer: Sumaira Hussain.
Chapter I: Introduction to Computer Science. Computer: is a machine that accepts input data, processes the data and creates output data. This is a specific-purpose.
Computer Architecture Furkan Rabee
Chapter 1 Introduction.
Chapter 1 Introduction.
Computer Organization and Architecture
COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE
Computer Design & Organization
Chapter 2 – Computer hardware
Chapter 1 Introduction.
CS 21a: Intro to Computing I
Foundations of Computer Science
Foundations of Computer Science
Computer Science 210 Computer Organization
Introduction to Micro Controllers & Embedded System Design
Chapter 5: Computer Systems Organization
Computer Organization
Lecture 4 Number Systems. von Neumann Model Every computer today is based on the von Neumann Model. It is based on 3 ideas: 1.Four subsystems 2.Stored.
 Is a machine that is able to take information (input), do some work on (process), and to make new information (output) COMPUTER.
Chapter 0 Introduction Introduction Chapter 0.
Presentation transcript:

©Brooks/Cole, 2003 Foundations of Computer Science from Data Manipulation to Theory of Computation Behrouz A. Forouzan, Brooks/Cole — Thomson Learning, Pacific Grove, USA, 2003.

©Brooks/Cole, 2003 Chapter 1 Introduction

©Brooks/Cole, 2003 Understand the concept of a black box, a data processor, and a programmable data processor. Define the von Neumann model and name its components: memory, arithmetic/logic unit, control unit, and input/output. Understand the stored program concept. After reading this chapter, the reader should be able to: O BJECTIVES Understand the sequential execution of statements in a program. Name the components of a computer: hardware, software, and data.

©Brooks/Cole, 2003 THE COMPUTER AS A BLOCK BOX THE COMPUTER AS A BLOCK BOX 1.1

©Brooks/Cole, 2003 Figure 1-1 Data processor model You can think of a computer as a data processor. Is it a specific-purpose machine or a general-purpose machine?

©Brooks/Cole, 2003 Figure 1-2 Programmable data processor model A program is a set of instructions that tells the computer what to do with data. A program is a set of instructions written in a computer language. The output data depend on the combination of two factors: the input data and the program.

©Brooks/Cole, 2003 Figure 1-3 Same program, different data

©Brooks/Cole, 2003 Figure 1-4 Same data, different programs

©Brooks/Cole, 2003 Figure 1-3 Same input data, same program When the same program is run with the same input, you expect the same output.

©Brooks/Cole, 2003 von NEUMANN MODEL MODEL 1.2

©Brooks/Cole, 2003 Figure 1-5 von Neumann model

©Brooks/Cole, 2003 Figure 1-5 von Neumann model: Four subsystems Memory Memory is the storage area Arithmetic logic unit (ALU) The ALU is where calculation and logical operations take place. Control unit The control unit controls the operations of the memory, ALU, and the input/output subsystem. Input/output The input subsystem accepts input data and the program from outside the computer. The output subsystem sends the result of processing to the outside.

©Brooks/Cole, 2003 Figure 1-5 von Neumann model Stored program concept: The von Neumann model states that the program must be stored in memory. The memory of modern computers hosts both a program and its corresponding data. They are stored as binary patterns (a sequence of 0s and 1s) in memory. Sequential execution of instructions A program is made of a finite number of instructions. They are executed sequentially.

©Brooks/Cole, 2003 COMPUTERHARDWARE See Chapter 5 COMPUTERHARDWARE 1.3

©Brooks/Cole, 2003 DATADATA 1.4

Figure 1-5 Storing data The von Neumann model does not define how data must be stored in a computer. A computer can store data in one of two states. You will learn how to store different types of data as a binary pattern, a sequence of 0s and 1s. Organizing data (data organization) Although data should be stored only in one form inside a computer, data outside a computer can take many forms. Data are organized into small units, small units are organized into larger units, and so on. Data

©Brooks/Cole, 2003 COMPUTERSOFTWARECOMPUTERSOFTWARE 1.5

Programs must be stored Programs are stored in computer memory. (see Figure 1-6) A sequence of instructions Programs must be a sequence of instructions. (see Figure 1-7) Why? Reusability. Programming

©Brooks/Cole, 2003 Figure 1-7 Program made of instructions

©Brooks/Cole, 2003 Algorithms A step-by-step solution to a program is called an algorithm. Languages A computer language has a more limited number of symbols and also a limited number of words. Software engineering The design and writing of programs in a structured form. Operating systems Computer Software

©Brooks/Cole, 2003 HISTORYHISTORY 1.6

Computer generation First generation: vacuum tubs Second generation: transistors Third generation: integrated circuit Fourth generation: micro-computers Fifth generation: multimedia History

©Brooks/Cole, 2003 Key Terms Algorithm Arithmetic logic unit (ALU) Black box Computer language Computer science Control unit Data processor Input data Instruction Integrated circuit Memory Microcomputer Operating system Output data Program Programmable data processor Software Software engineering Von Neumann model