Ch. 1 Engineering Problem Solving. Contents I.Engineering in the Twenty-First Century II.Computing Systems: Hardware and Software III.An Engineering Problem-Solving.

Slides:



Advertisements
Similar presentations
Etter/Ingber Engineering Problem Solving with C Fundamental Concepts Chapter 1 Engineering Problem Solving.
Advertisements

ICS103 Programming in C Lecture 1: Overview of Computers & Programming
Lecture 1: Overview of Computers & Programming
Mr Manesh T Dept. of CSE College of Arts and Science Chapter 3 Types of Softwares Code: 1400 Tech.
CSCI 1412 Tutorial 1 Introduction to Hardware, Software Parminder Kang Home:
Chapter 2- Visual Basic Schneider1 Chapter 2 Problem Solving.
COSC 120 Computer Programming
Engineering Problem Solving With C++ An Object Based Approach Fundamental Concepts Chapter 1 Engineering Problem Solving.
16/13/2015 3:30 AM6/13/2015 3:30 AM6/13/2015 3:30 AMIntroduction to Software Development What is a computer? A computer system contains: Central Processing.
1 Engineering Problem Solving With C++ An Object Based Approach Fundamental Concepts Chapter 1 Engineering Problem Solving.
CS 201 Overview of Computers & Programming Debzani Deb.
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming.
1 Lecture 1  Getting ready to program  Hardware Model  Software Model  Programming Languages  The C Language  Software Engineering  Programming.
Computers: Tools for an Information Age
1 Introduction to computers Overview l · Grading Policy »Cheating Rules (serious concern) »Examinations and Fixation of Timings »Quizzes »Homework Assignments.
C++ Programming: From Problem Analysis to Program Design, Third Edition Chapter 1: An Overview of Computers and Programming Languages C++ Programming:
CIS 260 Computer Programming I in C Prof. Timothy Arndt.
Chapter 2- Visual Basic Schneider1 Chapter 2 Problem Solving.
Chapter 3 Software Two major types of software
COMPUTER SOFTWARE Chapter 3. Software & Hardware? Computer Instructions or data, anything that can be stored electronically is Software. Hardware is one.
Chapter 1 Introduction to Computers and C++ Programming.
CS102 Introduction to Computer Programming
Chapter Introduction to Computers and Programming 1.
Introduction to Programming Prof. Rommel Anthony Palomino Department of Computer Science and Information Technology Spring 2011.
© Janice Regan, CMPT 128, Jan CMPT 128 Introduction to Computing Science for Engineering Students Creating a program.
Chapter 1 Engineering Problem Solving 1. Hardware and Software 2 A computer is a machine designed to perform operations specified with a set of instructions.
COMPUTER SOFTWARE Section 2 “System Software: Computer System Management ” CHAPTER 4 Lecture-6/ T. Nouf Almujally 1.
COMPUTER PROGRAMMING Source: Computing Concepts (the I-series) by Haag, Cummings, and Rhea, McGraw-Hill/Irwin, 2002.
Copyright © 2012 Pearson Education, Inc. Chapter 1 INTRODUCTION TO COMPUTING AND ENGINEERING PROBLEM SOLVING.
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming.
Chapter 1: Introduction to Computers and Programming.
Copyright © 2009 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 1: Introduction to Computers and Programming.
1 Computing Software. Programming Style Programs that are not documented internally, while they may do what is requested, can be difficult to understand.
Chapter 1 Introduction Dr. Frank Lee. 1.1 Why Study Compiler? To write more efficient code in a high-level language To provide solid foundation in parsing.
C++ Programming Language Lecture 1 Introduction By Ghada Al-Mashaqbeh The Hashemite University Computer Engineering Department.
Chapter 1 Introduction to Computers and C++ Programming Goals: To introduce the fundamental hardware and software components of a computer system To introduce.
Visual C++ Programming: Concepts and Projects
Introduction to Computers (L02) * Hardware * Software * Programming Languages * Three Phase of Program Development * Development and Design Steps * Algorithms.
Chapter 3: Computer Software. Stored Program Concept v The concept of preparing a precise list of exactly what the computer is to do (this list is called.
Chapter 1: An Overview of Computers and Programming Languages
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide 1- 1 October 20, October 20, 2015October 20, 2015October 20,
C++ Programming: From Problem Analysis to Program Design, Third Edition Chapter 1: An Overview of Computers and Programming Languages.
EG280 Computer Science for Engineers Fundamental Concepts Chapter 1.
1 Turgay Korkmaz Office: NPB Phone: (210) Fax: (210) web:
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 4 Computer Software.
CHAPTER 1 INTRODUCTION 1 st Semester H King Saud University College Of Applied Studies and Community Services CSC 1101 Computer Programming-1.
12/4/20151 Introduction To Computer Science Bina Ramamurthy.
Computing Systems & Programming ECE Fundamental Concepts Chapter 1 Engineering Problem Solving.
Chapter 1 Computers, Compilers, & Unix. Overview u Computer hardware u Unix u Computer Languages u Compilers.
Introduction ELEC 206 Computer Applications for Electrical Engineers Dr. Ron Hayne.
Problem Solving Techniques Using Pascal Allen C.-H. Wu Department of Computer Science Tsing Hua University Hsinchu, Taiwan 30043, ROC
Computers and Programming ผศ. ดร. อนันต์ ผลเพิ่ม Anan Phonphoem
Chapter 11  Getting ready to program  Hardware Model  Software Model  Programming Languages  Facts about C++  Program Development Process  The Hello-world.
C++ Programming: From Problem Analysis to Program Design, Fifth Edition Chapter 1: An Overview of Computers and Programming Languages.
Chapter 1: Introduction to Computers and Programming.
Copyright © 2010 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 1: Introduction to Computers and Programming.
Introduction to Computer Programming Concepts M. Uyguroğlu R. Uyguroğlu.
Introduction to Computer Programming By: Mr. Baha Hanene Chapter 1.
Software Engineering Algorithms, Compilers, & Lifecycle.
PROGRAMMING (1) LECTURE # 1 Programming and Languages: Telling the Computer What to Do.
Victoria Ibarra Mat:  Generally, Computer hardware is divided into four main functional areas. These are:  Input devices Input devices  Output.
CHAPTER 1 OVERVIEW OF COMPUTER AND PROGRAMMING 1.1 Electronic Computer Then and Now 1.2 Computer Hardware 1.3 Computer Software 1.4 The Software Development.
BIL 104E Introduction to Scientific and Engineering Computing Lecture 1.
Engineering Problem Solving With C An Object Based Approach
CSCI-235 Micro-Computer Applications
ICS103 Programming in C Lecture 1: Overview of Computers & Programming
C++ Programming: From Problem Analysis to Program Design
Computer Science I CSC 135.
ICS103 Programming in C 1: Overview of Computers And Programming
Presentation transcript:

Ch. 1 Engineering Problem Solving

Contents I.Engineering in the Twenty-First Century II.Computing Systems: Hardware and Software III.An Engineering Problem-Solving Methodology IV.Homework

I. Engineering in the Twenty-First Century

RECENT ENGINEERING ACHIEVEMENTS In 1989, the National Academy of Engineering selected the 10 engineering achievements that it considered to be the most important accomplishments during the previous 25 years: Microprocessor Moon landing Application satellites CAD(Computer Aided Design)/CAM(Computer Aided Manufacturing) Jumbo jet Advanced composite materials CAT(Computer Axial Tomography) Genetic engineering Laser Optical fiber

GRAND CHALLENGES FOR THE FUTURE The Office of Science and Technology Policy in Washington, D.C. identified the grand challenges as part of a research and development strategy for high performance computing. Prediction of weather, climate, and global change Computerized speech understanding Human Genome Project Improvements in vehicle performance Enhanced oil and gas recovery

CHANGING ENGINEERING ENVIRONMENT strong communication skills for both oral presentations and for preparing written materials the design/process/manufacture path, which consists of taking an idea from a concept to a product cooperativeness in interdisciplinary team to understand world marketplace not only to analyze data, but synthesize a solution using many pieces of information to consider their solutions in their social context Engineers need:

II. Computing Systems: Hardware and Software

Computing Systems Computer: A machine that is designed to perform operations that are specified with a set of instructions called a program. Hardware: the computer equipment, such as the keyboard, the mouse, the terminal, the hard disk, and the printer. Software: the programs that describe the steps that we want the program to perform.

Computer Hardware CPU –Central Processing Unit –Processor + ALU(Arithmetic logic unit) Internal Memory –Read-only Memory(ROM) –Random-access Memory(RAM) External Memory –Hard-disk –Floppy-disk

Internal organization of a computer

Types of computer Personal Computer(PCs) –small inexpensive computers –commonly used in offices, homes, and laboratories –microcomputer Workstation –minicomputer or mainframe computer –small enough to fit on a desktop Super computer –the fastest computer

COMPUTER SOFTWARE

Operating System –provides an interface between the user and the hardware –in which the user can select and execute the application software –contains many utilities to perform functions such as printing files, copying files and listing files. ex) dir (on DOS), ls (on UNIX) …

