Introduction to QBASIC Programming
Introduction to QBASIC Programming
Course Description: This course is designed to introduce students to the QBASIC programming
language. Students will learn the syntax, basic programming structures, and techniques for
developing interactive programs. The course emphasizes problem-solving, logical thinking, and
developing a solid foundation for future programming endeavors.
Course Format:
Lectures
Hands-on coding exercises
Quizzes and assignments
Final project
Objectives:
Topics:
Assignment:
Write a simple QBASIC program that outputs "Hello, World!" to the screen.
Objectives:
Topics:
Assignment:
Create a QBASIC program that declares variables of different types and outputs their
values.
Objectives:
Topics:
Assignment:
Write a program that asks for the user's name and age and displays a personalized
message using the INPUT and PRINT statements.
Objectives:
Topics:
Assignment:
Write a program that calculates the area of a rectangle based on user input (length and
width).
Objectives:
Topics:
Assignment:
Write a program that asks for a user's age and outputs whether they are a child, teenager,
or adult based on their age.
Objectives:
Topics:
Assignment:
Write a program that calculates the sum of all even numbers between 1 and 100 using a
FOR loop.
Objectives:
Topics:
Assignment:
Objectives:
Topics:
Assignment:
Write a program that stores 10 student names in an array and displays them one by one.
Objectives:
Learn how to read from and write to files in QBASIC
Topics:
Opening, reading, and writing text files using OPEN, INPUT, OUTPUT, and WRITE
Appending data to files
Closing files using CLOSE
Handling file errors and checking for file existence
Assignment:
Write a program that stores user input in a text file and allows the user to view the
contents of the file.
Objectives:
Topics:
Final Project:
Assignment:
Submit the final project along with a brief explanation of how the program works and the
problem it solves.
Grading Breakdown:
Recommended Resources: