Problem solving Introduction to programming. Do Now You are at a river that you want to cross with all your goods. Your goods consist of a chicken, a.

Slides:



Advertisements
Similar presentations
Fractions.
Advertisements

Problem Solving Well-formed predicate calculus expressions provide a means of describing objects and relations in a problem domain and inference rule.
The Secrets of Practical Verification… © 2008 Think Verification.
Problem Solving The Problem Solving Plan & Problem Solving Strategies.
Module 1- Getting Started Tell me what to do Using sets of instructions…
Module 1- Getting Started Tell me what to do Using sets of instructions…
Intelligent agents Intelligent agents are supposed to act in such a way that the environment goes through a sequence of states that maximizes the performance.
J. Michael Moore Software Design CSCE 110 Influenced by material developed by James Tam & Jennifer Welch.
Intelligent agents Intelligent agents are supposed to act in such a way that the environment goes through a sequence of states that maximizes the performance.
Mrs .Nathalie Paizy Morales
Problem Solving. What is a Problem? An ambiguous situation not clearly showing how to reach the goal. Given Initial Situation Desired Goal Situation What.
Miss Crump’s Introduction to Fractions When do you see fractions? What do you know about fractions?
Introduction to Programming Doman’s Lecture CSCI101.
Learning to Think Critically
Learning to Think Critically pages Objectives Define thinking & reflection Identify 3 functions of the brain Describe how thinking impacts decision.
FRACTIONS & DECIMALS GO BACK TO ACTIVITY SLIDE
ISECON The COBOL DFA Tool: A Work in Progress Ronald Finkbine, Ph.D. Indiana University Southeast New Albany, IN
Prioritizing Categorizing Giving reasons Making connections Prediction skills – cause and consequence Making logical / sensible decisions Being able to.
Solving One-Step Equations 1.Addition & Subtraction Equations 2.Multiplication & Division Equations Author: Lynda Greene Copyright  2005 by Greenebox.
Introduction to Programming Initial Slides developed by Dr. Doman.
Module 1- Getting Started Tell me what to do Using sets of instructions…
Debugging. Compile problems Read the whole complaint! Runtime problems –Exceptions –Incorrect behavior.
Fractions with Pattern Blocks
Math Circles: A Structured Approach to Problem Solving Paul Carreiro and Kelly Zinck MTA 2010.
Warm-Up Exercises EXAMPLE 1 Find a theoretical probability T-shirts You and your friends designed T-shirts with silk screened emblems, and you are selling.
Unit 1: Basics // Metrics & Matter Aim: How can we apply the Scientific Method? Do Now: Solve the farmer’s dilemma. (5 minutes) Monday, September 8, 2014.
Original Material © Cambridge University Press 2010 Decide if these statements are true or false. Give some examples if you can.  The last digit of a.
Code Design Using Functions CSE 1310 – Introduction to Computers and Programming Vassilis Athitsos University of Texas at Arlington 1.
Solving Systems of Equations.
I see a little girl and a ball in a car.. See the airplane and the little horse.
Puzzles and Problems 1. Four-pin bowling Score 5 by knocking down 1 and 4, or 2 and 3. Score 6 by knocking down 2 and 4, or 1, 2 and 3. Score 7 by knocking.
Vectors: the goals Be able to define the term VECTOR and identify quantities which are vectors. Be able to add vectors by the “Head to Tail Method” Be.
4.2 Solving Inequalities using ADD or SUB. 4.2 – Solving Inequalities Goals / “I can…”  Use addition to solve inequalities  Use subtraction to solve.
Teaching Through Problem Solving
Problem Solving Logical reasoning or deductive reasoning.
Redbook Online Table of contents. Effective Steps Strategies Draw a model Organize a Table Find a Pattern Algebra Equations Use Equal Ratios Table of.
Fractions. Here is a whole square There are everyday objects which are whole. For example, we can have a whole bar of chocolate A fraction is an EQUAL.
Blue or green? I never know which one to choose. A dog or a cat, which would make the best pet? An apple or a pear, what do I fancy to eat? The cinema.
SUB: MATHS HALVES AND QUARTERS PRESENTED BY:- K.KARTHIKA,PRT(ADHOC),KV-TVR.
Numeracy Tutor Times 1)Brain Gym 2)Logic Riddles – choice of 3 arranged in increasing difficulty.
Seeing in colour Stare at the coloured dot in the middle of the next picture for a minute. Then describe what you see when you look at the next slide.
AS Computer Studies Algorithms & Problem Solving 1 & 2.
Securing number facts, relationships and calculating.
The Scientific Method ♫ A Way to Solve a Problem ♫ Created by Mrs. Vredenburg July, 2001.
Implementation 1.Review the mathematical concept. 2.Review the problem solving steps. 3.READ: Children read the part that is asking them to find something.
Level 3 CYPW Unit Promote Learning and Development in the Early Years Tutor; Karen Sendall.
Problem Solving and the
subtract within 1000 using strategies based on place value
Advanced Object-Oriented Programming
The Hobbits & Orcs Problem
Lesson 111: Three Statements of Equality
The Scientific Method A Way to Solve a Problem
C++ Classes & Object Oriented Programming
Learning to Think Critically
Seeing in colour Stare at the coloured dot in the middle of the next picture for a minute. Then describe what you see when you look at the next slide.
Problem Solving & Algorithms
Probability of a single event
Computational Thinking for KS3
I accept that my friends and I might have different opinions
How do scientists solve problems?
Learning to Think Critically
SCRATCHING THE SURFACE
The Scientific Method A Way to Solve a Problem
I have 0 Jelly Beans I need Jelly Beans.
I accept that my friends and I might have different opinions
LEARNING STRATEGIES: TRUE COLOURS The True Colours Test.
Binary pixel challenge 1
LEARNING STRATEGIES: TRUE COLOURS The True Colours Test.
Knapsack Problem A dynamic approach.
Fractions.
Presentation transcript:

