Qbasic Tutorial for beginners and Children

This Qbasic tutorial is under construction
Project started January 13 2002

This tutorial is meant for beginners. My focus is to help beginners and children to get started at BASIC programming using the QBASIC interface.

You could practice this tutorial using the following alternative BASIC environments

  • Quick Basic 4.5
  • Visual Basic for DOS (VBDOS)

They are almost 100% compatible with Qbasic.

Table Of Contents

Chapter 1 Introduction to Basic

Chapter 2 Using the computer Memory

Chapter 3 Writing data to the screen

Chapter 4 Solving mathematical problems

Chapter 5 Enhancing program presentation

Chapter 6 Getting user input at run-time

Chapter 7 Making decisions

Chapter 8 Creating loops

Chapter 9 Using colours

Chapter 10 The Locate statement

Chapter 11 Using procedures

Chapter 12 Using Functions

Chapter 13 Generating random numbers

Chapter 14 Working with files

Chapter 15 Putting graphics in your program

Chapter 16 Playing Music & Sounds

Chapter 17 Writing a math program

Chapter 18 Writing a guess game

Chapter 19 Writing a hangman game

Chapter 20 Writing a simple drawing program

 

Chapter 1: Introduction to BASIC

Chapter 2: Using the computer memory

Chapter 3: Writing data to the screen

  • The PRINT statement: Writing data to the screen

  • Printing characters, texts

  • Printing numbers

  • Printing the contents of memory variables

Chapter 4: Solving mathematical problems

  • Solving Mathematics Problems

  • Using algorithms

  • Program 1: Finding the sum of 2 numbers

  • Program 2: Finding the product of 2 numbers

  • Program 3: Finding the area of a rectangle

  • Program 4: Finding the area of a triangle

  • Program 5: Finding the area of a trapezium

Chapter 5: Enhancing program presentation

  • More about the PRINT statement

    • Using the semi-colon and comma sign

  • Putting remarks in your program

    • The REM statement

     

Chapter 6: Getting user input at run-time

  • The INPUT statement

  • The INKEY$ function 

Chapter 7: Making decisions

 

Chapter 8: Creating loops

 

Chapter 9: Using colours

 

Chapter 10: The Locate statement

 

Chapter 11: Using procedures

 

Chapter 12: Writing a math program

 

Chapter 13: Putting graphics in your program

 

Chapter 14: Writing a simple drawing program

 

Chapter 15

 

Chapter 16

 

Chapter 17

 

Chapter 18

 

Chapter 19

 

Chapter 20

 

Chapter 21

 

Chapter 22

 

 

[ Previous Next ]

 


pages viewed since January  19 2002