14 CS 20 Python * Lab 1 Convert Celsius to Fahrenheit and

advertisement
1
14 CS 20 Python – Lab 1 Convert Celsius to Fahrenheit and Fahrenheit to Celsius
14 CS 20 Python – Lab 1 Convert Celsius to Fahrenheit and Fahrenheit to Celsius
For this lab you are to write a program that does the following:
Introduces itself to the uses
Asks the user what type of temperature conversion they wish to do
Asks the user to input the temperature to convert
Do the calculation and report back to the user
Use the internet to find the formula for doing the conversion
Once the program is completed then you will use it to complete the table below.
Temp oC
Temp oF
25
-40
100
212
40
-273
1500
When you are finished with the lab correctly name it and hand it into the appropriate folder. Complete
the table, print out this form and them come see me for marking. Be prepared to manipulate your
program to show me that you can alter your program.
14 CS 20 Python – Lab 1 Convert Celsius to Fahrenheit and Fahrenheit to Celsius
2
Observed Yes No 0
The student has completed the program
The program works
The programmer and added comments areas(see CS 30
Students)
The program is neat (it flows it tells a story )
√
1
2
3 4
MK
The student has taken into consideration the user knowledge
The program will display the data fully
Total
Experience with Programming and Design
The Lab was done by the due date
Careers Related to Computer Science
24
4
Question: What is the condition that you were asked to write
in this code? Explain how it works and what type it is.
Answer:
Fundamentals of Programming and Design
4
Download