What is a subroutine What is a processor stack What is a b

What is a subroutine?

• What is a processor stack?

• What is a bubble sort?

Solution

subroutine :we use subroutines in a computer program by using the sequence of program instructions wich performs a specific task, packaged as a single unit. whenever we want to do the task,we have to execute the subroutine required by it.

bubble sort: sorting in general means arranging the numbers in order.arrangement can be ascending or descending.It is done by comparing the number under consideration with the next element.If valid,then exchanges elements,otherwise compares the next numbe.it works in passes and each pass number goes on getting sorted.

processor stack:it is a type of CPU register whose purpose is to keep track of a call stack

What is a subroutine? • What is a processor stack? • What is a bubble sort?Solutionsubroutine :we use subroutines in a computer program by using the sequence of

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site