Lecture19 - Engineering 101 Engineering 101 Lecture 19...

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

View Full Document Right Arrow Icon

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

View Full DocumentRight Arrow Icon

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

View Full DocumentRight Arrow Icon

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

View Full DocumentRight Arrow Icon

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

View Full DocumentRight Arrow Icon

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

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

Unformatted text preview: Engineering 101 Engineering 101 Lecture 19 Lecture 19 Exam 2 Review Exam 2 Review Prof. Michael Falk University of Michigan, College of Engineering Announcements Announcements Exam 2 Wednesday 10/25 at 7pm. Room Assignment by First Letter of Last Name A-G Dow 1013 H-O GGBrown 1504 P-U CSE 1670 V-Z CSE 1690 Announcements Announcements Alternate Administration Today, 3-5pm in Dow 1017 Ramsey Hilton Alfred Chung Zac Evans-Golden Alexandra Holbel Kyle Polack Ben English Ashley Jones Jeffery Mortimer Rob Keim Mary Winsemius Taylor Santiago Derek Geiger Marcus Lewis Announcements Announcements You may bring your book, notes, or any other materials you desire. You may bring a calculator. If you have questions about the exam ask the proctor (me or a GSI). You may not communicate with each other or anyone other than the proctor during the exam. Work on Problem 2.1 From Practice Work on Problem 2.1 From Practice Exam Handout Exam Handout Work on your own for 10 minutes. I will announce when you can discuss your answer with your group. Problem 2.1 Problem 2.1 bool evenodd(int x){ int n=1; bool sofarsogood=1; while(x>0 and sofarsogood){ sofarsogood = x%2==n%2; x = x/10; n++; } return sofarsogood; } X 2345 sofarsogood 1 n 1 Problem 2.1 Problem 2.1 bool evenodd(int x){ int n=1; bool sofarsogood=1; while(x>0 and sofarsogood){ sofarsogood = x%2==n%2; x = x/10; n++; } return sofarsogood; } X 234 sofarsogood 1 n 2 Problem 2.1 Problem 2.1 bool evenodd(int x){ int n=1; bool sofarsogood=1; while(x>0 and sofarsogood){ sofarsogood = x%2==n%2; x = x/10; n++; } return sofarsogood; } X 23 sofarsogood 1 n 3 Problem 2.1 Problem 2.1 bool evenodd(int x){ int n=1; bool sofarsogood=1; while(x>0 and sofarsogood){ sofarsogood = x%2==n%2; x = x/10; n++; } return sofarsogood; } X 2 sofarsogood 1 n 4 Problem 2.1Problem 2....
View Full Document

This note was uploaded on 04/02/2008 for the course ENGR 101 taught by Professor Ringenberg during the Fall '07 term at University of Michigan.

Page1 / 22

Lecture19 - Engineering 101 Engineering 101 Lecture 19...

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

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