Comp. Introduction to QBASIC - Ch 8 Flashcards

LET US SUMMARISE - PG 112 AND 113 (15 cards)

1
Q

What does BASIC stand for

A

Beginner’s All-purpose Symbolic Instruction Code

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is an IDE

A

The screen of QBASIC is called an IDE (Integrated Development Environment) because the editing and creation of the program done at the same place.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

(finish the sentence) Any file created in QBASIC is …

A

automatically given the extension .BAS.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is an address

A

The location of the variable in the computer’s memory is known as its address

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

A string variable should always…

A

end with a $ sign

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are constants

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are the two types of constants (no)

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is a variable

A

It is a name which refers to a piece of data stored in the computer’s memory.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are logical operators

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is a relational operator

A

used to compare two values

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is a statement

A

A single command in QBASIC is known as a statement

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is an expression

A

A combination of operators, constants and variables

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Thr print statement is used to

A

display the output on the screen

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

To print a string ___________________
To print a number _________________________

A

always enclose it in double quotes
simply write the number after the PRINT atatement withot quotaion marks

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly