4. Identify programming organizational techniques and logic concepts Flashcards
Loop
In scripting and programming, control statement that executes code repeatedly based on a condition.
While Loops
Next, let’s look at “while” loops, which keep running as long as a certain condition is met.
For Loops
First, let’s talk about “for” loops, which run a specific number of times.
Branching
In scripting and programming, control statement that uses a condition to determine which code block to execute next.
Sequence
SEQUENCE represents tasks that happen in a specific order, one after the other
Flow chart
A diagram that shows the relationships of various elements in a system or process.
Oval
The start or end of a program.
Parallelogram:
Input or output.
Diamond
Decisions answered with a Yes or a No.
Rectangle
Processes.
Arrow
The logical flow of the program.
Object-Oriented Programming
Technique for creating robust code by defining classes of “things” in the code. The objects have attributes, methods, and properties. Code outside the object can only interface with it through its public methods and properties.
WHile
WHILE is a loop, or repeated section of code, with a condition at its beginning.
Repeat-Until
REPEAT-UNTIL is a loop with a condition at its ending.
For
FOR is a different way to loop a section of code