Subroutine Subprograms

CS-185 Fall '97 Learning Objectives


Subroutine Subprograms

Be able to explain what is meant by the top-down and bottom-up approaches to developing algorithms and writing programs.

Be able to explain how the divide-and-conquer strategy can make programming easier.

Be able to use the top-down or bottom-up approaches to develop algorithms and create programs involving one or more functions or subroutines.

Be able to explain the difference between function and subroutine subprograms.

Be able to describe the situations in which subroutine subprograms would be preferred over function subprograms.

Know how to declare subroutine subprograms.

Know how to activate subroutines using call statements.

Be able to explain what happens when a return statement is executed from within a subroutine.

Be able to use external and intrinsic statements and know how to pass subprogram names as arguments to other subprograms.

Be able to explain the purpose of interface blocks.

Know how to create and use subprograms having optional arguments.


Send comments and suggestions about these objectives to: Charles S. Tritt, Ph.D.
This page last updated 11/11/97