QBASIC with an Introduction to Visual Basic for Engineering, Mathematics, and the Sciences

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

This Second Edition brings an entirely new dimension to the basic programming course--by introducing students to the use of objects and to event-driven programming in Visual Basic. Designed for use with the IBM-PC and its compatibles, the text presents the fundamentals of computer programming, such as input, decision structures, and loop structures--with a numeric orientation.

Author(s): David I. Schneider
Edition: 2 ed.
Publisher: Macmillan Coll Div
Year: 1994

Language: English
Pages: 672

Cover
Contents
Preface
Acknowledgements
1 An Introduction to Computers and QBasic
1.1 An Introduction to Computers
1.2 Getting Started
1.3 Using Diskettes and DOS
1.4 Biographical History of Computing
2 Problem Solving
2.1 Program Development Cycle
2.2 Programming Tools
3 Fundamentals of Programming in QBasic
3.1 Numbers
3.2 Strings
3.3 Data Input
3.4 Built-In Functions
3.5 Screen Placement and Formatting
Summary
Programming Projects
4 Decisions
4.1 Relational and Logical Operators
4.2 IF Blocks
4.3 SELECT CASE Blocks
Summary
Programming Projects
5 Repetition
5.1 DO Loops
5.2 Processing Lists of Data with DO Loops
5.3 FOR...NEXT Loops
Summary
Programming Projects
6 Procedures
6.1 Subprograms, Part I
6.2 Subprograms, Part II
6.3 Functions
6.4 Modular Design
6.5 A Case Study: Numerical Integration
Summary
Programming Projects
7 Arrays
7.1 Creating and Accessing Arrays
7.2 Using Arrays
7.3 Sorting and Searching
7.4 Two-Dimensional Arrays
7.5 A Case Study: Calculating with a Spreadsheet
Summary
Programming Projects
8 Sequential Files
8.1 Sequential Files
8.2 Using Sequential Files
8.3 A Case Study: Creating a Receipt
Appendix: Displaying the Contents of a File
Summary
Programming Projects
9 Random-Access Files
9.1 Data Types
9.2 Random-Access Files
Summary
Programming Projects
10 Graphics
10.1 Introduction to Graphics
10.2 Specifying a Coordinate System
10.3 Drawing Graphs of Functions
Summary
Programming Projects
11 Random Numbers
11.1 Generating Random Numbers
11.2 Games of Chance
11.3 Monte Carlo Methods
Summary
Programming Projects
12 Visual Basic
12.1 An Introduction to Visual Basic
12.2 Visual Basic Objects
12.3 Visual Basic Events
12.4 Converting QBasic Programs to Visual Basic
12.5 A Case Study: Recording Checks and Deposits
Summary
Programming Projects
Appendixes
Appendix A. ASCII Values
Appendix B. Using a Mouse
Appendix C. QBasic Statements, Functions, Operators, and Metacommands
Appendix D. QBasic Debugging Tools
Appendix E. A Summary of QBasic Editing Commands
Appendix F. The QBasic Environment
Appendix G. HOW TO (QBasic)
Appendix H. An Introduction to Windows
Appendix I. HOW TO (Visual Basic)
Appendix J. Visual Basic Statements, Functions, Methods, Properties, Data Types, and Operators
Answers to Selected Odd-Numbered Exercises
Index
Index of Selected Engineering,Mathematics, and Science Applications