Programming Abstractions in C++

Programming Abstractions in C++

          
5
4
3
2
1

Out of Stock


Premium quality
Premium quality
Bookswagon upholds the quality by delivering untarnished books. Quality, services and satisfaction are everything for us!
Easy Return
Easy return
Not satisfied with this product! Keep it in original condition and packaging to avail easy return policy.
Certified product
Certified product
First impression is the last impression! Address the book’s certification page, ISBN, publisher’s name, copyright page and print quality.
Secure Checkout
Secure checkout
Security at its finest! Login, browse, purchase and pay, every step is safe and secured.
Money back guarantee
Money-back guarantee:
It’s all about customers! For any kind of bad experience with the product, get your actual amount back after returning the product.
On time delivery
On-time delivery
At your doorstep on time! Get this book delivered without any delay.
Notify me when this book is in stock
Add to Wishlist

About the Book

This text is intended for use in the second programming course Programming is a matter of learning by doing. Eric Roberts’ Programming Abstractions in C++ gives students opportunities to practice and learn with engaging graphical assignments. A client-first approach to data structures helps students absorb, and then apply the material. Teaching and Learning Experience This program presents a better teaching and learning experience—for you and your students. It will help: Improve Student Comprehension with a Client-first Approach to Data Structures: To aid in student understanding, this book presents the full set of collection classes early. Defer the Presentation of C++ Features that Require a Detailed Understanding of the Underlying Machine: Introducing collection classes early enables students to master other equally important topics without having to struggle with low-level details at the same time. Engage Students with Exciting Graphical Assignments: An open-source library supports graphics and interactivity in a simple, pedagogically appropriate way. Support Instructors and Students: The companion website provides source code, sample run PDFs, answers to review questions, and more.

