Difference between revisions of "CSC111 Homework 2 2018"
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
[[User:Thiebaut|D. Thiebaut]] ([[User talk:Thiebaut|talk]]) 18:12, 4 February 2018 (EST) | [[User:Thiebaut|D. Thiebaut]] ([[User talk:Thiebaut|talk]]) 18:12, 4 February 2018 (EST) | ||
---- | ---- | ||
+ | <onlydft> | ||
<bluebox> | <bluebox> | ||
− | The due date for this homework is Tuesday 2/15 at 11:55 p.m. | + | The due date for this homework is Tuesday 2/15 at 11:55 p.m. For all problems, |
</bluebox> | </bluebox> | ||
<br /> | <br /> | ||
<showafterdate after="20180207 11:00" before="20180601 00:00"> | <showafterdate after="20180207 11:00" before="20180601 00:00"> | ||
+ | <br /> | ||
+ | =Grading= | ||
+ | <br /> | ||
+ | Moodle uses numbers to grade programs. These numbers are translated into letters using the following scale: | ||
+ | |||
+ | * 100.00 - 93.00: A | ||
+ | * 92.99 - 90.00: A- | ||
+ | * 89.99 - 87.00: B+ | ||
+ | * 86.99 - 83.00: B | ||
+ | * 82.99 - 80.00: B- | ||
+ | * 79.99 - 77.00: C+ | ||
+ | * 76.99 - 73.00: C | ||
+ | * 72.99 - 70.00: C- | ||
+ | * 69.99 - 67.00: D+ | ||
+ | * 66.99 - 60.00: D | ||
+ | * 59.99 - 0.00: F | ||
<br /> | <br /> | ||
=Problem 1= | =Problem 1= | ||
Line 41: | Line 58: | ||
* Make sure to label the columns with " Fahrenheit" and "Celsius" please! | * Make sure to label the columns with " Fahrenheit" and "Celsius" please! | ||
* Submit your program on Moodle, in the HW2 PB1 section. | * Submit your program on Moodle, in the HW2 PB1 section. | ||
+ | <br /> | ||
+ | Possible grades: A, A- or B. Programs that crash before outputting any information get a C. | ||
<br /> | <br /> | ||
=Problem 2= | =Problem 2= | ||
<br /> | <br /> | ||
− | Write a program called '''hw2_2.py''' that displays a table of temperatures, the | + | Write a program called '''hw2_2.py''' that displays a table of temperatures, the right column in Celsius, and the left column in Fahrenheit. The program asks the user for '''three''' numbers: |
* a temperature '''T''', | * a temperature '''T''', | ||
* a number of temperatures '''n''', | * a number of temperatures '''n''', | ||
Line 78: | Line 97: | ||
<br /> | <br /> | ||
− | + | '''Possible grades:''' A, A- or B. Programs that crash before outputting any information get a C. | |
+ | <br /> | ||
=Problem 3= | =Problem 3= | ||
<br /> | <br /> | ||
Line 104: | Line 124: | ||
Submit your program to the HW2 PB3 section on Moodle. | Submit your program to the HW2 PB3 section on Moodle. | ||
<br /> | <br /> | ||
+ | '''Possible grades:''' A, A- or B. Programs that crash before outputting any information get a C. | ||
+ | |||
<br /> | <br /> | ||
<!-- =============================================================== --> | <!-- =============================================================== --> | ||
Line 126: | Line 148: | ||
Submit your program to the HW2 PB4 section on Moodle. | Submit your program to the HW2 PB4 section on Moodle. | ||
<br /> | <br /> | ||
+ | '''Possible grades:''' A, A- or B. Programs that crash before outputting any information get a C. | ||
+ | |||
<br /> | <br /> | ||
Line 221: | Line 245: | ||
Submit your program to the HW2 PB5 section on Moodle. | Submit your program to the HW2 PB5 section on Moodle. | ||
<br /> | <br /> | ||
+ | '''Possible grades:''' A, A- or B. Programs that crash before outputting any information get a C. | ||
+ | |||
+ | <!-- =================================================================== --> | ||
+ | <!-- =================================================================== --> | ||
+ | <!-- =================================================================== --> | ||
+ | <!-- =================================================================== --> | ||
+ | |||
</showafterdate> | </showafterdate> | ||
<br /> | <br /> | ||
− | <showafterdate after=" | + | <showafterdate after="20180216 00:00" before="20180601 00:00"> |
=Solution Program= | =Solution Program= | ||
<br /> | <br /> | ||
Line 349: | Line 380: | ||
<br /> | <br /> | ||
+ | </onlydft> | ||
<onlydft> | <onlydft> | ||
=Moodle VPL Module= | =Moodle VPL Module= |