Software tools word processor (Microsoft word, 한글 ) spread sheet (Lotus 1-2-3, Excel … ) database management system (dBase IV, Paradox, … ) CAD package (AutoCAD, AutoSketch, CADKEY, … ) mathematical computation tools and graphic tools (MATLAB, Mathmatica, MATHCAD, Maple)

Computer Languages machine language assembly language high-level language –Fortran –COBOL –Basic –Pascal –Ada –C++ –Java –C 4GL natural language

Executing a Computer Program 1.Compiling –source program –object program 2.Linking and Loading 3.Executing 4.Debugging

Compiling: –Translate high-level language into machine language –source program: the original program written by high-level language such as C –object program: the machine language version of source program Linking and loading –Linking: link the other necessary machine language statements to the object program –Loading: load the program into memory

Debugging –a process to correct errors(often called bugs) in a program –compile-time error: syntactic errors –run-time error: logic errors

Software Life-Cycle Phases Life Cycle Percent of Effort Definition3 Specification15 Coding and modular testing14 Integrated testing8 Maintenance60

III. An Engineering Problem-Solving Methodology

An Engineering Problem-Solving Methodology The process or methodology for problem solving that we will use throughout this course has five steps: 1.State the problem clearly 2.Describe the input and output information 3.Work the problem by hand (or with a calculator) for a simple set of data 4.Develop a solution and convert it to a computer program 5.Test the solution with a variety of data

