Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /s/bach/a/class/cs000/public_html/pmwiki/cookbook/date.php on line 68

Warning: String offset cast occurred in /s/bach/a/class/cs000/public_html/pmwiki/cookbook/steganography.php on line 9

Deprecated: Implicit conversion from float 1260.2884615384614 to int loses precision in /s/bach/a/class/cs000/public_html/pmwiki/cookbook/steganography.php on line 9

Warning: Undefined variable $action in /s/bach/a/class/cs000/public_html/pmwiki/cookbook/s5.php on line 11
CT320 | Lecture / Requirements

CT320: Network and System Administration

Fall 2019

Requirements

Show Lecture.Requirements as a slide show.

CT320 Requirements

Homework Requirements

Example

Consider the requirements for a homework assignment:

Read two integers. If the first isn’t divisible by the second, print “Oops!”

You might reason:

All numbers are divisible by all other numbers, just not evenly (you forgot about zero). Therefore, I never have to print “Oops!”

Or, you might think:

The assignment doesn’t say what to do if it is divisible. I’ll print “Oops!” unconditionally!

You might get away with that sort of reasoning in court, but not here.

Use Your Head

Real World

made at imgflip.com

Real World