9780130384782

C++ in the Lab: Lab Manual to Accompany C++ How to Program, Fourth Edition

by ; ;
  • ISBN13:

    9780130384782

  • ISBN10:

    013038478X

  • Edition: 4th
  • Format: Paperback
  • Copyright: 2002-10-01
  • Publisher: Prentice Hall
  • View Upgraded Edition

Note: Supplemental materials are not guaranteed with Rental or Used book purchases.

Purchase Benefits

  • Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $40.55 Save up to $12.05
  • Buy Used
    $28.50

    USUALLY SHIPS IN 2-4 BUSINESS DAYS

Supplemental Materials

What is included with this book?

Summary

This Lab Manual is designed to accompany the book, C++ How to Program, Fourth Edition in a laboratory environment. It offers hundreds of exercises that cover introductory and intermediate C++ programming concepts by enabling users to "learn by doing" -- a core philosophy at Deitel & Associates, Inc. It contains comprehensive lab activities for Chapters 1-11 of the book and suggested labs for Chapters 12-15. The labs assume that users will take approximately 2 hours of closed lab time, and each comprehensive lab includes prelab, lab, and postlab sections. Each chapter contains a combination of non-programming and programming activities. The Lab Manual also contains instructions for downloading electronic files for all the necessary program and data files. Control Structures, Functions, Pointers, Arrays, Object-Oriented Programming, Inheritance, Polymorphism, Exception Handling, File Processing and Data Structures.

Table of Contents

