Overview of Computers and Programming Chapter 1

Slides:



Advertisements
Similar presentations
ICS103 Programming in C Lecture 1: Overview of Computers & Programming
Advertisements

Lecture 1: Overview of Computers & Programming
Lesson 1 Computers and Computer Systems
ICS103 P ROGRAMMING IN C L ECTURE 1: O VERVIEW OF C OMPUTERS & P ROGRAMMING.
© 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.
Chapter 1: An Overview of Computers and Programming Languages J ava P rogramming: From Problem Analysis to Program Design, From Problem Analysis to Program.
© 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.
1 Lecture 1  Getting ready to program  Hardware Model  Software Model  Programming Languages  The C Language  Software Engineering  Programming.
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.
C++ Programming: From Problem Analysis to Program Design, Third Edition Chapter 1: An Overview of Computers and Programming Languages C++ Programming:
Topic 1: Introduction to Computers and 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.
CIS 260 Computer Programming I in C Prof. Timothy Arndt.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Introduction to Computer Administration Introduction.
1 Lesson 1 Computers and Computer Systems Computer Literacy BASICS: A Comprehensive Guide to IC 3, 4 th Edition Morrison / Wells.
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.
Chapter Introduction to Computers and Programming 1.
CSC 125 Introduction to C++ Programming Chapter 1 Introduction to Computers and Programming.
Computer Hardware and Software Jinchang Wang. Hardware vs. Software Hardware is something tangible. Computer hardware includes electronic circuitry and.
Topics Introduction Hardware and Software How Computers Store Data
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.
CISC105 General Computer Science Class 1 – 6/5/2006.
Computers Parts/Types. Topics Definition Types of Computers Parts of Computer System Impact on Society.
Chapter 1 Overview of Computers and Programming J. H. Wang ( 王正豪 ), Ph. D. Assistant Professor Dept. Computer Science and Information Engineering National.
C++ Programming: From Problem Analysis to Program Design, Third Edition Chapter 1: An Overview of Computers and Programming Languages.
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
CSCI-100 Introduction to Computing Hardware Part I.
Parts of the Computer System
Looking Inside the Computer System
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.
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,
 A computer is an electronic device that receives data (input), processes data, stores data, and produces a result (output).  It performs only three.
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.
C++ Programming: From Problem Analysis to Program Design, Fifth Edition Chapter 1: An Overview of Computers and Programming Languages.
Copyright © 2010 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 1: Introduction to Computers and Programming.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Chapter 1 Looking Inside the Computer System.
Problem Solving and Program Design in C Chap. 1 Overview of Computers and Programming Chow-Sing Lin.
Copyright © 2015, 2012, 2009 Pearson Education, Inc., Publishing as Addison-Wesley All rights reserved. Chapter 1: Introduction to Computers and Programming.
Chapter 1: Introduction to Computers and Programming
BASIC PROGRAMMING C SCP1103 (02)
King Saud University- College OF Applied Studies
Chapter 1: An Overview of Computers and Programming Languages
Topics Introduction Hardware and Software How Computers Store Data
Introduction to Visual Basic 2008 Programming
Chapter 1: An Overview of Computers and Programming Languages
BASIC PROGRAMMING C SCP1103 (02)
ICS103 Programming in C Lecture 1: Overview of Computers & Programming
Chapter 1: An Overview of Computers and Programming Languages
CSCI 161: Introduction to Programming
C++ Programming: From Problem Analysis to Program Design
Overview of Computers & Programming Languages
Chapter 1: Introduction to Computers and Programming
Computer Science I CSC 135.
Computers: Hardware and Software
Introduction to Computer Architecture
Topics Introduction Hardware and Software How Computers Store Data
Unit One - Computing Fundamentals
ICS103 Programming in C 1: Overview of Computers And Programming
Chapter 1: Introduction to Computers and Programming
Presentation transcript:

Overview of Computers and Programming Chapter 1 © 2016 Pearson Education, Ltd. All rights reserved.

Electronic Computers Then and Now computer (processor) 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 © 2016 Pearson Education, Ltd. All rights reserved.

© 2016 Pearson Education, Ltd. All rights reserved. Figure 1.1 The Intel Atom processor chip contains the full circuitry of a central processing unit in an integrated circuit whose small size and low power requirements make it suitable for use in mobile internet devices. (Intel Corporation Pressroom Photo Archives) © 2016 Pearson Education, Ltd. All rights reserved.

Electronic Computers Then and Now program a list of instructions that enables a computer to perform a specific task binary number a number whose digits are 0 and 1 © 2016 Pearson Education, Ltd. All rights reserved.

© 2016 Pearson Education, Ltd. All rights reserved. Figure 1.2 (a) Desktop Computer, iMac. (© Hugh Threlfall/Alamy).  (b) Hewlett-Packard Laptop. (© Hewlett-Packard Company). © 2016 Pearson Education, Ltd. All rights reserved.

