IB Comp Sci SL - September 22 2016 Lesson Notes: Difference between revisions
Mr. MacKenty (talk | contribs) No edit summary |
Mr. MacKenty (talk | contribs) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 18: | Line 18: | ||
==[[file:homework.png]] Homework == | ==[[file:homework.png]] Homework == | ||
# Please create a program | # Please create a program which converts a numeric grade to a letter grade | ||
# the grade bands work like this: | # the grade bands work like this: | ||
{| style="width: 95%;" class="wikitable" | {| style="width: 95%;" class="wikitable" | ||
Line 35: | Line 35: | ||
|} | |} | ||
Following is the criteria for a successful program: | |||
# Your program must have a variable named <syntaxhighlight lang="php" inline>$student_score</syntaxhighlight> | |||
# The variable must be assigned a whole number from 0 to 100 | |||
# Your program must correctly output the letter grade | |||
## if the <syntaxhighlight lang="php" inline>$student_score</syntaxhighlight> variable is 10, the output should be F | |||
## if the <syntaxhighlight lang="php" inline>$student_score</syntaxhighlight> variable is 65, the output should be D | |||
## if the <syntaxhighlight lang="php" inline>$student_score</syntaxhighlight> variable is 78, the output should be C | |||
## if the <syntaxhighlight lang="php" inline>$student_score</syntaxhighlight> variable is 85, the output should be B | |||
# Your program must adhere to our [[style guide]] | |||
This homework assignment will be assessed using our [[Problem set assessment]] | |||
</td> | </td> |
Latest revision as of 13:11, 22 September 2016
What are we going to learn today?[edit]
|
Homework[edit]
Following is the criteria for a successful program:
This homework assignment will be assessed using our Problem set assessment |
||||||||||||
How am I being assessed today?[edit]
|
|||||||||||||
Standards we are covering today[edit]
|
As a computer scientist, you have:[edit]
|
||||||||||||
Credits[edit] |