5-Minute Break Introduction To Pset0 Until 2:30pm
5-Minute Break Introduction To Pset0 Until 2:30pm
5-minute break *
123
100 10 1
123
100 1
100 10 1
123
100 1 + 10 2
100 10 1
123
100 1 + 10 2 + 13
100 10 1
123
100 + 20 + 3
123
000
4 2 1
000
4 2 1
001
4 2 1
010
4 2 1
011
4 2 1
100
4 2 1
101
4 2 1
110
4 2 1
111
42
50
ASCII
A B C D E F G H I ...
65 66 67 68 69 70 71 72 73 ...
72 73 33
H I !
72 73 33
H I !
72 73 33
H I !
72 73 33
72 73 33
72 73 33
abstraction
inputs outputs
algorithms
0 Stand up and think of the number 1.
size of problem
n
time to solve
size of problem
n n/2
time to solve
size of problem
n n/2
time to solve
log n
size of problem
This is CS50
cs50.ly/new
lectures
attend first
attend last
walkthroughs
released on Fridays
less comfortable
more comfortable
somewhere in between
sections
Mondays
Tuesdays
Wednesdays
office hours
Mondays
Tuesdays
Wednesdays
Thursdays
Fridays
Saturdays
Sundays
office hours
Mondays
Tuesdays
Wednesdays
Thursdays
Fridays
Saturdays
Sundays
tutoring
CS50 Coding Contest
introduction to CS50 until 2pm
5-minute break *
5-minute break *
int main(void)
{
printf("hello, world\n");
}
functions
loops
variables
Boolean expressions
conditions
arrays
threads
events