Comp. Introduction to QBASIC - Ch 8 Flashcards
LET US SUMMARISE - PG 112 AND 113 (15 cards)
What does BASIC stand for
Beginner’s All-purpose Symbolic Instruction Code
What is an IDE
The screen of QBASIC is called an IDE (Integrated Development Environment) because the editing and creation of the program done at the same place.
(finish the sentence) Any file created in QBASIC is …
automatically given the extension .BAS.
What is an address
The location of the variable in the computer’s memory is known as its address
A string variable should always…
end with a $ sign
What are constants
they are values that cannot be changed during program execution
(NO)They are the data values used in a QBASIC program. Constants cannot be changed and remain the same during the entire program execution
What are the two types of constants (no)
There are numeric constants and string constants. Numeric constants can be positive, negative and can even have decimal points. One can carry out mathematical operations.
String constants are also known as alphanumerical constants
What is a variable
It is a name which refers to a piece of data stored in the computer’s memory.
What are logical operators
they are used to combine two or more relational exprresiions which then can be evaluated to return a single value which will be either True or False
What is a relational operator
used to compare two values
What is a statement
A single command in QBASIC is known as a statement
What is an expression
A combination of operators, constants and variables
Thr print statement is used to
display the output on the screen
To print a string ___________________
To print a number _________________________
always enclose it in double quotes
simply write the number after the PRINT atatement withot quotaion marks