QB64 - Programming Statements Class VI
QB64 - Programming Statements Class VI
A.
1. False
2. False
3. True
4. False
5. True
B.
1. N=7
2. PRINT 4-2
3. PRINT 20/5
4. PRINT “Good” + “Morning”
C.
1. CLS
INPUT “ENTER NUMBER”, N1
INPUT “ENTER NUMBER”, N2
N3 = N1 + N2
PRINT “THE SUM IS”, N3
D.
1. Every programming language has three types of programming
statements. They are:
Sequential, Conditional, Iterations or Loops.
For example,
A=7
B=8
Print A>B ‘this will give false as A is not greater than B. Here, > is a
relational operator.