COP1006 with Dr. Meg McManus McManus COP1006 1.  Course Outline  Asthma & Allergies  Course Website  Tests  Assignments McManusCOP10062.

Slides:



Advertisements
Similar presentations
A Systems Approach To Training
Advertisements

1 CS101 Introduction to Computing Lecture 17 Algorithms II.
EKT 120/4 : Computer Programming
Lesson 5 - Decision Structure By: Dan Lunney
Chapter 11 Artificial Intelligence and Expert Systems.
Recursion Chapter 7. Chapter 7: Recursion2 Chapter Objectives To understand how to think recursively To learn how to trace a recursive method To learn.
Chapter 1 General Problem Solving Concepts
C OMPUTER P ROGRAMMING 1 Introduction to Programming.
DCT 1123 PROBLEM SOLVING & ALGORITHMS INTRODUCTION TO PROGRAMMING.
Problem Solving Methodology
Chapter Seven Advanced Shell Programming. 2 Lesson A Developing a Fully Featured Program.
Sw development1 Software Development 1.Define the problem (Analysis) 2.Plan the solution 3.Code 4.Test and debug 5.Maintain and Document.
Artificial Intelligence Lecture No. 15 Dr. Asad Ali Safi ​ Assistant Professor, Department of Computer Science, COMSATS Institute of Information Technology.
Artificial Intelligence: Its Roots and Scope
Introduction to Programming Concepts & Logic
Planning for the Solution
Chapter 1 General Problem Solving Concepts
11 C H A P T E R Artificial Intelligence and Expert Systems.
Introduction to problem solving. Introductory Discussion? What problems are you faced with daily? Do you think a computer can be designed to solve those.
Problem Solving with the Sequential Logic Structure Lesson 5 McManusCOP10061.
Program Development Life Cycle (PDLC)
E145/STS173 Case Study Tips E145/STS173 Case Study Tips Professors Tom Byers and Randy Komisar Stanford University With special thanks to: Jan Chong Copyright.
Lesson 3 McManus COP  You have to tell them ◦ what to do ◦ what to use ◦ in what order to do itand ◦ what to do if your user does not do what.
CSIS 123A Lecture 9 Recursion Glenn Stevenson CSIS 113A MSJC.
WHS AP Psychology Unit 6: Cognition Essential Task 6-2: Identify problem-solving techniques (algorithms and heuristics) as well as factors that influence.
Introduction to Programming Concepts & Logic COP1006 with Dr. Meg McManus McManusCOP10061.
ALGORITHM List of instructions for carrying out some process step by step. A sequence of instructions which has a clear meaning and can performed with.
Definition of Terms Software/Programs Programs that directs the operation of a computer system Set of instructions Codes Programming Process of planning,
Algorithms, Part 2 of 3 Topics Problem Solving Examples Pseudocode
Program Design. The design process How do you go about writing a program? –It’s like many other things in life Understand the problem to be solved Develop.
FOUNDATION IN INFORMATION TECHNOLOGY (CS-T-101) TOPIC : INFORMATION SYSTEM – SOFTWARE.
Lesson 5 McManus COP  Algorithm Instructions  Sequential Logic Structure  Solution Development McManusCOP10062.
A Brief History of AI Fall 2013 COMP3710 Artificial Intelligence Computing Science Thompson Rivers University.
ITEC 1010 Information and Organizations Chapter V Expert Systems.
Clients/Faculty Advisors Dr. Eric Bartlett May01-14 Team Members David Herrick Brian Kerhin Chris Kirk Ayush Sharma Incremental Learning With Neural Networks.
©Brooks/Cole, 2003 Chapter 1 Introduction. ©Brooks/Cole, 2003 Figure 1-1 Data processor model This model represents a specific-purpose computer not a.
Software. Introduction n A computer can’t do anything without a program of instructions. n A program is a set of instructions a computer carries out.
1 Structured Programming Arab Academy for Science and Technology CC112 Dr. Sherif Mohamed Tawfik The Course.
Problem Solving Techniques & Algorithm
Introduction to Computer Programming Concepts M. Uyguroğlu R. Uyguroğlu.
Problem Solving CSC 1750 Spring References Sprankle, Maureen and Jim Hubbard, Problem Solving and Programming Concepts, Eighth Edition, Prentice.
 Problem Analysis  Coding  Debugging  Testing.
