Harvard CS50 · David J. Malan
Your first functions and variables
Full lecture · CS50P Week 0 ↗
Watch with a question
Watch the functions and variables lecture, then pause before an example runs and predict its output.
Your original practice task
Plan a temperature converter on paper: input a Celsius value, multiply by nine-fifths, then add 32. Try zero, a negative value and a decimal.
Reflect before enrolling
Can you explain the difference between the input, the calculation and the output? Which part would you test first?
Keep a useful record
Save the course to My space, then write down what interested you and what you still need to check. Trying a task is a starting point for exploration; it is not an aptitude diagnosis or a guarantee of progress. If the first attempt is difficult, inspect the prerequisites and try a smaller example before deciding.