Academic English for Computer Science by Noni Rizopoulou
Author:Noni Rizopoulou
Language: eng
Format: epub
Tags: eCult Hub
Publisher: Disigma
Published: 0101-01-01T00:00:00+00:00
The three constructs
Computer scientists have concluded that any program can be constructed from a combination of only three processes. These processes are the essential building blocks through which a program or an algorithm can be analyzed, debugged, or modified.
Figure 6.2 Three constructs of an algorithm
The first construct is called the sequence. The step-by-step execution of instructions lies at the heart of algorithmic thinking. This does not mean, however, that the steps involved in the process are always executed in a first-step, second-step fashion. Parallel algorithms can contain more than one sequence of steps, and the overall algorithm can comprise multiple threads of steps. These threads branch and reconnect at different processors in a multi-processor machine as they perform different parts of the overarching task.
The second construct is called the decision (selection) construct. Some problems cannot be solved with only a sequence of instructions. Decision will be reached after the testing of some required condition. If the result of the testing is true, you may proceed with the designated ordered set. If the result is false, you have to opt for a different sequence of instructions.
The third construct deals with the fact that, for some problems, the same sequence of instructions must be repeated. This characteristic of algorithmic systems leads to the repetition construct.
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Cecilia; Or, Memoirs of an Heiress — Volume 1 by Fanny Burney(31348)
Cecilia; Or, Memoirs of an Heiress — Volume 3 by Fanny Burney(30947)
Cecilia; Or, Memoirs of an Heiress — Volume 2 by Fanny Burney(30906)
The Lost Art of Listening by Michael P. Nichols(6481)
We Need to Talk by Celeste Headlee(4879)
Asking the Right Questions: A Guide to Critical Thinking by M. Neil Browne & Stuart M. Keeley(4597)
On Writing A Memoir of the Craft by Stephen King(4221)
Dialogue by Robert McKee(3591)
I Have Something to Say: Mastering the Art of Public Speaking in an Age of Disconnection by John Bowe(3520)
Pre-Suasion: A Revolutionary Way to Influence and Persuade by Robert Cialdini(3421)
Elements of Style 2017 by Richard De A'Morelli(2945)
The Book of Human Emotions by Tiffany Watt Smith(2777)
Good Humor, Bad Taste: A Sociology of the Joke by Kuipers Giselinde(2558)
Name Book, The: Over 10,000 Names--Their Meanings, Origins, and Spiritual Significance by Astoria Dorothy(2495)
Fluent Forever: How to Learn Any Language Fast and Never Forget It by Gabriel Wyner(2449)
The Grammaring Guide to English Grammar with Exercises by Péter Simon(2397)
Why I Write by George Orwell(2362)
The Art Of Deception by Kevin Mitnick(2301)
Don't Sleep, There Are Snakes by Daniel L. Everett(2220)