Debuggers. Errors in Computer Code Errors in computer programs are commonly known as bugs. Three types of errors in computer programs –Syntax errors –Runtime.
Algorithms and Flowcharts
Chapter I: Introduction to Computer Science. Computer: is a machine that accepts input data, processes the data and creates output data. This is a specific-purpose.
11 Making Decisions in a Program Session 2.3. Session Overview  Introduce the idea of an algorithm  Show how a program can make logical decisions based.
AS Level Computing 8 CHAPTER: Fundamentals of structured programming The basics of good programming Algorithms System Flow Charts Symbol Conventions Steps.
JavaScript/ App Lab Programming:
Recursion Topic 5.
14 Compilers, Interpreters and Debuggers
COMPONENTS OF A COMPUTER
Unit 6: Cognition WHS AP Psychology
Understand the Programming Process
CIS 115 Lessons in Excellence-- cis115.com. CIS 115 All Exercises Devry University (Devry) For more course tutorials visit CIS 115 All.
Introduction to Problem Solving
Programming & languages
CS 416 Artificial Intelligence
Problem Solving General Problem Solving Concepts
Unit 7: Cognition AP Psychology
Understand the Programming Process
E145/STS173 Case Study Tips Professors Tom Byers and Randy Komisar
Flowcharting & Algorithms
Unit 7: Cognition AP Psychology
Click to add Text Computers & Instructions. Computers are given instructions in the form of computer programs that are created through the development.
ICT Gaming Lesson 2.
CS 416 Artificial Intelligence
COMP3710 Artificial Intelligence Thompson Rivers University
Chapter 13 Recursion Copyright © 2010 Pearson Addison-Wesley. All rights reserved.
WRITING AN ALGORITHM, PSEUDOCODE, AND FLOWCHART LESSON 2.
Presentation transcript:

COP1006 with Dr. Meg McManus McManus COP1006 1

 Course Outline  Asthma & Allergies  Course Website  Tests  Assignments McManusCOP10062

McManusCOP10063 Puzzles, anyone? Do you Suduku?

 We encounter problems every day.  Programs are simply solutions to problems.  Puzzles are simply a solution to a problem  To create programs  We have to learn to think a different way…  The way computers think. McManusCOP10064

Lesson 1 McManus COP1006 5

 1. Identify the problem ◦ If you don’t know what the problem is, you can’t create a solution for it. ◦ Ex.Calculate Payroll for 10 Employees ◦ Ex.Provide directions McManusCOP10066

 2. Understand the problem ◦ Clients rarely completely understand what they want let alone how to tell you. ◦ Perform  Research - to form your own knowledge base  Observations by  Watching current activity  Reviewing past activities  Ex.Giving instructions to someone on how to find an address. McManusCOP10067

 3. Identify alternative ways to solve the problem. ◦ Rarely does a problem have only one solution. ◦ Look at  Efficiency  Speed  Accuracy  Acceptability McManusCOP10068 Don’t just find one solution and stop there. Rarely is it the best solution…especially for novice programmers…

 4. Select the best way to solve the problem from the list of alternative solutions. ◦ Establish criteria to help when performing evaluations on each alternative ◦ Include pros and cons for each solution ◦ Select the best solution based on the research McManusCOP10069

 List instructions that enable you to solve the problem using the selected solution. 1.Create a numbered, step-by-step set of instructions 2.Instructions must be included in the knowledge base  So, what’s a knowledge base? McManusCOP100610

 6. Evaluate the solution. ◦ Test the solution  Are the results accurate?  Does the solution solve the original problem?  Does it satisfy the needs of the client?  Is it acceptable to the client? McManusCOP100611

 Algorithmic Solutions ◦ Steps involved in following a set of instructions.  Ex.Calculating your checkbook balance ◦ The solution will be the same each time the algorithm is followed. ◦ Most computers use algorithmic types of problems. McManusCOP100612

 Heuristic Solutions ◦ Solutions that can’t be reached by following a direct set of steps.  Created by using reasoning built upon knowledge and experience…and by trial and error.  Ex.Determining which stock is the best value ◦ The results may not produce the same results each time the algorithm is executed. ◦ Artificial intelligence deals with heuristic types of problems. McManusCOP100613

 The instructions that will result in the best solution. ◦ Again, the result may  Be more Efficient  Be Faster  Be more Understandable  Be more Maintainable  Be Reusable McManusCOP100614

 The outcome of the program ◦ Or the completed computer-assisted answer…  May take any form: ◦ Printout ◦ Updated files ◦ Output to monitor, speakers, etc. McManusCOP100615

 The set of instructions that make up the solution after they have been coded into a particular computer language. McManusCOP Although we won’t be actually writing programs, at least not in any specific language, this is what we will be working toward throughout this course!

 Humans must ◦ Change the way we think ◦ Work through the problem completely ◦ Follow a logical sequence of steps ◦ Not make hasty decisions ◦ Not make haphazard evaluations of potential solutions McManusCOP100617

McManusCOP Next?