Font size
WorksheetsQBASIC Programming
Total questions: 10
Worksheet time: 26mins
When QBASIC developed by Microsoft Corporation, USA?
In 1975 AD
In 1965 AD
In 1955 AD
In 1945 AD
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
What is the extension of the QBASIC file?
.BAX
.BAS
.EXE
.DOC
Which is suitable to store double-precision Numeric Variables?
X%
X&
X!
X#
Which is valid for the string variable?
K2
K2$
2K$
K 2$
Choose the correct QBASIC Expression of the above algebraic expression.
A=(S*(S-a)*(S-b)*(S-c))^1/2
A=(S*(S-a)*(S-b)*(S-c)^1/2
A=(S*(S-a)*(S-b)*(S-c)^1/2)
A=S*(S-a)*(S-b)*(S-c)^1/2
Which is used to remove the space of the given string from the left side?
LEFTTRIM$
LTRIM$
LEFT$
NONE
What will be the output of the SGN numeric function?
0 or 1
-0 or 1 or +1
+1 or -1 or 0
1 or -1 or 0
Write the output of the given program
CLS
N$ ="NEPAL"
C=1: T= 5
FOR I = LEN(N$) to 1 STEP -2
PRINT TAB(T);MID$(N$, C, I)
C=C+1:T=T+1
NEXT I
END
P
EPA
NEPAL
PAL
EPAL
NEPAL
NEPAL
EPA
P
NEPAL
NEPA
NEP
Write out of the given program (a)
CLS
A#=123456789
WHILE A#<>0
R=A# MOD 10
P=P+R
A# = INT(A#/10)
WEND
PRINT P
END
