Your goals deserve a clear direction. Discover your degree options with our free finder
THE LEARNING ROOM

Try thinking in code.

Harvard CS50P · David J. Malan · Functions and variables

CS50 lecture hall

YouTube connects after you choose to play. If the embed is unavailable, use the official viewing link below.

Pause and try this

Describe a function that adds two prices. Identify its inputs and output. Explain what happens when one input is zero, then write a short example. Look for a moment when the explanation becomes something you can apply yourself.

Open the official lecture, transcript and notes ↗

Connect the experience to your choice

Did you enjoy the kind of thinking involved? What was difficult? Would you want to practise it again? Use your observations to ask a university how its programme teaches and assesses related skills. This independent resource does not enrol you at Harvard, MIT or any listed university, and it does not provide degree credit.

YOUR NEXT CHAPTER IS YOURS TO CHOOSE

Let’s find your
“this could be it”.

Find my degree