Programming in Basic

Basic Programming Notes:

  • What is computer programming?
  • The IPO Model of Computers
  • Using QBasic
  • Coding Standards (How you should set up your QBasic programs)
  • The REM Statement
  • Planning Your Program
  • Flow Charts
  • Pseudocode
  • Program Planning Sheets
  • Program Planning Sheet (MS Word)
  • Program Planning Sheet (RTF - works in WordPerfect and WordPad)
  • Program Planning Sheet (HTML)
  • Screen Output Design Sheet (HTML)
  • Screen Output Design Sheet (rotated) (HTML)
  • Screen Output Design Sheet (MS Word)
  • Screen Output Design Grid
  • Types of Errors (logic errors and syntax errors)
  • OUTPUT in QBASIC
  • The PRINT statement (displaying information on the screen)
  • Simple Screen Manipulation
  • Clearing the screen
  • Using the TAB( ) feature of the PRINT command
  • How to center text on the screen using the TAB statement.
  • The LOCATE command
  • PRINT USING command
  • Advanced Screen Formatting (colors and screen modes)
  • The WIDTH command
  • Graphics in QBasic
  • Drawing LINES and CIRCLES on the Screen
  • Drawing solid shapes with the PAINT command
  • QBasic Screen "9" GRID (MS Word)
  • Advanced Graphics
  • Drawing a "Bitmap" on the Screen
  • Loading  Graphic from a File
  • Sounds in QBasic
  • BEEP
  • SOUND
  • PLAY
  • Outputting information to a FILE
  • String Manipulation
  • INPUT in QBASIC
  • The INPUT statement (Interactive Data Entry)
  • INKEY$
  • Inputting information from a FILE
  • PROCESSING in QBASIC
  • Variables
  • Data Types (numeric, characters, ...)
  • Literals
  • naming conventions
  • ARRAYs
  • Math and Logic operations
  • Decision Statements
  • The IF statement (simple)
  • The IF statement (advanced)
  • Loops (simple and complex)
  • WHILE loops
  • FOR - NEXT loops
  • DO UNTIL loops and LOOP ... UNTIL loops
  • Using Loops to do work
  • Accumulators and Counters
  • Algorithm for finding the average value of a bunch of numbers
  • Algorithm for finding the minimum value of a bunch of numbers
  • Algorithm for finding the maximum value of a bunch of numbers
  • The DATA and READ statements
  • Nested Loops in QBasic
  • Accumulators and Counters
  • Random Numbers
  • Making the computer wait - the SLEEP command
  • Advanced PROCESSING in QBASIC
  • Variables
  • converting between strings and numbers
  • Counters vs. Accumulators
  • ARRAYs in QBASIC
  • Counters vs. Accumulators
  • Manipulating Files in QBasic
  • Sending information to a file (PRINT to a File)
  • Getting information from a file (INPUT from a File)
  • Using the DATE and TIME functions
  • Subroutines and Functions
  • What is a Subroutine
  • What is a Function
  • How to use Subroutines/Functions
  • How to make your own Subroutines/Functions
  • Built-in QBasic functions
  • Data Structures
  • Errors (bugs: logic vs. syntax)
  • Extra Information (QBasic Web Sites):

     

    Extra Information (QBasic Web Sites):