Computer Science CS50 Lecture Notes - Lecture 1: Boolean Expression, Computer Language, In C

25 views25 pages

Document Summary

Here too, we"ll start with the most important details, and. But since we all have different systems, it"s easier to get started with a cloud-based version of vs code that we can access with just a browser. In problem set 1, we"ll learn how to access our own instance of vs code. Nothing appears to happen, but we"ll now have another file that"s just called hello, which we can run with . /hello: . /hello tells our computer to find a file in our current folder (. called hello, and run it. And a string is a number of characters or words that we want to treat as text. In scratch, the say block had a side effect: In contrast to side effects, we also saw blocks, or functions, with return values that we can use in our program. That return value might then be saved into a variable.