1 / 13

Introduction to Programming

Introduction to Programming. Bertrand Meyer Exercise Session 1 22 September 2009. Organizational. http:// se.ethz.ch/teaching/2009-H/eprog-0001/index.html Final group lists will be published today

kateb
Download Presentation

Introduction to Programming

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Introduction to Programming Bertrand Meyer Exercise Session 1 22 September 2009

  2. Organizational http://se.ethz.ch/teaching/2009-H/eprog-0001/index.html • Final group lists will be published today • If you absolutely want to switch to another exercise group because of language issues: send an email to nadia.polikarpova@inf.ethz.ch

  3. About me

  4. How about you?

  5. Questions from me • Which programming languages have you used? • What kind of projects did you do? • Who knows what design by contract is? • What are your main expectationsfrom this course? • What are your main expectations from the exercise sessions?

  6. Questions from you

  7. EiffelStudio • Installation: see assignment 1 • Demo • Compilation • Debugging • Code browsing

  8. Workbench vs. Finalizing Workbench mode • Assertions (contracts) • No optimizations • Debugging possible Finalized mode • No assertions • Code optimizations • No Debugging Slow / safe Fast / unsafe

  9. Compilation Stages I • Degree 6: Examining System • Degree 5: Parsing Classes • Degree 4: Analyzing Inheritance • Degree 3: Checking Types • Degree 2: Generating Byte Code • Degree 1: Generating Metadata

  10. Compilation Stages II Workbench mode • Degree -1: Generating Code Finalized mode • Degree -2: Constructing Polymorphic Table • Dead Code Removal • Degree -3: Generating Optimized Code

  11. Assignment 1 • 1 Welcome to ETH • 2 EiffelStudio installation • 3 Your first Traffic program • If you have problems with assignment 1: => Switch to a group level A or B or ask me...

  12. Questions

  13. See you next week!

More Related