Unit 4-04
Learning Outcome
Learning Outcome
At the end of this lesson, you will be able to:
- understand and use functions
Movie Watching
Movie Watching
- watch "Play Value, Sony vs Nintendo"
Review
Review
- procedures
Lesson
Lesson
- go over functions
- go over "Random Number Function"
Activity
Activity
- look at:
Daily Assignment
Daily Assignment
- create a program and a function that takes the level to grade and returns the middle percentage mark
- accept a string type (ex. 4+ or R) as a level and return an integer as the percentage
- conversion chart here
- if an invalid level is entered return a -1 (this is very common in programming. A return value of -1 means there has been an error).
- create:
- GUI
- flowchart
- Test cases
- code
- screenshots
- GitHub link
- accept a string type (ex. 4+ or R) as a level and return an integer as the percentage
Extra
Extra
- work on the weekly assignment
Homework!
Homework!
- read over functions, Chapter 4
- Computer Based Problem Solving