Module 1- Getting Started Tell me what to do Using sets of instructions…

Slides:



Advertisements
Similar presentations
Algorithmic Problem Solving Lecture 3 River Crossing Problems.
Advertisements

Min terms and logic expression
Problem Solving Well-formed predicate calculus expressions provide a means of describing objects and relations in a problem domain and inference rule.
Lecture 2: Systems Engineering
COP1332 Introduction to Programming Using Visual Basic.NET A journey into thinking Professor Walton.
Programming Tools for Solution Development Module 3 Lesson 2 Assignment: Notes.
CSC 423 ARTIFICIAL INTELLIGENCE
Jeroo Chapter 3 Problem Solving and Algorithms. Problem Solving and Algorithms  The story of Aunt Kay  A computer is a tool used to solve problems 
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…
W w w. P u z z l e B a s e d L e a r n i n g. e d u. a u Copyright © 2008 Hybrid Publishers 1 Puzzle Power: Problem-Solving Made AWESOME! Adapted from.
Building Control Algorithms For State Space Search
CS001 Introduction to Programming Day 3 Sujana Jyothi
Boolean Algebra Lecture 7: Supporting Material Dr Kathryn Merrick Tuesday 24 th March, 2009.
Listening: Riddle Goal, Wolf & Cabbage. Riddle – River Crossing GOAT, WOLF & CABBAGE A farmer is going home from the market. He bought a goat, a cabbage.
Project Management February 28, Introduction Eric Lemmons Gary Obernuefemann.
Artificial Intelligence Problem solving by searching CSC 361 Prof. Mohamed Batouche Computer Science Department CCIS – King Saud University Riyadh, Saudi.
Chapter 7 Network Flow Models.
Dr Eleni Mangina – COURSE: LOGIC PROGRAMMING (during a joint degree with Fudan University in Software Engineering) DEPT. OF COMPUTER SCIENCE UCD Problem.
School of Computing Science CMT1000 © Ed Currie Middlesex University 1 CMT1000: Introduction to Programming Ed Currie Lecture 1B: Problem Solving.
Problem Solving. What is a Problem? An ambiguous situation not clearly showing how to reach the goal. Given Initial Situation Desired Goal Situation What.
Writing Methods Using if, loops, and variables to implement algorithms Copyright © 2012 Pearson Education, Inc.
Chapter 1 General Problem Solving Concepts
1 State Space of a Problem Lecture 03 ITS033 – Programming & Algorithms Asst. Prof.
Tatyana Finkelstein By Tatyana Finkelstein Spring 2005 – Summer 2006 Featuring: Some practical examples of how we may use modern technology in our mathematics.
Knowledge and search, page 1 CSI 4106, Winter 2005 Knowledge and search Points Properties of knowledge  Completeness  Objectivity  Certainty  Formalizability.
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.
Algorithms CS139 – Aug 30, Problem Solving Your roommate, who is taking CS139, is in a panic. He is worried that he might lose his financial aid.
Lecture 6 Problem Solving: Algorithm Design & Analysis.
Control Algorithms 2 Chapter 6 Control Algorithms 2 Chapter 6 Production Systems.
Assignment 2 (from last week) This is a pen-and-paper exercise, done in the same groups as for Practical 1 Your answer can be typeset or hand-written There.
Teaching Through Problem Solving
Knowledge Discovery and Data Mining: Know What You are looking For Knowledge discovery process Using knowledge discovered Data mining.
University of Stirling1 PDM9L6 IT Skills Carron Shankland.
MAT 150 Module 7 – Operations with Functions Lesson 3 – Inverse Functions ons/1/11/Inverse_Function_Graph.png.
THINKING PROCEDURALLY OR CONCURRENT (SIMULTANEOUSLY OR SIDE BY SIDE OR IN LOGICAL ORDER A- IDENTIFY THE COMPONENTS OF A PROBLEM B-IDENTIFY THE COMPONENTS.
Flowcharts C++ Lab. Algorithm An informal definition of an algorithm is: a step-by-step method for solving a problem or doing a task. Input data A step-by-step.
Thought & Problem Solving Tell a partner: What are you thinking about?
Problem Solving CSC 1750 Spring References Sprankle, Maureen and Jim Hubbard, Problem Solving and Programming Concepts, Eighth Edition, Prentice.
Computer Vision COURSE OBJECTIVES: To introduce the student to computer vision algorithms, methods and concepts. EXPECTED OUTCOME: Get introduced to computer.
Advanced Data Structures Lecture 1
Bloom’s Taxonomy (different types of questioning)
ARTIFICIAL INTELLIGENCE
The Decision-making Process
Immediate response systems
Computer Science Programming Chapter 1, Sections
Some problems Cse-402 K3r20,k3r23.
Professor, Computer Science and Engineering Department
Do it now You will find your do it now task in your workbook – look for the start button! Thursday, 20 September 2018.
Student’s Name Class Date
Problem Solving General Problem Solving Concepts
Computational Thinking
1.3 Solving with Variables on Both Sides
Introducing A Challenge Box
Kate and Nate’s Cake by Bert Smith Comments and Future Considerations:
The Wolf, the Goat, and the Cabbage
I accept that my friends and I might have different opinions
Use Alloy to model and find a solution to the Farmer, Goat, Cabbage, and Wolf problem Roger L. Costello July 14, 2018.
Open on the student drive
Computer Programming.
Artificial Intelligence Problem solving by searching CSC 361
4. Computational Problem Solving
At least two sprites moving on the stage.
Some problems Cse-402 K3r20,k3r23.
Connecting with Challenge
CSE 2010: Algorithms and Data Structures Algorithms
ARTIFICIAL INTELLIGENCE
I accept that my friends and I might have different opinions
Example 5A: Solving Simple Rational Equations
Problem Solving by Searching Search Methods :
Presentation transcript:

Module 1- Getting Started Tell me what to do Using sets of instructions…

Consider these 3 situations….  Baking a Cake  Giving Directions  Buying items in a shop

What do all 3 have in common?  They are all sets of instructions.  They all solve a problem. These are called Algorithms.

A good algorithm 1. Leads to completion. 2. Is accurate and unambiguous. 3. Has the appropriate level of detail. 4. Has well ordered instructions. 5. Covers all possible outcomes with practical solutions.

Human vs Computer Algorithms  With human algorithms we can rely on Intuition Initiative Prior knowledge Independent decision-making Learning from experience  Computers do not have these things and therefore we must take this into account when we write the algorithm for a computer program.

Write an algorithm… Solve the farmer’s problem  A farmer has to take three items, a dog, a goat and a cabbage, across a river. He has a boat but it can only take two objects at once, in other words, the farmer and one other item.  Write an algorithm to tell the farmer how to get the three items across the river.  Note: If the dog and the goat are left together the dog will eat the goat. If the goat and the cabbage are left together the goat will eat the cabbage.

The Farmer’s Solution… 1. Begin on side A 2. Take goat across to side B 3. Return with empty boat to side A 4. Take dog across river to side B 5. Return with goat to side A 6. Take cabbage to side B 7. Return with empty boat to side A 8. Take goat to side B 9. END