Intro to Python - Designing a Program 2.1.

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

Processing

Used for arithmetic and data-manipulation operation. The instructions are listed inside the symbol

Argument

Data given to a function

print Function

Displays output on the screen

Flowchart

Graphically depicts the logical steps to carry out a task and shows how the steps relate to each other. A diagram that graphically depicts the steps in a program.

Comments

Notes of explanation within a program

Function

Piece of prewritten code that performs an operation

Algorithm

Set of well-defined logical steps that must be taken to perform a task

Order statements execute...

Top to bottom (in the order they appear)

Decision

Used for any logic or comparison operations. Unlike the input/output and processing symbols, which have one entry and one exit flowline, the decision symbol has one entry and two exit paths. The path chosen depends on whether the answer to a question is "yes" or "no"

Input/Output

Used for input and output operations, such as reading and displaying. The data to be read or displayed are described inside.

Connector

Used to join different flowlines

Annotation

Used to provide additional information about another flowchart symbol

Terminal

Used to represent the beginning (Start) or the end (End) of a task

Pseudocode

Uses English-like phrases with some visual basic terms to outline the program. Fake code

Flowline

used to connect symbols and indicate the flow of logic


Ensembles d'études connexes

Ch. 64 - Care of Patients with Diabetes Mellitus

View Set

Pharm: Reproductive and Genitourinary System ATI

View Set

MH TEST 2: CH 8,9,11,13,14,17,22

View Set

Objective 5&6: Statement of retained earnings and closing entries for a corporation and shareholders' section of the balance sheet and calculate return on equity..

View Set

Government Budget and Fiscal Policy

View Set