Problem solving Introduction to programming

Do Now You are at a river that you want to cross with all your goods. Your goods consist of a chicken, a bag of grain and your dog, Rover. You have to cross the river in a rowing boat but can only take one of your goods with you at once. You cannot leave the chicken alone with the grain as the chicken will eat the grain. You cannot leave your dog alone with the chicken as Rover will eat it. How do you get everything intact across the river?

How to solve a problem Initial situation Resources Constraints Assumptions Goal Ownership You, the chicken, the bag of grain and the dog are on one bank of the river with access to a boat The rowing boat and your knowledge and problem solving skills You can only take one thing in the boat with you at once. You must not leave the dog with the chicken and the chicken with the bag of grain You can only take things one way across the river You, the chicken, the bag of grain and the dog must be on the other bank intact You are involved in the planning and carrying out of the solution. You benefit from a solution

Becoming a Programmer To become a programmer you should be an An analytical thinker Programmers need to be problem solvers. The process of programming requires that we systematically break complicated problems down, plan and implement solutions and find / eliminate small inconsistencies in code (bugs). Analytical thinking also manifests in the ability to follow complicated logic through disparate code segments and understand it. It allows us to grasp abstract concepts such as Object Oriented methodology and design patterns and implement it in practice.

Riddle one How can this shape be cut once, in a straight line to create to equal sized halves.

How to solve a problem Initial situation Resources Constraints Assumptions Goal Ownership

Balls You have 8 balls. One of them is defective and weighs less than others. You have a balance to measure balls against each other. In 2 weighing's how do you find the defective one?

Gold You’ve got someone working for you for seven days and a gold bar to pay them. The gold bar is segmented into seven equal pieces. You must give them a piece of gold at the end of every day. If you are only allowed to make two breaks in the gold bar, how do you pay your worker?

How to solve a problem Initial situation Resources Constraints Assumptions Goal Ownership

beans You have a bucket of jelly beans. Some are red, some are blue, and some green. With your eyes closed, pick out 2 of a like colour. How many jelly beans do you have to grab to be sure you have 2 of the same?

How to solve a problem Initial situation Resources Constraints Assumptions Goal Ownership

Coins You have two normal U.S. coins that add up to 35 cents. One of the coins is not a quarter. What are the two coins?

How to solve a problem Initial situation Resources Constraints Assumptions Goal Ownership

Sending a package You have a package that you have to send to your friend. It is very secret and you do not trust the mail man that you have to use to send it. Both you and your friend have a padlock but neither of you have a key to the others laptop. How can you send the package and guarantee that the package cannot be opened by anyone else but your friend

How to solve a problem Initial situation Resources Constraints Assumptions Goal Ownership