Skip to main content

A Quick Introduction to QBasic


QBasic is short for Quick Beginners All purpose Symbolic Instruction Code. QBasic is an IDE complier and interpreter for a variety of the BASIC programming language (such as GWBasic, Visual Basic, etc) which is based on QuickBASIC.

QBasic is a high level programming language that allows us use English-like words and mathematical symbols to create programs.

Features of QBasic: 

  1.  It is simple and easy to learn. It automatically checks synthax (in case of errors). 
  2. It has dynamic program debugging ability. 
  3. It supports local and global variables. 
  4. It automatically capitalizes the reserved keywords. 
  5. It interprets statements of a program one at a time to the CPU.
  6. It permits user to break lengthy programs into modules (that can be referenced or linked).

The IDE made its first appearance in 1991. It was founded by Tom Kurtz and John George Kemeny of Dartmouth college. And Microsoft is known to be the developer.

QBasic can run under nearly all versions of DOS and 32-bit versions of Windows, or through emulation via DOSBox or DOSEMU on Linux, FreeBSD, and 64-bit versions of Windows.

QBasic is a structured programming language, which means there is room for some constructs such as subroutines, while loops and even Line numbers. QBasic executes the program line by line by converting each line into machine code one after the other using its interpreter till gets to the last line of code.

In most Nigerian tertiary institutions such as FUPRE, QBasic is usually the first programming language students are exposed to. Students are quickly briefed with some operations that they can perform using the IDE such as solving mathematical problems, making decisions, etc through the use of line numbers, remarks, loops, arrays, subroutines, etc. It can be fun if you get the knack of it, or otherwise frustrating. In FUPRE, CSC 111 is the first computer course for students and entails basic computer science knowledge, algorithms and flowcharts, and QBASIC.

Surprisingly, QBasic can actually be used to easily develop systems modules that can later be integrated to the main system, to create games, businesses applications, graphics and databases, etc

Comments

Popular posts from this blog

How to Calculate Carryover GPA

Most students don’t really understand how carry-over is calculated and how it affects their GPA, that’s the motive behind writing this post. You cant really understand how carry-over is calculated without knowing how GPA is calculated, so am going to explain how GPA is calculated then relate it to how carry over is calculated as simply as I can. Basics First some basics GPA stands for Grade Point Average TCP stands for Total Credit Point TNU stands for Total Number of Unit GPA Explanation GPA is given by TCP divided by TNU GPA = TCP / TNU TNU Explanation Lets assume a student (Mr.Adam) registered 2 courses GSE 111 : 3 Units GSE 112 : 2 Units Right now Mr.Adam’s TNU = 5 So he just needs TCP to determine his GPA TCP Explanation Every grade has a value attached, for fupre A = 5 B = 4 C = 3 D = 4 F = 0 The grade Mr. Adam gets for each course will determine his CP for that course, CP is...

Fupre Anthem

1.     Federal University of Petroleum Resources Our Motto Excellence and Relevance is our Strength We Are First in Africa For the Oil and Gas Sector We Provide a World Class Education

FUPRE Mechanical Engineering Curriculum / Syllabus