Introduction to Computer Science Fall 2003, 劉震昌 Ref: Computer Science: an overview J. Glenn Brookshear.

Slides:



Advertisements
Similar presentations
Introduction to Computer Programming Nai-Wei Lin Department of Computer Science and Information Engineering National Chung Cheng University.
Advertisements

Introduction to Computer Science CS 21a: Introduction to Computing I Department of Information Systems and Computer Science Ateneo de Manila University.
Introduction to Computer Science Fall 2004, 劉震昌 Ref: Computer Science: an overview J. Glenn Brookshear.
Engineering Problem Solving With C++ An Object Based Approach Fundamental Concepts Chapter 1 Engineering Problem Solving.
Chapter 1: An Overview of Computers and Programming Languages J ava P rogramming: From Problem Analysis to Program Design, From Problem Analysis to Program.
Chapter Chapter Goals Describe the layers of a computer system Describe the concept of abstraction and its relationship to computing Describe.
Chapter 01 Introduction Chapter 0 Introduction. Chapter 02 History of Computing - Early Computers Abacus (ancient orient, still in use) Slide rule (17C,
Introduction to Information Systems and Computer Network 劉震昌 Fall, 2004.
Introduction to Computer Systems
Data Communications and Computer Networks
CS 104 Introduction to Computer Science and Graphics Problems Basic Organization & Concepts 09/09/2008 Yang Song (Prepared by Yang Song and Suresh Solaimuthu)
©TheMcGraw-Hill Companies, Inc. Permission required for reproduction or display. COMPSCI 125 Introduction to Computer Science I.
1-1 ICS102: Introduction To Computing I King Fahd University of Petroleum & Minerals College of Computer Science & Engineering Information & Computer Science.
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:
CIS 260 Computer Programming I in C Prof. Timothy Arndt.
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.
CS 161 INTRO TO PROGRAMMING I Dr. Blaise W. Liffick Fall
CS130 Introduction to Programming with VB 6.0 Fall 2001.
CS 21a: Intro to Computing I Department of Information Systems and Computer Science Ateneo de Manila University.
BACS 287 Basics of Programming BACS 287.
CS 1 •This is Computer Science 1. •Who is Professor Adams?
CCSE251 Introduction to Computer Organization
What is a Computer ? Computers are Electronic Machines that process (performs calculation and manipulation) Data under the control of Set of Instructions.
Overview Introduction The Level of Abstraction Organization & Architecture Structure & Function Why study computer organization?
CS 1308 Computer Literacy and the Internet Computer Systems Organization.
CS 1308 Computer Literacy and the Internet. Introduction  Von Neumann computer  “Naked machine”  Hardware without any helpful user-oriented features.
Introduction Chapter 1. 1 History of Computers Development of computers began with many early inventions: The abacus helped early societies perform computations.
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.
1 Operating System Overview. 2 Today’s Objectives Explain the main purpose of operating systems and describe milestones of OS evolution Explain fundamental.
Chapter 5: Computer Systems Organization Invitation to Computer Science, Java Version, Third Edition.
 Why?  Because it can be programmed to do more than one specific task. ◦ Accountants ~ tax forms etc. ◦ Machinists ~ control drilling, lathes etc. ◦
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Introduction Lecture 01.
CPS120: Introduction to Computer Science Introduction to Computers.
Visual C++ Programming: Concepts and Projects
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.
1 Lecture 2 : Computer System and Programming. Computer? a programmable machine that  Receives input  Stores and manipulates data  Provides output.
Chapter 1 Introduction.
School of Computer Science & Information Technology G6DICP Introduction to Computer Programming Milena Radenkovic.
Chapter 5 Computing Components. 5-2 Chapter Goals List the components and their function in a von Neumann machine Describe the fetch-decode-execute cycle.
J. Stover, CSD-HS.  A computer is an electronic device that is programmed to accept data (input), process it into useful information (output), and store.
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
Chapter 1 Computers, Compilers, & Unix. Overview u Computer hardware u Unix u Computer Languages u Compilers.
CS 1308 Computer Literacy and the Internet. Objectives In this chapter, you will learn about:  The components of a computer system  Putting all the.
General Computer Knowledge COE 201- Computer Proficiency.
A.Abhari CPS1251 Topic 1: Introduction to Computers Computer Hardware Computer components Connecting Computers Computer Software Operating System (OS)
1 Structured Programming in C Welcome to CPSC 206.
COEN 311 Computer Organization & Software Chapter 1 Introduction and Terminology (Prof. Sofiène Tahar) Concordia University Electrical & Computer Engineering.
CS 101 INTRODUCTION TO COMPUTING * image from The Central Eglinton Community Centre website.
Computer Science An Overview Allen C.-H. Wu/Arbee L.P. Chen Computer Science Department Tsing Hua University.
Chapter 1 An Overview of Computers and Programming Languages.
©2013 Pearson Education, Inc. Upper Saddle River, NJ. All Rights Reserved. Introduction to Computers and Computing.
Software. Introduction n A computer can’t do anything without a program of instructions. n A program is a set of instructions a computer carries out.
C++ Programming: From Problem Analysis to Program Design, Fifth Edition Chapter 1: An Overview of Computers and Programming Languages.
1 Chapter 1 Background Fundamentals of Java: AP Computer Science Essentials, 4th Edition Lambert / Osborne.
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.
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.
CIT 140: Introduction to ITSlide #1 CSC 140: Introduction to IT Operating Systems.
Chapter 3 Getting Started. Copyright © 2005 Pearson Addison-Wesley. All rights reserved. Objectives To give an overview of the structure of a contemporary.
Chapter 1: An Overview of Computers and Programming Languages
Chapter 1: An Overview of Computers and Programming Languages
CS 21a: Intro to Computing I
UNIV 103 CS Majors Seminar Dr. Blaise W. Liffick Fall 2017.
Computer Science I CSC 135.
National Diploma in Computer Studies
CS 330 Programming Languages
Function of Operating Systems
Overview of Computer system
Presentation transcript:

Introduction to Computer Science Fall 2003, 劉震昌 Ref: Computer Science: an overview J. Glenn Brookshear

Outline Concept of computers Computer software: algorithm Computer hardware: algorithmic machine Turing Machine 5 major components of computers

Computers ? Hardware Software Package (Executable) Source Program #include main(){ … }

CSIE class schedule Hardware Operation System Application Program High level Low level 資網 C 程設 C++ Java 資演 (1) 資演 (2) 邏設 電路 微算機計組 數電 作業系統 系統程式 網路 資料庫

Computer software: Algorithm 演算法 Computers are machines to execute Algorithm Fundamental concept of CS Def. 1: a set of steps that defines how a task is performed Def. 2: an ordered set of unambiguous, executable steps that defines a terminating activity

Albert Baker Algorithm: example Sorting: sort the cards from top to down in alphabetical order Charlie 排序

Algorithm: sort (cont.) Albert Baker Charlie input Albert Baker Charlie After Step 1 Charlie Baker Albert After Step 2 Charlie Albert Baker After Step 3

Algorithm: sort (cont.) Input: 3 cards in arbitrary order 1.Compare the names on the first and second cards. Exchange them if they are out of order. 2. Compare the names on the second and third cards. Exchange them if they are out of order. 3. Compare the names on the first and second cards. Exchange them if they are out of order. Output: 3 cards in alphabetical order

Properties of algorithms Goal: find a single set of directions that describe how any problem could be solved Algorithm = Programs within computers The intelligence required to perform the task is encoded in the algorithm

Computers hardware? Concept of algorithm appeared first Computers are designed to implement algorithms Computers 電腦 are not smart themselves … +

Development of Algorithmic Machines Algorithmic machines: machines that perform algorithm tasks Abacus( 算盤 ): ancient Greek and Roman Blaise Pascal( ), France

Development of Algorithmic Machines (cont.) Charles Babbage( ), England Herman Hollerith 解多項式 打孔機

1st generation computer 1940 ENIAC 真空管

2nd generation computer 1959 電晶體

3rd generation computer 1965 IC ( 積體電路 )

4th generation computer 1971 VLSI ( 超大積體電路 )

Turing machines The abstract model of general-purpose algorithmic machines 1936 by Alan M. Turing You will learn more in the class of automata and formal language 自動機與形式語言

Turing machines (cont.) Control unit tape read/write head … … symbols state of the machines Components of a Turing machine

Turing machines (cont.) Prototype of today ’ s computer Control unit -> CPU States -> registers Tape cells -> memory Symbols -> 0 and 1 The power of Turing machine If a problem cannot be solved by a Turing machine, then it cannot be solved by any algorithmic system

John von Neumann machine In early computing machines, the programs were built as part of the machine Store-program concept Program, just like data, can be coded and stored in main memory Control unit extracts the program from memory, decodes the instructions, and executes them Some data(bit patterns) were interpreted as instructions -> machine language

Outline Concept of computers Computer software: algorithm Computer hardware: algorithmic machine Turing Machine 5 major components of computers

Computer hardware Central processing unit memory Input devices Output devices Auxiliary memory Peripherals 週邊 Bus: for data transmission

CPU (central processing unit) Carry out the instructions in the program CPU ALU Control unit registers ALU: arithmetic/logic unit

CPU – control unit Instruction fetch Instruction decoding Instruction execution Memory read/write time Instruction cycle

Memory Main memory RAM(random access memory) Fast Volatile 揮發 Auxiliary memory Secondary storage Slower Permanent Ex. Hard Disk, CD-ROM

I/O devices Input devices Keyboard, mouse, … Output devices Display, printer, …

Overview of computer systems Hardware machines MS Windows Unix Linux Operation system shelldesktopdos User Interface applications machine language assembly language High-level language compiler assembler software

Operating system (OS) The program that supervises the execution of other programs Program loading: control is returned to OS when program terminates Control of peripherals: device drivers Data management: file system Concurrency or multi-user User friendly interface System calls Security

Purpose of this class Hardware machines MS Windows Unix Linux Operation system shelldesktopdos User Interface applications machine language High-level language compiler software assembly language assembler