Introduction to Structured Programming

Slides:



Advertisements
Similar presentations
+ Instructional Super Vision Instructional Rounds and Instructional Super Vision.
Advertisements

1 ICS102: Introduction To Computing King Fahd University of Petroleum & Minerals College of Computer Science & Engineering Information & Computer Science.
Introductory Computer Sciences
Modeling Elasticity With Algebra Develop Math and Science Practices as students experiment with elasticity and interpret results using mathematics. November.
© Janice Regan Problem-Solving Process 1. State the Problem (Problem Specification) 2. Analyze the problem: outline solution requirements and design.
Math Problems w/Sig Figs When combining measurements with different degrees of accuracy and precision, the accuracy of the final answer can be no greater.
Using Algorithms Copyright © 2008 by Helene G. Kershner.
Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 2P. 1Winter Quarter Problem Solving Lecture.
Engineering Fundamentals and Problem Solving, 6e
Introduction to Software Engineering CS-300 Fall 2005 Supreeth Venkataraman.
Design and Analysis of Algorithms
Problem Solving Methods. Class Objectives Learn to apply the problem solving process Learn techniques for error-free problem solving.
Muban Chombueng Ratjabhat University King Mongkut's University of Technology North Bangkok Nawin Kongrugsa Assoc. Prof. Dr. Prachaynun Nilsook Asst. Prof.
How do Scientists Think?
Overview of Computing. Computer Science What is computer science? The systematic study of computing systems and computation. Contains theories for understanding.
An Introduction to Programming and Algorithms. Course Objectives A basic understanding of engineering problem solving process. A basic understanding of.
ENG 1181 College of Engineering Engineering Education Innovation Center P. 1 1 Computer Problem Solving in MATLAB Topics Covered: 1.Problem Solving 2.Top-Down.
What is Engineering?. What is engineering ? According to Webster’s Dictionary: Engineering The application of math and science by which the properties.
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.
Major objective of this course is: Design and analysis of modern algorithms Different variants Accuracy Efficiency Comparing efficiencies Motivation thinking.
What is Mechatronics? Mechatronics is the synergistic combination of mechanical engineering, electronics, controls engineering, and computers, all integrated.
How computers work The CPU & Memory. The parts of a computer.
Introduction to Problem Solving. INTRODUCTION TO PROBLEM SOLVING Engineers must analyze and solve a wide range of technical problems. Some will be reasonably.
Introduction to Physical Science “What is Physical Science?”
Engineering Solutions Mathematical Models
Invention and Innovation Unit #4 Mrs. Mattson Carl Ben Eielson Middle School ETP 2006—Tanya Mattson This material is based upon work supported by the National.
Algorithms CS280 – 10/20/05. Announcement  Part 1 of project 2 due.  Read chapters 10, 7 for this unit  Tuesday we will also be in the classroom We.
ENGR Introduction to Engineering1 ENGR 107 – Introduction to Engineering The Semester-long Design Project and The Engineering Design Process.
What is Engineering? Engineering Week What is engineering ? According to Webster’s Dictionary: Engineering The application of math and science by.
Computer Systems Architecture Edited by Original lecture by Ian Sunley Areas: Computer users Basic topics What is a computer?
The Scientific Method 7M Science.
The Scientific Method Grade 9 Applied Science.
Introduction: Computer programming
Topic: Introduction to Computing Science and Programming + Algorithm
Engineering Fundamentals and Problem Solving, 6e
AP CSP: Sending Binary Messages with the Internet Simulator
INTRODUCTION TO PROBLEM SOLVING
Designing Like an Engineer!
CS1001 Programming Fundamentals 3(3-0) Lecture 2
Section 2: Science as a Process
Parallel Density-based Hybrid Clustering
Using Algorithms Copyright © 2008 by Helene G. Kershner.
Lecture 2 Introduction to Programming
Just What Is Science Anyway???
Time for notetaking FLASHCARDS!
How to take notes… The Crainum Way!
تهيئة الطالب مهنيا وتعميق معارفه . تنمية مهارات الطالب و قدراته .
Using Algorithms Copyright © 2008 by Helene G. Kershner.
CSC128 FUNDAMENTALS OF COMPUTER PROBLEM SOLVING
The World of Physical Science Chapter 1
Objective of This Course
MEETING TECHNOLOGY Unit 1
What is Engineering?.
Practicing Science Table of Contents Math in Science Graphs Brainpop-
What is engineering? Design Manufacturing Research & Development
Science Chapter 1.
Problem Solving.
Significant Figures (digits)
Programming Fundamentals (750113) Ch1. Problem Solving
MEETING TECHNOLOGY Unit 1
Programming Fundamentals (750113) Ch1. Problem Solving
Time for notetaking FLASHCARDS!
MEETING TECHNOLOGY Unit 1
The Scientific Method.
Basic Concepts of Algorithm
Mechanical engineering technician
Basics Prof. Hsin-Mu (Michael) Tsai (蔡欣穆)
Floating Point Binary Part 1
The Processes of Science
Significant Figures (digits)
Presentation transcript:

