CHAPTER 1 ENGINEERING PROBLEM SOLVING. Copyright 2013 Pearson Education, Inc.



Similar documents
Engineering Problem Solving

Topics. Introduction. Java History CS 146. Introduction to Programming and Algorithms Module 1. Module Objectives

#820 Computer Programming 1A

Instructor Özgür ZEYDAN BEU Dept. of Enve. Eng. CIV 112 Computer Programming Lecture Notes (1)

OKLAHOMA SUBJECT AREA TESTS (OSAT )

EMC Publishing. Ontario Curriculum Computer and Information Science Grade 11

Machine Architecture and Number Systems. Major Computer Components. Schematic Diagram of a Computer. The CPU. The Bus. Main Memory.

Python Programming: An Introduction to Computer Science

3 SOFTWARE AND PROGRAMMING LANGUAGES

Python Programming: An Introduction to Computer Science

Copyright 2012 Pearson Education, Inc. Chapter 1 INTRODUCTION TO COMPUTING AND ENGINEERING PROBLEM SOLVING

Embedded Software development Process and Tools: Lesson-3 Host and Target Machines

Thomas Jefferson High School for Science and Technology Program of Studies Foundations of Computer Science. Unit of Study / Textbook Correlation

Chapter 1. The largest computers, used mainly for research, are called a. microcomputers. b. maxicomputers. c. supercomputers. d. mainframe computers.

CS 3530 Operating Systems. L02 OS Intro Part 1 Dr. Ken Hoganson

Computer Programming I & II*

Outline. hardware components programming environments. installing Python executing Python code. decimal and binary notations running Sage

Exploring Computer Science A Freshman Orientation and Exploratory Course

Chapter 1 Fundamentals of Java Programming

Objectives. Python Programming: An Introduction to Computer Science. Lab 01. What we ll learn in this class

ADVANCED SCHOOL OF SYSTEMS AND DATA STUDIES (ASSDAS) PROGRAM: CTech in Computer Science

1.1 Electronic Computers Then and Now

ATSBA: Advanced Technologies Supporting Business Areas. Programming with Java. 1 Overview and Introduction

Chapter 12 Programming Concepts and Languages

TECHNOLOGY Computer Programming II Grade: 9-12 Standard 2: Technology and Society Interaction

2014 New Jersey Core Curriculum Content Standards - Technology

Computer Organization

Chapter 2 Basic Structure of Computers. Jin-Fu Li Department of Electrical Engineering National Central University Jungli, Taiwan

Management Challenge. Managing Hardware Assets. Central Processing Unit. What is a Computer System?

Basics of Computer 1.1 INTRODUCTION 1.2 OBJECTIVES

Introduction to Computers, Anatomy of Computers, Input and Output Devices

Chapter 3: Operating-System Structures. Common System Components

Fundamentals of Programming and Software Development Lesson Objectives

McGraw-Hill The McGraw-Hill Companies, Inc.,

Chapter 13: Program Development and Programming Languages

Basic Concepts of Information Technology (IT)

İSTANBUL AYDIN UNIVERSITY

AC : A PROCESSOR DESIGN PROJECT FOR A FIRST COURSE IN COMPUTER ORGANIZATION

MICHIGAN TEST FOR TEACHER CERTIFICATION (MTTC) TEST OBJECTIVES FIELD 050: COMPUTER SCIENCE

Computer Technology Computer Programming II (Joint Course with Business Technology Approved 10/29/10 for that area)

Cambridge International AS and A Level Computer Science

HARDWARE AND SOFTWARE COMPONENTS Students will demonstrate an understanding of the relationship between hardware and software in program execution.

ASSEMBLY PROGRAMMING ON A VIRTUAL COMPUTER

Computer System: User s View. Computer System Components: High Level View. Input. Output. Computer. Computer System: Motherboard Level

An Introduction to Computer Science and Computer Organization Comp 150 Fall 2008

WESTMORELAND COUNTY PUBLIC SCHOOLS Integrated Instructional Pacing Guide and Checklist Computer Math

ARIZONA CTE CAREER PREPARATION STANDARDS & MEASUREMENT CRITERIA SOFTWARE DEVELOPMENT,

ARIZONA CTE CAREER PREPARATION STANDARDS & MEASUREMENT CRITERIA SOFTWARE DEVELOPMENT,

EKT150 Introduction to Computer Programming. Wk1-Introduction to Computer and Computer Program

Java Programming (10155)

Chapter 6: Programming Languages

MICROPROCESSOR AND MICROCOMPUTER BASICS

Levels of Programming Languages. Gerald Penn CSC 324

Chapter 2 Database System Concepts and Architecture

Lesson 06: Basics of Software Development (W02D2

Data Analysis with MATLAB The MathWorks, Inc. 1

AQA GCSE in Computer Science Computer Science Microsoft IT Academy Mapping

Module 1 Introduction to Information and Communication Technologies

Computer Literacy. Hardware & Software Classification

Software: Systems and Application Software

CS101 Lecture 26: Low Level Programming. John Magee 30 July 2013 Some material copyright Jones and Bartlett. Overview/Questions

Software Obfuscation Scheme based on XOR Encoding Scheme

Logical Operations. Control Unit. Contents. Arithmetic Operations. Objectives. The Central Processing Unit: Arithmetic / Logic Unit.

Computer Layers. Hardware BOOT. Operating System. Applications

2. Advance Certificate Course in Information Technology

Computer Engineering

Chapter 13: Program Development and Programming Languages

Chapter 2 Logic Gates and Introduction to Computer Architecture

School District of Springfield Township

Programming Languages The McGraw-Hill Companies, Inc. All rights reserved.

Chapter 14. Programming and Languages. McGraw-Hill/Irwin. Copyright 2008 by The McGraw-Hill Companies, Inc. All rights reserved.

PROBLEMS. which was discussed in Section

1 PERSONAL COMPUTERS

5COMPUTER SCIENCE For Class IX (marks 55)

TYPES OF COMPUTERS AND THEIR PARTS MULTIPLE CHOICE QUESTIONS

Understanding Digital Components

INFORMATION TECHNOLOGY

COURSE OUTLINE COMPUTER INFORMATION SYSTEMS 1A. PREREQUISITE: None. Concurrent enrollment in CIS-96 or CIS-97 is recommended.

COWLEY COLLEGE & Area Vocational Technical School

Chap-02, Hardware and Software. Hardware Model

Operating System Structures

THE BUSINESS VALUE OF AN ERP SYSTEM

Describe the process of parallelization as it relates to problem solving.

How To Understand Programming Languages And Programming Languages

Programmable Logic Controllers Definition. Programmable Logic Controllers History

Embedded Systems. Review of ANSI C Topics. A Review of ANSI C and Considerations for Embedded C Programming. Basic features of C

Obj: Sec 1.0, to describe the relationship between hardware and software HW: Read p.2 9. Do Now: Name 3 parts of the computer.

Software. Programming Language. Software. Instructor Özgür ZEYDAN. Bülent Ecevit University Department of Environmental Engineering

1. Convert the following base 10 numbers into 8-bit 2 s complement notation 0, -1, -12

COMPUTER SCIENCE (5651) Test at a Glance

B.Sc.(Computer Science) and. B.Sc.(IT) Effective From July 2011

CE 504 Computational Hydrology Computational Environments and Tools Fritz R. Fiedler

ELECTENG702 Advanced Embedded Systems. Improving AES128 software for Altera Nios II processor using custom instructions

AP Computer Science AB Syllabus 1

KITES TECHNOLOGY COURSE MODULE (C, C++, DS)

Transcription:

CHAPTER 1 ENGINEERING PROBLEM SOLVING

Computing Systems: Hardware and Software The processor : controls all the parts such as memory devices and inputs/outputs. The Arithmetic Logic Unit (ALU) : performs the addition/subtraction and other logic operations (OR, XOR, AND, etc.), then stores the result in memory. Internal memory : is composed of RAM and ROM. External memory : external devices such as external drives or thumb drives. Input/output : devices such as printers, CDs and DVDs.

Computing Systems: Hardware and Software

Computer Software Operating Systems: supplies an interface between you (user) and the hardware by providing an environment where you can select and execute software applications. Software tools: program written to perform common operations, i.e. word processors, spreadsheet, mathematical computation tools (such as MATLAB). Computer languages: first-generation: machine language; second-generation: assembly language; highlevel languages or third-generation languages: C, C++, Java; fourth-generation tend to be similar to human language.

Computer Software

Executing a Computer Program A C program must be translated into machine language, and a compiler is used to perform the translation. Next step involves linking other machine language statement to an object program. Once the program has compiled correctly, then the program can be executed. Executing errors, run-time errors must be corrected at this step.

Software Life Cycle Definite steps or cycles that are collectively called the software life cycle: 1.Project definition 1.Detailed specification 2.Coding and modular testing 3.Maintenance

Engineering Problem-Solving Methodology Problem solving is a key part of engineering courses, as well as courses in computer science, mathematics, physics, and chemistry The process for problem solving we will use has 5 steps: 1.State the problem clearly 2.Describe the input/output information 3.Work the problem by hand for a simple set of data 4.Develop a solution and convert it to a computer program 5.Test Copyright the 2013 solution Pearson Education, with Inc. a variety of data

Engineering Problem-Solving Methodology 1.State the problem clearly Compute the straight-line distance between two points in a plane. 2. Describe the input/output information Inputs: Point 1 & Point 2 Outputs: Distance between points 3. Work the problem by hand for a simple set of data Let the points p1 and p2 have the following coordinates: p1=(1,5); p2=(4,7) distance = sqrt((side1)^2+(side2)^2) =

Computing Systems: Hardware and Software

Engineering Problem-Solving Methodology 4. Algorithm development The algorithm can be listed as operations that are performed one after another. This outline of steps decomposes the problem into similar steps: Decomposition outline 1. Give values to the two points 2. Compute the lengths of the two sides 3. Compute the distance between the two points 4. Print the distance between the two points This decomposition outline is then converted to C commands

Engineering Problem-Solving Methodology 4. Algorithm development The algorithm can be listed as operations that are performed one after another. This outline of steps decomposes the problem into similar steps: Decomposition outline 1. Give values to the two points 2. Compute the lengths of the two sides 3. Compute the distance between the two points 4. Print the distance between the two points This decomposition outline is then converted to C commands

include files declare variables compute distance Print distance

Engineering Problem-Solving Methodology 5.Testing The final step in our program is testing the solution