Chapter
Acknowledgements
From ComputerScienceOne by Dr Chris Bourke
Concepts
Sub-chapters
- Documentation, Comments, and Coding Style
- Examples
- Error Handling
- Error Handling Strategies
- Basic Operations
- Avoiding Recursion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
- Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
- Sorting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
- Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
- While Loops . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
- Other Issues . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
- Pointers
- Multidimensional Arrays . . . . . . . . . . . . . . . . . . . . . . . . . . .
- String Library . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
- Comparisons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
- Tokenizing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
- Defining Structures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
- Searching & Sorting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
- Other Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
- Logical Operators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
- Do-While Loops . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
- Defining Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
- Exceptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
- Dynamic Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
- Multidimensional Arrays . . . . . . . . . . . . . . . . . . . . . . . . . . .
- Tokenizing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
- Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
- Constructors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
- Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
- Searching & Sorting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
- Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
- Examples
- Do-While Loops . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
- Throwing Exceptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
- Indexing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
- Iteration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
- Removing Elements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
- Multidimensional Arrays . . . . . . . . . . . . . . . . . . . . . . . . . . .
- Tokenizing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
- Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
- Constructors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
- Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
- Temperature Conversion Program
- An if-else Statement
- A simple receipt program
- Computing Tax Credit with If-Else-If . . . . . . . . . . . . . . . . . . . . .
- Nested For Loops . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
- Computing the Geometric Series Using a While Loop . . . . . . . . . . . .
- Scaling a Value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
- Linear Search . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
- Selection Sort . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
- A simple program in C, resulting machine code formatted in hexadecimal
- Tax Program in C . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
- For Loop in C . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
- Summation of Numbers using a For Loop in C . . . . . . . . . . . . . . .
- C Search Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
- Handling Null Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
- Quadratic Roots Program in Java . . . . . . . . . . . . . . . . . . . . . .
- While Loop in Java . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
- Normalizing a Number with a While Loop in Java . . . . . . . . . . . . .
- Nested For Loops in Java . . . . . . . . . . . . . . . . . . . . . . . . . . .
- Handling Null Values in Java Comparators . . . . . . . . . . . . . . . . .
- Tax Program in PHP . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
- Flag-controlled While Loop in PHP . . . . . . . . . . . . . . . . . . . . .
- Summation of Numbers using a For Loop in PHP
- Processing a file line-by-line in PHP . . . . . . . . . . . . . . . . . . . . .
- Elements of a
- Three types of triangles
- A Do-While Loop Flow Chart. The continuation condition is checked
- Plot of
- Follow the bouncing ball
- Regular polygons
- A function declaration (prototype) in the C programming language with
- Program Stack
- Example returning a static array
- A DNA Sequence
- Binary Search Example . . . . . . . . . . . . . . . . . . . . . . . . . . . .
- Merge Example
- Example of a character array (string) in C. . . . . . . . . . . . . . . . . .