** All Chapters included
** Answers to Review Questions
** Answers to Odd-Numbered Review Questions
** Lab Manual
,Table of Contents are given below
1: Introduction to Computers and Programming
2: Introduction to C++
3: Expressions and Interactivity
4: Making Decisions
5: Loops and Files
6: Functions
7: Arrays and Vectors
8: Searching and Sorting Arrays
9: Pointers
10: More About Strings, Characters, and C-Strings
11: Structured Data
12: Advanced File Operations
13: Introduction to Classes
14: More about Classes
15: Inheritance, Polymorphism, and Virtual Functions
16: Exceptions
17: Introduction to Templates
18: Advanced Templates
19: The Standard Template Library
20: Function Objects and Lambda Expressions
21: Ranges and Views
22: Linked Lists
23: Stacks and Queues
24: Recursion
25: Binary Trees
,Starting Out With C++ From Control Structures Through Objects, 11th
Edition
Answers to Review Questions
Chapter 1
1. Main memory, or RAM, is volatile, which means its contents are erased when power is
removed from the computer. Secondary memory, such as a disk, does not lose its contents
when power is removed from the computer.
2. An operating system is a set of programs that manages the computer’s hardware devices and
controls their processes. Application software consists of programs that users use to solve
specific problems or perform general operations.
3. An operating system
4. Because the computer only processes machine language instructions.
5. Because high level languages are more like natural language.
6. An object file contains machine language instructions, but it does not contain code for any
library routines that may be necessary. An executable file is a program, ready to run. It
contains the machine language code translated from the programmer’s source file, as well as
the code for any necessary library routines.
7. A syntax error is the misuse of a key word, operator, punctuation, or other part of the
programming language. A logical error is a mistake that causes the program to produce the
wrong results.
8. programmed
9. CPU
10. Arithmetic Logic Unit and Control Unit
11. disk
12. Operating Systems and Application Software
13. instructions
14. programming language
15. machine language
16. high-level
17. low-level
18. portability
19. key words
20. programmer-defined symbols
21. operators
22. punctuation
1
, 23. syntax
24. variable
25. defined
26. input, processing, output
27. input
28. output
29. hierarchy chart
30. Hierarchy chart:
31. Hierarchy chart:
2