UNIHIVE

Study Hub UNIPORT

CSC 288

Structured Programming

200 level · First semester · 3 units

Not checked yet Our team hasn't checked this code and title yet.

Sign in to add it
  1. 1 Good programming style and the idea of structured programming

    What makes a program good, the structured programming movement, and the rules of clear style.

    Open the topic
  2. 2 Stepwise refinement and modular design

    Breaking a problem down top-down, building up from tested parts, nested virtual machines, and refining data as well as statements.

    Open the topic
  3. 3 Pascal program structure, types and expressions

    The shape of a Pascal program, identifiers, standard types, constants and variables, operators, input and output.

    Open the topic
  4. 4 Selection and repetition in Pascal

    if, case, while, repeat and for, how to choose between them, and nesting.

    Open the topic
  5. 5 Loop invariants and reasoning about correctness

    Preconditions, postconditions and invariants, how to show a loop is correct and that it ends.

    Open the topic
  6. 6 Procedures, functions, parameters and scope

    Writing subprograms, value and variable parameters, local and global names, and nesting in Pascal.

    Open the topic
  7. 7 Arrays and string processing

    One- and two-dimensional arrays, searching and simple sorting, and handling text with strings.

    Open the topic
  8. 8 Records and file processing

    Grouping fields in records, arrays of records, and reading and writing text files and typed files in Pascal.

    Open the topic
  9. 9 Pointers, dynamic data and linked lists

    Dynamic variables with new and dispose, building and walking a linked list, inserting and deleting nodes.

    Open the topic
  10. 10 Recursion, binary search trees and recursive sorting

    How recursion works, binary search trees for searching, and quicksort and merge sort.

    Open the topic
  11. 11 Testing, debugging, code inspection and verification

    Kinds of error, test plans and test data, black-box and white-box testing, debugging methods, inspections and proving programs correct.

    Open the topic
  12. 12 Writing efficient programs

    Measuring efficiency with big-O, common growth rates, and practical ways to make programs faster without losing clarity.

    Open the topic
  13. 13 Turbo Pascal and Free Pascal tools for projects

    The integrated environment, compiler directives, units for large programs, and organising a programming project.

    Open the topic