User Tools

Site Tools


student:demo

EiffelCode Demo

EiffelCode Demo

Project title: Webapp for compiling/executing Eiffel programs with a selection of coding challenges illustrating Design by Contract and Mathmodels.

For original goals, see here. For course description and evaluation schema, see here.

Supervisor(email): Jonathan Ostroff (jonathan). John Tsotsos is the EECS4080 coordinator.

  • Student Team
    • Gianluca Corvinelli (corv9)
    • Shangru Li (ioagnx)

Acknowledgements: The team would like to thank Jason Keltz for his technical help.

Website

EiffelCode will eventually be hosted at code.eecs.yorku.ca. At this point in time, the URL points to www.eecs.yorku.ca/~eiffelcode/. The latest version is EiffelCode7.

At the above sites, you may login with your Passport York or EECS credentials. You will then see.

The Eiffel Language and Method.

What is FizzBuzz? Write a program that prints the numbers from 1 to 100. But for multiples of three print “Fizz” instead of the number and for the multiples of five print “Buzz”. For numbers which are multiples of both three and five print “FizzBuzz”.

See the post Why can't programmers program?. FizzBuzz was used in early coding tests for software programmers. What employers found is that the vast majority of applicants could not get this simple program to work (in the language of their choice). The FizzBuzz test is too easy – in fact, blindingly, intentionally easy. “The vast divide between those who can program and those who cannot program is well known. I assumed anyone applying for a job as a programmer had already crossed this chasm. Apparently this is not a reasonable assumption to make. Apparently, FizzBuzz style screening is required to keep interviewers from wasting their time interviewing programmers who can't program.” Note that most sites that test candidates do not require the use of contracts (see the precondition require clause). The above example uses a while loop for illustration purposes, but using the across iterator would be better code.

Student Presentation

<iframe width="560" height="315" 
src="https://www.youtube.com/embed/LI5Z6ixbQOs" 
frameborder="0" allow="accelerometer; autoplay; 
encrypted-media; gyroscope; picture-in-picture" 
allowfullscreen>
</iframe>
student/demo.txt · Last modified: 2020/04/13 19:40 by jonathan