Intro to algorithms

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

arrows

a _____ Is a connector that shows relationships between the representative shapes

diamond

a ______ indicates a decision

Pseudocode (pronounced SOO-doh-kohd)

a detailed yet readable description of what a computer program or algorithm must do, expressed in a formally-styled natural language rather than in a programming language. ______is sometimes used as a detailed step in the process of developing a program. ________ is a simple way of writing programming code in English. ______ is not actual programming language. It uses short phrases to write code for programs before you actually create it in a specific language.

Flowchart

a diagram of the sequence of movements or actions of people or things involved in a complex system or activity. ○ a graphical representation of a computer program in relation to its sequence of functions (as distinct from the data it processes) A Graphical representation of an Algorithm

oval

an ______ Represents the start/endpoint

Parrallelogram

a ____ represents input or output

rectangle

A _____ represents a process

specific

A step must NOT be replaced by a similar step.

Algorithm

An _____ is a series of specific steps which solve a particular problem.

solve

An algorithm produces a final result (aka output) which is the solution to a problem.

steps

Like a cooking recipe, an algorithm tells you to do things. Each thing you do is called a step (aka instruction, aka command)

Particular Problems

The algorithm for one problem will not usually solve a different problem. The details defining the problem must be made available at the start of the algorithm. These details are called givens. (aka parameters).

series

The steps must be done in a particular order and each of the steps must be used (unless the algorithm says otherwise).


Ensembles d'études connexes

Module 2: Balancing Risk and Return

View Set

Trigonometric Double Angle Identities Quiz

View Set

ICDC + SCDC Test Prep (Questions)

View Set

Lecture 2- Constrained Optimisation

View Set

Defintions under USA. What is a security,

View Set

Unit 22 - Taxation fo Health Insurance

View Set