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

Discussion

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

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

Answer: C

Correct answer: string constant

"***" is a fixed sequence of characters written into the program, so it is a string constant. NAMEINR, which is compared against it, is the string variable.

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

Post your comment

Please log in or register to post a comment.