Chapter 1 Overview of Computers and Programming J. H. Wang ( 王正豪 ), Ph. D. Assistant Professor Dept. Computer Science and Information Engineering National.

Slides:



Advertisements
Similar presentations
Computer Basics 2.
Advertisements

Computer Parts There are many parts that work together to make a computer work.
ICS103 Programming in C Lecture 1: Overview of Computers & Programming
Lecture 1: Overview of Computers & Programming
© 2012Pearson Addison-Wesley. All rights reserved. Addison Wesley is an imprint of Chapter 1: Overview of Computers and Programming Problem Solving & Program.
1 Hardware - devices for Input. 2 Hardware - devices for Input Processing.
© 2010 Pearson Addison-Wesley. All rights reserved. Addison Wesley is an imprint of Chapter 1: Overview of Computers and Programming Problem Solving &
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming.
Data Communications and Computer Networks
Computing Components 01/26/11. Announcements & Reminders Programs 1 due Friday, 9/2/11 What is my late policy? Proxy Codes for Labs  You should be able.
Chapter 1. What is computer fluency? The knowledge possessed by people who are able to navigate the digital world successfully NOT THIS.
Office 2003 Introductory Concepts and Techniques M i c r o s o f t CPTG104 Intro to Information Systems Dr. Hwang Essential Introduction to Computers.
1 System Software “Background software”, manages the computer’s internal resources.
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.
CIS 260 Computer Programming I in C Prof. Timothy Arndt.
Computer Parts There are many parts that work together to make a computer work.
Chapter 1 Overview of Computers and Programming. 1-1 Outline 1.1 ELECTRONIC COMPUTERS THEN AND NOW 1.2 COMPUTERS HARDWARE 1.3 COMPUTERS SOFTWARE 1.4 THE.
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming.
Alternate Version of STARTING OUT WITH C++ 4 th Edition Chapter 1 Introduction to Computers and Programming.
CS 161 INTRO TO PROGRAMMING I Dr. Blaise W. Liffick Fall
Chapter Introduction to Computers and Programming 1.
CSC 125 Introduction to C++ Programming Chapter 1 Introduction to Computers and Programming.
Computer Basics Diagram
Introduction to Computers Personal Computing 10. What is a computer? Electronic device Performs instructions in a program Performs four functions –Accepts.
Flash Cards Computer Technology.
Topics Introduction Hardware and Software How Computers Store Data
Ch Review1 Review Chapter Microcomputer Systems Hardware, Software, and the Operating System.
An Overview of Using Computers
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.
Computer Parts There are many parts that work together to make a computer work.
CISC105 General Computer Science Class 1 – 6/5/2006.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with C++ Early Objects Seventh Edition by Tony Gaddis, Judy.
C++ Programming: From Problem Analysis to Program Design, Third Edition Chapter 1: An Overview of Computers and Programming Languages.
Mrs. Ulshafer August, 2013 Java Programming Chapter 1.
Computer Architecture
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.
Computer Basic Vocabulary
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Copyright © 2006 by The McGraw-Hill Companies,
ELEMENTS OF A COMPUTER SYSTEM HARDWARE SOFTWARE PEOPLEWARE DATA.
Parts of the Computer System
© 2006 Pearson Education Chapter 1: Computer Systems.
Beginning Snapshots Chapter 0. C++ An Introduction to Computing, 3rd ed. 2 Objectives Give an overview of computer science Show its breadth Provide context.
1 THE COMPUTER. 2 Input Processing Output Storage 4 basic functions.
Chapter 1 : Overview of Computer and Programming By Suraya Alias
Copyright 2003 Scott/Jones Publishing Standard Version of Starting Out with C++, 4th Edition Chapter 1 Introduction to Computers and Programming.
Computer Parts There are many parts that work together to make a computer work.
A.Abhari CPS1251 Topic 1: Introduction to Computers Computer Hardware Computer components Connecting Computers Computer Software Operating System (OS)
Introduction To Computers
CHAPTER 1: OVERVIEW OF COMPUTERS AND PROGRAMMING Prepared By: Pn. Nik Maria Nik Mahamood Reference: Hanly, Koffman, C Problem Solving and Program Design.
Copyright © 2014, 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with C++ Early Objects Eighth Edition by Tony Gaddis,
C++ Programming: From Problem Analysis to Program Design, Fifth Edition Chapter 1: An Overview of Computers and Programming Languages.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 1: Overview of Computers and Programming Problem Solving and Program.
Copyright © 2010 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 1: Introduction to Computers and Programming.
Introduction To Computer Programming – 1A Computer Parts, Words, and Definition Herriman High School.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Chapter 1 Looking Inside the Computer System.
Introduction to Programming. Key terms  CPU  I/O Devices  Main memory  Secondary memory  Operating system  User interface  Application  GUI 
CHAPTER 1: OVERVIEW OF COMPUTERS AND PROGRAMMING
An Overview of the Computer System
Overview of Computers and Programming Chapter 1
ICS103 Programming in C Lecture 1: Overview of Computers & Programming
CSCI 161: Introduction to Programming
Overview of Computers and Programming
Computer Parts There are four main equipment functions of a computer system: Input, Processing, Storage and Output. Input: the transferring of information.
Computers: Hardware and Software
Computer Parts There are four main equipment functions of a computer system: Input, Processing, Storage and Output. Input: the transferring of information.
Data Communications and Computer Networks
Computer components is a programmable machine that receives input, stores and manipulates data, and provides output in a useful format. Computer The computer.
ICS103 Programming in C 1: Overview of Computers And Programming
Presentation transcript:

