Machine-translated by Google. Questions are authored in English.
Top

Discussion

Statement "130 num(subs) = 2*subs-1" is an example of

  • A.array in BASIC
  • B.array in PASCAL
  • C.array in COMAL
  • D.array in COBOL

Answer: A

Correct answer: array in BASIC

The line number at the start and the parenthesised subscript num(subs) are BASIC's notation. Pascal and COMAL use square brackets and no line numbers.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.