WEBVTT 1 00:00:02.100 --> 00:00:13.530 William Cheng: Hi, welcome to see us for two. So, this is the operating system class. So I'm going to sort of start the lecture by first answering this question. 2 00:00:14.820 --> 00:00:19.710 William Cheng: Whether it's a fact or myth is true that doing well in this class will get you a job offers 3 00:00:20.310 --> 00:00:30.720 William Cheng: I think most of the students in this class are masters students. So getting a good job is very, very important. So you will be happy to hear that the answer is that it's definitely true. 4 00:00:31.530 --> 00:00:39.870 William Cheng: But, but you sort of have to do these three things. Okay. So number one is that you need to learn the course material material well 5 00:00:40.230 --> 00:00:51.270 William Cheng: Okay. Some people think that this is a kernel hacking class, but this is really not. Okay, so what's important about this class is to learn the operating system concepts. Okay. The concept is just as important as the programming. 6 00:00:51.840 --> 00:00:57.150 William Cheng: Okay, so, so you don't learn both, you know the the course material because when you go on interviews. 7 00:00:57.570 --> 00:01:02.880 William Cheng: They can, they can sort of talk to you about operating system. They're not just going to sort of show me your code or something like that. 8 00:01:03.450 --> 00:01:10.110 William Cheng: So in that case, you need to be able to sort of, you know, talk about operating system concepts and when people ask you a question. You need to be able to answer them. 9 00:01:10.470 --> 00:01:14.520 William Cheng: Okay. So understanding the course material is very, very important. Yeah. 10 00:01:15.000 --> 00:01:26.460 William Cheng: Number two is the programming assignment you need to implement all the programming assignment yourself without looking at other people's code. Okay, I know there's a lot of code floating around out there from previous semester you need to 11 00:01:27.240 --> 00:01:38.370 William Cheng: You know, you need to resist the temptation of looking at all these other code. Okay, so if you end up that you can do all the assignment yourself while the colonel Sam is going to be done in group. 12 00:01:38.850 --> 00:01:45.900 William Cheng: If you can work with your teammates and, you know, don't look at the. Oh, cool. So this way you will learn 13 00:01:46.500 --> 00:01:54.660 William Cheng: You know, so this way you will learn that sort of in the best possible way. Okay, looking at other people's code is really a bad idea. All right. 14 00:01:55.170 --> 00:02:02.100 William Cheng: Right. People say, Well, how am I supposed to figure out. So what happened is that the I've been teaching this class, since 2012 15 00:02:02.550 --> 00:02:12.120 William Cheng: So over the years I've keep developing more and more materials so that you know so so so today, even if you want to do the colonel assignment by yourself. It's actually doable. 16 00:02:12.690 --> 00:02:20.430 William Cheng: But again, I don't want to make a sound really easy if you want to do it by yourself, you should be a good see programmer. You need to know how to debug and then you can actually do everything yourself. 17 00:02:21.060 --> 00:02:27.360 William Cheng: Okay. Otherwise, you know, if you are a slow programmer, you need to get up to speed as soon as possible as fast as possible. Yeah. 18 00:02:27.990 --> 00:02:35.670 William Cheng: Number three is that we have a class discussion group. It's an online forum. I call it the class Google group. So what do you say to use Google for this. 19 00:02:36.420 --> 00:02:39.960 William Cheng: So I'm going to sort of encourage you to participate in the class Google group discussion. 20 00:02:40.530 --> 00:02:47.370 William Cheng: Okay, so would you need to do is that you need to sort of look at what other people are what questions are the people are asking, and you need to try to help other students. 21 00:02:47.700 --> 00:02:53.040 William Cheng: Okay, so I think by helping other students in the class, we will group is, you know, you have to type things, you know, 22 00:02:53.490 --> 00:03:02.070 William Cheng: Will you have to post stuff to the online forum and that's a really important practice because these days a lot of stuff are done remotely or done online. 23 00:03:02.550 --> 00:03:07.200 William Cheng: You need to get good at this. Okay, so, so I think our classes, sort of a good place to to 24 00:03:07.590 --> 00:03:14.100 William Cheng: Start getting used to, you know, this modal communication and this mode of, you know, asking questions, how, you know, what is the right way to ask question. 25 00:03:14.430 --> 00:03:22.830 William Cheng: And how do you actually respond to people. So this way you can you can be ready for the real world. Okay, and also ready right now we're in, you know, 26 00:03:23.190 --> 00:03:34.200 William Cheng: We're, we're dealing with a pandemic. Everything's done online. And so we need to be able to do things online without, you know, sort of having to have a face to face meeting. Yeah. 27 00:03:34.920 --> 00:03:39.450 William Cheng: Alright, so lots of time, you can find on the internet. If you can find it. Other people can find it too. 28 00:03:39.690 --> 00:03:47.820 William Cheng: So what you need to do in this class is that you need to combine the knowledge that you learn with the experience that you gain by doing all the programming assignment. 29 00:03:48.300 --> 00:03:52.110 William Cheng: Okay. I think if you can combine them, you will be able to impress your interviewer. 30 00:03:53.070 --> 00:04:00.090 William Cheng: Okay, so, so, so, so again this is, you know, the theory stuff. Some people call the you know the the lecture stuff the theories, though. 31 00:04:00.480 --> 00:04:10.200 William Cheng: I don't really want to call it theory stuff, but some people call the theory stuff. So the theory stuff is just as important as the programming stuff. OK. So again, this is not a strict programming class. Okay. 32 00:04:11.970 --> 00:04:24.030 William Cheng: All right, a little bit of my teaching style. I'm a strong believer in I guess this is from a Chinese philosopher give a man a fish, you feed him for a day. Teach a man to fish, you feed him for a lifetime. Okay. 33 00:04:24.630 --> 00:04:29.970 William Cheng: So, so I'm about a sort of a strong believer in this kind of, you know, philosophy, I want to sort of teach you how to think 34 00:04:30.720 --> 00:04:38.430 William Cheng: Okay, some people say why I really know how to think. So anyways, so if you already know how to think, that's great. But if you are not sure. Hopefully I'm here to guide you 35 00:04:39.180 --> 00:04:47.130 William Cheng: So our programming assignments. We have 5.7. The first two are known as warm up programming assignments. The other three are noise Colonel programming assignments. 36 00:04:47.760 --> 00:04:54.660 William Cheng: So for the woman programming assignment I will, you know, I tend to help you a lot. I will give you a lot of information, I sort of, you know, 37 00:04:54.930 --> 00:05:07.680 William Cheng: So if you asked me, you know, well functioning. Should I call to do this. And I will tell you before function usually use yeah but that stops at the warm up assignment. When you get to the colonel assignment, then, you know, in that case, I'm going to start pointing you to the right. Right. 38 00:05:08.940 --> 00:05:15.510 William Cheng: And basically just going to sort of point you in the right direction and you sort of have to figure out with yourself with your, with your teammates. 39 00:05:15.750 --> 00:05:20.160 William Cheng: And with the rest of the class. Okay. When have a class Google group, you can actually have a discussion. 40 00:05:20.640 --> 00:05:27.990 William Cheng: You know, with your, with your classmates. So this way you can figure things out together without telling people, you know, what color are you going to write 41 00:05:28.770 --> 00:05:38.730 William Cheng: OK. So again, sharing code is really, you know, cheating so that we're not supposed to do that, but you should learn how to have a discussion with your classmates. So this way you can actually either sort of figure out what to do. Yeah. 42 00:05:39.420 --> 00:05:47.880 William Cheng: The recipe for success will see us forward to is that, you know, during the course of an entire semester. I'm going to make quite a few recommendations on what you should be doing. 43 00:05:48.360 --> 00:05:56.400 William Cheng: Okay, so what why these recommendations, because I cannot tell you what to do. He goes, you guys are all adults. I can't say go do this, go do that right, other than, you know, all the assignments that 44 00:05:56.670 --> 00:06:06.750 William Cheng: We need to grading and stuff like that. But otherwise, I can only make suggestions. Okay, I strongly urge you to take my suggestion, because my suggestion is there to help you. 45 00:06:07.350 --> 00:06:15.600 William Cheng: Okay, so if you ignore my suggestions there. Yeah, I know you said that, but I'm going to do some different way and in the end if it turns out that it's really not a good way to go, you're going to end up wasting a lot of time. 46 00:06:15.780 --> 00:06:22.890 William Cheng: So I strongly urge you to follow all my recommendations. Yeah. Because in the end, you know, I want you to succeed. I'm 47 00:06:24.210 --> 00:06:32.400 William Cheng: Not here to trip you up. I'm actually, you know, I want you to do to be successful. I want you to find good jobs. I want you to send me email just say that, hey, I've got this great jobs. 48 00:06:32.790 --> 00:06:43.140 William Cheng: Every semester I got email from students to say hey you know I got when I, when I say a good job. I'm talking about the top companies. Okay, Facebook, Google, you know, 49 00:06:45.180 --> 00:06:55.320 William Cheng: Qualcomm you know all these in our Intel and all these, you know, hardware company. I want you to be able to get those jobs. I want you to be able to compete with all the best students are out there and you'll be able to get those jobs. 50 00:06:56.010 --> 00:07:03.960 William Cheng: Okay, so your success is my success. So please, please keep that in mind. I'm not really here to give you trouble. Okay, I really want you to succeed. Yeah. 51 00:07:07.500 --> 00:07:10.860 William Cheng: Alright, so the coverage of this class is very, very vast 52 00:07:11.160 --> 00:07:21.990 William Cheng: So summer is 11 weeks long. Right. So we start on a Wednesday we end on Tuesday. So, you know, even though it looks like it's 12 weeks, but it actually is 11 weeks of classes. Okay, there are too many important concepts. 53 00:07:22.380 --> 00:07:32.730 William Cheng: To covering 11 weeks. So we have to move along very quickly. Okay so luckily, you know, everything is recorded, so you can actually, you know, if you're confused about it. You can rewind and watch it over and over again. 54 00:07:33.450 --> 00:07:46.140 William Cheng: So so so in class, you know, the cost is going to be recorded, so you don't really have a chance to ask question during the recording because that possible okay because but but there will be plenty of opportunity for you to ask questions. 55 00:07:46.470 --> 00:07:52.590 William Cheng: Okay, so I want you to, you know, don't, don't be shy. Anytime you confused about anything. You should ask questions. 56 00:07:53.040 --> 00:08:02.130 William Cheng: Okay. All right. Also, some of the stuff you have to, you have to learn them on your own. It's part of your education and, you know, again, it's not feasible for me to explain everything to you understand perfectly 57 00:08:02.580 --> 00:08:12.900 William Cheng: So that's called spoon feeding your spoon feed to feast of one spoon at a time. I will explain the concept. And then you have to work hard to understand the concept 58 00:08:13.680 --> 00:08:21.180 William Cheng: Okay, some of the opportunities and concepts are very, very difficult to understand. But again, since you can watch the video over and over again, you can ask questions, you know, 59 00:08:21.510 --> 00:08:24.120 William Cheng: You know, sooner or later, you should be able to understand that, then 60 00:08:24.690 --> 00:08:34.260 William Cheng: You should you know here says, Come talk to me. I mean, you can really physical come talk to me. So you should, you know, send me email me email is very, very important tool. Anytime you have questions, you know, send me email. 61 00:08:35.010 --> 00:08:45.660 William Cheng: Okay, so, so this way you know I'll be able to answer your question. Yeah. Alright. So if you are not used to talking to the instructors. So hold on over here. 62 00:08:46.350 --> 00:08:52.620 William Cheng: If you're not used to talking to the instructor, you need to get comfortable with talking to the instructor. Okay. So, by, by sending email. 63 00:08:53.220 --> 00:09:01.290 William Cheng: Okay, some people say, oh, you know, so scary to talk to, you know, professor or something like that. You are strongly encouraged to ask questions there. 64 00:09:02.040 --> 00:09:09.540 William Cheng: So here's a you are expected to come, you know, talk to me. If you have trouble with the course material assignment. So if you don't talk to me. I have to assume that everything's fine. 65 00:09:10.260 --> 00:09:16.260 William Cheng: Okay, even though they might not be true. Okay, so. So again, you should, you know, you, you, you should talk to me. 66 00:09:18.150 --> 00:09:27.600 William Cheng: I'm so um you know a lot of stuff is going to be written down. So I sort of want to emphasize on the importance of written words. So we communicate with, you know, using all these written words. 67 00:09:28.170 --> 00:09:33.000 William Cheng: We need to take all these words very, very seriously. Okay. Because otherwise, why bother to write it down. 68 00:09:33.360 --> 00:09:40.740 William Cheng: Okay. So anything that's written down, especially rules about, you know, grading or something like that, you have to take it very seriously. Right. People don't know how that 69 00:09:41.280 --> 00:09:48.270 William Cheng: Some people actually don't know how to do exactly what I mean. So yeah, it actually is very, very simple. You have to take every written words very seriously. Okay, I 70 00:09:48.930 --> 00:09:56.520 William Cheng: Tend to be a stickler two rows, whatever rules I wrote down. You know, those are the rules, I have to stick to that. 71 00:09:57.510 --> 00:10:02.010 William Cheng: So also, when it comes to the exams, you know, we can only grade based on what you wrote 72 00:10:02.490 --> 00:10:11.010 William Cheng: On the exam paper and not what's in your mind. So again. So when will you need to write things. Now you get to choose the words you also need to choose them very, very carefully. Yeah. 73 00:10:11.730 --> 00:10:19.620 William Cheng: Alright, so here's what's important over here please pay attention to all the written words everywhere on the course website. Okay. 74 00:10:20.370 --> 00:10:26.670 William Cheng: So will we will have a class website. I guess I have send your email about wonderful A cos website are 75 00:10:27.180 --> 00:10:35.250 William Cheng: Will, where is the class website. And if you just Google my name of Bill chain in Google, you know that the first link is me so you can click on that. 76 00:10:35.520 --> 00:10:39.120 William Cheng: And then you can click on the semester, and they're going to come to our class website there. 77 00:10:39.660 --> 00:10:47.730 William Cheng: So anything in class website. They're written down rules and also on the lecture slides. So what I'm showing here. This is your lecture slides going to look like this. Right. So these are all serious stuff. 78 00:10:48.450 --> 00:10:57.090 William Cheng: My posting to the class Google rope. Okay, so I'm going to post your answers we asked the question I'm going to pause and for the customer who they become exempt eligible 79 00:10:57.780 --> 00:11:09.300 William Cheng: Okay, whatever the other you know other you know like the greater pose or the TA pose that they don't really count. But anything that I posted by me, I sort of tend to be very careful when I tried to be as careful as possible. 80 00:11:09.660 --> 00:11:17.040 William Cheng: When I responded in the class Google group they become exempt eligible. Okay, so, and also if I become an announcement to say that there's a rule change you know that 81 00:11:17.610 --> 00:11:26.490 William Cheng: Doesn't that doesn't allow that. Then in that case, again, it become written words. So then I have to stick to it okay if I made a mistake. I will have to correct it. Yeah. 82 00:11:27.870 --> 00:11:37.620 William Cheng: And my email is built I China usa.edu I have several email addresses, they all go to exactly the same place. Okay, so if you want to reach me don't send it to you know multiple places. 83 00:11:38.100 --> 00:11:49.530 William Cheng: You only have to do is to send it to build that China usa.edu okay also use just set up your email filter, not to miss any email messages from bill that chain that US edu because sometimes I need to contact you for good reason. 84 00:11:49.950 --> 00:11:57.840 William Cheng: Because we know is if you, you know, don't see my email is going to be going to be in trouble. OK. So again, you know, set up your email filter to to the see all these messages. 85 00:11:58.590 --> 00:12:07.320 William Cheng: Right there is a summer yeah this is there's a summer preview web page, you know, some of you probably haven't received that and also you know class works. I can actually go to it. 86 00:12:07.860 --> 00:12:18.180 William Cheng: So those are, you know, some of the rules I mentioned before the semester star. And again, I tend to stick to them. So I'm going to sort of do a quick, real quick review to remind you what these rules are ok so number one. 87 00:12:18.450 --> 00:12:26.910 William Cheng: That then let your video. They are available to everyone. If you don't have access to them, you need to, you know, contact me or you need to read a webpage, sort of, by now you know 88 00:12:27.900 --> 00:12:36.480 William Cheng: How you should get access to that and then comes to kind of assignment right corner assignment. You can do it individually. You can do it in the group of 234 students 89 00:12:36.960 --> 00:12:43.830 William Cheng: Before it's the maximum okay every semester. I'm going to get people asked me, can I do five you know the answer has to be no yeah 90 00:12:44.580 --> 00:12:50.790 William Cheng: And also, we don't really distinguish between our local students and our remote, Susan. So if you look at the the 91 00:12:51.270 --> 00:12:58.050 William Cheng: The schedule classes. There are two sections of CSV or two, there are, you know, as far as I'm concerned, they're exactly the same section. 92 00:12:58.440 --> 00:13:07.050 William Cheng: Okay, because the grading on the same curve, all these kind of stuff. So, you know, for all practical purposes, there's only one section so you can form a colonel team with anybody. 93 00:13:07.860 --> 00:13:14.850 William Cheng: In both of these sections. Yeah, my recommendation over here is that you know don't commit to work with people you have never worked with 94 00:13:15.150 --> 00:13:19.320 William Cheng: So when you're doing a warm up assignment you should start a good big group to work on. 95 00:13:19.620 --> 00:13:27.690 William Cheng: The warm up summit together again without copying each other's CO or without, you know, sort of try to figure out exactly how to write code together but talk about things at a high level. 96 00:13:28.110 --> 00:13:36.030 William Cheng: Okay. So you start with a big group and then once you figure out that you liked each other. You have sync kind of habits and stuff like that, then you can commit to form a colonel group. 97 00:13:36.900 --> 00:13:44.970 William Cheng: OK. So, again, that will be my recommendation to go. So again, some people don't take my recommendation in the end they end up three very, very miserable. Yeah. 98 00:13:46.290 --> 00:13:58.740 William Cheng: I never was late registration, you will be expected to turn in all the assignments on time no matter when you get into class. Okay, so I think after two weeks, or maybe even after week registration is going to stop. 99 00:13:59.130 --> 00:14:07.590 William Cheng: So even if you register for this class on the last day of the registration period you're still required to turning all the assignments on time on time. 100 00:14:07.950 --> 00:14:19.080 William Cheng: Okay, so we have one assignment due every two weeks, and for the first four seven. They're all do on a Tuesday. The last one you can have two more days to do them. So you there'll be do on a Thursday. 101 00:14:19.560 --> 00:14:25.890 William Cheng: Okay, so if you have friends that are thinking about taking this class, and they're asking you about it. You should tell them to say hey you know if you're interested, taking 102 00:14:26.250 --> 00:14:35.640 William Cheng: Taking this class, you should start working on the plumbing assignment right now. Okay. Because if you come in later on. I'm not going to be able to treat you differently from all the other students. Okay. 103 00:14:37.890 --> 00:14:46.470 William Cheng: All right. Um, this class is not an introductory class right even though it's called introduction to operating system and sort of assume that you have some computer science background. 104 00:14:46.920 --> 00:14:57.180 William Cheng: The textbook that we use is come from Brown University. So they sort of assume that people who are using this textbook are, you know, third year or fourth year undergrad student 105 00:14:57.720 --> 00:15:03.780 William Cheng: You know, in computer science, which means that they have two years of solid computer science education before you take this class. 106 00:15:04.410 --> 00:15:14.610 William Cheng: Okay, so this class has a prerequisite. But typically, you know, in class like this. The prerequisite for undergrad students. So for grad student. If you don't satisfy the prerequisite. You're still allowed to register. 107 00:15:15.090 --> 00:15:21.270 William Cheng: Okay, but if you don't have the background while then what would you supposed to do is that you are supposed to make up the background on your own. 108 00:15:21.630 --> 00:15:24.510 William Cheng: Okay, it's not my job to make sure you have the right of that background, it's your job. 109 00:15:24.990 --> 00:15:36.780 William Cheng: Yeah. Alright, so, so, so the prerequisite or recommended preparation. So there are basically two kinds of purposes. One is a programming requirement. And that's a second year computer science class at USC, which means that you need to know how to program. 110 00:15:37.380 --> 00:15:51.300 William Cheng: Okay, so our classes can be done in C programming language C is a subset of c++. So I think a USC during the first year all the programming assignments are done in c++ so therefore we should expect you to how to know to programming c++ 111 00:15:52.320 --> 00:15:57.870 William Cheng: Alright, so you need to have like one solid year. Well, you know what, one year of solid programming experience in c++ 112 00:15:58.110 --> 00:16:05.010 William Cheng: The second year a lot of stuff going on in Java. Java and C Python are very, very similar. So again, we expect you to have two years of programming background. 113 00:16:05.700 --> 00:16:12.150 William Cheng: Okay, if you don't have it. You know, it's okay. But you have to work very, very hard to get good at programming. Okay. 114 00:16:12.660 --> 00:16:19.260 William Cheng: The other proof is it is computer organization. So basically the requirement is that you need to know what a computer look like 115 00:16:19.890 --> 00:16:25.620 William Cheng: Okay. But again, it's really not a requirements that are recommended recommended preparation. So, so what happened is that 116 00:16:25.950 --> 00:16:34.230 William Cheng: You know, during the first few lectures. I'm going to sort of give you some of the backgrounds on computer organization. Okay, so what do you need to do is to understand 117 00:16:34.680 --> 00:16:46.200 William Cheng: What does the CPU look like, what is the you know what's inside a computer, how the CPU execute instructions, you know, hopefully all these things will be clear, you know, after I sort of give you a sort of a preview of all these backgrounds. Yeah. 118 00:16:47.460 --> 00:16:54.750 William Cheng: So this cause is clearly not an introductory a CS class, guys. So therefore, again, if you don't have the background, you have to work really, really hard. Yeah. 119 00:16:55.710 --> 00:17:05.970 William Cheng: So please understand that most students in this class, do not have a rigid CS background, right, because if you have a religious computer science, wherever you have taken up in the system has already your undergrad education. 120 00:17:06.720 --> 00:17:18.180 William Cheng: Okay, so therefore the only reason that you are in this class is because either you are a CSU, then your undergrad and you'd somehow for some reason you didn't have an operating system class. I mean, obviously some classes. Most places they're all required 121 00:17:18.780 --> 00:17:23.580 William Cheng: Okay, so it will be kind of unusual that if you're under if your computer sciences and you don't have a personal background. 122 00:17:24.060 --> 00:17:29.640 William Cheng: The other reason you might be in this class that because you are not you were not a computer science major in your undergrad. 123 00:17:29.850 --> 00:17:40.110 William Cheng: You might be, you know, web physics you know bio this bio dad and all this kind of different kind of major and now you're trying to, you know, also get a degree in computer science. So in this case you need to make up for your 124 00:17:41.010 --> 00:17:49.260 William Cheng: For your for your undergraduate computer science education and operating system is a very, very important background app, right. So that's why you're in this class. 125 00:17:49.560 --> 00:17:56.010 William Cheng: Okay. So you saw. So again, if you don't have the right background, you need to work really, really hard. So, you know, so you're doing this in the summer. 126 00:17:56.520 --> 00:18:01.500 William Cheng: You should you know don't have us a man I guess in the new way that we're all locked down. You don't need a social life. 127 00:18:01.830 --> 00:18:10.110 William Cheng: You need to spend all your time working on this class. Okay, so hopefully this class will be very, very rewarding. It will give you a good job. So therefore, everything is going to be worth it. Yeah. 128 00:18:10.770 --> 00:18:16.830 William Cheng: All right, or if you don't know see you have a learner see on your own. So C is a very, very simple version of c++ 129 00:18:17.400 --> 00:18:23.310 William Cheng: Okay, so, so, so, you know, if you don't know si, si is very easy to learn because it's very, very simple, right, even though there are 130 00:18:23.640 --> 00:18:32.310 William Cheng: There certain concept. There are very, very hard. But again, if you're confused about those kind of concept. Yeah, you should send me email I hopefully I can clarify them for you. Yeah. 131 00:18:32.790 --> 00:18:40.800 William Cheng: You also need to learn Unix on your own. So in this class. Most of the time we're going to be running commands on Linux. Linux is very similar to units, but they're not exactly the same. 132 00:18:41.310 --> 00:18:51.180 William Cheng: But again, you need to learn, you know, these kind of stuff. So we go to our class web page you'll see there's some links are some basic UNIX command. You need to know how to use the command line interface. 133 00:18:51.570 --> 00:18:58.200 William Cheng: To talk to talk to a system. Okay, it might be. We're at the beginning, but you need to get really, really good at it. Pretty soon. Okay. 134 00:18:59.670 --> 00:19:00.390 All right, so 135 00:19:02.280 --> 00:19:12.180 William Cheng: So, so again. So the main difference between C or c++ is that, so. So let's say that you know something about c++. Okay. One of the main difference is that the c++ there's a there's a cost cost string. 136 00:19:12.660 --> 00:19:20.100 William Cheng: It's a primitive class, and it's very convenient to use in. See, there's no string class. Okay, so therefore there's a so you can see 137 00:19:20.430 --> 00:19:28.740 William Cheng: That there's a data type called see string. Okay, see string. So see that string that has a string is the see version of a string. 138 00:19:29.160 --> 00:19:36.000 William Cheng: It's basically it's an array of characters that terminated bag backslash zero. The last characters back to zero. Okay, that's called a C Street. 139 00:19:36.510 --> 00:19:41.580 William Cheng: So to manipulate C Street, you need to learn a bunch of functions or maybe 10 of them or something like that to get good at it. 140 00:19:42.030 --> 00:19:46.170 William Cheng: Okay, so that's one of the things you need to learn where you go from c++ to see that. 141 00:19:46.530 --> 00:19:52.110 William Cheng: The other one in c++ that they have the strange way of doing input and output and less than, less than, greater than or greater than 142 00:19:52.320 --> 00:20:02.760 William Cheng: They call them stream IO IO stream or something like that. I see, I see. We don't have things like that we have. So if you want to read from input. There's a function, you need to use is called F gets 143 00:20:03.270 --> 00:20:17.790 William Cheng: Okay, it's called F, F, F, G TS or F get string there so so that that one reason one input. So you need to learn how to use that. That's the only thing you need to learn to re import that and then when you try to print something onto the screen or use the phone to call print if 144 00:20:19.230 --> 00:20:33.300 William Cheng: There. So if I should, as a printer. Those are basically to function. You have to, you have to learn how to use. Okay. So, therefore, again, it's very very small things you have to learn to go from c++ C. Yeah. So, so again, see it's much, much simpler now. 145 00:20:34.380 --> 00:20:43.770 William Cheng: To, to get you sort of, you know, start going well you should do is that you should install a 32 bit Ubuntu 16 point or four on your laptop or your desktop. 146 00:20:44.280 --> 00:20:50.850 William Cheng: Okay, always people going to ask me. So do I have to do this. You have to do that. Okay. Again, this is going to be the the sort of the, the recommendation. 147 00:20:51.000 --> 00:21:00.660 William Cheng: Some people want to install a 64 bit machine. I can't really stop you from doing that. Again, my recommendation is a 32 bit will bunch of 16.04 are Colonel assignment, rather than the system. 148 00:21:01.860 --> 00:21:07.620 William Cheng: Okay, if you want to install a different version of the Ubuntu Linux system. Well, then you have to reinstall your stuff. 149 00:21:08.160 --> 00:21:16.680 William Cheng: Okay, because our current assignment only works on a 32 bit a bunch of season point oh four. Yeah, if you're using a virtual machine right can install as many of the system as you want, while 150 00:21:16.980 --> 00:21:26.550 William Cheng: You want to practice of differences and that's fine. But later on, when you're doing the assignment, you have to switch to the 32 people want to see 2.4 forces that are installed a new, you know, virtual machine from scratch. 151 00:21:26.940 --> 00:21:36.480 William Cheng: That's also fine. Okay, so our class web page, there's all there's there's a detailed instruction. I want you to follow the instruction as closely as possible. 152 00:21:37.140 --> 00:21:47.220 William Cheng: Okay. Some people will say, oh, I don't like to recommend a setting. I want to do something else. You know, try not to do that. Okay, unless you're an expert in system set up. Okay. Follow the instruction. 153 00:21:47.850 --> 00:21:53.760 William Cheng: to to to to to the last detail. If you have any question asked me, or send me email and asked me about it. Yeah. 154 00:21:55.620 --> 00:22:03.990 William Cheng: All right, and also our current assignment is going to be implementing a system that looks like unit. So it looks like men Linux, so therefore it's very important for you to know how to use Linux or Unix 155 00:22:04.500 --> 00:22:09.510 William Cheng: So be because if you don't know know how to use it. How are you going to test your programming assignment. Okay, there's no way for you to test it. 156 00:22:10.140 --> 00:22:17.670 William Cheng: Okay, so therefore, again, ever since the beginning of semester this way will be will be a good way because things are kind of slow so used to, you know, start using the install 157 00:22:19.590 --> 00:22:28.050 William Cheng: Start using it to get familiar with that. And if you have questions or if you installation doesn't work, send me email and we try to get things resolved as soon as possible. Okay. 158 00:22:30.900 --> 00:22:40.290 William Cheng: Alright, so, um, I need to talk about fairness because one of the reason I have really, really strict rule is that you know it's at the beginning of the semester, I need to decide whether I need to be fair or not. 159 00:22:41.340 --> 00:22:42.420 William Cheng: Okay, so should I be fair. 160 00:22:43.050 --> 00:22:49.530 William Cheng: Right. I mean, this sounds like a really simple question, right, if I decide to be fair. Well, what does it mean, what does it mean to be fair, right. 161 00:22:49.710 --> 00:23:02.250 William Cheng: I need to be, you know, so very, very clear about exactly what fairness means okay without fearing us the grace as as a little meaning. So, so, since I have to give you a grade, I have to give you a fair. Great. Okay, so everything has to be fair. Now, 162 00:23:03.060 --> 00:23:09.270 William Cheng: Right, so I must treat all the students equally and cannot give special treatment to any particular student. I mean, that's very high level. 163 00:23:09.390 --> 00:23:18.450 William Cheng: But exactly what does that mean, right, every student is different. Some of you are physics major. Some of you would only major. I mean, how do I treat everybody differently. Okay, everybody has different circumstances. 164 00:23:19.170 --> 00:23:28.260 William Cheng: So in the end, okay. The bottom line over here is that, here is my furnace policy. Okay, so I will stick to my fellas policy to the letter. 165 00:23:29.190 --> 00:23:35.880 William Cheng: Okay, so here's my fair policy. Whatever I offer to one student, I must offer to the entire class. 166 00:23:36.690 --> 00:23:43.920 William Cheng: Okay, so I'm hoping that you will agree with, you know, with me that this is actually a sort of a reasonable fairness policy. 167 00:23:44.460 --> 00:23:53.220 William Cheng: Okay. And for those of you who are familiar with mathematical logic first order logic. Right. I can actually you know that the rabbit contra positive of this particular, you know, stay, man. 168 00:23:53.730 --> 00:24:03.180 William Cheng: So the counterpart is is that if I cannot offer something to the entire class, I cannot offer to you. Okay, these two statements are completely complete equivalent logically 169 00:24:03.750 --> 00:24:16.710 William Cheng: Okay. So, therefore, if you want to ask me for a special favor you need to think about whether I can offer that to the entire class if I cannot offer that to their entire class or if I will not offer that to the entire class. Okay, I will not be able to offer to you. 170 00:24:18.270 --> 00:24:24.570 William Cheng: Alright, so, so always every semester. I'm going to get people companies, but that's not fair. Something I because I have special circumstances. 171 00:24:24.810 --> 00:24:32.490 William Cheng: Okay, there are there are certain kind of specials show them this is there a university allowed. So if you have a letter from the university to say that you're allowed to do this and that. That's perfectly fine. 172 00:24:32.790 --> 00:24:45.930 William Cheng: Okay. But otherwise, I have to follow this policy right and one of my policies that if you have a letter from the university, then I have to follow the universities policy. Okay. Otherwise, you know, everybody will be I will, you know, will have follow the same rules. 173 00:24:46.980 --> 00:24:48.960 William Cheng: Okay, I cannot make exceptions. 174 00:24:50.370 --> 00:24:54.090 William Cheng: Alright, so again, you know, some people think they have a power trip. I just want to be powerful or something like that. 175 00:24:54.360 --> 00:25:01.560 William Cheng: But that's really not the reason is that I have to be fair, and this is the only way that I know how to be fair, okay, is they have strict rules. Yeah. 176 00:25:02.310 --> 00:25:13.440 William Cheng: Right does actually on the next slide. Right. Some students to understand why I'm so strict with my rules. You know, it's not a power trip for me. I am bound to my own rules right when I set up all these rules. I actually have less power. 177 00:25:14.340 --> 00:25:25.590 William Cheng: There because I have to follow my rules. Okay, so, so anyway, so. So I'm also stuck it actually take away power from me right if I don't have rules of what they're not become very powerful. I can do anything I want. 178 00:25:26.100 --> 00:25:36.510 William Cheng: Okay, but now I have rules. I'm stuck with it too. Okay, so I'm responsible for treating all students fairly right, you probably think that isn't. It's not fair to you, but my responsibility is for the entire class. 179 00:25:37.230 --> 00:25:42.450 William Cheng: Okay, so therefore I cannot treat you special because I'm responsible for everybody else. 180 00:25:43.020 --> 00:25:49.020 William Cheng: There if I apply one rule for one student don't apply the same, then it's totally unfair. So I hope that you agree with that. 181 00:25:49.710 --> 00:26:02.220 William Cheng: The only way I know to be fair, is to stick to all my written rules then right so when you asked me to bend bend a special explicitly written rule for you. You're asking me to be unfair to the rest of your class. 182 00:26:02.970 --> 00:26:07.260 William Cheng: Okay, so, so, so again, that's why I will not do that, right, because you're asking me to be unfair. 183 00:26:08.100 --> 00:26:14.340 William Cheng: Alright, so I mean every semester. I'm going to get into arguments students about this. So anyways, I'm going to sort of stick to my my written rules. 184 00:26:14.730 --> 00:26:21.510 William Cheng: You need to read your class website to find out what all the victims who I am today. I'm going to spend a bunch of time talking about some of these written rules. 185 00:26:21.870 --> 00:26:38.550 William Cheng: Guys, again, if you have question about them, you know, ask me. Yeah, and also later on when we start, you know, have your programming assignment. There's grading policy. I tend to stay to all the written downgrading policies. Okay, and I cannot make exceptions. Alright, so please understand it. 186 00:26:42.720 --> 00:26:56.430 William Cheng: Alright so today's lecture. So today's lecture is two hours. Well, we'll go from 930 to 1130 so it's to our lecture. So I'm going to spend the first 80 minutes to go over the administrative stuff. Okay. And then the remaining 187 00:26:58.020 --> 00:27:10.980 William Cheng: Because whatever reason many times remaining 40 minutes, I'm going to start talking about chapter one. Okay. Alright. So again, the reason I go to administrative staff so that we can understand each other and also hopefully you understand that I'm very serious about all my rules that 188 00:27:12.210 --> 00:27:22.530 William Cheng: If your undergrad student, you cannot get credit for audiences and for taking this class, you're in the wrong class. Okay. So, therefore, you know, and also I sort of total department and said no Gratton know under question should be 189 00:27:23.850 --> 00:27:27.180 William Cheng: Critical class. And also, I won't give you a declares 190 00:27:27.510 --> 00:27:38.820 William Cheng: You know the if you want to declare, as you have to follow all the rules of the department and and getting line and then, you know, talk to your advisor and that will be the only way you get the clearance. Right. So, so again, don't ask me to bend the rules for, you know, for you. 191 00:27:40.260 --> 00:27:49.050 William Cheng: Today, I'm going to sort of talk about the basic organization. And also, you know, sort of get you get started in warm up one so warm up one 192 00:27:49.560 --> 00:28:03.480 William Cheng: Starts today. You know, it is due on Tuesday. Two weeks from, you know, full, full, full, full on Tuesday this week. So again, you need to start doing things as surely as possible, especially if you are not good at sea or good at debugging. Yeah. 193 00:28:05.550 --> 00:28:12.660 William Cheng: Alright, so we will have a flipped classroom format. And this is the first time I'm trying to get this summer session. 194 00:28:13.740 --> 00:28:25.200 William Cheng: Okay, so, so, so the lecture of this class is going to be recorded, but it has always been recorded, so there's really nothing new. You know, you know, recorded lecture, okay. So throughout all this time the lecture. As always, record a record it. 195 00:28:25.860 --> 00:28:33.180 William Cheng: So what's different over here is that I'm gonna, you know, the lecture is going to be recording to a video and the lecture video become your homework assignment. 196 00:28:34.110 --> 00:28:40.320 William Cheng: Okay, so what you're supposed to do, is that before the actual lecture. You're supposed to watch. Watch the lecture video. So what are we doing the 197 00:28:40.860 --> 00:28:50.520 William Cheng: The, the, the actual lecture. Right. So the idea of a flipped classroom is that, you know, you're gonna, you know, get the kicker. The material before the class starts and during a classroom time 198 00:28:50.850 --> 00:28:58.440 William Cheng: Them, you know, the professor will give you know small exercises get quizzes. A lot of kind of stuff, but we can't really do that now. 199 00:28:59.160 --> 00:29:02.670 William Cheng: Hope, you'd be you'd be because we were not meeting a classroom. 200 00:29:03.660 --> 00:29:10.170 William Cheng: Okay, so therefore again what happened over here is that I'm going to give you the recorded lecture. So typically what I will do is our lecture. 201 00:29:10.590 --> 00:29:21.330 William Cheng: Lecture time is Tuesday and Thursday 930 to 1130. So what I will do is that the day before. Before 6pm I will have to record two hours of lectures. 202 00:29:22.230 --> 00:29:34.410 William Cheng: That so so they will be ready by 2pm hopefully you know earlier. So you have the, you know, you have a Monday, Wednesday night to read the lecture material. So, on Tuesday and Thursday, doing a lecture time, you can ask me questions about them. 203 00:29:35.880 --> 00:29:41.280 William Cheng: Okay, so, so during the live lecture time we basically we turn them into question the answer session. 204 00:29:41.580 --> 00:29:51.000 William Cheng: Okay, so it's going to be sort of a group setting over here. I'm going to start a zoom video anybody has a question. Can ask me, and I'll answer the question. And when nobody has any more question the lecture is over. 205 00:29:52.050 --> 00:30:01.140 William Cheng: Okay, so, so, so which means that, you know, during the day of the lecture, if nobody has any question then. I probably just going to make some announcement and then the lecture is going to be over. 206 00:30:02.370 --> 00:30:09.000 William Cheng: Okay, so again, the most important lecture part is done intellectual video you have any question about lecture video. You don't have to wait until 207 00:30:09.270 --> 00:30:17.370 William Cheng: The live live lecture you can send me email asked me to clarify or, you know, you can you can pose questions to the class Google group, any way you want. You need to have your questions, answers. 208 00:30:18.630 --> 00:30:22.620 William Cheng: Okay, so that's going to be the format. We're going to experiment with this and to see how it goes. Yeah. 209 00:30:23.820 --> 00:30:30.870 William Cheng: Alright, so are the video will be posted at two places. One is called blackboard or the other one is called d two hours. So again on the course website. 210 00:30:31.380 --> 00:30:39.270 William Cheng: Um, you know, I'm also going to show you what can you search my name that stuff to get the detail. So, d, to me, is on Dan 211 00:30:39.750 --> 00:30:45.900 William Cheng: Dan, the distance. Distance Education at USC. So, so there will be recorded last semester when I try 212 00:30:46.740 --> 00:30:56.130 William Cheng: You know, posting the recording video on the blackboard. It didn't work out very well. Okay, so I'm hoping that they have fixed up the problem. So I'm going to give it a try it again. 213 00:30:56.730 --> 00:31:06.450 William Cheng: Hopefully will work, then you can access, you know, all the lecture video on Blackboard and then in case when things don't work, you always had can go back to the to the to the to L which is on debt. 214 00:31:07.020 --> 00:31:15.420 William Cheng: OK. So again, there are two places where the exactly the same material. Yeah. All right. So your assignment is watch the video before the actual live lecture time 215 00:31:16.170 --> 00:31:23.940 William Cheng: Okay, the lecture over here again the room doesn't really matter. We're going to sort of do it on zoom. So this is when you asked questions about the recorded videos. 216 00:31:24.480 --> 00:31:30.630 William Cheng: Or any of the related programming assignment. Okay, so feel free to ask me about programming assignment during the live lecture time. Okay. 217 00:31:31.980 --> 00:31:39.480 William Cheng: Although it will be very difficult to share screens. Right. So again, you need to, you know, sort of figure out how to ask question using words without showing me code. And, you know, things like that. Okay. 218 00:31:40.020 --> 00:31:43.860 William Cheng: The class will end when nobody has any kind of questions that 219 00:31:44.550 --> 00:31:52.650 William Cheng: So, so even though this lecture is go from 930 to 1130 it might finish in 15 minutes or so don't come in later. So always coming at the beginning over here. 220 00:31:53.130 --> 00:31:56.130 William Cheng: So otherwise you'd be coming later. You're gonna miss you gonna you mean I missed the whole thing. 221 00:31:56.670 --> 00:32:11.970 William Cheng: Yeah. Alright, so I so I might not get this right at the beginning so please bear with me. And also, I apologize in advance if there's anything you know hiccups or anything that I messed up i. So, so hopefully, you know, we'll do that this will be successful. 222 00:32:13.710 --> 00:32:21.150 William Cheng: Alright, so again, there's different the. This one is different from other flipped classroom formats, where, you know, doing the live lecture time you do exercise and stuff like that. 223 00:32:21.390 --> 00:32:26.670 William Cheng: I mean, I promise you, there's going to be plenty of exercise it right all the programming assignments are programming intensive 224 00:32:27.210 --> 00:32:31.980 William Cheng: The largest Cody after right so there's gonna be plenty of time for you to do the assignments that 225 00:32:32.550 --> 00:32:35.760 William Cheng: There's no other exercise, you know, other than lecture material, guys. Okay. 226 00:32:36.000 --> 00:32:45.870 William Cheng: This class is going to be the same as the previous semester every semester we run this kind of you guys the same, the same way the same material, the same recorded lecture. And now we just have this extra you know sort of 227 00:32:46.740 --> 00:32:53.790 William Cheng: In class discussion time. Okay, so you're getting a little more time. But again, you don't really have to do that if you if you have no questions. Yeah. 228 00:32:54.330 --> 00:33:04.320 William Cheng: So, so again the the during the live lecture time. You don't even have to participate if you don't want to. I don't take roll roll calls like that. Okay, so you're not required to come to that. 229 00:33:04.980 --> 00:33:09.510 William Cheng: Yeah, right. And also it will be recorded, so if you want to watch it later on. They'll be fine. Okay. 230 00:33:10.440 --> 00:33:19.260 William Cheng: Here's very important you are expected to keep up with the lecture and the discussion is okay. This class is designed such that the legend and discussion. 231 00:33:19.470 --> 00:33:28.170 William Cheng: Give you the background for the programming assignments. Okay, so if you fall behind. That means that you might not be able to know what is the right way to do your programming assignments. 232 00:33:28.920 --> 00:33:36.960 William Cheng: Okay, so therefore I strongly encourage you not to fall behind with legend discussion right so so here's what I will go. It's my recommendation for you what you should do. 233 00:33:37.260 --> 00:33:44.460 William Cheng: At the end of the day of the lecture, you need to be able to understand everything that I talked about in the recorded lecture video 234 00:33:45.540 --> 00:33:48.390 William Cheng: Okay. If you cannot do that. What you should do is that you shouldn't 235 00:33:48.810 --> 00:33:59.460 William Cheng: Of course you should watch the lecture video one time to time, we'll have a number of times that you have to watch it if you don't understand that by the end of the day, you need to send me email you to ask me question to clarify. 236 00:34:00.090 --> 00:34:06.330 William Cheng: That everything is understandable guy, but if you are, you know, if you have trouble, you need to ask me to clarify, though. 237 00:34:07.470 --> 00:34:09.990 William Cheng: That I mean, you also need to understand that, you know, I mean, 238 00:34:10.320 --> 00:34:21.270 William Cheng: We have an entire semester you know to go over the material. So, therefore, at the beginning, some of the concept, but actually not explained to all the all the detail that you need until the later part of the semester. 239 00:34:21.630 --> 00:34:29.580 William Cheng: Okay, so there are parts of a, you're not supposed to understand them fully because the class is designed so that will explain that explain all the detail at a later time. 240 00:34:30.870 --> 00:34:35.010 William Cheng: Okay. I mean, some people, you know, they want to understand everything before they move on. What that's going to be a little tough. 241 00:34:35.640 --> 00:34:47.880 William Cheng: Okay, because it yeah I'm following the sort of the, the, the progression of the textbook. Okay, so therefore I will not be able to talk about everything, every little detail at the beginning of the semester. Okay. Hopefully by the end of the semester, you'll be able to understand everything 242 00:34:48.960 --> 00:34:52.470 William Cheng: Then that just the, how do they alter the courses design. Yeah. 243 00:34:55.740 --> 00:35:05.010 William Cheng: Alright, so this is my, this is my email address. Yeah, my email policy is 24 hours, turn around and that's a promise that I'm making. 244 00:35:05.520 --> 00:35:13.110 William Cheng: Well guys, okay, these are written down right so I'm making a promise if you send me. Well, what kind of email, right, if you send me a private email, which means that it's just one on one. 245 00:35:13.860 --> 00:35:22.800 William Cheng: Okay, if you get other people involved. It's not a private email, then this rule doesn't doesn't apply. Okay, if you send me a private email. I promise you I will, I will reply within 24 hours. 246 00:35:23.010 --> 00:35:32.160 William Cheng: Okay, if you don't get a reply within 24 hours is possible that you use for some reason your email when spam. I didn't see your email then feel free to send another email to say, hey, you know, did you get my email. 247 00:35:33.150 --> 00:35:37.530 William Cheng: Okay. I mean, some people I just send me an email and then 10 minutes later they send me an email that, did you get my email. 248 00:35:37.980 --> 00:35:45.750 William Cheng: I mean, you know, so give me 24 hours to respond. Right. Typically I respond to your email, very, very quickly. Okay. But again, you know, the worst guys can be 24 hours now. 249 00:35:47.490 --> 00:35:54.300 William Cheng: So office hours is going to be on Tuesday and Thursday from one to two o'clock is going to be done using zoom meeting. 250 00:35:54.600 --> 00:36:00.090 William Cheng: And the office hour is going to be an individual meeting. Right. So there's going to be a waiting room setup. When you come inside. 251 00:36:00.510 --> 00:36:05.460 William Cheng: The inside the meeting. You need to get in line, or I will only be able to talk to one student at a time. 252 00:36:06.000 --> 00:36:15.990 William Cheng: Okay. So in this case, I can't allow Why is suited to monopolize the entire time. So in this case, if the limited meeting time to 15 minutes mass and I have to go to the next student. Okay, so, so 253 00:36:16.410 --> 00:36:29.250 William Cheng: If everybody. I want to talk to me for 15 minutes and then I can only talk for students that so so so again the understanding over here is that when you come to office hours. There's no guarantee that you will get to talk to me. If there's people in front of you. 254 00:36:30.480 --> 00:36:38.010 William Cheng: guys so, so in that case. Well, what do you do, right. So, in that case you need to send me email. Okay. Email is a guarantee way for you to get a response for me. 255 00:36:38.490 --> 00:36:48.210 William Cheng: Okay, and a lot of questions will be here again you need to learn how to write your email, you know, sort of carefully in a compact way as question very precisely, and I will also give you a very precise answer. 256 00:36:48.540 --> 00:36:53.910 William Cheng: Right, if I'm just talking. Sometimes I mean, actually, when I talk I make a lot of mistakes. Okay. Because I talk too fast. 257 00:36:54.810 --> 00:37:00.900 William Cheng: So, so again, that's why we have to write things down because when you write things down. You can be HTTPS precise as possible. Yeah. 258 00:37:01.560 --> 00:37:17.310 William Cheng: Alright, so. So in general, it's best to always send me email or post to the class Google right if you posted the law school. That's not a private email to me so I don't have to respond within 24 hours. Okay. But if you send me a private email. I promise you I will respond to you. Okay. 259 00:37:18.540 --> 00:37:27.960 William Cheng: My zoom meeting ID will be here for lecture is this particular ID. So I think a USC authentication is required. Right. So, therefore, you have to log in with your, you know, 260 00:37:28.530 --> 00:37:38.070 William Cheng: They didn't ask you to send you to ship live authentication. I need to provide your login information over here. The, the, the live lectures will be recorded. 261 00:37:38.940 --> 00:37:46.440 William Cheng: Okay, what about privacy issue, right, so I've been is that by default. I'm going to ask everybody to turn your video off. Okay. And also I will 262 00:37:47.100 --> 00:37:50.010 William Cheng: I mean the the lecture format over here. It's going to be 263 00:37:50.520 --> 00:38:00.180 William Cheng: Basically I'm sort of lecturing right so. So in that case, if you have a question, you need to, you know, zoom you like to raise your hand. We raise your hand. I'm going to unmute you. And then you can actually ask your question again without video 264 00:38:00.660 --> 00:38:12.390 William Cheng: Okay. So, this way we don't have any kind of a privacy issue. Okay, because we don't know that that information is showing that not disclose now. Alright, so if you turn your video on ok you are giving consent to be recorded. 265 00:38:14.160 --> 00:38:22.560 William Cheng: Alright, so, so again, you know. That's really up to you. So, so again, you can't really complain to say, oh, you know, I have to have privacy. In that case, don't turn your video on. Yeah. 266 00:38:23.250 --> 00:38:28.560 William Cheng: Right for OFFICER, OFFICER. Again, there's a different you know zoom meeting ID over here. 267 00:38:29.010 --> 00:38:38.640 William Cheng: The zoom meeting over here for office hours will not be recorded. OK. So again, the lecture, time will be there will be posted it will be recorded. But the individual meeting will be here, there will not be recorded. Yeah. 268 00:38:40.890 --> 00:38:50.490 William Cheng: Alright, so, so, by the way, because of security issues, we can't really post the zoom ID on the public place. So therefore, I'm gonna I'm gonna sort of post them in the class Google group. 269 00:38:50.760 --> 00:38:54.570 William Cheng: And also you can come to this lecture slide because he lecture slides a password protected. 270 00:38:55.020 --> 00:39:01.200 William Cheng: So therefore outside people will not be able to access it. OK. So again, don't give this idea to anybody that were outside of USC now. 271 00:39:01.860 --> 00:39:11.280 William Cheng: We have one to Ben yen. He's been a TA for this class for very long time. So he's very, very familiar with all the course material. Okay, his email policy also said to be 24 hours. Turn around. 272 00:39:11.910 --> 00:39:22.650 William Cheng: So here's the th job. Read the tears job is to help you with the course material with the problem in assignment and the to also Grady exam and conduct the live discussion sections. 273 00:39:23.130 --> 00:39:32.130 William Cheng: There so please understand that the TA cannot work for you. Okay. So Tina, can I do work for you. That means that you can add to, to, to find bugs in your code. 274 00:39:32.790 --> 00:39:43.440 William Cheng: Okay, if you are putting your putting your code. It's your responsibility to find new find bugs if you as a TA TA will not be able to look at your code and tell you where the bugs are okay so don't send your code to the TA 275 00:39:43.920 --> 00:39:47.070 William Cheng: There are the tier cannot write code for you. Some people said, You know, I'm 276 00:39:47.580 --> 00:39:53.970 William Cheng: I'm almost done. I only have one tiny little funky. I don't know how to write to. Could you write it for me. I'm clearly that he is not allowed to do that. OK. 277 00:39:54.930 --> 00:40:04.680 William Cheng: So again, the team is going to have me we're gonna have the same policy for warm up assignment, we can actually tell you, you know, things like well function to call it the thing that I but it would can't really tell you what you know how to 278 00:40:05.130 --> 00:40:09.990 William Cheng: How to read the entire program. Okay, whatever the information I gave, I need to give it to the entire class. 279 00:40:10.620 --> 00:40:16.260 William Cheng: Then the tier cannot tell you what code, right. So again, when it comes to the colonel assignment. If you ask us what color should I write 280 00:40:16.440 --> 00:40:22.620 William Cheng: I mean sometimes very, very simple, you know, a question like that, for example, if you have a data structure, you said this data structure should I put a one or two in it. 281 00:40:24.030 --> 00:40:31.410 William Cheng: Okay, so when you ask this question like that, you're asking us what Co. You should write. OK. So again, in that case, we will not be able to answer questions like that. 282 00:40:31.770 --> 00:40:36.420 William Cheng: Okay, we can only answer high level questions. Okay, especially for the colonel assignment, they 283 00:40:37.050 --> 00:40:45.000 William Cheng: Are either tier. Can I look over your code or comment or your code is there you know at what do you think of my code right the tea is not allowed to do that. You can send it to me. I will also not do that. 284 00:40:45.510 --> 00:40:53.700 William Cheng: OK, I will much prefer not to look at your code at all, then all the tier can help you with learning to use the debugger. 285 00:40:54.450 --> 00:41:00.000 William Cheng: Okay, the debugger is a very, very important tool. You have to know how to use the debugger. Otherwise, some of your programming assignments going to be impossible to do 286 00:41:00.390 --> 00:41:06.630 William Cheng: Okay, so feel free to ask the tier to say, hey, if I want to do this in the debugger. What color should I use. I'm going to be able to help you with that. 287 00:41:07.590 --> 00:41:17.400 William Cheng: Okay, Archie Bunker is actually very simple and only has, you know, probably like 15 commands you need need to use. So learn those 15 commands and then you're done. Okay, don't be afraid to use them. 288 00:41:18.660 --> 00:41:28.740 William Cheng: Okay, so once you start using them, you get really good at that. Then, then they're going to be comfortable with that. So, so what you need to do they need to start learning how to use the debugger as early as possible. There 289 00:41:30.180 --> 00:41:36.030 William Cheng: Are the key. I will also hold office on zoom or the team will put post their meeting ID in the class Google group. 290 00:41:36.450 --> 00:41:42.480 William Cheng: And, you know, so if you're not available for some reason during any of our office hours. So again, that case. 291 00:41:43.110 --> 00:41:59.010 William Cheng: You can ask the TA to have individual zoom appointment. I will not be able to do that. Okay, if you will have question for me sending email. Alright, so the only time I will be available to do zoom one on one meeting is during my office hour okay otherwise semi now. Okay. 292 00:42:01.200 --> 00:42:07.680 William Cheng: Alright, so all customers employment, they are used for answering questions, they are not intended for finding bugs in your code. 293 00:42:07.950 --> 00:42:14.220 William Cheng: Okay. Some people will try to share their screen to say hey you know that showed the bug of coco, coco for me, we will not be able to do that. 294 00:42:14.910 --> 00:42:21.120 William Cheng: Okay, especially since every suit soon only have 15 minutes right so therefore we there's, it's not possible to find your bug something in 15 minutes 295 00:42:21.690 --> 00:42:27.780 William Cheng: Finding but it is your job. It's a very important skill that you must figure out how to acquire the skill on your own. 296 00:42:28.590 --> 00:42:37.050 William Cheng: Okay, we can sort of give you, you know, what would you do me commands. I usually use or debunking commands us, but that's about it. Okay, you need to get good at it by using that that 297 00:42:38.130 --> 00:42:47.460 William Cheng: So please understand that, you know, we also don't know what your bugs are okay. If you go to the department procedure if you learn how to use a procedure, you need to be able to find your books. 298 00:42:48.240 --> 00:42:57.420 William Cheng: Okay, so please understand that, you know, some people think that we're holding on them and say, oh, you know, you know where my buddy. You're just not telling me. Okay, I promise you. I have no idea what your bugs. 299 00:42:58.530 --> 00:43:03.000 William Cheng: Okay, because if I know what your buds are then you know i mean Debugging is an art. 300 00:43:03.600 --> 00:43:08.400 William Cheng: Okay if Debugging is not an art, then all the software out there in the world. They will not have bugs. 301 00:43:08.850 --> 00:43:13.800 William Cheng: Right, because if if there's a precise way to find your bug that everybody will be able to find all the bugs and there'll be no bugs in the software. 302 00:43:14.280 --> 00:43:23.820 William Cheng: Okay, but clearly that's not the case. Right. So even for professional programmer. I used to be a professional programmer. Okay, so I can tell you that there are bugs that are almost impossible to find 303 00:43:24.990 --> 00:43:29.580 William Cheng: Okay, so, so, so if you think that we know. Well, I'm sorry, we don't really know where you about our 304 00:43:30.330 --> 00:43:37.140 William Cheng: OK. So again, you need to be patient, you need to spend a lot of time finding bugs sometime a bug, and he knew the person for two or three days. 305 00:43:37.590 --> 00:43:45.510 William Cheng: Okay, so therefore you need to start to pull up an assignment as early as possible because if you're stuck in one box. You know there's there's nothing, anybody can do. Yeah. 306 00:43:48.240 --> 00:43:56.010 William Cheng: Alright, greater I have them higher greater yet. We're gonna have one greater, the greater the greater only the way only has one job and that's great. Your assignment. 307 00:43:56.340 --> 00:44:02.490 William Cheng: Okay, so the greater is there to grade your assignment also handle we grades, so please don't ask the greater for anything else. Okay, especially 308 00:44:02.850 --> 00:44:08.100 William Cheng: Before the assignment do though is the greatest say hey, you know, here's my summer, how many points what I get. Okay. 309 00:44:08.730 --> 00:44:15.270 William Cheng: What happened is out. You know what I post the assignment. I also proposed the grading, rubrics, I call them grading guidelines. 310 00:44:15.570 --> 00:44:19.890 William Cheng: Those are the grading guidelines for the greater and the greater has to follow the wedding gown and degrade your assignment. 311 00:44:20.250 --> 00:44:27.960 William Cheng: Okay. And those things that will be available to you so you will be able to act as a greater and then follow the grading Ghana, he should know exactly how many points you're going to get 312 00:44:28.410 --> 00:44:31.890 William Cheng: Okay, so there's no reason for you to actually ask the greater to say how many parts I will get 313 00:44:32.670 --> 00:44:40.140 William Cheng: There you can also you're not allowed to ask, you know, to run your code on the greatest machine because when the grid grid. The grid and he's run on their machine and not on your machine. 314 00:44:40.770 --> 00:44:51.720 William Cheng: Okay, so therefore, nobody has access to the graters machine because of our fairness policy. Okay. So, therefore, please don't ask. The way to do that because the greater would have to say well you know that they cannot do that. Yeah. 315 00:44:53.970 --> 00:45:03.660 William Cheng: All right. Are the costs were page over here. Again, here's the URL. So to get any search my name and then you click on the link and then you're going to click on the semester. I'm gonna sort of briefly sort of show you 316 00:45:04.170 --> 00:45:08.940 William Cheng: You know, sort of where that is by go to a different thing over here. 317 00:45:09.630 --> 00:45:17.040 William Cheng: Okay, so. So here is the class. Here's my homepage right if you if you look for Bill Chang. This is going to be the top of the Google 318 00:45:17.340 --> 00:45:26.130 William Cheng: And if you click gonna come here and then here's summer 2020 is right here at Summer 2020 right here. You click on this link and this is our class website. 319 00:45:26.490 --> 00:45:30.900 William Cheng: Okay. Everything about this classes here. Here is the course description you should read it. 320 00:45:31.140 --> 00:45:39.870 William Cheng: Here are the lectures over here. So, you know, the lectures will be posted over here and here the tentative lecture slides, the schedule and all these kind of stuff. So again, 321 00:45:40.230 --> 00:45:50.970 William Cheng: Things are very, very tentative. So one thing I want to mention over here is that our schedule. Okay, I'm going to try to cover exactly the same thing as summer 2019 right so if you click on the link over here. 322 00:45:51.180 --> 00:46:01.950 William Cheng: It will tell you what our schedule is going to look like. Okay, so by clicking on the slide of the slides over here and that case you will know what my schedule gonna be like it's gonna be approximately like that. Not exactly the same as that. 323 00:46:02.970 --> 00:46:07.500 William Cheng: Okay, so again, you should click on this to see, you know, you know, to what slide I will, I will cover. 324 00:46:08.010 --> 00:46:19.380 William Cheng: For accessing the protective part of the class website, the user ID is CSV file to all lowercase right just like class and the password is Colonel ke R and E. L. 325 00:46:19.860 --> 00:46:24.960 William Cheng: You know, because we're doing Colonel assignments over here. So that's going to be the user ID and password. Right, so anything 326 00:46:25.290 --> 00:46:37.440 William Cheng: That they do any programming assignment and the lecture slides. Those are the user ID and password now and again these are different from your USC your email password or your ship with authentication. So again, do not confuse the two. 327 00:46:38.220 --> 00:46:44.790 William Cheng: Well, here's an instruction, how to get on T to L. And then there's a link to Blackboard. Right. You need to get familiar with all these kind of stuff. 328 00:46:45.180 --> 00:46:51.510 William Cheng: And then here is that discussion information. So here are some of the slides that I will use for the discussion section. 329 00:46:51.870 --> 00:47:00.720 William Cheng: And they here's the programming assignment I call them projects and project for me seven, the same thing. The first to our warm up assignment and then followed by the colonel assignments. Again, all these things are there. 330 00:47:01.170 --> 00:47:07.290 William Cheng: Right now the warm up one into their specs is actually available, you can click on that you'll ask you for user ID and password. 331 00:47:07.710 --> 00:47:14.100 William Cheng: The Colonel seminar over here. They are not valid. Right. You can click on are you going to get a blank page say that they say that they're not there. Yeah. 332 00:47:14.790 --> 00:47:20.880 William Cheng: Right. And also you can actually see that the grading breakdown over here, they're all listed over here. So again, these are the things that I will have to stick to 333 00:47:21.900 --> 00:47:32.190 William Cheng: What other thing over here at the class Google group. So again, I will, you know, I have invited you to join the class Google rule by default, you will use Option one, but you should seriously consider option to 334 00:47:32.610 --> 00:47:37.290 William Cheng: Because that's the preferred way. OK. And then if you scroll down over here. There's a new section. 335 00:47:37.680 --> 00:47:43.350 William Cheng: So when I make an announcement over here, I will also post them in the news section over here in a reverse chronological order. 336 00:47:43.650 --> 00:47:50.250 William Cheng: And then at the bottom over here. Here is instruction for installing move on to a 3630 to build a bunch of 6.04 337 00:47:50.640 --> 00:47:59.850 William Cheng: This web page is very, very, very, very, very, very long. Okay, so you can see it. I just go on forever over here. I said, again, you should follow the instructions there as closely as possible. 338 00:48:00.030 --> 00:48:03.240 William Cheng: One of the very important thing is is that if you're on Windows, you can 339 00:48:03.540 --> 00:48:12.180 William Cheng: Install the standard or been to see some point or four if you're on Mac OS. So I strongly encourage you to use a different desktop is known as the X Uber to desktop. 340 00:48:12.510 --> 00:48:15.930 William Cheng: Read it again all the instructions are there, read a very carefully. Okay. 341 00:48:16.410 --> 00:48:24.120 William Cheng: There are other things over here. It's a summer over here. There's a summary of some commonly use UNIX command. These are all the commands that you need to learn in order for you. 342 00:48:24.630 --> 00:48:32.460 William Cheng: That you need to know in order for you to run to run Unix. OK. So again, these are the basic commands over here and sort of give you a sort of a background, you know, 343 00:48:33.270 --> 00:48:36.240 William Cheng: What is the command. How do you run program, all that kind of stuff. Yeah. 344 00:48:36.780 --> 00:48:47.130 William Cheng: There are also some tutorials over here, or how to use Linux or there's a Unix for beginning made you should look at that. So yeah lotsa instructions over here. So you should get familiar with that. 345 00:48:47.850 --> 00:48:54.750 William Cheng: Then, and again, but the the default way or the sort of the standard way to install the 3230 346 00:48:55.230 --> 00:49:08.190 William Cheng: To 60.04 is first that you download. Again you falling short in there is that you download a Virtual Box from Oracle and then you install Virtual Box and then you install a bunch of 16.04 into your virtual machine. 347 00:49:09.030 --> 00:49:11.640 William Cheng: Guys. But again, that's what you're supposed to do. Yeah. 348 00:49:12.150 --> 00:49:16.920 William Cheng: Alright, so I guess this is sort of a quick overview again on the top there links over here. So you so 349 00:49:17.130 --> 00:49:23.550 William Cheng: You know, during the first way I strongly encourage you to click on every link so that you can familiar with where everything's are 350 00:49:23.700 --> 00:49:36.330 William Cheng: And also be familiar with all the rules, try to read the read the entire thing or the course description over here is very long as many, many sections over here. So again read that very, very carefully there. Alright, I'm going to go back to my slides before 351 00:49:41.820 --> 00:49:51.450 William Cheng: Alright, so again, all the things are over here. So, so again you know I don't claim that I don't make mistakes, guys. So if you see any kind of inconsistency is 352 00:49:51.870 --> 00:50:01.410 William Cheng: Okay, maybe we could have between what I said. And what's posted on the class web page. And what's between the cost web page. And what's on the poster the lecture slides you see any consistencies maybe I made a mistake. 353 00:50:01.740 --> 00:50:07.890 William Cheng: Okay, so in that case especially ANYTHING THAT REGARD TO ANY TYPE OF RULES that's going to affect grading one that has become very, very serious. 354 00:50:08.280 --> 00:50:16.350 William Cheng: Okay, so in that case what you need, you need to do is that you need to talk to me guys send me email Tom telling me that you discover a mistake, and I should I will fix it. 355 00:50:16.830 --> 00:50:22.890 William Cheng: So usually the lecture slides there are more up to date. So they might tend to be more correct. So again, but again there's no guarantee that 356 00:50:23.070 --> 00:50:29.550 William Cheng: If you see things that are inconsistent, let me know. And this way I can make an announcement is that it's been fixed. And now things are consistent again. 357 00:50:30.120 --> 00:50:39.900 William Cheng: Okay. Because once things are consistent. Then we all know exactly what the rules are. Right. Because otherwise can be very confusing. So if you see that there are things that are inconsistent. It doesn't mean that you can actually pick any rules. 358 00:50:40.860 --> 00:50:47.730 William Cheng: Okay, if you see two things that are inconsistent. You're supposed to contact me. Okay, don't go with one, don't, don't make assumption to say, then this must be okay. 359 00:50:48.420 --> 00:50:53.310 William Cheng: All right, if you know that things are just things like gnosis. Then you have to talk to me. Right. Because otherwise. 360 00:50:53.610 --> 00:51:01.200 William Cheng: If somebody actually discover that. And then in this case I make it go the other way, it wasn't you cannot say that, oh, you know, that I go with one of the rules before 361 00:51:01.770 --> 00:51:09.750 William Cheng: You know, because things have changed because we are all one. Once I fix things, things become consistent again, then those will be the rules that I will follow. Right. 362 00:51:16.350 --> 00:51:19.920 William Cheng: Right, the lecture slides gonna be like this. I can see that there's a lot of details. 363 00:51:21.090 --> 00:51:24.060 William Cheng: You will be responsible for every post the lecture slides. 364 00:51:24.390 --> 00:51:33.210 William Cheng: Okay, so even though I might skip lecture slides over here, right. So why would I skip them right because, you know, I need to sort of try to fit the luxury of within the to our you know format. 365 00:51:33.600 --> 00:51:41.010 William Cheng: So there was some us to discuss things i i might skip but you're still responsible for them. So again, during the live lecture, you know, feel free to ask me questions about them. 366 00:51:41.130 --> 00:51:45.720 William Cheng: Or, feel free to send me email about to explain some of the stuff over here when you try to read them, you don't understand that. 367 00:51:46.470 --> 00:51:59.430 William Cheng: So for the legislature, except the ones that have that are marked with a great so in the lower left hand corner of the slide there. So if you see that on the lower left hand corner of the slide you have see a great X right there. That means that that lecture slides. 368 00:51:59.880 --> 00:52:12.720 William Cheng: You know that you are not responsible for and also the corresponding material from the textbook you and of course you're now responsible for. Okay. Otherwise, if it doesn't have a great x that means that you're responsible for them, you're responsible for the material there. 369 00:52:13.920 --> 00:52:24.420 William Cheng: Okay, so feel free to ask me questions about lecture slides that were not covered during the lecture. Right. So even the cell Alexa, I'm going to skip them because I need to sort of finish all the administrative stuff within a few minutes. 370 00:52:25.020 --> 00:52:33.660 William Cheng: Okay. All right. Here's important. What's important thing about the lecture. Slide the exam questions will be primarily based on lectures and lecture slides. 371 00:52:34.140 --> 00:52:41.670 William Cheng: Okay, so some people like to read textbook is fine if you read textbook. But having said on textbook when when the textbook is wrong. There's no way to fix that. 372 00:52:43.140 --> 00:52:51.150 William Cheng: Okay, that's one of the problem with the textbook, it's printed. So therefore, there's no way to fix that. So, therefore, if something in the legislature disagree with the textbook. 373 00:52:51.630 --> 00:52:56.940 William Cheng: Typically what happens on electricity. I will say that, you know, the textbook has a bug in that. Okay, so therefore they're fixing the lecture slides. 374 00:52:57.600 --> 00:53:00.600 William Cheng: Okay, because I can actually change the lecture slides to change textbook. 375 00:53:01.050 --> 00:53:11.580 William Cheng: OK. So again, you know, so, so over here at the example we primarily based on the lecture, lecture slides. If you want to get a good grade. All you have to do is to understand the lecture and study the lecture slides. 376 00:53:11.880 --> 00:53:14.790 William Cheng: Okay, you don't have to study the textbook, then 377 00:53:15.300 --> 00:53:23.520 William Cheng: It's important that you understand the lecture slides. Very, very well you know because some of the information over here, you need to sort of figure out you need to figure out the answer by understanding the lecture slide. 378 00:53:24.000 --> 00:53:31.140 William Cheng: Okay, I always get questions to say, Do I have to memorize the legislature, but that's really up to you. Okay, if you want. If you'd like to memorize lecture slides is. Go ahead. 379 00:53:31.440 --> 00:53:38.010 William Cheng: But, you know, memorize electric light doesn't guarantee that you get a good grade, okay, what's important is to understand the lecture slides. Okay. 380 00:53:39.540 --> 00:53:44.400 William Cheng: Well, it looks just like you know there's a lot of details. So, therefore, you can use them as a study guide, right. So that's one. One thing useful about it. 381 00:53:45.390 --> 00:53:52.620 William Cheng: Alright our discussion section again the live discussion section is 15 minutes long. Are they will be conducted again I'm going to record a 382 00:53:53.760 --> 00:54:05.490 William Cheng: The video for the discussion section, they will be recorded at 6pm on Thursday. So Friday. This the TA is going to have sort of like discussion section. So again, if nobody has a question. 383 00:54:05.880 --> 00:54:13.200 William Cheng: Then the discussion section will be over guide the discussion session material. The one I'm going to record is mainly about the programming assignments. 384 00:54:13.740 --> 00:54:22.260 William Cheng: Okay, so, so the main focus of the discussion section is to prepare you for the programming assignments. Alright. So again, you should watch them because you need to keep up with the poor means I'm in 385 00:54:22.530 --> 00:54:24.720 William Cheng: So you don't start a plumbing seven late. Yeah. 386 00:54:25.080 --> 00:54:35.490 William Cheng: The exam question can also be about programming assignment. Right, so they can be also be based on anything that's posted. So if I have a lecture slides posted for the discussion section and they are also eligible for the exam questions. 387 00:54:36.240 --> 00:54:45.540 William Cheng: Now, so please understand that the discussion section material. Okay, so there are you know video and something like that they are not substitute for reading the specs and the waiting is 388 00:54:46.200 --> 00:54:51.690 William Cheng: Okay, the grading the spec for the upcoming assignments. Some of them are very, very long some student don't put them on Route reader. 389 00:54:52.110 --> 00:54:59.580 William Cheng: Okay, so you are required to read them if you don't read them that they you end up implement something completely wrong. That's your problem. 390 00:54:59.940 --> 00:55:05.880 William Cheng: Okay, you can say that. Oh, I just watched the lecture video. So, therefore I'm going to assume, doesn't that don't assume anything. Read the spec. 391 00:55:06.330 --> 00:55:09.150 William Cheng: Okay reintegrating and because the Wailing gala is part of the spec. 392 00:55:10.140 --> 00:55:17.790 William Cheng: Okay, so don't forget the grading Ghana is there so that the greater the great there's only one way, the greater can gray is for the greater to follow the grading guidelines. 393 00:55:18.000 --> 00:55:22.470 William Cheng: Okay, if you ask the greater degraded and then the different way, the greater is not allowed to do that. 394 00:55:22.920 --> 00:55:25.500 William Cheng: Okay, so you're expected to read the entire span, you're 395 00:55:25.710 --> 00:55:34.470 William Cheng: You're expected to read the requirement the spec refers to. So the spec will have links that point two things. You're supposed to read that as well. You're expected also read the entire grading guidelines. 396 00:55:34.710 --> 00:55:41.550 William Cheng: And then you should practice that so that you know exactly what the greater is going to do that. So these are all your responsibilities. Yeah. 397 00:55:43.230 --> 00:55:50.250 William Cheng: All right, the school will as a student to student to discussion. So therefore, again, exchanging ideas or okay bye need to worry about cheating. 398 00:55:50.850 --> 00:56:01.770 William Cheng: Okay so posting code is not allowed. Okay. So, but, you know, if you want to post one line of code. So, somebody says, you know, how do I actually implement this which function. Should I call ya know cases. And it's only a one line of code. 399 00:56:02.940 --> 00:56:09.510 William Cheng: Okay, so if it's why I'm a coach, I'm going to say that, you know, it should be okay to actually post that right. I mean, the basic idea over here is that you should not postcode 400 00:56:09.900 --> 00:56:17.190 William Cheng: Okay but but if you just say that while use this function is a publicly available function. This is now something that you would directly using your upcoming assignment. 401 00:56:17.790 --> 00:56:20.340 William Cheng: If you just tell people, which function to us. Well, feel free to do that. 402 00:56:21.210 --> 00:56:31.860 William Cheng: Okay, so, so we here. We need to set a limit for that, right, because why because I can see in Cincy you can put the entire code in one line you can you can put the entire program in one line of code. 403 00:56:32.700 --> 00:56:37.350 William Cheng: Okay, so in that case again why I sort of need to be very, very careful, you know, so the default says 404 00:56:37.830 --> 00:56:47.250 William Cheng: So again, the line over here is going to be short and typically you're going to tell people what function to use. So if you want to, sort of, you know, I talked about one line of code or two lines of code. It's okay to post that 405 00:56:47.820 --> 00:56:53.700 William Cheng: Okay, but again not trying to give too many too much things away. But if you try to post three or more lines of code that's considered cheating. 406 00:56:55.050 --> 00:57:03.390 William Cheng: Okay, so I also want to emphasize is three or more lines of code or pseudo code because a pseudo code can be easily expand into 20 lines of regular code. 407 00:57:03.660 --> 00:57:10.500 William Cheng: Right. So in that case, you're giving away too much information. Okay. So, okay, you should talk about these at a high level, but try not to write code as much as possible. 408 00:57:10.890 --> 00:57:15.630 William Cheng: Okay, but if you want to give a function name will function to call that's perfectly legit that 409 00:57:16.410 --> 00:57:26.310 William Cheng: The first offense or you will get a warning, unless it's a lot more than three lines of code and second offense, you will lose 50% of the corresponding assignment points and I'm going to not allow you to post anymore. 410 00:57:27.030 --> 00:57:37.650 William Cheng: Okay, so when you post in the classroom will be very, very careful. Be aware of what you're posting what you're posting. Make sure they're not violating any policies right and then and then they can actually post them. 411 00:57:38.100 --> 00:57:47.550 William Cheng: There are the main the importance of the class Google group is that the instructor in the TA. We will post answer to your questions there, if it's if it's appropriate to the entire class. 412 00:57:47.880 --> 00:57:57.000 William Cheng: Okay so often. So somebody asked me a question and the answer is for the entire class if the question is about of course material or programming assignments. Well, then, of course, the, the answers for everyone. 413 00:57:57.510 --> 00:58:09.600 William Cheng: Okay, so in that case what we will try to do is to anonymize the response. Okay, so if we just go to respond in the Costco go, it will say so. So ask the question we're going to remove so and so when I say somebody asked the following question. 414 00:58:10.290 --> 00:58:16.080 William Cheng: Okay, and then we're gonna say, here's our answer. So this way you should feel free to send us, you know, sort of private message. 415 00:58:16.440 --> 00:58:25.650 William Cheng: So in that case, when we try to do a response. We're going to reply to the entire class Google. We also going to get rid of your name. Okay, so this way, nobody would know where the question comes from. Okay. 416 00:58:26.670 --> 00:58:36.450 William Cheng: All right, I'll finally another important thing about the cost school groups that you can get extra credit because I want to encourage you use to use the class Google group. So you're going to get extra credit if you post 417 00:58:36.720 --> 00:58:45.030 William Cheng: Timely and good and useful answers to other students. Question for Colonel assignments okay for one of the time and there's no extra credit 418 00:58:45.570 --> 00:58:54.960 William Cheng: Okay, before Colonel assignment. If you try to help all your classmates okay i. So, what is what is timely me right. Hi Emily meaning within 24 hours of the original post 419 00:58:55.320 --> 00:58:59.520 William Cheng: Because some people try to do it much later. Well, then in that case, people know what to do already. So you're not being helpful. 420 00:59:00.030 --> 00:59:06.210 William Cheng: Okay, so you have to do this within 24 hours and then what does it mean to be good and useful. Okay, I get to decide that 421 00:59:06.690 --> 00:59:10.980 William Cheng: Okay, just because you say something doesn't doesn't mean that you're going to get. You're going to get extra credit 422 00:59:11.760 --> 00:59:18.840 William Cheng: Okay, you have to say something useful. I mean, clearly, if you repeat something that somebody else already said, well, then in that case, you're not going to get any extra credit 423 00:59:19.830 --> 00:59:32.790 William Cheng: Okay, so when you try to respond to somebody question, make sure you are adding to the existing answers. Okay. Then again, there's no guarantee that you will get extra credit, I get to decide. Yeah. Who's gonna get extra credit. Well, what kind of answered deserve extra credit 424 00:59:34.710 --> 00:59:37.980 William Cheng: Right. But then you're strongly encourage you to sort of participate this way. Okay. 425 00:59:38.610 --> 00:59:49.620 William Cheng: All right, so, you know, you must be a member of the school because my post in the customer will go exam eligible. Okay, so you are expected to read every one of my posts with the gospel group. Yeah. 426 00:59:50.400 --> 00:59:55.500 William Cheng: All right. And also, you must not block class Google who messages. Because what happens after the semester go 427 00:59:56.370 --> 01:00:03.240 William Cheng: You know there's going to be a lot of messages. Some people get sick and tired of looking at. So in that case, they will block google google messages. You are not allowed to do that. 428 01:00:03.630 --> 01:00:10.140 William Cheng: Okay, if you do that, I'm going to make sure that you get all the messages over here. So, what you should do is if you don't want to see any messages over here is that 429 01:00:10.350 --> 01:00:14.670 William Cheng: on your end, you can set up an email filter. So they all go into a folder automatically 430 01:00:14.970 --> 01:00:25.860 William Cheng: Okay, so this way, it will skip your inbox, so you don't have to see them. Right. So again, you are not allowed to block me what's happening on your end is completely you your business right in that case if you don't want to see it. You just set up a filter. 431 01:00:26.370 --> 01:00:30.990 William Cheng: Alright, so please understand that some people always try to block them. So that's really not allowed. Okay. 432 01:00:33.780 --> 01:00:40.350 William Cheng: All right. And I already explained this in an email, you can also look at the Google group there to see, you know, the preferred ways to use 433 01:00:40.740 --> 01:00:45.090 William Cheng: The second option is to use Gmail to log into the classroom. So this way. 434 01:00:45.510 --> 01:00:51.690 William Cheng: You know, you can use the message archive in the school group. Otherwise, if you go with the standard 435 01:00:51.990 --> 01:00:58.650 William Cheng: You know option over here, which is, you know, I send your email us up the invitation. In that case, you have to manage all the messages. 436 01:00:59.100 --> 01:01:09.840 William Cheng: Okay. And also, if there's something that you miss was too late. Okay. And then in that case it the messages will be will be gone. Right. So, therefore, I, I strongly recommend you to go to the, the cost web page. 437 01:01:10.080 --> 01:01:16.020 William Cheng: Look at option number two over there and try to, you know, follow the instruction there to get on the class Google group that way. Yeah. 438 01:01:18.660 --> 01:01:23.430 William Cheng: Alright, so, so again I guess there's more detail. Again, read the class web page over here. 439 01:01:24.570 --> 01:01:34.830 William Cheng: Greetings, very, very important our programming assignment is worth 40% of your overall grade the midterm exam. I'll be here. It's going to be done on July 7 440 01:01:35.730 --> 01:01:41.730 William Cheng: So it's going to be worth 25% of your overall grade the final exam is done on the last day of the semester. 441 01:01:42.360 --> 01:01:47.490 William Cheng: Which is on August 4 so that will account for 35% of your overall great 442 01:01:47.850 --> 01:01:58.110 William Cheng: Okay. Additional extra credit that you can get is that if you're turning Assignment one in 48 hours before the deadline also going to get extra credit, right, because I really want to encourage you to do the assignment early 443 01:01:58.710 --> 01:02:08.160 William Cheng: Okay, so if you turn it in 48 hours before the due date going to get 5% extra credit if you turn it into a 72 hour before the assignment is do you get 10% extra credit 444 01:02:08.580 --> 01:02:17.490 William Cheng: Okay, if you turn it in 24 hours before the deadline, you get, you don't get any extra credit, guys. But again, I strongly encourage you to turn it in as early as possible that 445 01:02:18.360 --> 01:02:27.000 William Cheng: No individual extra credit because of my fairness policy. Okay, it's impossible for me to offer you individually extra credit. Okay. All right. 446 01:02:27.630 --> 01:02:35.190 William Cheng: The other programming assignments done by the greater accredited by the greater the example great about it as the final letter grades are assigned by me. 447 01:02:35.850 --> 01:02:44.850 William Cheng: There's a great quote incomplete. Okay, so I want you to understand that the greater incomplete doesn't mean that you didn't finish your assignment you try to finish in a later semester. That's not what it's for. 448 01:02:45.390 --> 01:02:53.610 William Cheng: Okay. According to USC policies that the great of incomplete is only possible for two reasons. One is called document the illness. 449 01:02:53.910 --> 01:03:00.990 William Cheng: The other one is called document a family emergency okay documented units, meaning that you are sick and you missed the final exam. 450 01:03:01.440 --> 01:03:11.910 William Cheng: Okay, so in that case the document that we need a piece of paper to say that you are actually sick. So if you go to student. How do you go to see a doctor, get a piece of paper to say that you are you know that they you're at the doctors facility. 451 01:03:12.450 --> 01:03:22.350 William Cheng: Okay, so these days because of privacy concerns they are not allowed to talk about why you are at the doctor's office, but if I have a piece of paper to say you are at the doctor's office without any reason 452 01:03:22.650 --> 01:03:24.810 William Cheng: I'm going to consider that as document illness. 453 01:03:25.590 --> 01:03:31.710 William Cheng: Okay document a family emergency, meaning that you if you get an email from your parents to say that, hey, you know, you have to go to a funeral. 454 01:03:31.950 --> 01:03:39.990 William Cheng: You can forward that email to me. And that can be used as a document a family emergency, you have to go to somewhere to attend a funeral, and that's why you missed the final exam. 455 01:03:40.470 --> 01:03:47.130 William Cheng: Okay, so for these two reasons. And these are the only two reason you can get an incomplete. Great. And so in that case, you usually have a year. 456 01:03:47.520 --> 01:03:52.380 William Cheng: To take a class at a later time. And to finish your final exam. Right, right. 457 01:03:52.980 --> 01:03:59.070 William Cheng: So, so the greater going to get. I'm going to give you two grades one is based on a curve. The other ones, based on the fixed scale. 458 01:03:59.550 --> 01:04:11.010 William Cheng: Your class letter grade will be the higher of the two because a lot of the two is really, really cool. So we tend not to do that. See may be given an F is necessary. Okay, I'm going to give you a secret about this class. 459 01:04:12.420 --> 01:04:25.470 William Cheng: Okay, so again, everybody in this class is a graduate student. I don't like to give secrets. Okay, so. So pretty much, it's, it's almost impossible to get a secret. The only way you can actually get an F is for cheating. 460 01:04:27.090 --> 01:04:32.220 William Cheng: Okay, so, so let me say it again right there's pretty much no way for you to get an F. If you don't cheat. 461 01:04:33.510 --> 01:04:43.950 William Cheng: Okay, so, so therefore I'm going to sort of get the message of yours. Don't cheat because if you cheat. That will be the one where you get enough. Okay, so. So what I will do is that I don't even like to give be minuses. 462 01:04:45.540 --> 01:04:58.020 William Cheng: Okay, every semester is going to be maybe one or two season and get be minuses. So those are the students that do poorly in the programming assignments. They also do poorly in the exam. In that case, if you do poorly in everything. Maybe you're going to risk getting a b minus 463 01:05:00.090 --> 01:05:04.320 William Cheng: Okay. Otherwise, you know, I mean, you sort of get a picture. I mean, it's not easy to get an A. 464 01:05:05.010 --> 01:05:07.710 William Cheng: Okay, but it's also, it's very difficult to fail this class. 465 01:05:08.070 --> 01:05:13.290 William Cheng: Okay, but be minus again if you don't do anything. And if you're pulling the exam. Then you risk getting a b minus right so yeah 466 01:05:13.530 --> 01:05:23.040 William Cheng: The important message over here is that do not cheat you VS code from previous semester, throw them all away. And this way you know there's a very good chance you will pass the class. 467 01:05:23.910 --> 01:05:32.730 William Cheng: Yeah, right. So let's talk about these two methods are here is based on the curve, right, I'm going to put everybody on one curve, calculate the average calculate the standard deviation 468 01:05:33.420 --> 01:05:38.010 William Cheng: If you are right at the average you're guaranteed to get a great a b plus or better. 469 01:05:38.250 --> 01:05:48.150 William Cheng: If you're right at the average plus one standard deviation, you're guaranteed to get an A. If you're guaranteed you're right at average minus one standard deviation you guarantee you get a p minus great or better. 470 01:05:48.750 --> 01:05:57.480 William Cheng: Okay, so again, over here, I sort of draw arrows over here because I don't know exactly where they are. So typically what I would do is I will plot everybody on one on one curve and then look for gaps. 471 01:05:57.930 --> 01:06:01.860 William Cheng: Because if people have very, very similar scores. I don't really want to give them different letter grade. 472 01:06:03.060 --> 01:06:09.690 William Cheng: Okay, so don't forget, I don't know exactly how many days. How many Mrs. I'm going to give so all depends on the distribution. Yeah. 473 01:06:10.380 --> 01:06:23.430 William Cheng: Alright. The second type of great over here is the fixed scale grey every 9% of the gray is a great step right so the first 9% of you're getting a the second I present from 80 to 91 get an A minus the third gay p plus it I sat around 474 01:06:24.000 --> 01:06:30.060 William Cheng: Guys, again, I use these two methods over here are your final letter grade is going to be the better of these two. Yeah. 475 01:06:33.030 --> 01:06:36.540 William Cheng: Alright, so I guess this is sort of a good point to break. I'm gonna throw 476 01:06:37.650 --> 01:06:44.040 William Cheng: This will be the end of the first video, and the second video, I'm going to finish. There's another 15 minutes to go for the 477 01:06:45.180 --> 01:06:49.350 William Cheng: You know, for the administrative stuff and then I'll sushi top of chapter one. Yeah.