Chapter 1 Overview of Computers and Programming J. H. Wang ( 王正豪 ), Ph. D. Assistant Professor Dept. Computer Science and Information Engineering National Taipei University of Technology

Copyright ©2004 Pearson Addison-Wesley. All rights reserved.1-2 ELECTRONIC COMPUTERS THEN AND NOW Computer –a machine that can receive, store, transform, and output data of all kinds Computer chip –a silicon chip containing the circuitry for a computer processor Hardware –the actual computer equipment Software –the set of programs associated with a computer Program –a list of instructions that enables a computer to perform a specific task Binary number –a number whose digits are 0 and 1

Copyright ©2004 Pearson Addison-Wesley. All rights reserved.1-3 Figure 1.1 The Intel Pentium 4 Processor chip is an integrated circuit containing the full circuitry of a central processing unit. This processor can execute a simple instruction such as an integer addition in one six-billionth of a second. (Reprinted by permission of Intel Corporation, © Intel Corporation 2003)

Copyright ©2004 Pearson Addison-Wesley. All rights reserved.1-4 Figure 1.2 (a) Notebook Computer (ThinkPad®, Courtesy of IBM). (b) Palmtop Computer (Sony Clié PDA ®, Courtesy of Sony). (c) Desktop Computer (IBM NetVista Desktop, Courtesy of IBM).

Copyright ©2004 Pearson Addison-Wesley. All rights reserved.1-5 Computer Hardware -- Memory Memory cell –an individual storage location in memory Address of a memory cell –the relative position of a memory position of a memory cell in the computer’s main memory Contents of a memory cell –the information stored in a memory cell, either a program instruction or data Stored program concept –a computer’s ability to store program instructions in main memory for execution

Copyright ©2004 Pearson Addison-Wesley. All rights reserved.1-6 Figure 1.3 Components of a Computer

Copyright ©2004 Pearson Addison-Wesley. All rights reserved.1-7 Figure Memory Cells in Main Memory

Copyright ©2004 Pearson Addison-Wesley. All rights reserved.1-8 Computer Hardware -- Memory (Cont’) Byte –the amount of storage required to store a single character Bit –a binary digit; a 0 or a 1 Data storage –setting the individual bits of a memory cell to 0 or 1, destroying its previous contents Data retrieval –copying the contents of a particular memory cell to another storage area

Copyright ©2004 Pearson Addison-Wesley. All rights reserved.1-9 Figure 1.5 Relationship Between a Byte and a Bit

Copyright ©2004 Pearson Addison-Wesley. All rights reserved.1-10 Computer Hardware -- Memory (Cont’) Random access memory (RAM) –the part of main memory that temporarily stores programs, data, and results Read-only memory (ROM) –the part of main memory that permanently stores programs or data Volatile memory –memory whose contents disappear when the computer is switched off Secondary storage –units such as disks or tapes that retain data even when the power to the disk drive or tape drive is off Disk –thin platter of metal or plastic on which data are represented by magnetized spots arranged in tracks

Copyright ©2004 Pearson Addison-Wesley. All rights reserved.1-11 Figure 1.6 Secondary Storage Media

Copyright ©2004 Pearson Addison-Wesley. All rights reserved.1-12 Computer Hardware -- Memory (Cont’) CD drive –device that uses a laser to access or store data on a compact disk Digital video disk (DVD) –silvery plastic platter with up to 17 GB of data storage File –named collection of data stored on a disk Directory –a list of the names of files stored on a disk Subdirectory –a list of the names of files that relate to a particular topic

