introduction of engineering (engr 10) guest lecture march 24, 2014

19
Introduction of Engineering (ENGR 10) Guest Lecture March 24, 2014

Upload: elijah-wood

Post on 30-Dec-2015

219 views

Category:

Documents


2 download

TRANSCRIPT

Introduction of Engineering (ENGR 10)

Guest LectureMarch 24, 2014

Outline•Transfer Experience•Advice•Software Engineering

Why Engineering?

• It’s a challenge• There are always problems that need to be

solved• Get to learn how everything works• Wide variety of career opportunities

Transfer Experience

• The first semester is the most difficult• Be sure to see your advisors early and make

sure you know what coursework transferred• Always go to Office Hours• Just learn the material as best you can• Study with classmates

Advice

• Visit other engineering classes on your campus.• Email professors asking to sit in on University

lectures. Don’t attend a college without visiting it.

• Put yourself out there and try new things.• Don’t wait to experience projects in your

classes. Go out and do cool projects and explore your interests now.

• Don’t give up if this is what you want.

What is Software Engineering

• The study and application of engineering to the design, development, and maintenance of software.

Software Development Life Cycle

• Analysis• Design• Coding• Testing• Implementation

Analysis

• Identify the problem and define the requirements that the solution must meet

• Customer driven requirements

Design

• Design decisions must satisfy the requirements

• Algorithms: procedure for doing a calculation• Representations of the data

Coding

• Pseudo code• Comments and documentation• Write code• Test as you go

Testing

• Unit testing• Under what conditions will it fail?

Implementation

• Putting everything together• Does it do what it’s supposed to?• Further testing• Peer reviews• Testing under actual conditions

Variables and Data types

• Integer: 1• Floating point: 1.00• Array: [0,1,2,3,4,5]

Array

2D Array

For Loops

• Used when number of repeated loops is know

• Great for iterating through lists and arrays

While Loops

• Used to repeat a block of code until a condition is false

• Often used in game programming

If/else if/else

Reverse Engineering Exercise