• 검색 결과가 없습니다.

This is CS50

N/A
N/A
Protected

Academic year: 2022

Share "This is CS50"

Copied!
125
0
0

로드 중.... (전체 텍스트 보기)

전체 글

(1)

This is CS50

(2)

2/3

of CS50 students have never taken CS before

(3)

what ultimately matters in this course is not so much where you end up relative to your classmates but where

you end up relative to yourself when you began

(4)

input → → output

(5)

representation

(6)
(7)

0 1 2 3 4 5 6 7 8 9

(8)

0 1

(9)

123

(10)

123

1

(11)

123

10 1

(12)

123

100 10 1

(13)

123

100 10 1

100 × 1

(14)

123

100 10 1

100 × 1 +

(15)

123

100 10 1

100 × 1 + 10 × 2

(16)

123

100 10 1

100 × 1 + 10 × 2 +

(17)

123

100 10 1

100 × 1 + 10 × 2 + 1 × 3

(18)

123

100 10 1

100 + 20 + 3

(19)

123

(20)

000

100 10 1

(21)

001

100 10 1

(22)

002

100 10 1

(23)

003

100 10 1

(24)

004

100 10 1

(25)

005

100 10 1

(26)

006

100 10 1

(27)

007

100 10 1

(28)

008

100 10 1

(29)

009

100 10 1

(30)

010

100 10 1

(31)

000

100 10 1

(32)

000

102 101 100

(33)

000

22 21 20

(34)

000

4 2 1

(35)

001

4 2 1

(36)

010

4 2 1

(37)

011

4 2 1

(38)

100

4 2 1

(39)

101

4 2 1

(40)

110

4 2 1

(41)

111

4 2 1

(42)

bit

(43)

💡

(44)

bit bit bit bit bit bit bit bit

(45)

💡💡💡💡💡💡💡

💡

(46)

byte

(47)

💡💡💡💡💡💡💡

💡

(48)

A

(49)

65

(50)

01000001

(51)

65

(52)

ASCII

(53)

... A B C D E F G H I ...

... 65 66 67 68 69 70 71 72 73 ...

(54)

72 73 33

(55)

H I

72 73 33

(56)

H I !

72 73 33

(57)
(58)
(59)
(60)

Unicode

(61)
(62)

128514

(63)

11111011000000010

(64)
(65)

RGB

(66)
(67)

72 73 33

(68)

72 73 33

(69)
(70)
(71)
(72)
(73)
(74)
(75)
(76)
(77)

input → → output

(78)

algorithms

(79)

1024 512 256 128 64 32 16 8 4 2 1

(80)
(81)
(82)
(83)
(84)
(85)
(86)
(87)
(88)

pseudocode

(89)

1 Pick up phone book

2 Open to middle of phone book 3 Look at page

4 If Smith is on page 5 Call Mike

6 Else if Smith is earlier in book

7 Open to middle of left half of book 8 Go back to line 3

9 Else if Smith is later in book

10 Open to middle of right half of book 11 Go back to line 3

12 Else

13 Quit

(90)

1 Pick up phone book

2 Open to middle of phone book 3 Look at page

4 If Smith is on page 5 Call Mike

6 Else if Smith is earlier in book

7 Open to middle of left half of book 8 Go back to line 3

9 Else if Smith is later in book

10 Open to middle of right half of book 11 Go back to line 3

12 Else

13 Quit

(91)

1 Pick up phone book

2 Open to middle of phone book 3 Look at page

4 If Smith is on page 5 Call Mike

6 Else if Smith is earlier in book

7 Open to middle of left half of book 8 Go back to line 3

9 Else if Smith is later in book

10 Open to middle of right half of book 11 Go back to line 3

12 Else

13 Quit

(92)

1 Pick up phone book

2 Open to middle of phone book 3 Look at page

4 If Smith is on page 5 Call Mike

6 Else if Smith is earlier in book

7 Open to middle of left half of book 8 Go back to line 3

9 Else if Smith is later in book

10 Open to middle of right half of book 11 Go back to line 3

12 Else

13 Quit

(93)

1 Pick up phone book

2 Open to middle of phone book 3 Look at page

4 If Smith is on page 5 Call Mike

6 Else if Smith is earlier in book

7 Open to middle of left half of book 8 Go back to line 3

9 Else if Smith is later in book

10 Open to middle of right half of book 11 Go back to line 3

12 Else

13 Quit

(94)

functions

conditions

Boolean expressions

loops

(95)

functions

conditions

Boolean expressions

loops

variables

threads

events

...

(96)

#include <stdio.h>

int main(void) {

printf("hello, world\n");

}

(97)
(98)
(99)
(100)
(101)
(102)
(103)
(104)

input → algorithms → output

(105)

→ algorithms → output →

(106)

→ → → output

(107)

→ →

(108)
(109)

input → algorithms → output

(110)

→ algorithms → → output

(111)

→ → → output

(112)

→ →

(113)
(114)

input → algorithms → output

(115)

→ algorithms → → output

(116)

→ → → output

(117)

→ →

(118)

(119)

(120)

(121)

→ →

(122)
(123)
(124)
(125)

This is CS50

참조

관련 문서

Here is the weather for this week: It is going to rain heavily today, so don’t forget to bring your umbrella with you.. I like the one with the smiley face at

모두들 매우 재미있고 즐거운 시간을 보내고 있다.. 그러나

This is because Jamie Hill, the owner of the restaurant, has played fast and loud dance music in

Therefore, his wife suggested changing the background music from fast and loud jazz music to slower and softer

나는 이것이 고객구분보다는 제품이나 서비스의 다양성 선택에 근거하기 때문에 이를 다양성 근거의 포지셔닝(vari ety based positioning)이라고 부른다... 예를

In the education section, you need to write the name of the city, and the phone number of the school where you received your degree or diploma from. 보호자 란에는 부모가

In the education section, you need to write the name of the city, and the phone number of the school where you received your degree or diploma from. 보호자 란에는 부모가

M: But that’s not going to make the grade I got today any better.. ② W: Thank you so much