Copyright ©2004 Pearson Addison-Wesley. All rights reserved.1-13 Central Processing Unit Central processing unit (CPU) –coordinates all computer operations and performs arithmetic and logical operations on data Register –high-speed Memory location inside the CPU Fetching an instruction –retrieving an instruction from main memory

Copyright ©2004 Pearson Addison-Wesley. All rights reserved.1-14 Input/Output Devices Cursor –a moving place marker that appears on the monitor Function keys –special keyboard keys used to select a particular operation; operation selected depends on program being used Mouse –an input device that moves its cursor on the computer screen to select an operation Icon –a picture representing a computer operation Printer –an output device that produces a hard copy of information sent to it

Copyright ©2004 Pearson Addison-Wesley. All rights reserved.1-15 Figure 1.7 Keyboard for IBM-Type Computers

Copyright ©2004 Pearson Addison-Wesley. All rights reserved.1-16 Computer Networks Local area network (LAN) –computers, printers, scanners, and storage devices connected by cables for intercommunication File server –the computer in a network that controls access to a secondary storage device such as a hard disk Wide area network (WAN) –a network such as the Internet that connects computers and LANs over a large geographic area World Wide Web (WWW) –A part of the Internet whose graphical user interfaces make associated network resources easily navigable Graphical user interface (GUI) –pictures and menus displayed to allow user to select commands and data

Copyright ©2004 Pearson Addison-Wesley. All rights reserved.1-17 Figure 1.8 Local Area Network

Copyright ©2004 Pearson Addison-Wesley. All rights reserved.1-18 Figure 1.9 A Wide Area Network with Satellite Relays of Microwave Signals

Copyright ©2004 Pearson Addison-Wesley. All rights reserved.1-19 Computer Networks (Cont’) Modem –a device that converts binary data into audio signals that can be transmitted between computers over telephone lines DSL connection (digital subscriber line) –a high-speed Internet connection that uses a telephone line and does not interfere with simultaneous voice communication on the same line cable Internet access –two-way high-speed transmission of Internet data through two of the hundreds of channels available over the coaxial cable that carries cable television signals

Copyright ©2004 Pearson Addison-Wesley. All rights reserved.1-20 Computer Software -- Operating System Operating system (OS) –software that controls interaction of user and computer hardware and that manages allocation of computer resources Booting a computer –loading the operating system from disk into memory

Copyright ©2004 Pearson Addison-Wesley. All rights reserved.1-21 Figure 1.10 Entering a UNIX Command for Directory Display

Copyright ©2004 Pearson Addison-Wesley. All rights reserved.1-22 Computer Software -- Application Software Application –software used for a specific task such as word processing, accounting, or database management Install –make an application available on a computer by copying it from diskettes or CDs to the computer’s hard drive

Copyright ©2004 Pearson Addison-Wesley. All rights reserved.1-23 Figure 1.11 Accessing Disk Drive through Windows

Copyright ©2004 Pearson Addison-Wesley. All rights reserved.1-24 Computer Software -- Computer Languages Machine language –binary number codes understood by a specific CPU Assembly language –mnemonic codes that correspond to machine language instructions High-level language –machine-independent programming language that combines algebraic expressions and English symbols Compiler –software that translates a high-level language program into machine language Source file –file containing a program written in a high-level language; the input for a compiler

Copyright ©2004 Pearson Addison-Wesley. All rights reserved.1-25 Figure 1.12 Entering, Translating, and Running a High-Level Language Program

Copyright ©2004 Pearson Addison-Wesley. All rights reserved.1-26 Computer Software -- Computer Languages (Cont’) Syntax –grammar rules of a programming language Object file –file of machine language instructions that is the output of a compiler Linker –software that combines object files and resolves cross references to create an executable machine language program Integrated development environment (IDE) –software package combining a word processor, compiler, linker, loader, and tools for finding errors

Copyright ©2004 Pearson Addison-Wesley. All rights reserved.1-27 Computer Software -- Executing a Program Input data –the data values that are scanned by a program Program output –the lines displayed by a program

Copyright ©2004 Pearson Addison-Wesley. All rights reserved.1-28 Figure 1.13 Flow of Information During Program Execution

Copyright ©2004 Pearson Addison-Wesley. All rights reserved.1-29 The Software Development Method Abstraction –the process of modeling a problem by extracting the essential variables and their relationships Algorithm –a list of steps for solving a problem Top-down design –breaking a problem into its major sub-problems and then solving the sub-problems Algorithm refinement –development of a detailed list of steps to solve a particular step in the original algorithm Desk checking –the step-by-step simulation of the computer execution of an algorithm

Copyright ©2004 Pearson Addison-Wesley. All rights reserved.1-30 Figure 1.14 Miles-to-Kilometers Conversion Program