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

Discussion

In line "400 INPUT NUM: PRINT 5.6*NUM+10" of a BASIC program, 'NUM is

  • A.constant
  • B.variable
  • C.exponent
  • D.real identifier

Answer: B

Correct answer: variable

NUM receives whatever the INPUT statement reads, so its value changes from one run to the next. That is what makes it a variable; the numbers 5.6 and 10 written into the same line are the constants.

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

Post your comment

Please log in or register to post a comment.