Computational Thinking - Pattern Recognition PDF

Summary

This document provides an overview of computational thinking, focusing on pattern recognition. It discusses identifying patterns in data and functionality, along with examples like analyzing cheques and bank deposits. It also explores finding commonalities and maximum values.

Full Transcript

Computational Thinking Pattern Recognition Patterns in 1 2 Data Looks for data which is common among several things Factors this out into a...

Computational Thinking Pattern Recognition Patterns in 1 2 Data Looks for data which is common among several things Factors this out into a new piece of information which individual things can reference Example – A Cheque - NAME OF DATE AMOUNT ACCOUNT PAYEE NUMBER Example – A Bank Deposit DATE AMOUNT ACCOUNT What is Common? DATE – A COMBINATION OF A AMOUNT – A SIMPLE NUMBER ACCOUNT – A BANK DAY, MONTH, AND YEAR IDENTIFIER, BRANCH ID, AND ACCOUNT NUMBER Factor out Complex Common Parts Date Account Day Bank Month Branch Year AcctNumber Cheque Deposit Payee Amount Amount Patterns in Functionality Look for the Factor out the same operations repeating performed in operations different places Example – Weather & Expenses You want to find the hottest day from You want to find your most expensive a set of daily temperatures restaurant meal from a list of bills The Commonality Both these processes require that you find the maximum of a series of values Factor out the Commonality Maximum Value Find maximum of several values Hottest Day Expensive Meal List of temperatures List of bills

Use Quizgecko on...
Browser
Browser