Which statement is avoided in structured programming?
- (a) FOR NEXT
- (b) Subroutines
- (c) GOTO
- (d) Subprograms
- (c) GOTO
Which statements are true for avoiding?
- GOTO statement in structured programming?
- (a) It only works in BASIC
- (b) Modern languages doesn’t read it
- (c) It is only used in compilers
- (d) Both b and c
- (d) Both b and c
The solution to simplify the long and complex program is:
- (a) GOTO statement.
- (b) Spaghetti code
- (c) Sub-programs
- (d) Unstructured
- (c) Sub-programs
We can get the absolute value of any number by using:
- (a) TAN
- (b) LOG
- (c) ABS
- (d) COS
- (c) ABS
PRINT FIX (-200.77) would be:
- (a) -200
- (b) 200
- (c) -200.77
- (d)200.77
- (a) -200
PRINT SQR (4) would be:
- (a) 4
- (b) 2
- (c) -2
- (d) 16
- (b) 2
LET A $=”COMPUTER” PRINT LEFT $(A ,s,7) would (7) would:
- (a) COMPUTE
- (b) COMPUTER
- (c) OMPUTER
- (d) ETUPMOC
- (a) COMPUTE
PRINT CHR $ (65) would be:
- (a) A
- (b) C
- (c) B
- (d) D
- (a) A
FIX function is:
- (a) To get the absolute value
- (b) Square root
- (c) Logarithm
- (d) Removing decimal value
- (d) Removing decimal value
The special files of DOS are:
- (a) .com
- (b) .exe
- (c) .bat
- (d) All of these
- (d) All of these