
Because Knetbooks knows college students. Our rental program is designed to save you time and money. Whether you need a textbook for a semester, quarter or even a summer session, we have an option for you. Simply select a rental period, enter your information and your book will be on its way!
| Introduction | p. 1 |
| Computers Everywhere | p. 1 |
| A Brief History of Computers | p. 2 |
| What Is a Computer? | p. 2 |
| Early Computers | p. 2 |
| Personal Computers | p. 5 |
| Today's Computers | p. 6 |
| The Internet | p. 7 |
| Computer Basics | p. 9 |
| The Central Processing Unit | p. 10 |
| Internal Memory | p. 11 |
| Mass Storage Devices | p. 12 |
| Input Devices | p. 14 |
| Output Devices | p. 14 |
| Software and Programming Languages | p. 16 |
| Types of Software | p. 16 |
| Types of Programming Languages | p. 18 |
| Chapter Review and Exercises | p. 21 |
| An Introduction to Programming | p. 27 |
| In the Everyday World: You Are Already a Programmer! | p. 28 |
| What Is Programming? | p. 28 |
| A General Problem-Solving Strategy | p. 29 |
| Creating Computer Programs: The Program Development Cycle | p. 31 |
| Basic Programming Concepts | p. 32 |
| A Simple Program | p. 32 |
| The Price Conversion Program | p. 33 |
| Data Input | p. 35 |
| The Input and Write Statements | p. 36 |
| Use Input Prompts | p. 37 |
| Other Forms of Input | p. 37 |
| Program Variables and Constants | p. 37 |
| Variables Names | p. 39 |
| Variable Names Should Be Meaningful! | p. 39 |
| What's Really Going On with Variables in the Computer? | p. 40 |
| Data Processing and Output | p. 41 |
| Processing Data | p. 41 |
| The Set Statement | p. 42 |
| Assigning and Reassigning Values to Variables | p. 42 |
| Operations on Data | p. 43 |
| Hierarchy of Operations | p. 44 |
| Data Output | p. 46 |
| The Write Statement Revisited | p. 47 |
| Annotate Your Output | p. 48 |
| Types of Data | p. 50 |
| Numeric Data | p. 51 |
| Integers | p. 51 |
| Dividing Integers | p. 52 |
| Real Numbers | p. 52 |
| The Declare Statement | p. 53 |
| The Last Word on Price Conversion | p. 54 |
| Scientific and Exponential Notation | p. 55 |
| Character String Data | p. 57 |
| The Character Data Type | p. 58 |
| Operating on Strings | p. 58 |
| Chapter Review and Exercises | p. 61 |
| Developing a Program | p. 69 |
| In the Everyday World: Planning to Program? You Need a Plan | p. 70 |
| The Program Development Cycle | p. 71 |
| The Process of Developing a Program | p. 71 |
| Analyze the Problem | p. 71 |
| Design the Program | p. 72 |
| Code the Program | p. 73 |
| Test the Program | p. 74 |
| Additional Steps in the Cycle | p. 76 |
| Program Design | p. 80 |
| Modular Programming | p. 80 |
| Using Modules and Submodules | p. 81 |
| Benefits of Modular Programming | p. 81 |
| Provide a Welcome Message at the Beginning of Your Program | p. 86 |
| Coding, Documenting, and Testing a Program | p. 90 |
| Coding and Documenting a Program | p. 90 |
| How Can a Computer Know What to Ignore? | p. 91 |
| External Documentation | p. 93 |
| Types of Errors | p. 94 |
| Commercial Programs: Testing and Documenting | p. 95 |
| The Testing Phase Revisited | p. 96 |
| External Documentation | p. 97 |
| The User's Guide | p. 97 |
| The Program Maintenance Manual | p. 98 |
| Design Documentation | p. 98 |
| Trade Study Documentation | p. 99 |
| Structured Programming | p. 100 |
| Flowcharts | p. 100 |
| Control Structures | p. 101 |
| The Sequential Structure | p. 101 |
| Loop or Repetition Structures | p. 103 |
| Decision or Selection Structures | p. 103 |
| An Introduction to OOP and GUIs | p. 106 |
| GUIs and Event-Driven Programming | p. 106 |
| Object-Oriented Programming | p. 110 |
| Object-Oriented Programming Design | p. 112 |
| Everyone Needs Structured Programming | p. 114 |
| Chapter Review and Exercises | p. 115 |
| Selection Structures: Making Decisions | p. 123 |
| In the Everyday World: Decisions, decisions, decisions... | p. 124 |
| An Introduction to Selection Structures | p. 125 |
| Types of Selection Structures | p. 125 |
| Single-and Dual-Alternative Structures | p. 127 |
| Single-Alternative Structure: The If-Then Structure | p. 127 |
| Dual-Alternative Structure: The If-Then-Else Structure | p. 129 |
| Relational and Logical Operators | p. 133 |
| Relational Operators | p. 133 |
| A Little More Explanation about Relational Operators | p. 134 |
| Logical Operators | p. 137 |
| Truth Tables for the Or, And, and Not Operators | p. 138 |
| Compounding the Compound Condition Issue | p. 140 |
| Hierarchy of Operations | p. 143 |
| Selecting from Several Alternatives | p. 146 |
| Using If Structures | p. 147 |
| The Action of a Case Statement | p. 150 |
| Applications of Selection Structures | p. 154 |
| Defensive Programming | p. 154 |
| Menu-Driven Programs | p. 158 |
| Focus on Problem Solving: A New Car Price Calculator | p. 161 |
| Problem Statement | p. 161 |
| Problem Analysis | p. 162 |
| Program Design | p. 162 |
| Program Code | p. 166 |
| Program Test | p. 166 |
| Chapter Review and Exercises | p. 167 |
| Repetition Structures: Looping | p. 177 |
| In the Everyday World: Loops | p. 178 |
| An Introduction to Repetition Structures: Computers Never Get Bored! | p. 179 |
| A Simple Example of a Loop | p. 179 |
| Beware of the Infinite Loop! | p. 181 |
| Relational and Logical Operators | p. 183 |
| Pre-Test and Post-Test Loops | p. 184 |
| Counter-Controlled Loops | p. 189 |
| Constructing a Counter-Controlled Loop | p. 190 |
| Summing: How a Computer Adds | p. 190 |
| Counting Up, Down, and Every Way | p. 193 |
| Built-in Counter-Controlled Loops | p. 193 |
| The Careful Bean Counter | p. 197 |
| Applications of Repetition Structures | p. 202 |
| Using Sentinel-Controlled Loops to Input Data | p. 202 |
| Data Validation | p. 204 |
| Nested Loops | p. 215 |
| Nested For Loops | p. 215 |
| Nesting Other Kinds of Loops | p. 218 |
| Nesting Loops and Selection Structures | p. 220 |
| Focus on Problem Solving: A Cost, Revenue, and Profit Problem | p. 223 |
| Problem Statement | p. 223 |
| Problem Analysis | p. 224 |
| Program Design | p. 226 |
| Program Code | p. 229 |
| Program Test | p. 230 |
| Chapter Review and Exercises | p. 252 |
| Arrays: Lists and Tables | p. 239 |
| In the Everyday World: Arrays | p. 240 |
| One-Dimensional Arrays | p. 241 |
| Array Basics | p. 241 |
| Declaring Arrays | p. 242 |
| Parallel Arrays | p. 248 |
| Some Advantages of Using Arrays | p. 252 |
| Searching and Sorting Arrays | p. 256 |
| The Serial Search Technique | p. 256 |
| The Bubble Sort Technique | p. 261 |
| Other Sorts of Sorting | p. 271 |
| Other Uses of Arrays | p. 272 |
| Strings As Arrays of Characters | p. 272 |
| Declaring an Array As a Data Type | p. 272 |
| String Length versus Array Size | p. 274 |
| Two-Dimensional Arrays | p. 277 |
| An Introduction to Two-Dimensional Arrays | p. 277 |
| Declaring Two-Dimensional Arrays | p. 278 |
| Using Two-Dimensional Arrays | p. 279 |
| Focus on Problem Solving: An Invoice Preparation Program | p. 284 |
| Problem Statement | p. 284 |
| Problem Analysis | p. 285 |
| Program Design | p. 285 |
| Program Code | p. 290 |
| Program Test | p. 291 |
| Chapter Review and Exercises | p. 292 |
| Sequential Data Files | p. 301 |
| In the Everyday World: Data Files | p. 302 |
| An Introduction to Data Files | p. 303 |
| File Basics | p. 303 |
| Creating and Reading Sequential Files | p. 306 |
| Modifying a Sequential File | p. 312 |
| Deleting Records | p. 314 |
| Modifying Records | p. 316 |
| Inserting Records | p. 317 |
| Using Arrays in File Maintenance | p. 320 |
| Merging Sequential Files | p. 322 |
| Focus on Problem Solving: Control Break Processing | p. 326 |
| Problem Statement | p. 326 |
| Problem Analysis | p. 327 |
| Program Design | p. 328 |
| Program Code | p. 331 |
| Program Test | p. 332 |
| Chapter Review and Exercises | p. 355 |
| Study Skills | p. 341 |
| Glossary | p. 351 |
| Index | p. 365 |
| Table of Contents provided by Ingram. All Rights Reserved. |