Computer Science - Computer Fundamentals - Discussion

Discussion Forum : Computer Fundamentals - Section 1 (Q.No. 18)
18.
A program component that allows structuring of a program in an unusual way is known as
Correlation
Coroutine
Diagonalization
Quene
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
12 comments Page 1 of 2.

Navya said:   1 decade ago
An ideal subroutine is a mathematical function; it takes inputs and returns the results of its computation. It has a single entry point and all data local to it is initialized upon entry and cleaned up when it returns to the caller. The next call, if any, starts all over again and no local residues are carried over from the last invocation.

A coroutine, is an interesting deviation from these conventions. It can yield control back to the caller as soon as there are partial results that can be put to use. Moreover, when invoked again, it can resume the computation from where it left. These yield/resume semantics make coroutines a better unit of structuring programs for certain types of problems.

Jayashree said:   1 decade ago
Coroutines are computer program components that generalize subroutines to allow multiple entry points for suspending and resuming execution at certain locations. Coroutines are well-suited for implementing more familiar program components such as cooperative tasks, iterators, infinite lists and pipes.

Shewangizaw Bogale said:   9 years ago
A program component that allows structuring of a program in an usual way is known as Subroutine, it is an unusual way so its co-routine.

Co-routines are well-suited for implementing more familiar program components such as cooperative tasks, iterators, infinite lists and pipes.

Thanks All.
(3)

Dhara said:   1 decade ago
Coroutines are well-suited for implementing more familiar program components such as cooperative tasks, exceptions, event loop, iterators, infinite lists and pipes.

Sab said:   1 decade ago
A program component that allows structuring of a program in an usual way is known as Subroutine, it is unusual way so its co-routine.

Vimal said:   1 decade ago
What is this, beyond my limits, any intelligent girl can explain that question?

Piyush said:   1 decade ago
What is the main purpose of coroutines?

Divya said:   1 decade ago
Which language does have this property?

Gayatree said:   7 years ago
What is Quene? Please explain me.
(1)

Mohan said:   1 decade ago
What is meant by correlation?


Post your comments here:

Your comments will be displayed after verification.