Please enable JavaScript.
Coggle requires JavaScript to display documents.
2.1 Algorithm Design - Coggle Diagram
2.1 Algorithm Design
Data Types
Character
A single ASCII character such as A, b,3,! or space
-
-
Real
Number with a fractional part e.g. 1.527, -68.4, 20.0
-
-
Integar
Whole Numbers e.g. 156,0-54
-
-
Errors
-
Run-Time Errors
These are errors that are not detected until the program is running. The program executes successfully until a certain point , where it crashes
Logic
These are errors that do not cause the program to crash , but simply do not function as the code intended
-
-
-
Selection
A decision within a computer program when the program decides to move on based on the results of an event
The next statement to be executed depends on whether the condition being tested is 'True' or ''False'
-
-
-
-
-
-
Array Structure
An array is a data structure that allows you to hold several variables, all of the same type, with one name
Assigning
UserName<--["Bob",..."Jeff"]
-
Index positions
In Python, it starts with [0], pseudocode starts with [1]
-