M1D3: CS50 Lecture 0 – Scratch | Part 2

Event – something graphical or interactive which happens in a computer program.

Arguments or Parameters – input to a function that modifies the behaviour

Hello, World! (input) → Say (Algorithm) → cat with speech bubbles (Output)

Input is the argument, algorithm is a function, and the output is the side effect

Return value – a function that hands you back a value that can be reused

Functions let you implement algorithms, but they are also themselves abstractions. Abstraction as a review is simplification of something.

Variable – storing values.

Homework, need to finish by EOD

https://cs50.harvard.edu/x/2022/psets/0/

This entry was posted in Study Notes and tagged , , . Bookmark the permalink.

Leave a Reply