Computational Thinking - PSNP - Mar 2021 - v0.1
Computational Thinking - PSNP - Mar 2021 - v0.1
Deep dive
Problems & Solutions
Google Earth
• 2D & 3D view, Pegman, Location update, Famous / Common places, Transition
• Methods / Solution
• Satellite picture + enhancements methods
• Data storage / snapshot
• Can I use Computational thinking?
What is Computational thinking (CT)
Vehicle breakdown
• Causes of vehicle movement halt, flat tire, fuel, malfucntion
• Methods / Solution
• Call service, vehicle tow
• Self - experience
• Can I use Computational thinking?
Password problem
• Multiple websites, Password expiry, Password repetition challenge, Strong-Weak passwords
• Methods / Solution
• Same password / Same pattern
• Writing down / Password manager
• Can I use Computational thinking?
• Identify the problem
• Can passwords be generated dynamic based on websites?
• Details of solution
• how to generate & maintain & scale the solution
• Simple repetitive solution
• Can this solution be simple, easy to use / recreate
• Security aspect of the solution
• Process to create / automate
• Algorithm approach
• Solution Evaluation
What is Computational thinking (CT)
Password problem
• Computational thinking?
• Facebook, Gmail, Yahoo, …
• faok, gmil, …
• koaf, limg
• koAf, liMg
• koAf8*, liMg5%
ALGORITHM ABSTRACTION
What is Computational thinking (CT)
Computational thinking
• not realistic to expect computers to solve every problem
• shouldn’t rely on computers to solve everyday problems (emotion analysis)
• Decomposition
• Break the bigger problem into smaller components
• Pattern recognition
• Looking for patterns within smaller components
• Abstraction
• Focus on important details and ignore irrelevant details
• Algorithm
• Finding steps to solve the smaller problems which will then lead to a solution for the main problem
What is Computational thinking (CT)
• Example
• Print “LTTS” in the center of the screen
• Inputs –
• Outputs –
• Relationship –
What is Computational thinking (CT)
• Example
• SUDOKU
What is Computational thinking (CT)
• Decomposition
• Black box decomposition
• Structural decomposition
• Functional decomposition
• Sequential decomposition
• Dependence decomposition
LTTS
What is Computational thinking (CT)
• Flowcharts
• Program Code
What is Computational thinking (CT)
• Problem Statement # 1
• Implementation of Biometric attendance / Access Card swipe
• Problem Statement # 2
• Any problem of your choice
Assessment
• PS No – Problem statement solution # 1 a%
• PS No – Problem statement solution # 2 b%
• Assignment in next week c%
• MCQ based assessment d%