Preface xiv
Introduction to Computers and C++ Programming
1(38)
Assignment Checklist
3(36)
Prelab Activities
5(1)
Matching
5(2)
Fill in the Blank
7(2)
Short Answer
9(2)
Programming Output
11(4)
Correct the Code
15(4)
Lab Exercises
19(1)
Lab Exercise 1 --- Sum, Average, Max and Min
19(4)
Lab Exercise 2 --- Multiples
23(4)
Lab Exercise 3 --- Separating Digits
27(4)
Debugging
31(2)
Postlab Activities
33(1)
Coding Exercises
33(4)
Programming Challenges
37(2)
Control Structures
39(48)
Assignment Checklist
41(46)
Prelab Activities
43(1)
Matching
43(2)
Fill in the Blank
45(2)
Short Answer
47(4)
Programming Output
51(4)
Correct the Code
55(4)
Lab Exercises
59(2)
Lab Exercise 1 --- Department Store
61(4)
Lab Exercise 2 --- Payroll
65(6)
Lab Exercise 3 --- Pythagorean Triples
71(4)
Debugging
75(2)
Postlab Activities
77(1)
Coding Exercises
77(6)
Programming Challenges
83(4)
Functions
87(42)
Assignment Checklist
89(40)
Prelab Activities
91(1)
Matching
91(2)
Fill in the Blank
93(2)
Short Answer
95(2)
Programming Output
97(4)
Correct Code
101(4)
Lab Exercises
105(1)
Lab Exercise 1 --- Prime Numbers
105(4)
Lab Exercise 2 --- Reversing Digits
109(6)
Lab Exercise 3 --- Greatest Common Divisor
115(4)
Debugging
119(4)
Postlab Activities
123(1)
Coding Exercises
123(4)
Programming Challenges
127(2)
Arrays
129(42)
Assignment Checklist
131(40)
Prelab Activities
133(1)
Matching
133(2)
Fill in the Blank
135(2)
Short Answer
137(2)
Programming Output
139(4)
Correct the Code
143(4)
Lab Exercises
147(1)
Lab Exercise 1 --- Rolling Dice
147(4)
Lab Exercise 2 --- Bubble Sort
151(6)
Lab Exercise 3 --- Salespeople
157(6)
Debugging
163(4)
Postlab Activities
167(1)
Coding Exercises
167(2)
Programming Challenges
169(2)
Pointers and Strings
171(44)
Assignment Checklist
173(42)
Prelab Activities
175(1)
Matching
175(2)
Fill in the Blank
177(2)
Short Answer
179(2)
Programming Output
181(4)
Correct the Code
185(4)
Lab Exercises
189(1)
Lab Exercise 1 --- Tortoise and the Hare
189(8)
Lab Exercise 2 --- Encryption/Decryption
197(4)
Lab Exercise 3 --- Shuffling and Dealing
201(6)
Debugging
207(4)
Postlab Activities
211(1)
Coding Exercises
211(2)
Programming Challenges
213(2)
Classes and Data Abstraction
215(42)
Assignment Checklist
217(40)
Prelab Activities
219(1)
Matching
219(2)
Fill in the Blank
221(2)
Short Answer
223(2)
Programming Output
225(4)
Correct the Code
229(4)
Lab Exercises
233(1)
Lap Exercise 1 --- Complex Numbers
233(6)
Lab Exercise 2 --- Dates
239(6)
Debugging
245(6)
Postlab Activities
251(1)
Coding Exercises
251(4)
Programming Challenges
255(2)
Classes: Part II
257(54)
Assignment Checklist
259(52)
Prelab Activities
261(1)
Matching
261(2)
Fill in the Blank
263(2)
Short Answer
265(2)
Programming Output
267(8)
Correct the Code
275(6)
Lab Exercises
281(1)
Lab Exercise 1 --- Simple Calculator
281(4)
Lap Exercise 2 --- Integer Set
285(8)
Lap Exercise 3 --- Cats
293(8)
Debugging
301(4)
Postlab Activities
305(1)
Coding Exercises
305(4)
Programming Challenges
309(2)
Operator Overloading; String and Array Objects
311(54)
Assignment Checklist
313(52)
Prelab Activities
315(1)
Matching
315(2)
Fill in the Blank
317(2)
Short Answer
319(2)
Programming Output
321(12)
Correct the Code
333(2)
Lab Exercises
335(1)
Lab Exercises 1 --- Double-Subscripted Array
335(8)
Lap Exercises 2 --- Rational Numbers
343(8)
Debugging
351(6)
Postlab Activities
357(1)
Coding Exercises
357(4)
Programming Challenges
361(4)
Object-Oriented Programming: Inheritance
365(44)
Assignment Checklist
367(42)
Prelab Activities
369(1)
Matching
369(2)
Fill in the Blank
371(2)
Short Answer
373(2)
Programming Output
375(2)
Correct the Code
377(4)
Lab Exercises
381(1)
Lab Exercise 1 --- Cars
381(8)
Lab Exercise 2 --- Vehicles
389(10)
Debugging
399(6)
Postlab Activities
405(1)
Coding Exercises
405(2)
Programming Challenges
407(2)
Object-Oriented Programming: Polymorphism
409(44)
Assignment Checklist
411(42)
Prelab Activities
413(1)
Matching
413(2)
Fill in the Blank
415(2)
Short Answer
417(2)
Programming Output
419(4)
Correct Code
423(4)
Lab Exercises
427(1)
Lab Exercise --- virtual Vehicle Class
427(12)
Debugging
439(8)
Postlab Activities
447(1)
Coding Exercises
447(4)
Programming Challenge
451(2)
Templates
453(34)
Assignment Checklist
455(32)
Prelab Activities
457(1)
Matching
457(2)
Fill in the Blank
459(2)
Short Answer
461(2)
Programming Output
463(4)
Correct the Code
467(4)
Lab Exercises
471(1)
Lab Exercise ---Table
471(10)
Debugging
481(4)
Postlab Activities
485(1)
Coding Exercises
485(2)
C++ Stream Input/Output
487(28)
Assignment Checklist
489(26)
Prelab Activities
491(1)
Matching
491(2)
Fill in the Blank
493(2)
Short Answer
495(2)
Programming Output
497(4)
Correct the Code
501(2)
Lab Exercises
503(1)
Lab Exercises --- Formatted Output
503(4)
Debugging
507(2)
Postlab Activities
509(1)
Coding Exercises
509(4)
Programming Challenges
513(2)
Exception Handling
515(26)
Assignment Checklist
517(24)
Prelab Activities
519(1)
Matching
519(2)
Fill in the Blank
521(2)
Short Answer
523(2)
Programming Output
525(4)
Correct the Code
529(2)
Lab Exercises
531(1)
Lab Exercise
531(4)
Debugging
535(4)
Postlab Activities
539(1)
Coding Exercises
539(2)
File Processing
541(24)
Assignment Checklist
543(22)
Prelab Activities
545(1)
Matching
545(2)
Fill in the Blank
547(2)
Short Answer
549(2)
Correct the Code
551(6)
Lab Exercises
557(1)
Lab Exercise --- Craps
557(6)
Postlab Activities
563(1)
Coding Exercises
563(2)
Data Structures
565(30)
Assignment Checklist
567(28)
Prelab Activities
569(1)
Matching
569(2)
Fill in the Blank
571(2)
Short Answer
573(2)
Programming Output
575(6)
Lab Exercises
581(1)
Lab Exercise --- Character List
581(10)
Postlab Activities
591(1)
Coding Exercises
591(2)
Programming Challenges
593(2)
Index 595

Rewards Program

Write a Review