9781423902096_PPT_ch - C Programming From Problem Analysis to Program Design Fourth Edition Chapter 1 An Overview of Computers and Programming

Info iconThis preview shows pages 1–13. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: C++ Programming: From Problem Analysis to Program Design, Fourth Edition Chapter 1: An Overview of Computers and Programming Languages C++ Programming: From Problem Analysis to Program Design, Fourth Edition 2 Objectives In this chapter, you will: • Learn about different types of computers • Explore the hardware and software components of a computer system • Learn about the language of a computer • Learn about the evolution of programming languages • Examine high-level programming languages C++ Programming: From Problem Analysis to Program Design, Fourth Edition 3 Objectives (continued) • Discover what a compiler is and what it does • Examine a C++ program • Explore how a C++ program is processed • Learn what an algorithm is and explore problem-solving techniques • Become aware of structured design and object-oriented design programming methodologies • Become aware of Standard C++ and ANSI/ISO Standard C++ C++ Programming: From Problem Analysis to Program Design, Fourth Edition 4 Introduction • Without software, the computer is useless • Software developed with programming languages − C++ is a programming language • C++ suited for a wide variety of programming tasks • Before programming, it is useful to understand terminology and computer components A Brief Overview of the History of Computers • Early calculation devices − Abacus, Pascaline − Leibniz device − Babbage machines: difference and analytic engines − Hollerith machine C++ Programming: From Problem Analysis to Program Design, Fourth Edition 5 A Brief Overview of the History of Computers (continued) • Early computer-like machines − Mark I − ENIAC − Von Neumann architecture − Univac − Transistors and microprocessors C++ Programming: From Problem Analysis to Program Design, Fourth Edition 6 Categories of Computers • Mainframe computers • Midsize computers • Micro computers (personal computers) C++ Programming: From Problem Analysis to Program Design, Fourth Edition 7 Elements of a Computer System • Hardware • CPU • Main memory • Secondary storage • Input/Output devices • Software C++ Programming: From Problem Analysis to Program Design, Fourth Edition 8 Hardware • CPU • Main memory: RAM • Input/output devices • Secondary storage C++ Programming: From Problem Analysis to Program Design, Fourth Edition 9 CPU (Central Processing Unit) • CU (Control Unit) : − Fetches and decodes instructions − Controls flow of information in and out of MM − Controls operation of internal CPU components • PC (program counter) : points to next instruction to be executed C++ Programming: From Problem Analysis to Program Design, Fourth Edition 10 CPU (Central Processing Unit) (continued) • IR (instruction register) : holds instruction currently being executed • ALU (arithmetic logic unit) : carries out all arithmetic and logical operations C++ Programming: From Problem Analysis to Program Design, Fourth Edition 11 Main Memory...
View Full Document

This note was uploaded on 02/23/2011 for the course CHEMICAL E 2 taught by Professor Hibasaadeh during the Spring '11 term at University of Jordan.

Page1 / 57

9781423902096_PPT_ch - C Programming From Problem Analysis to Program Design Fourth Edition Chapter 1 An Overview of Computers and Programming

This preview shows document pages 1 - 13. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online