Introduction to Problem Solving Using Computers

Slides:



Advertisements
Similar presentations
Slide 1 Today you will: Review knowledge and understanding of systems Understand what a system is and what it consists of Apply this understanding by working.
Advertisements

Chapter 1 - An Introduction to Computers and Problem Solving
Learning Objectives Explain similarities and differences among algorithms, programs, and heuristic solutions List the five essential properties of an algorithm.
Chapter 10 Algorithmic Thinking. Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Learning Objectives List the five essential.
SDP Languages and Environments. Types of Languages and Environments There are 4 main types of language that you must be able to describe at Higher level.
Al-Karma Language School Computer Department Prep. 3.
Overview of The Operations Research Modeling Approach.
Programming Fundamentals (750113) Ch1. Problem Solving
Original Source : and Problem and Problem Solving.ppt.
Introduction to Algorithm – part one Jennifer Elmer Form 3 Computing.
CHAPTER 4: INTRODUCTION TO COMPUTER ORGANIZATION AND PROGRAMMING DESIGN Lec. Ghader Kurdi.
Algorithms: The recipe for computation What is an algorithm?
Algorithms: The recipe for computation What is an algorithm?
Chapter 1 General Problem Solving Concepts
Algorithms: The recipe for computation What is an algorithm?
Desislava Tsocheva IVg class SOU”IVAN VAZOV” PLEVEN,BULGARIA.
Problem Solving Techniques. Compiler n Is a computer program whose purpose is to take a description of a desired program coded in a programming language.
1 CSC317/318 INTERNET PROGRAMING / DYNAMIC WEB APPLICATION DEVELOPMENT Siti Nurbaya Ismail Faculty of Computer & Mathematical Sciences, Universiti Teknologi.
1. Course Information 2 Course Description 3  Synopsis:  These subjects expose the students to the general introduction of software engineering and.
Computer Science 101 Introduction.
Introduction to Python Lesson 1 First Program. Learning Outcomes In this lesson the student will: 1.Learn some important facts about PC’s 2.Learn how.
Data Structures and Algorithms Dr. Tehseen Zia Assistant Professor Dept. Computer Science and IT University of Sargodha Lecture 1.
Submitted To: Rutvi sarang Submitted By: Kushal Bhagat.
Chapter 7 What Can Computers Do For Me?. How important is the material in this chapter to understanding how a computer works? 4.
Introduction to design and analysis algorithm
 George Polya, a famous mathematician, is known for creating four steps for easy problem solving.  “Trying to solve problems, you have to observe and.
Computer Science 111 Fundamentals of Programming I Introduction.
Lecture 21 Introduction to System Development Life Cycle - Part 1.
Lecture #1: Introduction to Algorithms and Problem Solving Dr. Hmood Al-Dossari King Saud University Department of Computer Science 6 February 2012.
How Computers Solve Problems Computers also use Algorithms to solve problems, and change data into information Computers can only perform one simple step.
1 Structured Programming Arab Academy for Science and Technology CC112 Dr. Sherif Mohamed Tawfik The Course.
1 Introduction to design and analysis algorithm. 2.
Introduction to Computer Programming Concepts M. Uyguroğlu R. Uyguroğlu.
Computer Systems Architecture Edited by Original lecture by Ian Sunley Areas: Computer users Basic topics What is a computer?
LB160 (Professional Communication Skills For Business Studies)
ICS 3UI - Introduction to Computer Science
Algorithms and Problem Solving
Computer Science Department
Chapter 1 The Systems Development Environment
CSCI-235 Micro-Computer Applications
DDC 1023 – Programming Technique
Solutions:.
Introduction to System Analysis and Design
Introduction to Problem Solving
Algorithms: The recipe for computation
Chapter 1 The Systems Development Environment
Lecture 2 Introduction to Programming
ALGORITHM Basic CONCEPTS of Basic Concepts of Algorithm
Introduction to Algorithm – part 1
CSC 118: Fundamentals Of Algorithm Development
Sequence Adverbs II.
Siti Nurbaya Ismail Senior Lecturer
Algorithms Today we will look at: what the word algorithm means
Introduction to Problem Solving
Problem Solving General Problem Solving Concepts
Objective of This Course
Programming Fundamentals (750113) Ch1. Problem Solving
Chapter 1 Introduction(1.1)
Algorithms and Problem Solving
Programming Fundamentals (750113) Ch1. Problem Solving
Information System Management
Solutions:.
Programming Fundamentals (750113) Ch1. Problem Solving
Algorithms vs. Programming
Chapter 2 – part a Brent M. Dingle Texas A&M University
Basic Concepts of Algorithm
Chapter 1 The Systems Development Environment
Algorithms: The recipe for computation
Chapter 1: Creating a Program.
Algorithms vs. Programming
Presentation transcript:

Introduction to Problem Solving Using Computers Siti Nurbaya Ismail Senior Lecturer Faculty of Computer & Mathematical Sciences Universiti Teknologi MARA Kedah (e): sitinurbaya@kedah.uitm.edu.my (u): https://sitinur151.wordpress.com

