Diane Graves Steele, Vice President and Publisher

Joyce Pepple, Acquisitions Director

Composition Services

Gerry Fahey, Vice President of Production Services

Debbie Stailey, Director of Composition Services

Contents at a Glance

Introduction ................................................................1 Part I: Programming a Computer ...................................7 Chapter 1: Learning Computer Programming for the First Time ................................9 Chapter 2: All about Programming Languages ............................................................19 Chapter 3: How to Write a Program ..............................................................................37 Chapter 4: The Tools of a Computer Programmer ......................................................47 Part II: Learning Programming with Liberty BASIC ......59 Chapter 5: Getting Your Hands on a Real Language: Liberty BASIC .........................61 Chapter 6: Handling Input and Output .........................................................................71 Chapter 7: Variables, Constants, and Comments ........................................................79 Chapter 8: Crunching Numbers and Playing with Strings ..........................................95 Chapter 9: Making Decisions with Control Statements ............................................111 Chapter 10: Repeating Yourself with Loops ...............................................................129 Part III: Advanced Programming with Liberty BASIC ..................................................139 Chapter 11: Writing Large Programs by Using Subprograms ..................................141 Chapter 12: Drawing Pictures and Making Noise ......................................................161 Chapter 13: Saving and Retrieving Stuff in Files ........................................................175 Chapter 14: Creating a User Interface .........................................................................191 Chapter 15: Debugging Programs ................................................................................215 Part IV: Dealing with Data Structures .......................223 Chapter 16: Storing Stuff in Arrays ..............................................................................225 Chapter 17: Lumping Related Data in Records ..........................................................235 Chapter 18: Linked Lists and Pointers ........................................................................241 Chapter 19: Playing with Object-Oriented Programming .........................................255 Part V: Algorithms: Telling the Computer What to Do ...............................................267 Chapter 20: Sorting .......................................................................................................269 Chapter 21: Searching ...................................................................................................287 Chapter 22: Optimizing Your Code ..............................................................................299

Part VI: Internet Programming ..................................309 Chapter 23: Playing with HTML ...................................................................................311 Chapter 24: Making Interactive Web Pages with JavaScript ....................................339 Chapter 25 Using Java Applets on Web Pages ...........................................................351 Part VII: The Part of Tens .........................................359 Chapter 26: Ten Cool Programming Careers ..............................................................361 Chapter 27: Ten Additional Programming Resources ...............................................371 Appendix: About the CD ...............................................................................................387 Bonus Chapter: Programming in Python....................CD-1 Index ......................................................................395 End-User License Agreement .....................................413

computer programming for dummiesWhere stories live. Discover now