SKIP THE SHIPPING
Use code NOSHIP during checkout to save 40% on eligible eBooks, now through January 5. Shop now.
Register your product to gain access to bonus material or receive a coupon.
• Strong emphasis on problem solving throughout the book. Schneider introduces a problem-solving strategy early in the book and revisits it throughout; flow charts and pseudo code are also heavily used.
Focuses on the essential topics a student needs to know. For instance, when discussing variables, Schneider initially presents just three data types, in order to keep students focused on learning to use variables.
• Gradual introduction to object-oriented programming.
- Although students begin to use predefined classes early in the book, they do not begin to create classes until the very end.
– Objects are given familiar names, rather than programming terminology, to keep them in context.
• Carefully designed exercise sets at the end of each section contain 150 examples and over 1000 exercises, substantially more than competing books.
• Practice problems with solutions are specifically chosen to focus on potential trouble spots and provide a warm-up to the exercises.
• The Instructor Resource Center contains the solutions to every exercise and programming project, a test item file, PowerPoint slides, and more for each chapter.
This revision of Schneider’s best-selling guide is designed for readers with no prior programming experience. It focuses on developing good problem-solving skills, building a strong foundation that will give readers a sustainable understanding of programming. KEY TOPICS: Based on Visual Basic 2008, the book starts with a brief review of the preliminaries of Windows, and then focuses on problem-solving. A broad range of real-world examples, section-ending exercises, case studies, and programming projects gives readers significant hands-on experience. MARKET: A useful reference for both beginning programmers and those moving from another language and that want to learn more about programming with the latest version of Microsoft’s Visual Basic.
Preface
Acknowledgments
The Companion Website for Students and Instructors
Using this Book for a Short or Condensed Course
Chapter 1 An Introduction to Computers and Problem Solving
1.1 An Introduction to Computers
1.2 Windows, Folders, and Files
1.3 Program Development Cycle
1.4 Programming Tools
Chapter 2 Visual Basic. Controls, and Events
2.1 An Introduction to Visual Basic 2008
2.2 VB 2008 Controls
2.3 VB 2008 Events
Summary
Chapter 3 Variables, Input, and Output
3.1 Numbers
3.2 Strings
3.3 Input and Output
Summary
Programming Projects
Chapter 4 Decisions
4.1 Relational and Logical Operators
4.2 If Blocks
4.3 Select Case Blocks
Summary
Programming Projects
Chapter 5 General Procedures
5.1 Sub Procedures, Part I
5.2 Sub Procedures, Part II
5.3 Function Procedures
5.4 Modular Design
5.5 A Case Study: Weekly Payroll
Summary
Programming Projects
Chapter 6 Repetition
6.1 Do Loops
6.2 Processing Lists of Data With Do Loops
6.3 For…Next Loops
6.4 A Case Study: Analyze A Loan
Summary
Programming Projects
Chapter 7 Arrays
7.1 Creating And Accessing Arrays
7.2 Using Arrays
7.3 Some Additional Types of Arrays
7.4 Sorting and Searching
7.5 Two dimensional Arrays
7.6 A Case Study: A Sophisticated Cash Register
Summary
Programming Projects
Chapter 8 Sequential Files
8.1 Sequential Files
8.2 Using Sequential Files
8.3 A Case Study: Recording Checks and Deposits
Summary
Programming Projects
Chapter 9 Additional Controls and Objects
9.1 List Boxes, Combo Boxes, and the File-Opening Control
9.2 Seven Elementary Controls
9.3 Four Additional Objects
9.4 Graphics
Summary
Programming Projects
Chapter 10 Database Management
10.1 An Introduction to Databases
10.2 Relational Databases and SQL
Summary
Programming Projects
Chapter 11 Object-Oriented Programming
11.1 Objects and Classes
11.2 Arrays of Objects; Events; Containment
11.3 Inheritance
Summary
Programming Projects
Appendices
Appendix A ANSI Values
Appendix B How To
Appendix C Converting from VB 6.0 to VB 2008
Appendix D Debugging Tools
Appendix E A Biographical History of Computing
Appendix F Folders and Files
Answers to Selected Odd-Numbered Exercises
Index