Introduction to Structured Programming King Abdulaziz University Faculty of Engineering Electrical Engineering Dept. EE 201 C1-2 Fall 2013

Class Learning Objectives Achieve Knowledge about Engineering problems and the use of Computer solutions . Achieve Knowledge about what is required for an active classroom

Engineering problems and Computer solutions Overview Engineers APPLY math and science for the betterment of society through: - Design - Manufacturing - Research & Development - Management - Continual Improvement Above all, engineers are problem solvers who make things work better, more efficiently, quicker and cheaper.

Engineers have been involved in almost everything you see, touch, or rely upon

Engineering problems and Computer solutions Overview Engineers must analyze and solve a wide range of technical problems. Ranging from simple single-solution problems, to open-ended ones OEP will likely require a team of engineers from several disciplines. Some problems may have no clear solution.

Engineering problems and Computer solutions Overview SOME SAY ENGINEERING PROBLEM SOLVING REQUIRES A COMBINATION OF SCIENCE AND ART: SCIENCE Math Physics Chemistry Mechanics Etc. ART Judgment Experience Common-Sense Know-How Etc.

THE ENGINEERING METHOD RECOGNIZE AND UNDERSTAND THE PROBLEM GATHER DATA (AND VERIFY ITS ACCURACY) SELECT GUIDING THEORIES AND PRINCIPLES MAKE ASSUMPTIONS WHEN NECESSARY SOLVE THE PROBLEM VERIFY THE RESULTS PRESENT THE SOLUTION

Your problem Share opinions ???!!! Suppose you wanted to explain to someone who can only understand simple instructions: How to compute the gas mileage for a car each time they filled up their tank ?. Share opinions ???!!!

Instructions as simple as possible: 1. Read the current odometer value. 2. Retrieve the previous value from the glove compartment. 3. Subtract the value obtained in step 2 from the value obtained in step 1. 4. Fill up the tank. 5. Read the number of gallons pumped. 6. Divide the number obtained in step 3 by the number obtained in step 5. 7. Display the number obtained in step 5 as the mileage. 8. Write the odometer value obtained in step 1 on a piece of paper. 9. Store the paper from step 8 in the glove compartment. 10. Stop.

A better way might be: 1. Read the current odometer value. 2. Write the odometer value obtained in step 1 on a piece of paper. 3. Is there a previous odometer reading in the glove compartment? (a) If the answer is no, (i) Store the paper from step 2 in the glove compartment. (ii) Stop. (b) If the answer is yes, retrieve the previous value from the glove compartment. 4. Store the paper from step 2 in the glove compartment. 5. Subtract the value obtained in step 3(b) from the value obtained in step 1. 6. Fill up the tank. 7. Read the number of gallons pumped. 8. Divide the number obtained in step 5 by the number obtained in step 7. 9. Display the number obtained in step 8 as the mileage. 10. Stop.

What we did ? first figure out the information that is available. know the inputs available, and the outputs required. develop the procedure you would use to calculate the gas mileage, (i.e. algorithm development). Finally, break down the procedure into simple steps, or refine the algorithm so that someone who understands only very simple instructions will be able to carry out the procedure.

Conclusion The reason for selecting a very simple individual as the recipient of our instructions is that in some ways the computer is very simple indeed. The computer is a very fast machine which is highly accurate and has an extremely large memory but no “understanding.” It has a very limited set of instructions it “understands,” and it follows these instructions exactly and literally. Hence, the need for instructions to be very precise.