Introduction to Problem Solving Using Computers what is a problem and examples of problem types of problems ( simple and typical real world ) what is a solution and sample of solutions types of solution ( algorithmic and heuristic ) steps to solve a problem using computer algorithm samples of problem solving

Introduction to Problem Solving Using Computers Part 1: Problem At the end of this chapter you will be able to; define a problem describe a solution explain examples of problem solving using computer describe the donnection between real life process and problem solving using computer

*may be solved using simple solution *need a complex solution What is a problem? Unsettled matter demanding solutions or decision and requiring usually considerable thought or skill for its proper solution or decision Problem *state of difficulty that needs to be resolved or a question raised for consideration or solution *difficulty; a matter about it is difficult to decide what to do or a question to be answered or solve Simple Problem *may be solved using simple solution *how make a cup of tea, how to cook a rice and how to log in to instagram account Difficult Problem *need a complex solution *traffic control, transport schedule and perform transactions using auto teller machines

What is solution? An action or process of solving a problem, also; The fact or state of a problem being solved, also; An answer to or means of answering a problem.

Relation: Problem & Solution From the definition, problem and solution are interrelated and therefore; a problem should not be investigated separately from its solution. Therefore, to solve a problem, three important steps should be performed: Understand the problem thoroughly Understand the conditions and requirements of the problem Search for alternative solutions and select a general solution

Problem & Solution Problem Solution How to make a cup of tea Put a tea beg into a cup Pour hot water into the cup Add sugar into the cup Stir

Problem & Solution Problem Solution How to log in into an Gmail email account Open a web browser Enter URL; www.gmail.com Enter Google Account username in the Enter Your Email text entry box Click Next Enter password in the Password text entry box Click Sign In button

Problem Solving Strategies Heuristics Solution Algorithmic Solution Strategies used to solved problem involves intelligent trial and error or reasoning based on knowledge and experience Example: no known algorithm that tell how to play a perfect game of chess, so computer chess playing programs must use a heuristic method of solution, using methods that area likely but not certain to give a good results in any particular case A clearly specified procedure that is guaranteed to give the correct answer. computing = algorithmic solutions are express as algorithm can give correct result algorithm a step by step procedures that accepts data, manipulate them following the prescribed steps, to achieve the desired values or tasks

Problem Solving Development Cycle To perform problem solving using computer Problem solving phases Implementation phases This phase consists of problem definition and algorithm design This phase consists of converting algorithm to program, compiling processes, program testing and program maintenance phases

Problem Solving Phases: Problem Definition problem definition = understanding the problem purpose = to analyze the problem clearly, precisely and completely. analyse means try to break up the problem into smaller meaningful workable pieces of information the solution for the problem depends entirely on the outcome from this phase.

Problem Solving Phases: Problem Definition the analysis should highlight the following important parts the analysis should clearly, precisely and completely identify the data, the processes that are needed, and the required information Understand the problem requirement. Determine what is the required information 1 List all the facts given in the problem. Determine how the facts can be used in the solution 2 Determine the assumption that has to be used. Avoid from using irrelevant or over assumptions 3 Determine the data to be used 4 Determine what data to get from the user 5 Determine what formulas to be used 6 How the expected screen looks like 7

Problem Solving Phases: Problem Definition When this phase is not handled carefully, the information gathred may: contain errors. not accurate (maybe the information is incomplete, it does not solve the entire problem). too precise than the information required.

Examples of Problem Solving Typical simple problem solving Cook a dish cake sandwich fried rice To get to a destination From home to UiTM Kedah

Examples of Problem Solving Typical simple problem solving Cook a dish: chocalate cake Input Process Output Ingredients Step to make cake Mix Butter + sugar Better + flour + milk + brown sugar + vanilla + baking powder + chocolate powder + egg Baked Baked cake!

Examples of Problem Solving Typical simple problem solving Cook a dish: tuna sandwich Input Process Output Ingredients Salad Tuna Tomatoes Bread Mayo Step to make sandwich Take 2 slice of bread Put salad, tomato, tuna & mayo in between the 2 slice of bread. Yummy sandwich!

Examples of Problem Solving Typical real world problems Transaction ATM Machine Web Application Decision Making Forecasting Control Problem Traffic controller Searching problems Search Engines Sorting problems Transport Schedule

Examples of Problem Solving Using Computer amirah atif Afiq izzati Typical real world problems Transaction : ATM Machine: Money Withdrawer Input Process Output

Examples of Problem Solving Using Computer alif amirul farhan Typical real world problems Transaction : Web Application: Online Purchase Input Process Output

Examples of Problem Solving Using Computer imran muhaimin naufal Typical real world problems Decision Making : Forecasting : Earthquakes Input Process Output

Examples of Problem Solving Using Computer nazmi haziq syafiq Typical real world problems Control Problem: Traffic Controller : Traffic Light Input Process Output

Examples of Problem Solving Using Computer najwa irdina syamimi Typical real world problems Searching problems: Search Engine :Zalora website Input Process Output

Examples of Problem Solving Using Computer adilah syakirah shafrika syazwani Typical real world problems Sorting problems: Transport schedule: Bus Schedule Input Process Output

Introduction to Problem Solving Next Class….. Part 2: Algorithm