1. PROBLEM STATEMENT Compute the straight-line distance between two points in a plane.

2. INPUT/OUTPUT DESCRIPTION I/O Diagram Point 1 Point 2 Distance between points

3. HAND EXAMPLE Let the points p 1 and p 2, have the following coordinates: p 1 = (1,5); p 2 = (4,7); distance = SQRT((side 1 ) 2 + (side 1 ) 2 ) = 3.61

Decomposition Outline 1.Give values to the two points. 2.Compute the lengths of the two sides of the right triangle generated by the two points. 3.Compute the distance between the two points, which is equal to the length of the hypotenuse of the triangle. 4.Print the distance between the two points 4. ALGORITHM DEVELOPMENT

/* */ /* Program chapter1_1 */ /* */ /* This program computes the */ /* distance between two points. */ #include int main(void) { /* Declare and initialize variables. */ double x1=1, y1=5, x2=4, y2=7, side_1, side_2, distance; /* Compute sides of a right triangle. */ side_1 = x2 - x1; side_2 = y2 - y1; distance = sqrt(side_1*side_1 + side_2*side_2); /* Print distance. */ printf("The distance between the two points is " "%5.2f \n",distance); /* Exit program. */ return (0); } /* */ Coding

5. TESTING The distance between the points is 3.61!!

VI. Homework Write a short report (2000 자 ) on one of these grand challenges by March 21: Prediction of weather, climate, and global change Computerized speech understanding Mapping of Human Genome Project Improvements in vehicle performance Enhanced oil and gas recovery