14-440-127 Lecture 8 Presentation

14-440-127 Lecture 8 Presentation - 14:440:127 Introduction...

Info iconThis preview shows pages 1–6. Sign up to view the full content.

View Full Document Right Arrow Icon
14:440:127 Introduction to Computers for Engineers Lecture 8 Lecturer: Blase E. Ur Recitation Instructor: Tianming Li Recitation Instructor: Ke Xu Recitation Instructor: Brian Viezbicke Recitation Instructor: Mingliang Wang PLEASE TAKE LECTURE 8 NOTES AS YOU ENTER THE ROOM …Yes, I did indeed dislocate my shoulder last week. It was about as much fun as writing loops.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Rutgers University SOE 14:440:127 Lecture 8 Reminders / Updates Exam 1- Grades ALMOST done (TA’s have given me 7/9 completed) Project 1- Grades delayed due to shoulder, but they’re overall pretty good PSET 2- due Monday, 10/27 I’m out of town Fri-Sun, so ask questions before Friday. CHANGES Project 2 will be released ~10/24 (waiting on data sets) DUE Sunday, 11/9 Exam 2 will be given 11/5 – 11/11
Background image of page 2
Rutgers University SOE 14:440:127 Lecture 8 Switch Case switch VARIABLE case OPTION1 STATEMENTS case OPTION2 STATEMENTS otherwise STATEMENTS end
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Rutgers University SOE 14:440:127 Lecture 8 Switch Case destination= 'ethiopia'; switch destination case 'florida' disp('boring!') case 'france' disp('a little less boring') case {'ethiopia' , 'eritrea' } disp('exciting') otherwise disp('i don''t know about that country') end
Background image of page 4
Rutgers University SOE 14:440:127 Lecture 8 Menus food = menu('What does your mom say when she gets this menu?', 'Cheeseburger','Steak','Potatoes','Italian Ice','Ok'); switch food case 1 disp('She ordered a cheeseburger') case 2 disp('She ordered steak') case 3 disp('She ordered potatoes')
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 6
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/29/2012 for the course 440 127 taught by Professor Blase during the Fall '09 term at Rutgers.

Page1 / 21

14-440-127 Lecture 8 Presentation - 14:440:127 Introduction...

This preview shows document pages 1 - 6. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online