Top Banner
Introduction of Engineering (ENGR 10) Guest Lecture March 24, 2014
19
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Introduction of Engineering (ENGR 10) Guest Lecture March 24, 2014.

Introduction of Engineering (ENGR 10)

Guest LectureMarch 24, 2014

Page 2: Introduction of Engineering (ENGR 10) Guest Lecture March 24, 2014.

Outline•Transfer Experience•Advice•Software Engineering

Page 3: Introduction of Engineering (ENGR 10) Guest Lecture March 24, 2014.

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

Page 4: Introduction of Engineering (ENGR 10) Guest Lecture March 24, 2014.

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

Page 5: Introduction of Engineering (ENGR 10) Guest Lecture March 24, 2014.

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.

Page 6: Introduction of Engineering (ENGR 10) Guest Lecture March 24, 2014.

What is Software Engineering

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

Page 7: Introduction of Engineering (ENGR 10) Guest Lecture March 24, 2014.

Software Development Life Cycle

• Analysis• Design• Coding• Testing• Implementation

Page 8: Introduction of Engineering (ENGR 10) Guest Lecture March 24, 2014.

Analysis

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

• Customer driven requirements

Page 9: Introduction of Engineering (ENGR 10) Guest Lecture March 24, 2014.

Design

• Design decisions must satisfy the requirements

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

Page 10: Introduction of Engineering (ENGR 10) Guest Lecture March 24, 2014.

Coding

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

Page 11: Introduction of Engineering (ENGR 10) Guest Lecture March 24, 2014.

Testing

• Unit testing• Under what conditions will it fail?

Page 12: Introduction of Engineering (ENGR 10) Guest Lecture March 24, 2014.

Implementation

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

Page 13: Introduction of Engineering (ENGR 10) Guest Lecture March 24, 2014.

Variables and Data types

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

Page 14: Introduction of Engineering (ENGR 10) Guest Lecture March 24, 2014.

Array

Page 15: Introduction of Engineering (ENGR 10) Guest Lecture March 24, 2014.

2D Array

Page 16: Introduction of Engineering (ENGR 10) Guest Lecture March 24, 2014.

For Loops

• Used when number of repeated loops is know

• Great for iterating through lists and arrays

Page 17: Introduction of Engineering (ENGR 10) Guest Lecture March 24, 2014.

While Loops

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

• Often used in game programming

Page 18: Introduction of Engineering (ENGR 10) Guest Lecture March 24, 2014.

If/else if/else

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

Reverse Engineering Exercise