NEW
Font size
WorksheetsQBASIC
Total questions: 32
Worksheet time: 16mins
Identify which out of the following is not a valid QBASIC Statement
END
INPUT
SET
The QBASIC Statement for accepting the values from the user:-
LET
REM
INPUT
Which out of the following is a valid variable to hold the text in QBASIC.
LET
$S
S$
SS
Statement in QBASIC to clear the output screen
CLS
CLEAR
CLEAR SCREEN
CLRSCR
Which of these do you use to finish a program?
QUIT
END
STOP
ENDPRGRM
A data value that does not change during the execution of a program is _____.
Variable
Constant
Character
The statement used to display the output on the screen is _______.
INPUT
LET
In PRINT command, the message is closed in ______.
Double Quotes
Semicolons
Single Quotes
QBASIC screen is also called QBASIC Editor.
True
False
QBASIC Programs automatically check syntax.
True
False
F3 key is pressed to execute or run the program to get the result.
True
False
QBASIC works with ---------- and --------- data.
Numeric and non- numeric
Numeric and discrete
Discrete and non discrete
'#' (hash) is a ---------- character.
Special
Alphabet
Number
Suraj wants to add two numbers using QBASIC. Suggest him the operator needed for this purpose.
*
>=
%
+
The computer ignores the _____statement when you run the program.
Clear Screen
Remark
what will be the output:
PRINT "24 + 5 - 9"
24+5
20
24+5-9
What is the full form of QBASIC?
Quick Beginner All-Purpose Symbolic Instructed Code
Quick Beginner Purpose Symbolic Instruction Code
Quick Beginner All-Purpose Symbol Instruction Code
Quick Beginner All-Purpose Symbolic Instruction Code
an example of a string constant is
"123"
-7
4rs
5/6
QBasic is a a ___________language.
First
system
complier
programming
What will the following code produce?
PRINT "Hi"
A paper printed with "Hi"
A screen showing "Hi"
Which of the following arithmetic operator is not valid ?
+
-
*
x
A computer program is simply
An exercise of the brain
A set of instructions to tell a computer how to perform a particular task
Pairs of computer system
None of the above
Look at the variable name and decide if its a string variable or a numeric variable.
Var$
String Variable
Numeric Variable
QBASIC is ___________ language.
high level programming
low level programming
assembly
machine
What will be the output for the following statement
print "8 + 9"
17
8
8 + 9
9
Which of the following symbol is used to create string variable
+
$
*
@
What is the output for the following program
15
5
x
y
Find the output for the following program, consider the user enters the input value 5.
b
25
5
error
Identify the logical operator
+
>=
<=
AND
Which key is used to run QBASIC program
F2
F5
F1
R
Identify the variable in the following statement
LET name$ = "Raana"
LET
Raana
name
$
