[ST0502] Fundamentals of Programming

The notes and resources here are courtesy of Singapore Polytechnic. They are a summary of the notes I've taken in year 01 semester 01.

Table of Content

  1. Topic 01: Problem Solving Skills

  2. Topic 02: Introduction to Computers, Programs & Javascript

  3. Topic 03: Data Types & Operators

  4. Topic 04: Selections

  5. Topic 05: Repetitions

  6. Topic 06: Arrays

  7. Topic 07: Functions

  8. Topic 08: Objects & Classes.

Topic 01: Problem Solving Skills

Objective: To specify the problem requirements and solve it using pseudo code/flowcharts

Process of Problem Solving:

  1. Analyze the Problem:

    1. Outline the problem and its requirements

    2. Design steps (Algorithms) to solve the problem

  2. Implement the Algorithm:

    1. Implement and verify that the algorithm works

    2. Algorithm: a process or set of rules to be followed in calculations or other problem-solving operations.

  3. Maintenance:

    1. Adding new functionalities and functions

    2. Consistency is key

Flowchart:

Pseudo-Code:

Last updated

Was this helpful?