OU blog

Personal Blogs

2022_Profile_Pic_G_Muirhead

Problem Types Booleans, Iteration and selection.

Visible to anyone in the world
Types of problem:
  1. Numeric problems -> the output is directly determined by the input.
    Analyse multiple cases

      Multiple cases


    Patterns
    Problem
    Type
    Pattern 
    Use
    Pattern 
    Number
    Problem
    Class
    Numeric Formula 4.1
    Numeric Case
    analysis (two cases)
    4.2
    Numeric4.3
    Numeric Nested cases 4.4
    Numeric Generate a sequence 4.5
    NumericGenerate a list 2.1
    Numeric Append to a list 2.2
    Numeric Filter list 2.3
    Numeric List Tranformation 2.4
    Numeric


    Reduce 2.5 Counting
    problems
    Numeric Aggregate 2.6 Counting
    problems
    Numeric Search 2.7 Find a value
    Numeric Search 2.8 Find best value


  • Calculate
    • Formula problems
    • Word problems
  • Case analysis
    • Two Cases
    • Multiple Cases
    • Nested Cases -> efficient

  • Generate a sequence
    • Initialise and generate
    • Terminatation condition - > Give a suitable condition to stop the generation
    • Non-termination -> Under which conditions will the generation never stop ?
    • Infinite loops

Permalink Add your comment
Share post