[Script Info] Title: [Events] Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text Dialogue: 0,0:00:00.00,0:00:04.31,Default,,0000,0000,0000,,So for this section, I'm gonna talk about\Nsort of off start questions that people Dialogue: 0,0:00:04.31,0:00:08.47,Default,,0000,0000,0000,,posted on the forums. So I'm really glad\Npeople post all sort of questions and Dialogue: 0,0:00:08.47,0:00:12.42,Default,,0000,0000,0000,,discussions whatever. I'm sorry I can't\Ntalk about all of them. I just have to Dialogue: 0,0:00:12.42,0:00:16.83,Default,,0000,0000,0000,,pick some of them. And I'll made this kind\Nof simple outline of what am I gonna say. Dialogue: 0,0:00:17.00,0:00:21.56,Default,,0000,0000,0000,,So the most popular topic in a sense was\Nwell what can I do after CS101? Where Dialogue: 0,0:00:21.56,0:00:26.11,Default,,0000,0000,0000,,should I go? What about this language that\Nlanguage, whatever and I'm not gonna Dialogue: 0,0:00:26.11,0:00:30.49,Default,,0000,0000,0000,,answer right now. That would be, I promise\NI will talk about HTML5 and phone Dialogue: 0,0:00:30.49,0:00:35.27,Default,,0000,0000,0000,,programming and Java and Python all that\Nsort of things. I will talk about in last Dialogue: 0,0:00:35.27,0:00:40.12,Default,,0000,0000,0000,,week. We'll have an official section about\Nthat so I'm not talking about that today Dialogue: 0,0:00:40.12,0:00:44.89,Default,,0000,0000,0000,,so that's get [inaudible] questions. So\Nall an out, I was gonna through, you know, Dialogue: 0,0:00:44.89,0:00:49.77,Default,,0000,0000,0000,,some like shows up, that's interesting, So\NMargaret Imber asks essentially how, how Dialogue: 0,0:00:49.77,0:00:54.82,Default,,0000,0000,0000,,do you produce this stuff and what kind of\Ngoes in to it. First of I should say I Dialogue: 0,0:00:54.82,0:00:59.66,Default,,0000,0000,0000,,feel like the technology, I mean, it works\Nbut I also feel like the whole Online Dialogue: 0,0:00:59.66,0:01:05.27,Default,,0000,0000,0000,,education areas so hot that I'm sure ten\Nyears from now will be just light years Dialogue: 0,0:01:05.27,0:01:09.78,Default,,0000,0000,0000,,better, But The way CS101 is produced and\Nit works pretty well and it's actually Dialogue: 0,0:01:09.78,0:01:14.02,Default,,0000,0000,0000,,fairly simple. So, I write for each\Nlecture, I just write straight HTML which Dialogue: 0,0:01:14.02,0:01:18.54,Default,,0000,0000,0000,,is the, the sort of standard language of\Nweb pages, pages And, and there's a thing Dialogue: 0,0:01:18.54,0:01:22.99,Default,,0000,0000,0000,,called CSS that is used kind of style with\Npages and stuff, the font, the color and Dialogue: 0,0:01:22.99,0:01:27.40,Default,,0000,0000,0000,,stuff. And then I'll just have JPEG and\NPNG images which are also standard and Dialogue: 0,0:01:27.40,0:01:31.31,Default,,0000,0000,0000,,I'll put those in the pages and that's\Nwhat the, that's what the lecture Dialogue: 0,0:01:31.31,0:01:35.61,Default,,0000,0000,0000,,practically looks like. This program\Ncalled OpenOffice, the free office suite Dialogue: 0,0:01:35.61,0:01:39.95,Default,,0000,0000,0000,,or recently, there's a new version called\NLibreOffice, Which is like, talk about Dialogue: 0,0:01:39.95,0:01:44.64,Default,,0000,0000,0000,,nerves coming up with not good product\Nnames. I think LibreOffice is not a good Dialogue: 0,0:01:44.64,0:01:49.09,Default,,0000,0000,0000,,name. Anyway that includes a free drop\Nprogram and so that I just use a free Dialogue: 0,0:01:49.09,0:01:53.78,Default,,0000,0000,0000,,program to produce the rectangles and\Nboxes and whatever. Just as inside I think Dialogue: 0,0:01:53.78,0:01:58.58,Default,,0000,0000,0000,,I will mention if you're ever pro ducing a\Ndocument where you're trying to explain Dialogue: 0,0:01:58.58,0:02:02.75,Default,,0000,0000,0000,,something I mean diagrams are just so\Nawesome/ And I think a lot of authors or Dialogue: 0,0:02:02.75,0:02:06.34,Default,,0000,0000,0000,,teachers feel sort of inhibited like oh\Nwell, I'm not gonna make very good artist, Dialogue: 0,0:02:06.34,0:02:09.98,Default,,0000,0000,0000,,not gonna look that great. And so there's\Ninhibited to where they just don't do it Dialogue: 0,0:02:09.98,0:02:13.74,Default,,0000,0000,0000,,or their in words end up trying to paint a\Npicture on words on what the thing is. And Dialogue: 0,0:02:13.74,0:02:17.71,Default,,0000,0000,0000,,I got to say. Just make a diagram. Just\Nuse your crummy arts skills and don't feel Dialogue: 0,0:02:17.71,0:02:21.79,Default,,0000,0000,0000,,uninhibited about being criticized and\Njust make a simple little diagram and that Dialogue: 0,0:02:21.79,0:02:25.88,Default,,0000,0000,0000,,is much better. Anyway, that's what I do\Nso that will end up with this fairly crude Dialogue: 0,0:02:25.88,0:02:30.07,Default,,0000,0000,0000,,looking diagrams I'll sprinkle all through\Nhere. So, just in, in terms of producing Dialogue: 0,0:02:30.07,0:02:34.23,Default,,0000,0000,0000,,the videos, I was thinking like sometimes\Nwe'll, we'll hear a story where someone Dialogue: 0,0:02:34.23,0:02:38.28,Default,,0000,0000,0000,,says oh well, you know, I have this tire\Nin my car and it blew up and I was almost Dialogue: 0,0:02:38.28,0:02:42.14,Default,,0000,0000,0000,,killed and you're like oh, what kind of\Ntire was it? And well, he'll say well I Dialogue: 0,0:02:42.14,0:02:45.84,Default,,0000,0000,0000,,don't wanna say it. That's lame, whatever.\NWe should give credit or you know, Dialogue: 0,0:02:45.84,0:02:50.10,Default,,0000,0000,0000,,criticism or say so I'm just gonna say\Nwhat technology would [inaudible] a little Dialogue: 0,0:02:50.10,0:02:54.38,Default,,0000,0000,0000,,picture. So to produce the videos. So this\Nis what a typical set up looks like. So Dialogue: 0,0:02:54.38,0:02:58.75,Default,,0000,0000,0000,,I'm sitting on a laptop and I've got here\Nthe HTML page open. I'm just gonna end up, Dialogue: 0,0:02:58.75,0:03:03.28,Default,,0000,0000,0000,,obviously I'm just gonna scroll through it\Nas I'm talking about stuff so then for the Dialogue: 0,0:03:03.28,0:03:07.34,Default,,0000,0000,0000,,sound, there is this company Blue that\Nmakes a bunch of microphones. These USB Dialogue: 0,0:03:07.34,0:03:11.96,Default,,0000,0000,0000,,microphones, just plug it in your computer\Nand just we've been using that. Seems to Dialogue: 0,0:03:11.96,0:03:17.34,Default,,0000,0000,0000,,work pretty nicely and then the video of,\Nof the talking head is just this Logitech Dialogue: 0,0:03:17.34,0:03:22.66,Default,,0000,0000,0000,,HD camera which also seems to work pretty\Nnicely and also USB. So, you just plug in Dialogue: 0,0:03:22.66,0:03:27.10,Default,,0000,0000,0000,,here, And then finally, we use on the Mac,\Nwe use a software called ScreenFlow. This Dialogue: 0,0:03:27.10,0:03:31.27,Default,,0000,0000,0000,,seems that, it's pretty easy to merge\Ntogether the picture of the desktop you Dialogue: 0,0:03:31.27,0:03:35.60,Default,,0000,0000,0000,,know showing the computer screen and\Nmerging the talking head and the sound and Dialogue: 0,0:03:35.60,0:03:39.93,Default,,0000,0000,0000,,then you know, I'm trying this and so I'm\Npretty happy with that. Alright. So yeah, Dialogue: 0,0:03:39.93,0:03:44.42,Default,,0000,0000,0000,,that's how we pro duce that I should say\Nthen Corsera has its own kind of internal Dialogue: 0,0:03:44.42,0:03:48.74,Default,,0000,0000,0000,,technology for how it does the exercises\Nand whatever. That's. I'm sure that's Dialogue: 0,0:03:48.74,0:03:53.67,Default,,0000,0000,0000,,gonna change a lot and get better but it\Nworks. All right, another question, we Dialogue: 0,0:03:53.67,0:03:59.24,Default,,0000,0000,0000,,have Roberto Lopez asked about nested If\Nstatements and or logics or the natural Dialogue: 0,0:03:59.24,0:04:03.72,Default,,0000,0000,0000,,from last week is kinda a natural\Nquestion, a great question really. It Dialogue: 0,0:04:03.72,0:04:08.15,Default,,0000,0000,0000,,turns out. That's the topic this week.\NYou're gonna see all sorts of, it turns Dialogue: 0,0:04:08.15,0:04:12.99,Default,,0000,0000,0000,,out the syntax for that is this and our\Nbut that's in the so and as two ampersands Dialogue: 0,0:04:12.99,0:04:17.17,Default,,0000,0000,0000,,or this two vertical bars and that's,\Nthat's all through this week's lectures Dialogue: 0,0:04:17.17,0:04:21.57,Default,,0000,0000,0000,,and it'll come out more than you want on\Nthe on the weekly exercises so good Dialogue: 0,0:04:21.57,0:04:26.02,Default,,0000,0000,0000,,anticipatory question there. Also just\Nnested statements put one statement inside Dialogue: 0,0:04:26.02,0:04:30.92,Default,,0000,0000,0000,,of another. Turns out it's kind of like\Nend cause you end up having the first test Dialogue: 0,0:04:30.92,0:04:35.99,Default,,0000,0000,0000,,and the second test have to be true. So,\Nanyway just check it out. Another question Dialogue: 0,0:04:35.99,0:04:40.100,Default,,0000,0000,0000,,was about a syntax, computer language\Nsyntax so moving, doing the waiver asked Dialogue: 0,0:04:40.100,0:04:45.89,Default,,0000,0000,0000,,questions about syntax, cuz one of the\Npeople mentioned it. So I know that it's Dialogue: 0,0:04:45.89,0:04:50.13,Default,,0000,0000,0000,,just CS101 sort of going from no\Nprogramming to some programming. This Dialogue: 0,0:04:50.13,0:04:54.83,Default,,0000,0000,0000,,syntax maybe is very, it's very sort\Ninterface I like to use, it's kind of Dialogue: 0,0:04:54.83,0:04:59.80,Default,,0000,0000,0000,,annoying. I'll tell you all computer\Nlanguages have this sort of fixed syntax Dialogue: 0,0:04:59.80,0:05:04.56,Default,,0000,0000,0000,,and ultimately I think it is not an\Naccident that the fixed sort of rigid Dialogue: 0,0:05:04.56,0:05:09.84,Default,,0000,0000,0000,,syntax is ultimately an excellent way to\Ncommunicate with computers. So honestly I Dialogue: 0,0:05:09.84,0:05:14.83,Default,,0000,0000,0000,,don't see that going away. You'll get used\Nto it. I, you know, I work with computers Dialogue: 0,0:05:14.83,0:05:18.69,Default,,0000,0000,0000,,all day long, all sorts of different\Nsyntaxes and I never, I never feel like Dialogue: 0,0:05:18.69,0:05:22.40,Default,,0000,0000,0000,,oh, this syntax, oh this really\Ninterfering with my ability to express my Dialogue: 0,0:05:22.40,0:05:26.42,Default,,0000,0000,0000,,ideas. You know what, it's like at some\Npoint, I just got used to it, that's what Dialogue: 0,0:05:26.42,0:05:30.90,Default,,0000,0000,0000,,computers are and now I just work with the\N[inaudible] system very comfortable. So I Dialogue: 0,0:05:30.90,0:05:35.02,Default,,0000,0000,0000,,don't know if that's a good news. But\Nthat, that's my honest take on that, this Dialogue: 0,0:05:35.02,0:05:39.66,Default,,0000,0000,0000,,is syntax. Chris [inaudible] points out\Nthere's a system called Scratch that enab Dialogue: 0,0:05:39.66,0:05:44.23,Default,,0000,0000,0000,,les you to do some sorts of programming\Nbut without syntax where you sort of drag Dialogue: 0,0:05:44.23,0:05:48.71,Default,,0000,0000,0000,,and drop these little blocks around the\Nrepresent logic. There's also some of Dialogue: 0,0:05:48.71,0:05:53.25,Default,,0000,0000,0000,,named as Alice system where you have these\N3D things that kinda run around and that Dialogue: 0,0:05:53.25,0:05:57.57,Default,,0000,0000,0000,,also doesn't use syntax. So those are\Nexperiments in this kind of programming Dialogue: 0,0:05:57.57,0:06:01.68,Default,,0000,0000,0000,,space. Well, could you show people\Nsomething about logic you know, let them Dialogue: 0,0:06:01.68,0:06:06.28,Default,,0000,0000,0000,,play around and learn about computers but\Nnot get [inaudible] syntax. Realistically, Dialogue: 0,0:06:06.28,0:06:10.63,Default,,0000,0000,0000,,my take is, is different from the Scratch\N[inaudible] system where my take is that Dialogue: 0,0:06:10.63,0:06:14.87,Default,,0000,0000,0000,,very introductory students can deal with a\Nlittle bit of syntax and that is, that's Dialogue: 0,0:06:14.87,0:06:19.11,Default,,0000,0000,0000,,my that's my attempt at this problem. But\Nthese non-syntax systems are very also Dialogue: 0,0:06:19.11,0:06:23.20,Default,,0000,0000,0000,,popular and it's just, you know, you have\Nto kind jump through a lot of hoops and Dialogue: 0,0:06:23.20,0:06:27.18,Default,,0000,0000,0000,,stuff to make things work without syntax.\NAlso, ultimately I, I put my, my bet, on Dialogue: 0,0:06:27.18,0:06:31.22,Default,,0000,0000,0000,,you know, let's try to make some syntax\Nwork and then honestly it remains to be Dialogue: 0,0:06:31.22,0:06:35.41,Default,,0000,0000,0000,,seen which works better and obviously,\Nit's just can be different for different Dialogue: 0,0:06:35.41,0:06:38.100,Default,,0000,0000,0000,,audiences. You know, if I had. First\Ngraders I would think yeah, maybe the Dialogue: 0,0:06:38.100,0:06:42.72,Default,,0000,0000,0000,,syntax is too much. Maybe I would try\Nsomething else. But anyways, this is a Dialogue: 0,0:06:42.72,0:06:48.08,Default,,0000,0000,0000,,courage area of research, how that's going\Nto work out Anonymous person asked what is Dialogue: 0,0:06:48.08,0:06:52.100,Default,,0000,0000,0000,,the real syntax for a Javascript\Nportfolio? So I've mentioned here and Dialogue: 0,0:06:52.100,0:06:58.06,Default,,0000,0000,0000,,there, I should do this in the last\Nsection as well that, mostly we're doing Dialogue: 0,0:06:58.06,0:07:03.79,Default,,0000,0000,0000,,Javascript but you've got this sort of\Nnick extensions on the front of them so at Dialogue: 0,0:07:03.79,0:07:08.93,Default,,0000,0000,0000,,the end, I'll need to expose what is, I\Ncan help with the. So All computer Dialogue: 0,0:07:08.93,0:07:13.69,Default,,0000,0000,0000,,languages have some syntax for this idea\Nthat you have a big group of things and Dialogue: 0,0:07:13.69,0:07:18.39,Default,,0000,0000,0000,,you wanted just essentially loop over\Nthem, You wanna do some operation for each Dialogue: 0,0:07:18.39,0:07:23.56,Default,,0000,0000,0000,,one. So here's a good syntax for that.\NFour pixel cone image, that's the syntax Dialogue: 0,0:07:23.56,0:07:28.80,Default,,0000,0000,0000,,we've been using. And actually that is\Npretty much the syntax that Java uses and Dialogue: 0,0:07:28.80,0:07:33.84,Default,,0000,0000,0000,,actually very close to the syntax that\NPipeline uses and that's very popular Dialogue: 0,0:07:33.84,0:07:38.82,Default,,0000,0000,0000,,languages. It happens ironically this is\Nnot the syntax that JavaScript uses. Dialogue: 0,0:07:38.82,0:07:43.36,Default,,0000,0000,0000,,Javascript just by historical accident\NDoesn't have a good syntax for this very Dialogue: 0,0:07:43.36,0:07:47.36,Default,,0000,0000,0000,,common case. I think this one of the very\Nunfortunate things about a Javascript. And Dialogue: 0,0:07:47.36,0:07:51.12,Default,,0000,0000,0000,,you may ask, well why they don't just fix\Nit. It's a little bit, you know, once a Dialogue: 0,0:07:51.12,0:07:54.83,Default,,0000,0000,0000,,language is out there and millions of\Nlines and codes have been written, they Dialogue: 0,0:07:54.83,0:07:58.18,Default,,0000,0000,0000,,can't just change so we'll have it\N[inaudible]. It's certainly like. If Dialogue: 0,0:07:58.18,0:08:01.59,Default,,0000,0000,0000,,England decides, you know, it really would\Nbe better if we all drop on the right had Dialogue: 0,0:08:01.59,0:08:04.79,Default,,0000,0000,0000,,inside [inaudible]. Yeah but they've got\Nall of these roads and all these cars. Dialogue: 0,0:08:04.79,0:08:07.99,Default,,0000,0000,0000,,There's all the stuff in place where they\Ncan't just switch. And so, when I say Dialogue: 0,0:08:07.99,0:08:11.15,Default,,0000,0000,0000,,something is sort of stuck as historical\Naccident, that's when [inaudible] it Dialogue: 0,0:08:11.15,0:08:15.62,Default,,0000,0000,0000,,happens with the Javascript. History was\Nunkind. It has many nice qualities but Dialogue: 0,0:08:15.62,0:08:20.93,Default,,0000,0000,0000,,this one is terrible. So anyway, what is\Nthe syntax? So the syntax begins 4i or Dialogue: 0,0:08:20.93,0:08:26.24,Default,,0000,0000,0000,,this could be any variable you want, 4i in\Nimage. So you're gonna loop i over the Dialogue: 0,0:08:26.24,0:08:31.48,Default,,0000,0000,0000,,image but unfortunately in this case you\Nwould think i was gonna be the pixels Dialogue: 0,0:08:31.48,0:08:37.12,Default,,0000,0000,0000,,themselves but its not. It's an index into\Nthe image and then so then your next line Dialogue: 0,0:08:37.12,0:08:42.24,Default,,0000,0000,0000,,would have to say pixel = image square. So\Nyou take this index, you got here, used it Dialogue: 0,0:08:42.24,0:08:45.92,Default,,0000,0000,0000,,in the square back of an image and the\Nneck gets you to pixel up. Anyway, Dialogue: 0,0:08:45.92,0:08:50.07,Default,,0000,0000,0000,,obviously this is not gonna come up for\NCS101 but that, that's the syntax. There's Dialogue: 0,0:08:50.07,0:08:54.10,Default,,0000,0000,0000,,a couple syntaxes in Javascript but\Nthat's, that's probably the last one. Now, Dialogue: 0,0:08:54.10,0:08:57.94,Default,,0000,0000,0000,,if you're writing a lot of code in\NJavascript, you know, I am obviously, I am Dialogue: 0,0:08:57.94,0:09:02.08,Default,,0000,0000,0000,,a little saddened by this kind of lame\Nsyntax but you know what, when are looping Dialogue: 0,0:09:02.08,0:09:06.17,Default,,0000,0000,0000,,over stuff is very common and at within\Nthe day, you could just get used to like, Dialogue: 0,0:09:06.17,0:09:10.40,Default,,0000,0000,0000,,okay well, that's what we have to do it\Nand that's not gonna be a [inaudible]. You Dialogue: 0,0:09:10.40,0:09:15.26,Default,,0000,0000,0000,,could manage that. Alright, Another\Nquestion I really liked from Dave Pittman Dialogue: 0,0:09:15.26,0:09:20.36,Default,,0000,0000,0000,,and Chris Posner was this question of well\Nif you have a zero or one or whatever in Dialogue: 0,0:09:20.36,0:09:25.72,Default,,0000,0000,0000,,the computer how does it know. If its part\Nof a JPEG you know, maybe its part of t he Dialogue: 0,0:09:25.72,0:09:30.52,Default,,0000,0000,0000,,red color or it's a, it's a letter in the\Ne-mail or something. How, how does that Dialogue: 0,0:09:30.52,0:09:35.51,Default,,0000,0000,0000,,work? So the way it works, draw a little\Npicture here, is you can think of RAM is Dialogue: 0,0:09:35.51,0:09:40.62,Default,,0000,0000,0000,,a, there are billions of bytes in RAM and\Nthe bytes are just laid out in an unmarked Dialogue: 0,0:09:40.62,0:09:45.72,Default,,0000,0000,0000,,uniform field. It just starts at you know,\Nthe zero byte runs all the way through the Dialogue: 0,0:09:45.72,0:09:50.51,Default,,0000,0000,0000,,end and there's no distinctions about\Nanything. They're just all bytes. So, the Dialogue: 0,0:09:50.51,0:09:56.82,Default,,0000,0000,0000,,way it works is that the software which is\Nmanipulating RAM lays it out by area and Dialogue: 0,0:09:56.82,0:10:02.99,Default,,0000,0000,0000,,the software knows which byte it's gonna\Nuse for which purposes. So, let's say here Dialogue: 0,0:10:02.99,0:10:08.54,Default,,0000,0000,0000,,is this big bunch of bytes and so let's\Nsay I'm in a. You know a byte, you know my Dialogue: 0,0:10:08.54,0:10:12.98,Default,,0000,0000,0000,,example was it could be part of an RGB\Nimage or maybe it's a single type letter Dialogue: 0,0:10:12.98,0:10:17.42,Default,,0000,0000,0000,,so let's say it's a single type letter. So\Nmaybe, the program, it has all this RAM Dialogue: 0,0:10:17.42,0:10:22.39,Default,,0000,0000,0000,,and it all say well, these bytes here you\Nknow it's you know there's 10,000 bytes or Dialogue: 0,0:10:22.39,0:10:28.43,Default,,0000,0000,0000,,something. It says I'm gonna use these\Nbytes to hold an e-mail that someone who's Dialogue: 0,0:10:28.43,0:10:33.40,Default,,0000,0000,0000,,typing in And so it's could sort do it by\Narea. So it marks off that area and says Dialogue: 0,0:10:33.40,0:10:37.97,Default,,0000,0000,0000,,this is an e-mail here. So then as the\Nuser types in the letters of the e-mail. Dialogue: 0,0:10:37.97,0:10:42.84,Default,,0000,0000,0000,,So the letter a or something or letter t\Nor something or whatever then maybe those Dialogue: 0,0:10:42.84,0:10:47.64,Default,,0000,0000,0000,,bytes gets set in here. It sets the 0s and\N1s to be the number for the letter a or Dialogue: 0,0:10:47.64,0:10:52.51,Default,,0000,0000,0000,,the letter t or whatever and so then later\Nwhen the software looks at this area it Dialogue: 0,0:10:52.51,0:10:57.06,Default,,0000,0000,0000,,knows, alright this is the areas set aside\Nfor e-mail so I know. To it I know to Dialogue: 0,0:10:57.06,0:11:01.65,Default,,0000,0000,0000,,interpret these bytes by letters. Or also\Nyou can imagine if the program said, okay Dialogue: 0,0:11:01.65,0:11:06.08,Default,,0000,0000,0000,,I'm gonna store the RGB image here. That's\Nwhere I'm gonna use these bytes for. And Dialogue: 0,0:11:06.08,0:11:10.24,Default,,0000,0000,0000,,that's a little more complicated because\Nit would even need to know what the Dialogue: 0,0:11:10.24,0:11:14.50,Default,,0000,0000,0000,,scheme. So, the scheme usually is gonna,\Nis gonna have the red number followed by Dialogue: 0,0:11:14.50,0:11:19.11,Default,,0000,0000,0000,,the green number followed by the blue\Nnumber. For each pixel so it'll be, it'll Dialogue: 0,0:11:19.11,0:11:24.02,Default,,0000,0000,0000,,sort of follow this three by two time\Npattern and this [inaudible] details. So Dialogue: 0,0:11:24.02,0:11:28.87,Default,,0000,0000,0000,,it would know that maybe that's a red\Nnumber you know, zero to 55 and then it Dialogue: 0,0:11:28.87,0:11:33.68,Default,,0000,0000,0000,,would know that maybe that's the next red\Nnumber. So the point here is that, if you Dialogue: 0,0:11:33.68,0:11:37.67,Default,,0000,0000,0000,,look at the chips, the bytes, it's just\Nundistinguished. So, it seems to give you Dialogue: 0,0:11:37.67,0:11:42.02,Default,,0000,0000,0000,,know to hold. The way the software is able\Nto work coherently, essentially having a, Dialogue: 0,0:11:42.02,0:11:46.12,Default,,0000,0000,0000,,a pre-plan about, for this area bytes is\Ngonna be used and such and such way and Dialogue: 0,0:11:46.12,0:11:50.37,Default,,0000,0000,0000,,just might be consistent with that plan\Nwhen setting the bytes and then later when Dialogue: 0,0:11:50.37,0:11:54.86,Default,,0000,0000,0000,,we [inaudible] back. You can also say in a\Nway that the, the part disk, the flash Dialogue: 0,0:11:54.86,0:11:59.39,Default,,0000,0000,0000,,memory is also the same. Right at the, the\Nhard drive likewise, it pretty much just Dialogue: 0,0:11:59.39,0:12:03.70,Default,,0000,0000,0000,,looks like a big bunch of bytes. And so\Nthe software would need to know oh, Dialogue: 0,0:12:03.70,0:12:08.34,Default,,0000,0000,0000,,something about other file like JPEG. Oh,\NI know that in that I stored the bytes for Dialogue: 0,0:12:08.34,0:12:12.76,Default,,0000,0000,0000,,RGBM image or, or something. It needs to\Nhave some plan so then when it gets the Dialogue: 0,0:12:12.76,0:12:18.93,Default,,0000,0000,0000,,bytes back, it knows how to organize. All\Nright, So oh, sorry, it's our last Dialogue: 0,0:12:18.93,0:12:24.65,Default,,0000,0000,0000,,question. So sort of about the question of\Nwhat does it take, what, what, what would Dialogue: 0,0:12:24.65,0:12:29.88,Default,,0000,0000,0000,,do you wanna do if you wanna be a CS\Nmajor? Salvardor Diaz. So I'm gonna have Dialogue: 0,0:12:29.88,0:12:34.38,Default,,0000,0000,0000,,someone [inaudible] answer for this\Nquestion. So the first thing that you Dialogue: 0,0:12:34.38,0:12:39.33,Default,,0000,0000,0000,,should know is that most colleges do not\Nrequire, if you want a major in CS. Don't Dialogue: 0,0:12:39.33,0:12:43.77,Default,,0000,0000,0000,,have some requirement when you come in\Nwith programmability. So and for example, Dialogue: 0,0:12:43.77,0:12:48.16,Default,,0000,0000,0000,,it's Stanford. The Stanford CS106A course,\Nit's an excellent course. It's fairly Dialogue: 0,0:12:48.16,0:12:52.55,Default,,0000,0000,0000,,difficult but there's an enormous amount\Nof support, there's tons of office hours Dialogue: 0,0:12:52.55,0:12:57.04,Default,,0000,0000,0000,,and all those help so people have a lot of\Ndifferent abilities and all get through Dialogue: 0,0:12:57.04,0:13:01.70,Default,,0000,0000,0000,,it. That course requires no experience or\Nwhatsoever. So it'll show up and then that Dialogue: 0,0:13:01.70,0:13:06.09,Default,,0000,0000,0000,,is a full programming course. So, CS101 is\Nnot a full programming course, it's kind Dialogue: 0,0:13:06.09,0:13:10.58,Default,,0000,0000,0000,,of a sampler, I'll describe this more in\Nthe last week, 106A is a for real pretty Dialogue: 0,0:13:10.58,0:13:15.14,Default,,0000,0000,0000,,demanding really important question, ten\Nweeks. So, What does this mean if you are Dialogue: 0,0:13:15.14,0:13:19.68,Default,,0000,0000,0000,,a pre college and you just sort of think\Nabout this? Well, one answer and I talked Dialogue: 0,0:13:19.68,0:13:24.06,Default,,0000,0000,0000,,to a couple of colleagues in Stanford\Nabout this. One answer is, well, you might Dialogue: 0,0:13:24.06,0:13:28.43,Default,,0000,0000,0000,,just kinda do well in Math and Science and\NEnglish, whatever. Just courses that Dialogue: 0,0:13:28.43,0:13:32.58,Default,,0000,0000,0000,,colleges look at just to get in to college\Nand all, that, that's maybe good Dialogue: 0,0:13:32.75,0:13:37.58,Default,,0000,0000,0000,,background goal. Now I'm gonna take that\Npart a little bit and say. I don't think Dialogue: 0,0:13:37.58,0:13:43.09,Default,,0000,0000,0000,,it is that important in particular that\Nyou do well in Math and Science to take Dialogue: 0,0:13:43.09,0:13:48.81,Default,,0000,0000,0000,,CS. That's maybe partly controversial.\NObviously Computer Science involves. Doing Dialogue: 0,0:13:48.81,0:13:55.14,Default,,0000,0000,0000,,some math and sort of organize logical\Nthinking Like you know if you happen to Dialogue: 0,0:13:55.14,0:14:01.01,Default,,0000,0000,0000,,hate biology or actually even if you\Ndislike calculus. I don't see that's being Dialogue: 0,0:14:01.01,0:14:05.17,Default,,0000,0000,0000,,a big for CS. I think computer science in\Nsome [inaudible] is what on you, you've Dialogue: 0,0:14:05.17,0:14:09.69,Default,,0000,0000,0000,,got in a real sense of what sort of, there\Nis math and there is logical thinking but Dialogue: 0,0:14:09.69,0:14:13.91,Default,,0000,0000,0000,,I think it's a little bit a thing into\Nitself. If someone has done very well with Dialogue: 0,0:14:13.91,0:14:17.96,Default,,0000,0000,0000,,calculus or very well in physics, I mean\Nthat's fine. I mean it just shows that Dialogue: 0,0:14:17.96,0:14:22.12,Default,,0000,0000,0000,,their you know, their brain is good at\Nworking at stuff and sure that's gonna be Dialogue: 0,0:14:22.12,0:14:26.59,Default,,0000,0000,0000,,useful for computer science. But I think\Nit is more sort of the historical accident Dialogue: 0,0:14:26.59,0:14:30.81,Default,,0000,0000,0000,,that physics or in my high school calculus\Nwas regardless very important advance Dialogue: 0,0:14:30.81,0:14:35.24,Default,,0000,0000,0000,,thing to do Whatever. I mean its fine. If\Nyou get to use your brain and you practice Dialogue: 0,0:14:35.24,0:14:39.84,Default,,0000,0000,0000,,something you're interested but I wouldn't\Nlink it to a computer science exactly. So Dialogue: 0,0:14:39.84,0:14:44.28,Default,,0000,0000,0000,,what is going to help you with computer\Nscience? I'd say the most important thing Dialogue: 0,0:14:44.28,0:14:48.62,Default,,0000,0000,0000,,for computer science and not everyone\Nagrees with this but I feel it's true is Dialogue: 0,0:14:48.62,0:14:52.86,Default,,0000,0000,0000,,programming experience like playing, and\Nprogramming doesn't have to be some big Dialogue: 0,0:14:52.86,0:14:57.14,Default,,0000,0000,0000,,heavy weight thing but I think playing\Naround with computers in a meaningful way. Dialogue: 0,0:14:57.14,0:15:01.31,Default,,0000,0000,0000,,Gives you a stronger intuition about how\Nthey work with the boundaries and Dialogue: 0,0:15:01.31,0:15:06.10,Default,,0000,0000,0000,,obviously CS 101 very much fits on this\Npattern. So there's many things that you Dialogue: 0,0:15:06.10,0:15:10.83,Default,,0000,0000,0000,,could do with computers that I think help\Nsort of feeling those instincts. I think Dialogue: 0,0:15:10.83,0:15:15.34,Default,,0000,0000,0000,,the, the key feature is having some sort\Nof real project, your typing and clicking Dialogue: 0,0:15:15.34,0:15:19.74,Default,,0000,0000,0000,,in the computer creating something that\N[inaudible] at have some visual upload Dialogue: 0,0:15:19.74,0:15:23.57,Default,,0000,0000,0000,,that you ca N. Change it in some way and\Nthen get slightly different output. I Dialogue: 0,0:15:23.57,0:15:27.62,Default,,0000,0000,0000,,think those are the, those are the key\Nqualities. It's possible for someone to Dialogue: 0,0:15:27.62,0:15:31.93,Default,,0000,0000,0000,,just self motivate like get the book on\Nwhatever and then play around on your own Dialogue: 0,0:15:31.93,0:15:36.30,Default,,0000,0000,0000,,but I think that's, that's just difficult.\NIn a sense this is why courses exist like Dialogue: 0,0:15:36.30,0:15:40.51,Default,,0000,0000,0000,,well, even if maybe you have the ability\Nto play around with a robot or whatever, Dialogue: 0,0:15:40.51,0:15:44.93,Default,,0000,0000,0000,,it's just much easier if there's someone\Nsetting kind of a weekly case and give you Dialogue: 0,0:15:44.93,0:15:49.02,Default,,0000,0000,0000,,little goals [inaudible]. So that said,\NI'm just gonna mention a bunch of sort of Dialogue: 0,0:15:49.02,0:15:52.94,Default,,0000,0000,0000,,computer related things that I would think\Nwould be useful or if I was talking to Dialogue: 0,0:15:52.94,0:15:56.90,Default,,0000,0000,0000,,high school person who is interested in\Nmaybe doing computer science. Just so in Dialogue: 0,0:15:56.90,0:16:00.53,Default,,0000,0000,0000,,no particular order so there, there's a\Nchip I showed earlier, the Arduino, Dialogue: 0,0:16:00.68,0:16:04.64,Default,,0000,0000,0000,,Arduino is set up for doing such a little\Nart projects with little blinking lights Dialogue: 0,0:16:04.64,0:16:08.32,Default,,0000,0000,0000,,or switches, whatever sorts of physical\Nthing. It's not software just down the Dialogue: 0,0:16:08.32,0:16:12.14,Default,,0000,0000,0000,,screen of your computer and there's a lot\Nof blue books and kits or whatever. Dialogue: 0,0:16:12.29,0:16:16.16,Default,,0000,0000,0000,,Essentially to play around with the\NArduino it's kind of fun. It has some sort Dialogue: 0,0:16:16.16,0:16:20.27,Default,,0000,0000,0000,,of a hands on feeling and it involves a\Nlittle, a little bit of programming. So Dialogue: 0,0:16:20.27,0:16:26.35,Default,,0000,0000,0000,,that's it. Random thing, something in\Ncredit There is in the US. I don't know if Dialogue: 0,0:16:26.35,0:16:30.28,Default,,0000,0000,0000,,it's international. Not sure. There is a\Ncomputer science high school course. It's Dialogue: 0,0:16:30.28,0:16:34.48,Default,,0000,0000,0000,,in Java. It's a fine class. There are lots\Nof books and online resources or whatever Dialogue: 0,0:16:34.48,0:16:38.54,Default,,0000,0000,0000,,that I happen to fit in the material and\Nsome high schools have it but some don't. Dialogue: 0,0:16:38.54,0:16:42.75,Default,,0000,0000,0000,,I mean I think. That's why colleges\Nrealistically should not expect some prior Dialogue: 0,0:16:42.75,0:16:46.69,Default,,0000,0000,0000,,experience cause where, you could have\Ngreat, you know, world's greatest high Dialogue: 0,0:16:46.69,0:16:50.85,Default,,0000,0000,0000,,school students but whether [inaudible]\Nhave it. Well high school people are Dialogue: 0,0:16:50.85,0:16:55.16,Default,,0000,0000,0000,,planning out for robotics is sort of like\NArduino you know, it kind of a fun, hands Dialogue: 0,0:16:55.16,0:16:59.42,Default,,0000,0000,0000,,on, way to play around computers. I can't\Nremember a couple of some sort of the Dialogue: 0,0:16:59.42,0:17:03.54,Default,,0000,0000,0000,,weaker forms spreadsheets you may have\Nheard of spreadsheets, Spreadsheets Dialogue: 0,0:17:03.54,0:17:07.17,Default,,0000,0000,0000,,actually have in them a simple language\Nfor the Google spreadsheet than it is Dialogue: 0,0:17:07.17,0:17:11.02,Default,,0000,0000,0000,,actually a Javascript which allow you to\Nwrite a little short bits of code that Dialogue: 0,0:17:11.02,0:17:14.97,Default,,0000,0000,0000,,they do really interesting in [inaudible]\Nwith data adding things up or computing, Dialogue: 0,0:17:14.97,0:17:18.47,Default,,0000,0000,0000,,you know, something like computing. So\Nnext time you find yourself in the Dialogue: 0,0:17:18.47,0:17:22.09,Default,,0000,0000,0000,,position where you got some big ton of\Ndata or, you know, part of your Biology Dialogue: 0,0:17:22.09,0:17:25.94,Default,,0000,0000,0000,,class or Club or something I would say I\Nwould be open to, oh, you know what I'm Dialogue: 0,0:17:25.94,0:17:29.70,Default,,0000,0000,0000,,gonna go read the docs and gonna try and\Nuse the spreadsheets to do this rather Dialogue: 0,0:17:29.70,0:17:33.50,Default,,0000,0000,0000,,than by doing this by hand or something. I\Nthink that's an example of pushing Dialogue: 0,0:17:33.50,0:17:37.21,Default,,0000,0000,0000,,yourself to use the computer. In something\Nthat looks like code but I think it's Dialogue: 0,0:17:37.21,0:17:40.89,Default,,0000,0000,0000,,beginning, it helps to fill out that scale\Nset Just sort of make that stuff work. Dialogue: 0,0:17:40.89,0:17:44.67,Default,,0000,0000,0000,,Notice the one example is some games have\Na level editor that's maybe a kind of a Dialogue: 0,0:17:44.67,0:17:48.49,Default,,0000,0000,0000,,reduced form of programming but the level\Ndoes have a kind of a logic to it and so Dialogue: 0,0:17:48.49,0:17:51.99,Default,,0000,0000,0000,,you could play out the level editor and\Nthen play it sort of yeah, yeah, yeah, Dialogue: 0,0:17:51.99,0:17:55.54,Default,,0000,0000,0000,,yeah, sure. I think that, that is getting\Nyou some insight about the. The formal Dialogue: 0,0:17:55.54,0:17:59.61,Default,,0000,0000,0000,,instruction of the computers So as I said,\Nanything where you're, you're using your Dialogue: 0,0:17:59.61,0:18:02.98,Default,,0000,0000,0000,,brain and seen there was also doing\Nadjustments, I think is, is a good Dialogue: 0,0:18:02.98,0:18:07.03,Default,,0000,0000,0000,,impression for doing something you could\Ndo. All right, So, thanks again for all Dialogue: 0,0:18:07.03,0:18:11.28,Default,,0000,0000,0000,,the people who are sending questions. Like\NI said, I'll have the, the What Could You Dialogue: 0,0:18:11.28,0:18:15.12,Default,,0000,0000,0000,,Do After CS101 will definitely be a, a\Nlast week topic. All right Take care.