[Script Info] Title: [Events] Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text Dialogue: 0,0:00:06.04,0:00:10.24,Default,,0000,0000,0000,,Which grade are you in?\Nsecond, tenth grade, first grade Dialogue: 0,0:00:10.24,0:00:12.42,Default,,0000,0000,0000,,I was in the eight grade when I learned to program. Dialogue: 0,0:00:12.42,0:00:15.21,Default,,0000,0000,0000,,I got my first computer when I was in the sixth grade. Dialogue: 0,0:00:16.76,0:00:20.10,Default,,0000,0000,0000,,What me gets excited is\Nbeing able to fix peoples problems Dialogue: 0,0:00:20.31,0:00:23.54,Default,,0000,0000,0000,,You can express yourself;\Nyou can build things from an idea. Dialogue: 0,0:00:24.49,0:00:27.08,Default,,0000,0000,0000,,Computer science is the basis for a lot of the things\N Dialogue: 0,0:00:27.08,0:00:31.15,Default,,0000,0000,0000,,students and proffesionals will do\Nfor the next 20 or 30 years. Dialogue: 0,0:00:31.15,0:00:34.12,Default,,0000,0000,0000,,I like programming because I like helping people. Dialogue: 0,0:00:34.22,0:00:39.17,Default,,0000,0000,0000,,I get the opportunity to build something\Nthat's gonna make peoples life easier. Dialogue: 0,0:00:39.32,0:00:41.49,Default,,0000,0000,0000,,I think this is the closest thing we have to superpower. Dialogue: 0,0:00:41.61,0:00:43.76,Default,,0000,0000,0000,,Getting started is the most important part. Dialogue: 0,0:00:43.87,0:00:48.02,Default,,0000,0000,0000,,I'm a beginner and I want you to learn with me. Dialogue: 0,0:00:48.10,0:00:49.34,Default,,0000,0000,0000,,Hi, my name is Lyndsey Dialogue: 0,0:00:49.34,0:00:53.07,Default,,0000,0000,0000,,I majored in theaterian college, \Nbut I also majored in computer science. Dialogue: 0,0:00:53.07,0:00:56.09,Default,,0000,0000,0000,,And now I'm model, act and write my own apps. Dialogue: 0,0:00:56.24,0:01:01.30,Default,,0000,0000,0000,,Let's use code to help Anna and Elsa \Nas they explore the magic and beauty of ice. Dialogue: 0,0:01:01.44,0:01:04.80,Default,,0000,0000,0000,,You'll create snowflakes and patterns\Nif you ice-skate Dialogue: 0,0:01:04.80,0:01:07.69,Default,,0000,0000,0000,,and make a winterwonderland\Nwhich you can share with your friends. Dialogue: 0,0:01:08.40,0:01:11.57,Default,,0000,0000,0000,,In the next hour, \Nyou're going to learn the basics of how to code. Dialogue: 0,0:01:12.65,0:01:14.97,Default,,0000,0000,0000,,Traditionally programming is usually in text, Dialogue: 0,0:01:14.97,0:01:20.24,Default,,0000,0000,0000,,but we will use blockly which uses visual blocks,\Nwhich you can drag and drop to write programs. Dialogue: 0,0:01:20.52,0:01:23.15,Default,,0000,0000,0000,,This is how even university students learn the basics.\N Dialogue: 0,0:01:23.15,0:01:26.02,Default,,0000,0000,0000,,Under the hood, you are still creating code. Dialogue: 0,0:01:26.02,0:01:30.69,Default,,0000,0000,0000,,The concepts you will be learning \Nare concepts which computer programmers are using every day Dialogue: 0,0:01:30.69,0:01:33.22,Default,,0000,0000,0000,,and are the foundation to computer science. Dialogue: 0,0:01:34.20,0:01:37.94,Default,,0000,0000,0000,,A PROGRAM is a set of instructions \Nthat tell a computer what to do. Dialogue: 0,0:01:38.93,0:01:43.33,Default,,0000,0000,0000,,Let's build a code for a program that will help Elsa to create a simple line. Dialogue: 0,0:01:44.22,0:01:46.88,Default,,0000,0000,0000,,We will use this later to create more complex patterns. Dialogue: 0,0:01:48.42,0:01:50.79,Default,,0000,0000,0000,,Your screen is split into three main parts. Dialogue: 0,0:01:50.92,0:01:54.75,Default,,0000,0000,0000,,On the left is the ice surface \Nwhere you will run your program. Dialogue: 0,0:01:55.100,0:01:59.14,Default,,0000,0000,0000,,The instructions for each level \Nare written right below the surface. Dialogue: 0,0:01:59.77,0:02:05.76,Default,,0000,0000,0000,,This middle area is the toolbox and each of these blocks\Nis an action Elsa and Anna can do. Dialogue: 0,0:02:05.76,0:02:10.68,Default,,0000,0000,0000,,The white space on the right is called the workspace \Nand this is where we will build our program. Dialogue: 0,0:02:10.88,0:02:14.85,Default,,0000,0000,0000,,To move around the ice surface, you wiull use the "move forward"-block. Dialogue: 0,0:02:15.00,0:02:19.99,Default,,0000,0000,0000,,Here the move forward block says,\Nmove forward by 100 pixels. Dialogue: 0,0:02:20.43,0:02:23.32,Default,,0000,0000,0000,,When we press run... What happens? Dialogue: 0,0:02:23.32,0:02:28.90,Default,,0000,0000,0000,,Elsa moves forward a certain amount on the screen...\N100 pixels in fact. Dialogue: 0,0:02:28.90,0:02:32.59,Default,,0000,0000,0000,,Pixels are basically very tiny squares on your computer screen. Dialogue: 0,0:02:33.04,0:02:37.70,Default,,0000,0000,0000,,The other block in the puzzle sais:\N"turn right by 90 degrees". Dialogue: 0,0:02:38.04,0:02:42.76,Default,,0000,0000,0000,,When we use the "turn right"-block,\Nthat makes elsa turn a certain amount. Dialogue: 0,0:02:43.08,0:02:45.82,Default,,0000,0000,0000,,You can play around with how far you want elsa to turn. Dialogue: 0,0:02:46.06,0:02:52.31,Default,,0000,0000,0000,,The angle is measured from the path ahead of Elsa,\Nso this is the 90 degree turn... Dialogue: 0,0:02:52.48,0:02:54.42,Default,,0000,0000,0000,,and this is an 120 degree turn. Dialogue: 0,0:02:54.91,0:02:59.73,Default,,0000,0000,0000,,And remember, you can change the number of pixels or degrees\Nby clicking on the arrows next to them