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

Discussion

A program component that allows structuring of a program in an unusual way is known as

  • A.Correlation
  • B.Coroutine
  • C.Diagonalization
  • D.Quene
  • E.None of the above

Answer: B

Correct answer: Coroutine

Ordinary procedures follow a strict call-and-return discipline. A coroutine instead suspends itself and hands control to another coroutine, later resuming exactly where it left off with its state intact, so two routines can advance in step - a structure that does not fit the usual hierarchy of calls.

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

Post your comment

Please log in or register to post a comment.