CS253: Software Development with C++

Spring 2019

Requirements

Show Lecture.Requirements as a slide show.

CS253 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

User: Guest

Check: HTML CSS
Edit History Source

Modified: 2019-05-12T16:29

Apply to CSU | Contact CSU | Disclaimer | Equal Opportunity
Colorado State University, Fort Collins, CO 80523 USA
© 2018 Colorado State University
CS Building