this is cs50cdn.cs50.net/2018/fall/lectures/0/lecture0.pdf · csso 1 2 3 5 8 11 12 pick up phone...
TRANSCRIPT
![Page 1: This is CS50cdn.cs50.net/2018/fall/lectures/0/lecture0.pdf · CSSO 1 2 3 5 8 11 12 pick up phone book open to middle of phone book look at names if Smith is among names call Mike](https://reader034.vdocuments.us/reader034/viewer/2022042321/5f0bc2b67e708231d4321529/html5/thumbnails/1.jpg)
This is CS50
![Page 2: This is CS50cdn.cs50.net/2018/fall/lectures/0/lecture0.pdf · CSSO 1 2 3 5 8 11 12 pick up phone book open to middle of phone book look at names if Smith is among names call Mike](https://reader034.vdocuments.us/reader034/viewer/2022042321/5f0bc2b67e708231d4321529/html5/thumbnails/2.jpg)
68%of CS50 students have never taken CS before
![Page 3: This is CS50cdn.cs50.net/2018/fall/lectures/0/lecture0.pdf · CSSO 1 2 3 5 8 11 12 pick up phone book open to middle of phone book look at names if Smith is among names call Mike](https://reader034.vdocuments.us/reader034/viewer/2022042321/5f0bc2b67e708231d4321529/html5/thumbnails/3.jpg)
what ultimately matters in this course is not so much where you end up relative to your classmates but where you,
in Week 10, end up relative to yourself in Week 0
![Page 4: This is CS50cdn.cs50.net/2018/fall/lectures/0/lecture0.pdf · CSSO 1 2 3 5 8 11 12 pick up phone book open to middle of phone book look at names if Smith is among names call Mike](https://reader034.vdocuments.us/reader034/viewer/2022042321/5f0bc2b67e708231d4321529/html5/thumbnails/4.jpg)
input → → output
![Page 5: This is CS50cdn.cs50.net/2018/fall/lectures/0/lecture0.pdf · CSSO 1 2 3 5 8 11 12 pick up phone book open to middle of phone book look at names if Smith is among names call Mike](https://reader034.vdocuments.us/reader034/viewer/2022042321/5f0bc2b67e708231d4321529/html5/thumbnails/5.jpg)
representation
![Page 6: This is CS50cdn.cs50.net/2018/fall/lectures/0/lecture0.pdf · CSSO 1 2 3 5 8 11 12 pick up phone book open to middle of phone book look at names if Smith is among names call Mike](https://reader034.vdocuments.us/reader034/viewer/2022042321/5f0bc2b67e708231d4321529/html5/thumbnails/6.jpg)
1 2 3
![Page 7: This is CS50cdn.cs50.net/2018/fall/lectures/0/lecture0.pdf · CSSO 1 2 3 5 8 11 12 pick up phone book open to middle of phone book look at names if Smith is among names call Mike](https://reader034.vdocuments.us/reader034/viewer/2022042321/5f0bc2b67e708231d4321529/html5/thumbnails/7.jpg)
A
![Page 8: This is CS50cdn.cs50.net/2018/fall/lectures/0/lecture0.pdf · CSSO 1 2 3 5 8 11 12 pick up phone book open to middle of phone book look at names if Smith is among names call Mike](https://reader034.vdocuments.us/reader034/viewer/2022042321/5f0bc2b67e708231d4321529/html5/thumbnails/8.jpg)
65
![Page 9: This is CS50cdn.cs50.net/2018/fall/lectures/0/lecture0.pdf · CSSO 1 2 3 5 8 11 12 pick up phone book open to middle of phone book look at names if Smith is among names call Mike](https://reader034.vdocuments.us/reader034/viewer/2022042321/5f0bc2b67e708231d4321529/html5/thumbnails/9.jpg)
ASCII
![Page 10: This is CS50cdn.cs50.net/2018/fall/lectures/0/lecture0.pdf · CSSO 1 2 3 5 8 11 12 pick up phone book open to middle of phone book look at names if Smith is among names call Mike](https://reader034.vdocuments.us/reader034/viewer/2022042321/5f0bc2b67e708231d4321529/html5/thumbnails/10.jpg)
A B C D E F G H I ...
65 66 67 68 69 70 71 72 73 ...
![Page 11: This is CS50cdn.cs50.net/2018/fall/lectures/0/lecture0.pdf · CSSO 1 2 3 5 8 11 12 pick up phone book open to middle of phone book look at names if Smith is among names call Mike](https://reader034.vdocuments.us/reader034/viewer/2022042321/5f0bc2b67e708231d4321529/html5/thumbnails/11.jpg)
72 73 33
![Page 12: This is CS50cdn.cs50.net/2018/fall/lectures/0/lecture0.pdf · CSSO 1 2 3 5 8 11 12 pick up phone book open to middle of phone book look at names if Smith is among names call Mike](https://reader034.vdocuments.us/reader034/viewer/2022042321/5f0bc2b67e708231d4321529/html5/thumbnails/12.jpg)
H I
72 73 33
![Page 13: This is CS50cdn.cs50.net/2018/fall/lectures/0/lecture0.pdf · CSSO 1 2 3 5 8 11 12 pick up phone book open to middle of phone book look at names if Smith is among names call Mike](https://reader034.vdocuments.us/reader034/viewer/2022042321/5f0bc2b67e708231d4321529/html5/thumbnails/13.jpg)
H I !
72 73 33
![Page 14: This is CS50cdn.cs50.net/2018/fall/lectures/0/lecture0.pdf · CSSO 1 2 3 5 8 11 12 pick up phone book open to middle of phone book look at names if Smith is among names call Mike](https://reader034.vdocuments.us/reader034/viewer/2022042321/5f0bc2b67e708231d4321529/html5/thumbnails/14.jpg)
H I !
72 73 33
1001000 1001001 100001
![Page 15: This is CS50cdn.cs50.net/2018/fall/lectures/0/lecture0.pdf · CSSO 1 2 3 5 8 11 12 pick up phone book open to middle of phone book look at names if Smith is among names call Mike](https://reader034.vdocuments.us/reader034/viewer/2022042321/5f0bc2b67e708231d4321529/html5/thumbnails/15.jpg)
abstraction
![Page 16: This is CS50cdn.cs50.net/2018/fall/lectures/0/lecture0.pdf · CSSO 1 2 3 5 8 11 12 pick up phone book open to middle of phone book look at names if Smith is among names call Mike](https://reader034.vdocuments.us/reader034/viewer/2022042321/5f0bc2b67e708231d4321529/html5/thumbnails/16.jpg)
1001000 1001001 100001
![Page 17: This is CS50cdn.cs50.net/2018/fall/lectures/0/lecture0.pdf · CSSO 1 2 3 5 8 11 12 pick up phone book open to middle of phone book look at names if Smith is among names call Mike](https://reader034.vdocuments.us/reader034/viewer/2022042321/5f0bc2b67e708231d4321529/html5/thumbnails/17.jpg)
72 73 33
1001000 1001001 100001
![Page 18: This is CS50cdn.cs50.net/2018/fall/lectures/0/lecture0.pdf · CSSO 1 2 3 5 8 11 12 pick up phone book open to middle of phone book look at names if Smith is among names call Mike](https://reader034.vdocuments.us/reader034/viewer/2022042321/5f0bc2b67e708231d4321529/html5/thumbnails/18.jpg)
H I !
72 73 33
1001000 1001001 100001
![Page 19: This is CS50cdn.cs50.net/2018/fall/lectures/0/lecture0.pdf · CSSO 1 2 3 5 8 11 12 pick up phone book open to middle of phone book look at names if Smith is among names call Mike](https://reader034.vdocuments.us/reader034/viewer/2022042321/5f0bc2b67e708231d4321529/html5/thumbnails/19.jpg)
![Page 20: This is CS50cdn.cs50.net/2018/fall/lectures/0/lecture0.pdf · CSSO 1 2 3 5 8 11 12 pick up phone book open to middle of phone book look at names if Smith is among names call Mike](https://reader034.vdocuments.us/reader034/viewer/2022042321/5f0bc2b67e708231d4321529/html5/thumbnails/20.jpg)
![Page 21: This is CS50cdn.cs50.net/2018/fall/lectures/0/lecture0.pdf · CSSO 1 2 3 5 8 11 12 pick up phone book open to middle of phone book look at names if Smith is among names call Mike](https://reader034.vdocuments.us/reader034/viewer/2022042321/5f0bc2b67e708231d4321529/html5/thumbnails/21.jpg)
![Page 22: This is CS50cdn.cs50.net/2018/fall/lectures/0/lecture0.pdf · CSSO 1 2 3 5 8 11 12 pick up phone book open to middle of phone book look at names if Smith is among names call Mike](https://reader034.vdocuments.us/reader034/viewer/2022042321/5f0bc2b67e708231d4321529/html5/thumbnails/22.jpg)
Unicode
![Page 23: This is CS50cdn.cs50.net/2018/fall/lectures/0/lecture0.pdf · CSSO 1 2 3 5 8 11 12 pick up phone book open to middle of phone book look at names if Smith is among names call Mike](https://reader034.vdocuments.us/reader034/viewer/2022042321/5f0bc2b67e708231d4321529/html5/thumbnails/23.jpg)
UTF-8
![Page 24: This is CS50cdn.cs50.net/2018/fall/lectures/0/lecture0.pdf · CSSO 1 2 3 5 8 11 12 pick up phone book open to middle of phone book look at names if Smith is among names call Mike](https://reader034.vdocuments.us/reader034/viewer/2022042321/5f0bc2b67e708231d4321529/html5/thumbnails/24.jpg)
![Page 25: This is CS50cdn.cs50.net/2018/fall/lectures/0/lecture0.pdf · CSSO 1 2 3 5 8 11 12 pick up phone book open to middle of phone book look at names if Smith is among names call Mike](https://reader034.vdocuments.us/reader034/viewer/2022042321/5f0bc2b67e708231d4321529/html5/thumbnails/25.jpg)
128514
![Page 26: This is CS50cdn.cs50.net/2018/fall/lectures/0/lecture0.pdf · CSSO 1 2 3 5 8 11 12 pick up phone book open to middle of phone book look at names if Smith is among names call Mike](https://reader034.vdocuments.us/reader034/viewer/2022042321/5f0bc2b67e708231d4321529/html5/thumbnails/26.jpg)
11111011000000010
![Page 27: This is CS50cdn.cs50.net/2018/fall/lectures/0/lecture0.pdf · CSSO 1 2 3 5 8 11 12 pick up phone book open to middle of phone book look at names if Smith is among names call Mike](https://reader034.vdocuments.us/reader034/viewer/2022042321/5f0bc2b67e708231d4321529/html5/thumbnails/27.jpg)
72 73 33
![Page 28: This is CS50cdn.cs50.net/2018/fall/lectures/0/lecture0.pdf · CSSO 1 2 3 5 8 11 12 pick up phone book open to middle of phone book look at names if Smith is among names call Mike](https://reader034.vdocuments.us/reader034/viewer/2022042321/5f0bc2b67e708231d4321529/html5/thumbnails/28.jpg)
RGB
![Page 29: This is CS50cdn.cs50.net/2018/fall/lectures/0/lecture0.pdf · CSSO 1 2 3 5 8 11 12 pick up phone book open to middle of phone book look at names if Smith is among names call Mike](https://reader034.vdocuments.us/reader034/viewer/2022042321/5f0bc2b67e708231d4321529/html5/thumbnails/29.jpg)
![Page 30: This is CS50cdn.cs50.net/2018/fall/lectures/0/lecture0.pdf · CSSO 1 2 3 5 8 11 12 pick up phone book open to middle of phone book look at names if Smith is among names call Mike](https://reader034.vdocuments.us/reader034/viewer/2022042321/5f0bc2b67e708231d4321529/html5/thumbnails/30.jpg)
72 73 33
![Page 31: This is CS50cdn.cs50.net/2018/fall/lectures/0/lecture0.pdf · CSSO 1 2 3 5 8 11 12 pick up phone book open to middle of phone book look at names if Smith is among names call Mike](https://reader034.vdocuments.us/reader034/viewer/2022042321/5f0bc2b67e708231d4321529/html5/thumbnails/31.jpg)
![Page 32: This is CS50cdn.cs50.net/2018/fall/lectures/0/lecture0.pdf · CSSO 1 2 3 5 8 11 12 pick up phone book open to middle of phone book look at names if Smith is among names call Mike](https://reader034.vdocuments.us/reader034/viewer/2022042321/5f0bc2b67e708231d4321529/html5/thumbnails/32.jpg)
![Page 33: This is CS50cdn.cs50.net/2018/fall/lectures/0/lecture0.pdf · CSSO 1 2 3 5 8 11 12 pick up phone book open to middle of phone book look at names if Smith is among names call Mike](https://reader034.vdocuments.us/reader034/viewer/2022042321/5f0bc2b67e708231d4321529/html5/thumbnails/33.jpg)
![Page 34: This is CS50cdn.cs50.net/2018/fall/lectures/0/lecture0.pdf · CSSO 1 2 3 5 8 11 12 pick up phone book open to middle of phone book look at names if Smith is among names call Mike](https://reader034.vdocuments.us/reader034/viewer/2022042321/5f0bc2b67e708231d4321529/html5/thumbnails/34.jpg)
![Page 35: This is CS50cdn.cs50.net/2018/fall/lectures/0/lecture0.pdf · CSSO 1 2 3 5 8 11 12 pick up phone book open to middle of phone book look at names if Smith is among names call Mike](https://reader034.vdocuments.us/reader034/viewer/2022042321/5f0bc2b67e708231d4321529/html5/thumbnails/35.jpg)
![Page 36: This is CS50cdn.cs50.net/2018/fall/lectures/0/lecture0.pdf · CSSO 1 2 3 5 8 11 12 pick up phone book open to middle of phone book look at names if Smith is among names call Mike](https://reader034.vdocuments.us/reader034/viewer/2022042321/5f0bc2b67e708231d4321529/html5/thumbnails/36.jpg)
![Page 37: This is CS50cdn.cs50.net/2018/fall/lectures/0/lecture0.pdf · CSSO 1 2 3 5 8 11 12 pick up phone book open to middle of phone book look at names if Smith is among names call Mike](https://reader034.vdocuments.us/reader034/viewer/2022042321/5f0bc2b67e708231d4321529/html5/thumbnails/37.jpg)
input → → output
![Page 38: This is CS50cdn.cs50.net/2018/fall/lectures/0/lecture0.pdf · CSSO 1 2 3 5 8 11 12 pick up phone book open to middle of phone book look at names if Smith is among names call Mike](https://reader034.vdocuments.us/reader034/viewer/2022042321/5f0bc2b67e708231d4321529/html5/thumbnails/38.jpg)
algorithms
![Page 39: This is CS50cdn.cs50.net/2018/fall/lectures/0/lecture0.pdf · CSSO 1 2 3 5 8 11 12 pick up phone book open to middle of phone book look at names if Smith is among names call Mike](https://reader034.vdocuments.us/reader034/viewer/2022042321/5f0bc2b67e708231d4321529/html5/thumbnails/39.jpg)
![Page 40: This is CS50cdn.cs50.net/2018/fall/lectures/0/lecture0.pdf · CSSO 1 2 3 5 8 11 12 pick up phone book open to middle of phone book look at names if Smith is among names call Mike](https://reader034.vdocuments.us/reader034/viewer/2022042321/5f0bc2b67e708231d4321529/html5/thumbnails/40.jpg)
![Page 41: This is CS50cdn.cs50.net/2018/fall/lectures/0/lecture0.pdf · CSSO 1 2 3 5 8 11 12 pick up phone book open to middle of phone book look at names if Smith is among names call Mike](https://reader034.vdocuments.us/reader034/viewer/2022042321/5f0bc2b67e708231d4321529/html5/thumbnails/41.jpg)
![Page 42: This is CS50cdn.cs50.net/2018/fall/lectures/0/lecture0.pdf · CSSO 1 2 3 5 8 11 12 pick up phone book open to middle of phone book look at names if Smith is among names call Mike](https://reader034.vdocuments.us/reader034/viewer/2022042321/5f0bc2b67e708231d4321529/html5/thumbnails/42.jpg)
![Page 43: This is CS50cdn.cs50.net/2018/fall/lectures/0/lecture0.pdf · CSSO 1 2 3 5 8 11 12 pick up phone book open to middle of phone book look at names if Smith is among names call Mike](https://reader034.vdocuments.us/reader034/viewer/2022042321/5f0bc2b67e708231d4321529/html5/thumbnails/43.jpg)
pseudocode
![Page 44: This is CS50cdn.cs50.net/2018/fall/lectures/0/lecture0.pdf · CSSO 1 2 3 5 8 11 12 pick up phone book open to middle of phone book look at names if Smith is among names call Mike](https://reader034.vdocuments.us/reader034/viewer/2022042321/5f0bc2b67e708231d4321529/html5/thumbnails/44.jpg)
![Page 45: This is CS50cdn.cs50.net/2018/fall/lectures/0/lecture0.pdf · CSSO 1 2 3 5 8 11 12 pick up phone book open to middle of phone book look at names if Smith is among names call Mike](https://reader034.vdocuments.us/reader034/viewer/2022042321/5f0bc2b67e708231d4321529/html5/thumbnails/45.jpg)
![Page 46: This is CS50cdn.cs50.net/2018/fall/lectures/0/lecture0.pdf · CSSO 1 2 3 5 8 11 12 pick up phone book open to middle of phone book look at names if Smith is among names call Mike](https://reader034.vdocuments.us/reader034/viewer/2022042321/5f0bc2b67e708231d4321529/html5/thumbnails/46.jpg)
![Page 47: This is CS50cdn.cs50.net/2018/fall/lectures/0/lecture0.pdf · CSSO 1 2 3 5 8 11 12 pick up phone book open to middle of phone book look at names if Smith is among names call Mike](https://reader034.vdocuments.us/reader034/viewer/2022042321/5f0bc2b67e708231d4321529/html5/thumbnails/47.jpg)
![Page 48: This is CS50cdn.cs50.net/2018/fall/lectures/0/lecture0.pdf · CSSO 1 2 3 5 8 11 12 pick up phone book open to middle of phone book look at names if Smith is among names call Mike](https://reader034.vdocuments.us/reader034/viewer/2022042321/5f0bc2b67e708231d4321529/html5/thumbnails/48.jpg)
![Page 49: This is CS50cdn.cs50.net/2018/fall/lectures/0/lecture0.pdf · CSSO 1 2 3 5 8 11 12 pick up phone book open to middle of phone book look at names if Smith is among names call Mike](https://reader034.vdocuments.us/reader034/viewer/2022042321/5f0bc2b67e708231d4321529/html5/thumbnails/49.jpg)
● functions● conditions● Boolean expressions● loops
![Page 50: This is CS50cdn.cs50.net/2018/fall/lectures/0/lecture0.pdf · CSSO 1 2 3 5 8 11 12 pick up phone book open to middle of phone book look at names if Smith is among names call Mike](https://reader034.vdocuments.us/reader034/viewer/2022042321/5f0bc2b67e708231d4321529/html5/thumbnails/50.jpg)
● functions● conditions● Boolean expressions● loops● variables● threads● events● ...
![Page 51: This is CS50cdn.cs50.net/2018/fall/lectures/0/lecture0.pdf · CSSO 1 2 3 5 8 11 12 pick up phone book open to middle of phone book look at names if Smith is among names call Mike](https://reader034.vdocuments.us/reader034/viewer/2022042321/5f0bc2b67e708231d4321529/html5/thumbnails/51.jpg)
![Page 52: This is CS50cdn.cs50.net/2018/fall/lectures/0/lecture0.pdf · CSSO 1 2 3 5 8 11 12 pick up phone book open to middle of phone book look at names if Smith is among names call Mike](https://reader034.vdocuments.us/reader034/viewer/2022042321/5f0bc2b67e708231d4321529/html5/thumbnails/52.jpg)
![Page 53: This is CS50cdn.cs50.net/2018/fall/lectures/0/lecture0.pdf · CSSO 1 2 3 5 8 11 12 pick up phone book open to middle of phone book look at names if Smith is among names call Mike](https://reader034.vdocuments.us/reader034/viewer/2022042321/5f0bc2b67e708231d4321529/html5/thumbnails/53.jpg)
![Page 54: This is CS50cdn.cs50.net/2018/fall/lectures/0/lecture0.pdf · CSSO 1 2 3 5 8 11 12 pick up phone book open to middle of phone book look at names if Smith is among names call Mike](https://reader034.vdocuments.us/reader034/viewer/2022042321/5f0bc2b67e708231d4321529/html5/thumbnails/54.jpg)
This is CS50