Chapter 01

Chapter 01 - C++ Programming: From Problem Analysis to...

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, Third Edition Chapter 1: An Overview of Computers and Programming Languages C++ Programming: From Problem Analysis to Program Design, Third 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, Third Edition 3 Objectives (continued) Discover what a compiler is and what it does Examine a C++ Program and 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, Third Edition 4 Categories of Computers Mainframe computers Midsize computers Micro computers (personal computers) C++ Programming: From Problem Analysis to Program Design, Third Edition 5 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, Third Edition 6 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, Third Edition 8 Main Memory Directly connected to the CPU All programs must be loaded into main memory before they can be executed All data must be brought into main memory before it can be manipulated When computer power is turned off, everything in main memory is lost C++ Programming: From Problem Analysis to Program Design, Third Edition 10 Secondary Storage Secondary storage : Device that stores information permanently Examples of secondary storage: Hard disks Floppy disks Zip disks CD-ROMs Tapes Flash drives C++ Programming: From Problem Analysis to Program Design, Third Edition 11 Input/Output Devices Input devices feed data and programs into computers. They include: Keyboard Mouse Secondary storage Output devices display results. They include: Monitor Printer Secondary storage C++ Programming: From Problem Analysis to Program Design, Third Edition 12 Software Software : Programs that do specific tasks System programs take control of the computer, such as an operating system Application programs perform a specific task Word processors Spreadsheets Games C++ Programming: From Problem Analysis to Program Design, Third Edition...
View Full Document

Page1 / 51

Chapter 01 - C++ Programming: From Problem Analysis to...

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