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

Discussion

In high level programming language BASIC, statements written with GOTO and IF commands are considered as

  • A.loop
  • B.case
  • C.format
  • D.condition

Answer: A

Correct answer: loop

IF combined with GOTO sends control back to an earlier line when a condition holds, which is a loop built by hand - the way repetition was written before FOR and WHILE were available. The condition is the part that decides when to stop; the construction as a whole is the loop.

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

Post your comment

Please log in or register to post a comment.