Please enable JavaScript.
Coggle requires JavaScript to display documents.
Chapter 15 (15.12 Correcting errors and program documentation (Debugging…
Chapter 15
15.12 Correcting errors and program documentation
Debugging tools
Stubs
Flags
Debugging output statements
Program documentation
Using comments in program code
Variable naming methods
External documentation
15.5 Functions
Functions that round numbers
Input functions
Output functions
Mathematical functions
String-handling functions
Other functions
Constants
15.2 Basic programming ideas
Natural languages
Complex machine means complex programs
The big picture: Inputs, processing and outputs
Inputs
Processing
Outputs
Which language is best?
What does a program look like in different languages?
Parts of a program
Control structures
Structured programming
Sequence
Selection
Repetition
Multi-way branching
Binary selection
Pre-test loop
Post-test loop
FOR...NEXT loops
Variables
Declaring variables
Initial variables
15.3 Data Types
Characters
Strings
Integers
Real numbers
Boolean
Data and time
15.4 Operators and assignment statements
Operators
Arithmetic
Relational
Logical
Concatenation
Assignments statements
Example 1: Assigning specific value to a variable
Example 2: Incrementing a variable
Example 3: Subtraction
Example 4: Multiple calculations
15.1 What does a computer program look like?
Flowcharts
Pseudocode
15.6 Algorithms
Describing a problem
Flowcharts
15.11 Testing program code and detecting errors
Unit testing
Error detection
Syntax errors
Syntax errors
Run-time errors