User Tools

Site Tools


student:demo

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
student:demo [2020/04/13 18:50] jonathanstudent:demo [2020/04/13 19:40] (current) jonathan
Line 22: Line 22:
  
 {{:student:basic-screen.png?780|}} {{:student:basic-screen.png?780|}}
 +
 +[[https://www.eecs.yorku.ca/~eiffel/|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 [[https://blog.codinghorror.com/why-cant-programmers-program/|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. 
 +
  
  
Line 30: Line 37:
   * [[https://youtu.be/F9nqAIEn2LU|EiffelCode Modes: simple, project and tutorial]]   * [[https://youtu.be/F9nqAIEn2LU|EiffelCode Modes: simple, project and tutorial]]
  
 +<HTML> 
 +<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> 
 +</HTML>
student/demo.1586803834.txt.gz · Last modified: 2020/04/13 18:50 by jonathan

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki