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

Discussion

In line '200 IF NAMEINR ="***" THEN Average= Total Mark/N' of BASIC program, NAMEINR is classified as

  • A.rational string
  • B.string variable
  • C.string constant
  • D.irrational string

Answer: B

Correct answer: string variable

NAMEINR holds whatever name has been read, so its value changes as the program runs. That makes it a string variable, as against the fixed "***" it is compared with.

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

Post your comment

Please log in or register to post a comment.