Alterna · учебный материал

Algorithms and basic designs

Chapter 31: The properties of algorithms, the ways of writing, the following, the branching, the repetition, the manual trace and the debugging.

Что в этом материале

Содержание и основные понятия

♪ Back to the map of themes
Alterna chapter 31
Algorithms and basic designs
Learn how to read the path of the solution, watch the execution, find the error, and collect your own algorithm.
Programming starts before programming language. Here we work with three basic designs:
follow-up action taken
,
by branch
and
by repetition
The introduction, withdrawal, operation, condition, beginning and end are the elements of the block diagram from which these structures are built.
substance and practice
Class 8 - Base
EEG framework / EEG
ALT
Alt passes the block diagram.
Press Next Step: The performer illuminates the current block and stores the value
x
.
MITRORTRESS
Step 0 / 11
Start
↓
x = 1
↓
x < 4?
↓
x = x + 1
↺
print(x)
↓
End
Memories
x = —
ACTIVE BLOCK
Waiting for launch
Alt is ready to start the algorithm.
01
Three structures
Following
Commands are executed from the top down in the same order.
The branch
The condition selects exactly one of the signed branches.
Repeat
The condition returns the flow to the body of the cycle or releases it for continuation.
02
Headway
31.1 Understand
Schematic blocks
Three designs, symbols and rules for the chart reading.
31.2. see
Shortway
One example: active team, memory, and output.
31.3 Try
Designer
Gather and check the diagram.
31.4 Application
Workshop
Application diagrams and programs with immediate review.
31.5. Confirm
Skills testing
It's a replicable version and a skill diagnostic.
Free
block-scheme studio
retained as an additional site for its own project.
03
Border of Chapter
What happens next?
Chapter 31 teaches general design and manual analysis.
Chapter 32
; language programmes and sequence processing, in the next chapters of programming.

Structural map of textbooks