{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

9781423902096_PPT_ch01 - C Programming From Problem...

Info icon This preview shows pages 1–14. Sign up to view the full content.

View Full Document Right Arrow Icon
C++ Programming: From Problem Analysis to Program Design, Fourth Edition Chapter 1: An Overview of Computers and Programming Languages
Image of page 1

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

View Full Document Right Arrow Icon
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
Image of page 2
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++
Image of page 3

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

View Full Document Right Arrow Icon
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
Image of page 4
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
Image of page 5

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

View Full Document Right Arrow Icon
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
Image of page 6
Categories of Computers Mainframe computers Midsize computers Micro computers (personal computers) C++ Programming: From Problem Analysis to Program Design, Fourth Edition 7
Image of page 7

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

View Full Document Right Arrow Icon
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
Image of page 8
Hardware CPU Main memory: RAM Input/output devices Secondary storage C++ Programming: From Problem Analysis to Program Design, Fourth Edition 9
Image of page 9

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

View Full Document Right Arrow Icon
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
Image of page 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
Image of page 11

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

View Full Document Right Arrow Icon
Image of page 12
Main Memory Directly connected to the CPU All programs must be loaded into main
Image of page 13

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

View Full Document Right Arrow Icon
Image of page 14
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern