Date post: | 30-Mar-2015 |
Category: |
Documents |
Upload: | garrison-lawter |
View: | 215 times |
Download: | 1 times |
Lect 1 P. 1
Engineering EN167 - Computer Programming
Winter Quarter The Ohio State UniversityGateway Engineering Education Coalition
Course Organization
Lecture 1
Lect 1 P. 2
Engineering EN167 - Computer Programming
Winter Quarter The Ohio State UniversityGateway Engineering Education Coalition
Topics For Today
• This Year and This Quarter• Meet the Instructional Team• Meet Each Other• EN 167 Course Organization• Review the EN 167 Course Syllabus• "Hands-On" Activities for EN 167• What Is a Computer?• What Are Computers Used For?
Lect 1 P. 3
Engineering EN167 - Computer Programming
Winter Quarter The Ohio State UniversityGateway Engineering Education Coalition
This Year And This Quarter
• A Purpose – Fundamentals of Engineering for later courses• Another Purpose – Provide a set of skills for later courses
AND for co-op / internships• Skills?
– Au – Sketching, CAD, Reading Drawings, How Things Work, Teamwork, Engineering Design
– Wi – Programming in C/C++/MATLAB, Data Acquisition and Analysis, Teamwork, Engr Design
– Sp – Putting It All Together, Drawing, CAD, Programming, Project Planning, Mgmt, Documentation, Engr Design & Build, TEAMWORK, Competition
Lect 1 P. 4
Engineering EN167 - Computer Programming
Winter Quarter The Ohio State UniversityGateway Engineering Education Coalition
• Instructor: Joanne E. DeGroat – Department of Electical & Computer Engineering
• Office: 656 Dreese Labs (DL)• E-mail: [email protected]
• Office ph: 292-2439 (no voice mail)
• Home ph: 848-4252 (has answering machine)
• Research Area:
• Computer Architecture
• VLSI – Digital, Mixed Signal, Analog
• Hardware Description Lang, HDL Verification
Introductions
Lect 1 P. 5
Engineering EN167 - Computer Programming
Winter Quarter The Ohio State UniversityGateway Engineering Education Coalition
Dr. Joanne DeGroat• Some Background
– Education• BS Engineering Science – Penn State Univ• MS Electrical Engineering – Syracuse Univ• Ph.D. Electrical & Computer Engineering – Univ of
Illinois– Professional Employment
• Development Engr. – Eastman Kodak• USAF – Maintenance Officer• USAF – R&D Engineer• USAF – Faculty at Air Force Institute of Technology• Ohio State University (1990)
Lect 1 P. 6
Engineering EN167 - Computer Programming
Winter Quarter The Ohio State UniversityGateway Engineering Education Coalition
Introductions
Teaching Assistants
• In the classroom – Sarah Switzer
Lect 1 P. 7
Engineering EN167 - Computer Programming
Winter Quarter The Ohio State UniversityGateway Engineering Education Coalition
Self Introductions
• Introduce yourself to the person beside you. Tell her or him your name, hometown, and most favorite or fun experience of your winter break.
• Introduce the person beside you to the persons across the table, including hometown and favorites.
Lect 1 P. 8
Engineering EN167 - Computer Programming
Winter Quarter The Ohio State UniversityGateway Engineering Education Coalition
ENG EN167 Course Syllabus
• Course Meeting Times and Places:– Lecture/Discussion in Room 346– Mondays, Tuesdays, and Thursdays – Hands-on Lab in Room 208
most (but not all) Wednesdays
Lect 1 P. 9
Engineering EN167 - Computer Programming
Winter Quarter The Ohio State UniversityGateway Engineering Education Coalition
ENG EN167 Course Objectives
• THIS COURSE IS DESIGNED TO HELP YOU:
• Understand engineering• Appreciate various disciplines• Experience the design process• Learn and practice fundamental skills• Learn graphics and computer applications• Develop study, teamwork, and communication
skills
Lect 1 P. 10
Engineering EN167 - Computer Programming
Winter Quarter The Ohio State UniversityGateway Engineering Education Coalition
ENG EN167 Course Objectives
• THIS COURSE WILL ENABLE YOU TO:
• Solve engineering problems• Develop computer algorithms• Acquire working knowledge of C, Unix,
programming, MATLAB, editing• Experience some “hands-on” engineering lab
activities
Lect 1 P. 11
Engineering EN167 - Computer Programming
Winter Quarter The Ohio State UniversityGateway Engineering Education Coalition
“Hands-On” Activities
• Learn some data acquisition system fundamentals
• Measure and analyze rocket engine performance• Collect data with a simple real-time data
acquisition system• Ride a bicycle and learn more about stress and
strain or alternate lab
Lect 1 P. 12
Engineering EN167 - Computer Programming
Winter Quarter The Ohio State UniversityGateway Engineering Education Coalition
“Hands-On” Activities
• Learn some basic digital logic circuit concepts• Program a microprocessor to control a "real-
world" device• Data Acquisition and subsequent analysis by
program
Lect 1 P. 13
Engineering EN167 - Computer Programming
Winter Quarter The Ohio State UniversityGateway Engineering Education Coalition
Evaluation / Course Grades
COURSE GRADES TO BE BASED ON:
• DAILY ASSIGNMENTS (25) 28.0%• MIDTERM EXAMS (2) 24.0%• LAB REPORTS (7) 16.0%• QUIZZES (6) 12.0%• JOURNAL ENTRIES (10) 3.0%• DESIGN PROJECT (1) 0%• FINAL EXAM (1) 17.0%• NOTE: 50% or higher on each component to pass!!!
Lect 1 P. 14
Engineering EN167 - Computer Programming
Winter Quarter The Ohio State UniversityGateway Engineering Education Coalition
Materials And Supplies
ENG H192 "COURSE PACKET"
The "Course Packet" contains two sections:
• "Class Notes - Region One Unix+ Manual"• "Daily Assignments - ENG H192”
• Class lecture slides will be available on the class Web site
Lect 1 P. 15
Engineering EN167 - Computer Programming
Winter Quarter The Ohio State UniversityGateway Engineering Education Coalition
Materials And Supplies
• Required Text - "C How To Program", by Deitel & Deitel, 4th Ed.
• Required Text – “MATLAB – An Introduction with Applications 2nd Ed.”, by Gilat
• Access Required Text - "The New Way Things Work", by Macauley
• Floppy Disks (3.5” HD), CD-RW, or USB Flash Drive (USB Drive suggested)
• 3-ring Notebook
Lect 1 P. 16
Engineering EN167 - Computer Programming
Winter Quarter The Ohio State UniversityGateway Engineering Education Coalition
Materials And Supplies
You may find helpful:
• "Tools and Tactics of Design", by Dominick (For the design project)
• “A Guide to Writing as an Engineer", by Beer & McMurrey (For lab reports)
Lect 1 P. 17
Engineering EN167 - Computer Programming
Winter Quarter The Ohio State UniversityGateway Engineering Education Coalition
What You Will Learn
• Engineering problem solving• C programming language• Language standards• Programming conventions• Unix tools• Computer applications• MATLAB computational package• Laboratory report format
Lect 1 P. 18
Engineering EN167 - Computer Programming
Winter Quarter The Ohio State UniversityGateway Engineering Education Coalition
What Is A Computer ?
• A system or device capable of performing computations and making logical decisions at speeds in excess of billions per second.
• Computers process data under the control of sets of instructions called computer programs--those who write the programs are computer programmers.
• The various devices comprise the hardware.• The collection of programs is the software.• What is firmware?
Lect 1 P. 19
Engineering EN167 - Computer Programming
Winter Quarter The Ohio State UniversityGateway Engineering Education Coalition
Hitchcock Hall Computer Systems
Rm 346
PC ServersLINUX Servers
Second FloorRm 206
Rm 324NETWORK
Rm 224
Labs
PasswordReq’d
2nd PasswordReq’d
Lect 1 P. 20
Engineering EN167 - Computer Programming
Winter Quarter The Ohio State UniversityGateway Engineering Education Coalition
Simplified Computer Organization
Computer can be divided into six logical units:
• Input unit -- the "receiving" section• Output unit -- the "shipping" department• Memory unit -- like a stockroom in a store• Arithmetic & logic unit -- like "manufacturing"• Central processing unit -- "management"– Note: The ALU is often considered part of the
CPU• Secondary storage -- high capacity warehouse
Lect 1 P. 21
Engineering EN167 - Computer Programming
Winter Quarter The Ohio State UniversityGateway Engineering Education Coalition
Engineers Use Computers For
• DATA ACQUISITION• DEVICE CONTROL• COMMUNICATION• GAMES• EXPERT SYSTEMS• PROCESS CONTROL
• DATA ANALYSIS• COMPUTATIONS• SIMULATION• RECORD KEEPING• AUTOMATION• GRAPHICS• ROBOTICS
Lect 1 P. 22
Engineering EN167 - Computer Programming
Winter Quarter The Ohio State UniversityGateway Engineering Education Coalition
Some Uses For Computer Chips
• ENGINES• WATCHES• ANTI-LOCK BRAKE
SYSTEMS• FAX MACHINES• ELEVATORS• CAMERAS• GASOLINE PUMPS• THERMOSTATS• MOBILE PHONES
• BURGLAR ALARMS• TREADMILLS• GREETING CARDS• CALCULATORS• ANSWERING MACHINES• ATMs• PERSONAL COMPUTERS• MICROWAVES• GAMES
Lect 1 P. 23
Engineering EN167 - Computer Programming
Winter Quarter The Ohio State UniversityGateway Engineering Education Coalition
Languages And Applications
GENERAL SPECIAL APPLICATIONS
BASIC MATHCAD EXCEL
PASCAL MATLAB WORD
COBOL MATHEMATICA INVENTOR
FORTRAN MAPLE POWERPOINT
C/C++ AXUM
LABVIEW LABVIEW
LISP
Lect 1 P. 24
Engineering EN167 - Computer Programming
Winter Quarter The Ohio State UniversityGateway Engineering Education Coalition
Finding A Solution To Problems
• The solution to a problem involves executing a series of actions in a specific order.
• The procedure for solving a problem expressed in terms of:
1. The actions to be executed, and
2. The order in which they are to be executed
Is called an algorithm.
Lect 1 P. 25
Engineering EN167 - Computer Programming
Winter Quarter The Ohio State UniversityGateway Engineering Education Coalition
Control Structures
CONTROL STRUCTURES FOR THE ORDER OF EXECUTION ARE:
• SEQUENCE• SELECTION• REPETITION• ABSTRACTION
Lect 1 P. 26
Engineering EN167 - Computer Programming
Winter Quarter The Ohio State UniversityGateway Engineering Education Coalition
Part Of The “Art” Of Programming
“The most important thing in life is showing up.”
Woody Allen
“The most important thing in computer programming is SYNTAX.”
Mike Miller
“Programming is NOT a spectator sport. To become good you must practice - practice - practice.”
Rick Freuler