Languages & Directories

Which statement is avoided in structured programming?

  • (a) FOR NEXT
  • (b) Subroutines
  • (c) GOTO
  • (d) Subprograms
Check Answer
  • (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
Check Answer
  • (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
Check Answer
  • (c) Sub-programs

We can get the absolute value of any number by using:

  • (a) TAN
  • (b) LOG
  • (c) ABS
  • (d) COS
Check Answer
  • (c) ABS

PRINT FIX (-200.77) would be:

  • (a) -200
  • (b) 200
  • (c) -200.77
  • (d)200.77
Check Answer
  • (a) -200

PRINT SQR (4) would be:

  • (a) 4
  • (b) 2
  • (c) -2
  • (d) 16
Check Answer
  • (b) 2

LET A $=”COMPUTER” PRINT LEFT $(A ,s,7) would (7) would:

  • (a) COMPUTE
  • (b) COMPUTER
  • (c) OMPUTER
  • (d) ETUPMOC
Check Answer
  • (a) COMPUTE

PRINT CHR $ (65) would be:

  • (a) A
  • (b) C
  • (c) B
  • (d) D
Check Answer
  • (a) A

FIX function is:

  • (a) To get the absolute value
  • (b) Square root
  • (c) Logarithm
  • (d) Removing decimal value
Check Answer
  • (d) Removing decimal value

The special files of DOS are:

  • (a) .com
  • (b) .exe
  • (c) .bat
  • (d) All of these
Check Answer
  • (d) All of these

You cannot copy content of this page

Scroll to Top