Starting Out with Programming Logic and Design.
Material type:
- 9788131739877
- 23rd 005.13C
Item type | Current library | Call number | Materials specified | Status | Barcode | |
---|---|---|---|---|---|---|
![]() |
Digital Library Digital Library | 005.13C GAD-S2 | Online access | Available | E0100 |
Cover -- Contents -- Preface -- Chapter 1 Introduction to Computers and Programming -- 1.1 Introduction -- 1.2 Hardware -- 1.3 How Computers Store Data -- 1.4 How a Program Works -- 1.5 Types of Software -- Review Questions -- Chapter 2 Input, Processing, and Output -- 2.1 Designing a Program -- 2.2 Output, Input, and Variables -- 2.3 Variable Assignment and Calculations -- IN THE SPOTLIGHT: Calculating a Percentage -- IN THE SPOTLIGHT: Calculating an Average -- IN THE SPOTLIGHT: Converting a Math Formula to a Programming Statement -- 2.4 Variable Declarations and Data Types -- 2.5 Named Constants -- 2.6 Hand Tracing a Program -- 2.7 Documenting a Program -- IN THE SPOTLIGHT: Using Named Constants, Style Conventions, and Comments -- Review Questions -- Programming Exercises -- Chapter 3 Modules -- 3.1 Introduction to Modules -- 3.2 Defining and Calling a Module -- IN THE SPOTLIGHT: Defining and Calling Modules -- 3.3 Local Variables -- 3.4 Passing Arguments to Modules -- IN THE SPOTLIGHT: Passing an Argument to a Module -- IN THE SPOTLIGHT: Passing an Argument by Reference -- 3.5 Global Variables and Global Constants -- IN THE SPOTLIGHT: Using Global Constants -- Review Questions -- Programming Exercises -- Chapter 4 Decision Structures and Boolean Logic -- 4.1 Introduction to Decision Structures -- IN THE SPOTLIGHT: Using the If-Then Statement -- 4.2 Dual Alternative Decision Structures -- IN THE SPOTLIGHT: Using the If-Then-Else Statement -- 4.3 Comparing Strings -- 4.4 Nested Decision Structures -- IN THE SPOTLIGHT: Multiple Nested Decision Structures -- 4.5 The Case Structure -- IN THE SPOTLIGHT: Using a Case Structure -- 4.6 Logical Operators -- 4.7 Boolean Variables -- Review Questions -- Programming Exercises -- Chapter 5 Repetition Structures -- 5.1 Introduction to Repetition Structures.
5.2 Condition-Controlled Loops: While, Do-While, and Do-Until -- IN THE SPOTLIGHT: Designing a While Loop -- IN THE SPOTLIGHT: Designing a Do-While Loop -- 5.3 Count-Controlled Loops and the For Statement -- IN THE SPOTLIGHT: Designing a Count-Controlled Loop with the For Statement -- 5.4 Calculating a Running Total -- 5.5 Sentinels -- IN THE SPOTLIGHT: Using a Sentinel -- 5.6 Nested Loops -- Review Questions -- Programming Exercises -- Chapter 6 Functions -- 6.1 Introduction to Functions: Generating Random Numbers -- IN THE SPOTLIGHT: Using Random Numbers -- IN THE SPOTLIGHT: Using Random Numbers to Represent Other Values -- 6.2 Writing Your Own Functions -- IN THE SPOTLIGHT: Modularizing with Functions -- 6.3 More Library Functions -- Review Questions -- Programming Exercises -- Chapter 7 Input Validation -- 7.1 Garbage In, Garbage Out -- 7.2 The Input Validation Loop -- IN THE SPOTLIGHT: Designing an Input Validation Loop -- 7.3 Defensive Programming -- Review Questions -- Programming Exercises -- Chapter 8 Arrays -- 8.1 Array Basics -- IN THE SPOTLIGHT: Using Array Elements in a Math Expression -- 8.2 Sequentially Searching an Array -- 8.3 Processing the Contents of an Array -- IN THE SPOTLIGHT: Processing an Array -- 8.4 Parallel Arrays -- IN THE SPOTLIGHT: Using Parallel Arrays -- 8.5 Two-Dimensional Arrays -- IN THE SPOTLIGHT: Using a Two-Dimensional Array -- 8.6 Arrays of Three or More Dimensions -- Review Questions -- Programming Exercises -- Chapter 9 Sorting and Searching Arrays -- 9.1 The Bubble Sort Algorithm -- IN THE SPOTLIGHT: Using the Bubble Sort Algorithm -- 9.2 The Selection Sort Algorithm -- 9.3 The Insertion Sort Algorithm -- 9.4 The Binary Search Algorithm -- IN THE SPOTLIGHT: Using the Binary Search Algorithm -- Review Questions -- Programming Exercises -- Chapter 10 Files -- 10.1 Introduction to File Input and Output.
10.2 Using Loops to Process Files -- IN THE SPOTLIGHT: Working with Files -- 10.3 Using Files and Arrays -- 10.4 Processing Records -- IN THE SPOTLIGHT: Adding and Displaying Records -- IN THE SPOTLIGHT: Searching for a Record -- IN THE SPOTLIGHT: Modifying Records -- IN THE SPOTLIGHT: Deleting Records -- 10.5 Control Break Logic -- IN THE SPOTLIGHT: Using Control Break Logic -- Review Questions -- Programming Exercises -- Chapter 11 Menu-Driven Programs -- 11.1 Introduction to Menu-Driven Programs -- 11.2 Modularizing a Menu-Driven Program -- 11.3 Using a Loop to Repeat the Menu -- IN THE SPOTLIGHT: Designing a Menu-Driven Program -- 11.4 Multiple-Level Menus -- Review Questions -- Programming Exercises -- Chapter 12 Text Processing -- 12.1 Introduction -- 12.2 Character-By-Character Text Processing -- IN THE SPOTLIGHT: Validating a Password -- IN THE SPOTLIGHT: Formatting and Unformatting Telephone Numbers -- Review Questions -- Programming Exercises -- Chapter 13 Recursion -- 13.1 Introduction to Recursion -- 13.2 Problem Solving with Recursion -- 13.3 Examples of Recursive Algorithms -- Review Questions -- Programming Exercises -- Chapter 14 Object-Oriented Programming -- 14.1 Procedural and Object-Oriented Programming -- 14.2 Classes -- 14.3 Using the Unified Modeling Language to Design Classes -- 14.4 Finding the Classes and Their Responsibilities in a Problem -- IN THE SPOTLIGHT: Finding the Classes in a Problem -- IN THE SPOTLIGHT: Determining Class Responsibilities -- 14.5 Inheritance -- 14.6 Polymorphism -- Review Questions -- Programming Exercises -- Chapter 15 GUI Applications and Event-Driven Programming -- 15.1 Graphical User Interfaces -- 15.2 Designing the User Interface for a GUI Program -- IN THE SPOTLIGHT: Designing a Window -- 15.3 Writing Event Handlers -- IN THE SPOTLIGHT: Designing an Event Handler -- Review Questions.
Programming Exercises -- Appendix A: ASCII/Unicode Characters -- Appendix B: Flowchart Symbols -- Appendix C: Answers to Checkpoint Questions -- Index -- A -- B -- C -- D -- E -- F -- G -- H -- I -- J -- K -- L -- M -- N -- O -- P -- R -- S -- T -- U -- V -- W -- Z.
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2018. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.