© 2016 Pearson Education, Ltd. All rights reserved. Figure 1.2 (c) iPad. (© D. Hurst/Alamy). (d) Android phone, LG Thrill 4G. (© Handout/MCT/Newscom). © 2016 Pearson Education, Ltd. All rights reserved.

© 2016 Pearson Education, Ltd. All rights reserved. Computer Hardware main memory secondary memory central processing unit input devices output devices © 2016 Pearson Education, Ltd. All rights reserved.

Figure 1.3 Components of a Computer © 2016 Pearson Education, Ltd. All rights reserved.

© 2016 Pearson Education, Ltd. All rights reserved. Memory memory cell an individual storage location in memory address of a memory cell the relative 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 © 2016 Pearson Education, Ltd. All rights reserved.

Figure 1.4 1000 Memory Cells in Main Memory © 2016 Pearson Education, Ltd. All rights reserved.

© 2016 Pearson Education, Ltd. All rights reserved. Memory stored program concept a computer’s ability to store program instructions in main memory for execution byte the amount of storage required to store a single character bit a binary digit, a 0 or a 1 © 2016 Pearson Education, Ltd. All rights reserved.

Figure 1.5 Relationship Between a Byte and a Bit 00101100 Byte Bit © 2016 Pearson Education, Ltd. All rights reserved.

© 2016 Pearson Education, Ltd. All rights reserved. Memory 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 random access memory (RAM) the part of main memory that temporarily stores programs, data, and results © 2016 Pearson Education, Ltd. All rights reserved.

© 2016 Pearson Education, Ltd. All rights reserved. Memory 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 © 2016 Pearson Education, Ltd. All rights reserved.

© 2016 Pearson Education, Ltd. All rights reserved. Memory secondary storage units such as disks or flash drives that retain data even when the power to the drive is off disk thin platter of metal or plastic on which data are represented by magnetized spots arranged in tracks optical drive device that uses a laser to access or store data on a CD or DVD or Blu-ray Disk © 2016 Pearson Education, Ltd. All rights reserved.

Figure 1.6 Secondary Storage Media © 2016 Pearson Education, Ltd. All rights reserved.

© 2016 Pearson Education, Ltd. All rights reserved. Memory 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 © 2016 Pearson Education, Ltd. All rights reserved.

Central Processing Unit central processing unit (CPU) coordinates all computer operations and performs arithmetic and logical operations on data fetching an instruction retrieving an instruction from main memory register high-speed memory location inside the CPU multiprocessor a computer with more than one CPU © 2016 Pearson Education, Ltd. All rights reserved.

© 2016 Pearson Education, Ltd. All rights reserved. Computer Software Operating System Application Software Computer Languages Executing a Program © 2016 Pearson Education, Ltd. All rights reserved.

© 2016 Pearson Education, Ltd. All rights reserved. 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 © 2016 Pearson Education, Ltd. All rights reserved.

© 2016 Pearson Education, Ltd. All rights reserved. Application Software application software used for a specific task such as word processing, accounting, database management, playing a game, or checking the weather forecast install make an application available on a computer by copying it to the computer’s hard drive © 2016 Pearson Education, Ltd. All rights reserved.

© 2016 Pearson Education, Ltd. All rights reserved. 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 © 2016 Pearson Education, Ltd. All rights reserved.

© 2016 Pearson Education, Ltd. All rights reserved. Computer Languages 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 syntax grammar rules of a programming language object file file of machine language instructions that is the output of a compiler © 2016 Pearson Education, Ltd. All rights reserved.

© 2016 Pearson Education, Ltd. All rights reserved. Computer Languages 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 © 2016 Pearson Education, Ltd. All rights reserved.

© 2016 Pearson Education, Ltd. All rights reserved. Figure 1.11 Entering, Translating, and Running a High-Level Language Program © 2016 Pearson Education, Ltd. All rights reserved.

© 2016 Pearson Education, Ltd. All rights reserved. Executing a Program input data the data values that are scanned by a program program output the lines displayed by a program © 2016 Pearson Education, Ltd. All rights reserved.

Figure 1.12 Flow of Information During Program Execution © 2016 Pearson Education, Ltd. All rights reserved.

The Software Development Method Specify the problem requirements. Analyze the problem. Design the algorithm to solve the problem. Implement the algorithm Test and verify the completed program. Maintain and update the program. © 2016 Pearson Education, Ltd. All rights reserved.

© 2016 Pearson Education, Ltd. All rights reserved. Problem Inputs quantity of apples purchased (in pounds) cost per pound of apples (in dollars per pound) Problem Output total cost of apples (in dollars) General formula Total cost = Unit cost x Number of units Total cost of apples = Cost per pound x Pounds of apples © 2016 Pearson Education, Ltd. All rights reserved.