Table of Contents:
Contents 1 Overview of C++ 1 1.1 Your first C++ program 2 1.2 The history of C++ 3 1.3 The structure of a C++ program 6 1.4 Variables 14 1.5 Data types 19 1.6 Expressions 26 1.7 Statements 36 Summary 47 Review questions 48 Exercises 50 2 Functions and Libraries 55 2.1 The idea of a function 56 2.2 Libraries 59 2.3 Defining functions in C++ 61 2.4 The mechanics of function calls 65 2.5 Reference parameters 73 2.6 Interfaces and implementations 78 2.7 Principles of interface design 85 2.8 Designing a random number library 90 2.9 Introduction to the Stanford libraries 107 Summary 112 Review questions 114 Exercises 115 3 Strings 125 3.1 Using strings as abstract values 126 3.2 String operations 129 3.3 The library 137 3.4 Modifying the contents of a string 138 3.5 The legacy of C-style strings 139 3.6 Writing string applications 140 3.7 The strlib.h library 146 Summary 147 Review questions 148 Exercises 149 4 Streams 159 4.1 Using strings as abstract values 160 4.2 Formatted input 165 4.3 Data files 167 4.4 Class hierarchies 181 4.5 The simpio.h and filelib.h libraries 186 Summary 188 Review questions 189 Exercises 190 5 Collections 195 5.1 The Vector class 197 5.2 The Stack class 211 5.3 The Queue class 217 5.4 The Map class 226 5.5 The Set class 232 5.6 Iterating over a collection 236 Summary 243 Review questions 245 Exercises 246 6 Designing Classes 261 6.1 Representing points 262 6.2 Operator overloading 268 6.3 Rational numbers 281 6.4 Designing a token scanner class 292 6.5 Encapsulating programs as classes 301 Summary 303 Review questions 305 Exercises 306 7 Introduction to Recursion 315 7.1 A simple example of recursion 316 7.2 The factorial function 318 7.3 The Fibonacci function 325 7.4 Checking palindromes 332 7.5 The binary search algorithm 335 7.6 Mutual recursion 336 7.7 Thinking recursively 338 Summary 340 Review questions 342 Exercises 344 8 Recursive Strategies 349 8.1 The Towers of Hanoi 350 8.2 The subset-sum problem 361 8.3 Generating permutations 364 8.4 Graphical recursion 368 Summary 375 Review questions 375 Exercises 376 9 Backtracking Algorithms 389 9.1 Recursive backtracking in a maze 390 9.2 Backtracking and games 400 9.3 The minimax algorithm 409 Summary 415 Review questions 416 Exercises 417 10 Algorithmic Analysis 429 10.1 The sorting problem 430 10.2 Computational complexity 435 10.3 Recursion to the rescue 443 10.4 Standard complexity classes 449 10.5 The Quicksort algorithm 452 10.6 Mathematical induction 458 Summary 462 Review questions 463 Exercises 466 11 Pointers and Arrays 473 11.1 The structure of memory 474 11.2 Pointers 484 11.3 Arrays 494 11.4 Pointer arithmetic 500 Summary 506 Review questions 508 Exercises 510 12 Dynamic Memory Management 515 12.1 Dynamic allocation and the heap 516 12.2 Linked lists 519 12.3 Freeing memory 523 12.4 Defining a CharStack class 527 12.5 Heap-stack diagrams 536 12.6 Unit testing 543 12.7 Copying objects 546 12.8 The uses of const 550 12.9 Efficiency of the CharStack class 558 Summary 560 Review questions 562 Exercises 564 13 Efficiency and Representation 569 13.1 Software patterns for editing text 570 13.2 Designing a simple text editor 572 13.3 An array-based implementation 579 13.4 A stack-based implementation 586 13.5 A list-based implementation 591 Summary 607 Review questions 608 Exercises 610 14 Linear Structures 615 14.1 Templates 616 14.2 Implementing stacks 619 14.3 Implementing queues 634 14.4 Implementing vectors 649 14.5 Integrating prototypes and code 656 Summary 657 Review questions 658 Exercises 659 15 Maps 663 15.1 Implementing maps using vectors 664 15.2 Lookup tables 668 15.3 Hashing 671 15.4 Implementing the HashMap class 682 Summary 683 Review questions 684 Exercises 685 16 Trees 689 16.1 Family trees 691 16.2 Binary search trees 693 16.3 Balanced trees 706 16.4 Implementing maps using BSTs 717 16.5 Partially ordered trees 719 Summary 722 Review questions 724 Exercises 727 17 Sets 737 17.1 Sets as a mathematical abstraction 738 17.2 Expanding the set interface 742 17.3 Implementation strategies for sets 747 17.4 Optimizing sets of small integers 753 Summary 761 Review questions 762 Exercises 764 18 Graphs 767 18.1 The structure of a graph 768 18.2 Representation strategies 772 18.3 A low-level graph abstraction 776 18.4 Graph traversals 783 18.5 Defining a Graph class 789 18.6 Finding shortest paths 804 18.7 Algorithms for searching the web 808 Summary 812 Review questions 813 Exercises 815 19 Inheritance 823 19.1 Simple inheritance 824 19.2 A hierarchy of graphical shapes 832 19.3 A class hierarchy for expressions 841 19.4 Parsing an expression 861 19.5 Multiple inheritance 870 Summary 873 Review questions 875 Exercises 877 20 Strategies for iteration 885 20.1 Using iterators 886 20.2 Using functions as data values 890 20.3 Encapsulating data with functions 899 20.4 The STL algorithms library 904 20.5 Functional programming in C++ 907 20.6 Implementing iterators 911 Summary 918 Review questions 920 Exercises 921 A Stanford library interfaces 927 Index 1025


Best Sellers


Product Details
  • ISBN-13: 9780133454840
  • Publisher: Pearson Education (US)
  • Publisher Imprint: Pearson
  • Depth: 32
  • Height: 233 mm
  • No of Pages: 960
  • Series Title: English
  • Weight: 1606 gr
  • ISBN-10: 0133454843
  • Publisher Date: 04 Oct 2013
  • Binding: SF
  • Edition: PAP/PSC
  • Language: English
  • Returnable: N
  • Spine Width: 48 mm
  • Width: 190 mm


Similar Products

How would you rate your experience shopping for books on Bookswagon?

Add Photo
Add Photo

Customer Reviews

REVIEWS           
Click Here To Be The First to Review this Product
Programming Abstractions in C++
Pearson Education (US) -
Programming Abstractions in C++
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Programming Abstractions in C++

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book
    Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    New Arrivals


    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!
    ASK VIDYA