A Tour of Programming on Khan Academy
-
0:02 - 0:06Okay, so now you've seen how cool
just a short program can be -
0:06 - 0:08so hopefully you're
really excited to keep going -
0:08 - 0:09with programming on Khan Academy.
-
0:09 - 0:13We want to give you a little
tour of what you can expect. -
0:13 - 0:17When we want to teach new concepts
we'll use coding talkthroughs -
0:17 - 0:19where we'll write code
on the left side, over here, -
0:19 - 0:21and we'll see the result
on the right side, -
0:21 - 0:23constantly updating
as we change the code. -
0:24 - 0:26We'll also be talking
about what we're writing, -
0:26 - 0:28so make sure you have your
headphones or your speakers on. -
0:29 - 0:32To get started with a
talkthrough, just click Play. -
0:32 - 0:35And Pause if you want to study
something that we've done. -
0:36 - 0:38You can even change
the code yourself then, -
0:38 - 0:39and see the result update.
-
0:40 - 0:43Like maybe, I think that
Winston is actually an alien -
0:43 - 0:46from this crazy planet
with purple faces, -
0:46 - 0:50and I just think that he should
have really, really big eyes. -
0:50 - 0:52Whoa! Bug eyes!
-
0:52 - 0:54Programming isn't just about
-
0:54 - 0:56going through the tutorials
that we've given you. -
0:56 - 0:58Our favorite part about programming
-
0:58 - 1:00is the exploration
and the creativity of it. -
1:01 - 1:03That means that when you wake
up in the middle of the night -
1:03 - 1:05with an idea for a completely new program,
-
1:06 - 1:09just log on and click New Program.
-
1:09 - 1:12Once you've done that, you'll get
a blank editor and a blank canvas, -
1:12 - 1:15and the world will be
your programmatic playground. -
1:15 - 1:16So, you might not remember
how to do things. -
1:16 - 1:18You can look down at the
documentation, -
1:18 - 1:21and remember, "Oh yeah, okay,
I want the ellipse function, -
1:22 - 1:26and then I'm going to use
the draw function, okay." -
1:26 - 1:28Alright so we go up here,
-
1:29 - 1:32and we use some variables there.
-
1:35 - 1:37And then we hope it runs.
-
1:37 - 1:40Oh! But we got a problem, uh-oh:
'mouseZ is not defined.' -
1:40 - 1:42Oh, okay...okay, that's fine.
-
1:42 - 1:44It's actually supposed to be 'mouseY.'
-
1:44 - 1:46Oh! And now it works.
And so here's the point: -
1:46 - 1:48It's totally okay to make mistakes.
-
1:48 - 1:50You should make mistakes.
-
1:50 - 1:52That's what we programmers do,
all the time. -
1:52 - 1:54We just break things,
and make mistakes, -
1:54 - 1:55and then we learn from them.
-
1:57 - 1:59Now once I've made my
amazing new program, -
1:59 - 2:01and I'm really satisfied with it,
-
2:01 - 2:02I can save it,
-
2:02 - 2:06give it a really nice, descriptive name,
-
2:06 - 2:09like Circle Drawy ThingyBobber.
-
2:09 - 2:12Maybe, Mister Circle Drawy ThingyBobber.
-
2:12 - 2:14I can save that,
-
2:15 - 2:17and then other people
can actually find it! -
2:17 - 2:20But creativity isn't just about
creating completely new things, -
2:20 - 2:23it's just as much about building
on top of existing things, -
2:23 - 2:25and taking them in new directions.
-
2:25 - 2:27That's the power of the spin-off.
-
2:27 - 2:31So now that I've saved this program,
I could actually go and modify it. -
2:31 - 2:34And if I consider my new
program to be different, -
2:34 - 2:36I can just go, oh!
Save as a spin-off. -
2:36 - 2:42Alright so this one's like
Mister BIG Circle Drawy ThingyBobber. -
2:45 - 2:47But you don't just have to
spin-off your own programs, -
2:47 - 2:50you can spin-off anyone's programs,
-
2:50 - 2:53so we've made it really easy for you
to find other people's programs. -
2:53 - 2:56You can browse the Hot, the
Spotlight, the Top, the Recent. -
2:57 - 2:58I mean, I spend my Friday nights
-
2:58 - 3:00just browsing programs on Khan Academy
-
3:00 - 3:02because I find so many cool things
-
3:02 - 3:04that I would have never thought of!
-
3:05 - 3:08So some people make games,
like Doodle Jump-- -
3:08 - 3:11you ever played that on the mobile phone?
It's a really fun game, -
3:11 - 3:15and somebody made
this version on here, and-- -
3:15 - 3:16Oh man!!...okay...
-
3:16 - 3:18Ohh!... oh I've almost got it!
-
3:18 - 3:19Aargh!
-
3:19 - 3:22Alright...alright...
I'll play that again later. -
3:22 - 3:23People make simulations,
-
3:23 - 3:25so if you want to understand
how a pendulum works, -
3:25 - 3:27like if you're in physics class,
-
3:27 - 3:29you're going to do it
in a much more fun way -
3:29 - 3:31by using this simulation here.
-
3:31 - 3:33And then you can go
and modify things on the side -
3:33 - 3:36to see how different variables
affect the pendulum. -
3:37 - 3:40People make drawings,
like of their favorite cartoon characters. -
3:40 - 3:43This is my favorite,
the TARDIS from Dr. Who. -
3:43 - 3:46And if you're not watching
Dr. Who yet, you really should, -
3:46 - 3:49because as you can see,
from all the programs -
3:49 - 3:51and spin-offs on Khan Academy,
-
3:51 - 3:53it's a really cool show.
-
3:53 - 3:56People make charts or
even animated charts. -
3:57 - 4:00Some people make really trippy
animations, like this one. -
4:00 - 4:03I could just watch this for hours,
and get hypnotized by it. -
4:04 - 4:06And you can see that
lots of other people liked it, too, -
4:06 - 4:08because they made
all these spin-offs of it, right? -
4:09 - 4:12Because that's the thing,
if you find a program that you like, -
4:12 - 4:13you can just start tinkering with it,
-
4:13 - 4:17and seeing, like, "Oh, well what if
I change this, and I change this... -
4:17 - 4:21and maybe I change this, here.
How does it change it?" -
4:22 - 4:24And you may not even
understand it entirely at first, -
4:24 - 4:25but the more you tinker with it,
-
4:25 - 4:27and the more you play with the code,
-
4:27 - 4:28you get a better feel for it,
-
4:28 - 4:30and then maybe
you come up with this variation -
4:30 - 4:32that you think is really cool,
-
4:32 - 4:35and then you'll save it as a spin-off
and say, like, "Alright! -
4:35 - 4:39This is my Really Cool version
of the Hypnosaic. -
4:40 - 4:42And then you can save it,
and other people can find it. -
4:44 - 4:46But maybe you want to ask
a question about it, right? -
4:46 - 4:48Maybe you don't quite
understand how something works. -
4:48 - 4:52Well, just go to the Questions panel,
and say like, oh, okay, well... -
4:53 - 4:57"Why did you start your variables with 'i'?
-
4:58 - 5:00Do you work for Apple?"
-
5:01 - 5:02And you can ask your question,
-
5:02 - 5:04and hopefully the person
who created it will answer it, -
5:05 - 5:08and if you find a question that
you know the answer to, -
5:09 - 5:10then answer them, and say, like,
-
5:10 - 5:13"Hey! Yeah, you can,
-
5:14 - 5:15here's where I did it:"
-
5:15 - 5:18And a lot of times you can answer
with actually a link -
5:18 - 5:19to another scratchpad,
-
5:19 - 5:21where you actually
answered their question. -
5:21 - 5:25Now if you just want to say
how awesome it is, or give a tip, -
5:25 - 5:28you can go to the Tips & Feedback panel,
-
5:28 - 5:34And say, like, "Wow! This is
the coolest thing I've seen today." -
5:35 - 5:37And then the creator will feel really good
-
5:37 - 5:40because they got this compliment from you.
-
5:40 - 5:42And that's one of the awesome
things about programming, -
5:42 - 5:44is that you can put out
these things in the world, -
5:44 - 5:46and you never know
who's going to find them, -
5:46 - 5:49and whose day you're going
to make better, because they found -
5:49 - 5:52this really cool, creative thing
that you came up with. -
5:53 - 5:56So, we want this to be a community
of people learning from each other, -
5:56 - 5:58and sharing their creations
with each other. -
5:58 - 6:01Because that's a big part of what
we love about programming. -
6:02 - 6:03It will definitely be hard at first,
-
6:03 - 6:06and your first programs,
they'll start off small. -
6:06 - 6:08But as you keep going,
you'll be able to do more and more, -
6:08 - 6:11until one day you realize that, wow!
-
6:11 - 6:14You can do almost anything
in programming!
- Title:
- A Tour of Programming on Khan Academy
- Description:
-
more » « less
We'll take you on a tour of what it's like to learn programming on Khan Academy - taking the tutorials, creating new programs, making spin-offs of other people's sweet programs, and helping each other out along the way. Join us at http://khanacademy.org/cs
- Video Language:
- English
- Duration:
- 06:15
| Mary Beth Strawn edited English subtitles for A Tour of Programming on Khan Academy | ||
| Retired user edited English subtitles for A Tour of Programming on Khan Academy | ||
| Retired user edited English subtitles for A Tour of Programming on Khan Academy | ||
| Retired user edited English subtitles for A Tour of Programming on Khan Academy | ||
|
Report Bot edited English subtitles for A Tour of Programming on Khan Academy |
