IT 311 Study Guide - Subroutine, Modular Programming, Structured Programming

9 views7 pages

Document Summary

Modular programming: a software design technique that emphasizes separating the functionality of a program into reusable, independent modules. This concept is related to structured and object-oriented programming. All have the same end goal of deconstructing a comprehensive program into smaller pieces. Structured programming: enforces consistent structures (sequential, conditional, and repetition/iteration), requiring them to have a single entry and a single exit. Object-oriented programming: entails the use of classes, a template for object instantiation. An object is a user-created data type that carries its own attributes called fields, and behaviors called methods. A subroutine, function, or method: a sequence of instructions designed to complete a given task. Subroutines: helps in the decomposition of complicated, multi-step tasks facilitate the related concepts of re-usability and maintainability. A subroutine: may receive arguments upon invocation and return values upon termination, may call other subroutines, or itself recursively, has a side-effect when it modifies external data beyond its scope.

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers

Related Documents

Related Questions