1 00:00:08,390 --> 00:00:13,560 Hi everyone. I'm excited to show you some useful features of 2 00:00:13,560 --> 00:00:15,570 the free interactive textbook that will be 3 00:00:15,570 --> 00:00:18,315 available to you as part of this specialization. 4 00:00:18,315 --> 00:00:22,590 Content in the first four courses all track pretty closely to the textbook content. 5 00:00:22,590 --> 00:00:24,380 So, whichever course you're starting with, 6 00:00:24,380 --> 00:00:27,915 you'll want to go through this video to see the important interactive features. 7 00:00:27,915 --> 00:00:31,710 You can skip it if you've already seen it in a previous course. 8 00:00:31,710 --> 00:00:34,410 The Runestone interactive textbook environment 9 00:00:34,410 --> 00:00:37,020 is the brainchild of my friend Brad Miller, 10 00:00:37,020 --> 00:00:40,340 I've made a few contributions to both the software environment, 11 00:00:40,340 --> 00:00:42,950 and especially the textbook over the past four years, 12 00:00:42,950 --> 00:00:45,755 but Brad deserves almost all the credit. 13 00:00:45,755 --> 00:00:49,910 Let's take a look. The first thing you'll 14 00:00:49,910 --> 00:00:53,735 need to do before accessing any of the textbook pages, 15 00:00:53,735 --> 00:00:56,580 is to log in from Coursera. 16 00:00:57,110 --> 00:01:01,150 So, I just click on this ''Open Tool'', 17 00:01:01,280 --> 00:01:06,845 and I'm automatically logged in. 18 00:01:06,845 --> 00:01:08,690 You've already logged into Coursera, 19 00:01:08,690 --> 00:01:11,190 and Coursera's passing the credentials to Runestone, 20 00:01:11,190 --> 00:01:13,790 so you'll be automatically logged in here. 21 00:01:13,790 --> 00:01:16,670 Once you're logged in, all of your work will be saved, 22 00:01:16,670 --> 00:01:19,220 and we've deliberately disabled 23 00:01:19,220 --> 00:01:23,020 any other ways to login except by doing it through Coursera. 24 00:01:23,020 --> 00:01:26,570 So, when you first log in following that link, 25 00:01:26,570 --> 00:01:29,345 you'll be taken to this practice page in the textbook. 26 00:01:29,345 --> 00:01:35,810 It's our way of encouraging you to use the practice feature every day, 27 00:01:35,810 --> 00:01:38,040 and we'll come back to that later. 28 00:01:40,490 --> 00:01:42,870 Once you're logged in, 29 00:01:42,870 --> 00:01:46,370 you'll be able to click on any of the links for the readings and you'll be 30 00:01:46,370 --> 00:01:50,880 taken directly to the pages in the textbook for those readings. 31 00:01:51,350 --> 00:01:57,290 So, here's a link to the Runestone page for variables, 32 00:01:57,290 --> 00:01:59,760 and I'll click on it. 33 00:02:03,620 --> 00:02:06,780 Now, I'm on a textbook page. 34 00:02:06,780 --> 00:02:11,085 In the textbook, you'll find text, 35 00:02:11,085 --> 00:02:17,405 and images, diagrams, but you'll also find some interactive elements. 36 00:02:17,405 --> 00:02:21,605 For example, here's what we call an active code window. 37 00:02:21,605 --> 00:02:23,660 Its got some code in it, 38 00:02:23,660 --> 00:02:26,365 and I can click ''Save & Run''. 39 00:02:26,365 --> 00:02:31,565 It'll run and print something out over here in an output window. 40 00:02:31,565 --> 00:02:34,770 I can change that code, 41 00:02:41,680 --> 00:02:46,370 and I can run it, and all 42 00:02:46,370 --> 00:02:50,345 of your code versions when you save and run them, will be saved. 43 00:02:50,345 --> 00:02:53,670 I have this little scrubber here, and I can move it, 44 00:02:53,670 --> 00:02:58,179 I can see all of my old versions, 45 00:02:58,690 --> 00:03:03,830 and they're not just saved while this page is open, they're saved permanently. 46 00:03:03,830 --> 00:03:07,140 For example, let's reload this page. 47 00:03:09,320 --> 00:03:14,000 When the page loads, we're back to the original window contents. 48 00:03:14,000 --> 00:03:16,340 Then I can click ''Load History'', 49 00:03:16,340 --> 00:03:18,200 and then I get the scrubber, 50 00:03:18,200 --> 00:03:21,120 and it shows me my last code run. 51 00:03:21,260 --> 00:03:26,530 Now, if I rerun a previous version, 52 00:03:29,960 --> 00:03:34,000 it won't show on the scrubber as being the latest version, 53 00:03:34,000 --> 00:03:40,820 but if I change it, 17 to 18, 54 00:03:40,820 --> 00:03:44,825 now it becomes the latest version in the history. 55 00:03:44,825 --> 00:03:49,750 ''Show in CodeLens'' is a really useful feature of active code Windows. 56 00:03:49,750 --> 00:03:52,585 This is an amazing tool developed by Philip Guo, 57 00:03:52,585 --> 00:03:54,775 a professor at UC San Diego. 58 00:03:54,775 --> 00:03:59,895 It lets you step through the execution of a program one line at a time. 59 00:03:59,895 --> 00:04:01,245 I can click forward, 60 00:04:01,245 --> 00:04:05,830 and it'll just show me what happens after one line is executed in the next, 61 00:04:05,830 --> 00:04:10,070 and the next can print out just the first message, and so on. 62 00:04:10,070 --> 00:04:12,650 That's not such a big deal now, 63 00:04:12,650 --> 00:04:15,190 but it'll be really useful for you when you start to do 64 00:04:15,190 --> 00:04:17,949 more complicated programs with conditional execution, 65 00:04:17,949 --> 00:04:21,730 and iteration, and defining your own functions. 66 00:04:21,730 --> 00:04:27,250 Part of our educational philosophy in this specialization is to reveal all the magic. 67 00:04:27,250 --> 00:04:31,450 We want to give you a way to reason about how your programs are executing because 68 00:04:31,450 --> 00:04:35,715 that's the foundation for being able to debug your code through understanding, 69 00:04:35,715 --> 00:04:37,725 rather than through trial and error. 70 00:04:37,725 --> 00:04:40,540 CodeLens really helps with that. 71 00:04:41,060 --> 00:04:47,309 Now, sometimes these CodeLens examples are built right into the textbook, 72 00:04:47,309 --> 00:04:53,659 but you can always get to CodeLens by hitting the ''Show in CodeLens'', 73 00:04:53,659 --> 00:04:57,080 or ''Hide CodeLens'' for any active code. 74 00:04:57,080 --> 00:05:02,070 Here are some that are built in to that textbook page. 75 00:05:05,000 --> 00:05:08,450 There are also other interactive features, 76 00:05:08,450 --> 00:05:11,010 here's a multiple choice question. 77 00:05:11,020 --> 00:05:17,855 You can answer those and get immediate feedback by clicking on ''Check Me''. 78 00:05:17,855 --> 00:05:19,850 I've actually already answered this one, 79 00:05:19,850 --> 00:05:23,300 but suppose I said Thursday as 80 00:05:23,300 --> 00:05:26,900 the thing that would print out here because day is set to Thursday, 81 00:05:26,900 --> 00:05:28,220 and I click ''Check Me'', 82 00:05:28,220 --> 00:05:29,780 and it gives me some feedback. 83 00:05:29,780 --> 00:05:33,415 It's true Thursday is the value of day, 84 00:05:33,415 --> 00:05:36,675 but It gets overwritten later. 85 00:05:36,675 --> 00:05:40,330 So, the correct answer is 19. 86 00:05:40,640 --> 00:05:43,130 Then when you get to the bottom of the page, 87 00:05:43,130 --> 00:05:46,610 I suggest that you click on ''Mark as completed''. 88 00:05:46,610 --> 00:05:50,515 If you haven't clicked on it, this is what it will look like initially. 89 00:05:50,515 --> 00:05:52,995 If you click on ''Mark as completed'', 90 00:05:52,995 --> 00:05:54,375 couple good things will happen. 91 00:05:54,375 --> 00:05:58,700 One is you get the satisfaction of it says yeah, ''Completed Well Done''. 92 00:05:58,700 --> 00:06:01,250 But you get a couple of other things too. 93 00:06:01,250 --> 00:06:06,335 First, some of the multiple choice questions or other activities on the page, 94 00:06:06,335 --> 00:06:08,750 get added to the practice tool, 95 00:06:08,750 --> 00:06:10,610 which I'm going to show you in a minute, 96 00:06:10,610 --> 00:06:14,035 and that practice tool will help you review things so that you don't forget them. 97 00:06:14,035 --> 00:06:17,600 Sort of like vocabulary flashcards when you're learning a foreign language. 98 00:06:17,600 --> 00:06:21,140 Second, the pages that you've marked as completed, 99 00:06:21,140 --> 00:06:23,450 will be marked in the table of contents. 100 00:06:23,450 --> 00:06:28,050 So, you can keep track of the textbook of what you've read and what you haven't. 101 00:06:28,790 --> 00:06:31,884 Here's the table of contents, 102 00:06:31,884 --> 00:06:36,649 and you can see these orange dots indicate things that I've completed, 103 00:06:36,649 --> 00:06:40,355 right marked as complete and the check boxes. 104 00:06:40,355 --> 00:06:44,060 The check marks indicate things that I've opened, 105 00:06:44,060 --> 00:06:46,500 but I haven't marked as complete. 106 00:06:49,550 --> 00:06:52,850 So, this completed button at the bottom of the page 107 00:06:52,850 --> 00:06:55,730 is separate from marking a reading is complete. 108 00:06:55,730 --> 00:06:59,095 In Coursera, you may want to do both of those things. 109 00:06:59,095 --> 00:07:04,280 In Coursera, we'll generally provide you with links to particular pages, 110 00:07:04,280 --> 00:07:07,175 and so you can just read that one page. 111 00:07:07,175 --> 00:07:08,750 But if you want to, 112 00:07:08,750 --> 00:07:12,745 you can navigate through the textbook once you're on the Runestone site. 113 00:07:12,745 --> 00:07:14,630 We have these forward and back buttons, 114 00:07:14,630 --> 00:07:17,400 this goes to the next page in the book. 115 00:07:17,400 --> 00:07:20,750 Back to the previous page. 116 00:07:22,080 --> 00:07:27,070 If you click on the textbook title as I showed you a second ago, 117 00:07:27,070 --> 00:07:30,415 you'll get to a table of contents that's very detailed, 118 00:07:30,415 --> 00:07:35,030 with every single page and sometimes subsections within the pages. 119 00:07:35,100 --> 00:07:38,380 If you want a more overview, look at it. 120 00:07:38,380 --> 00:07:43,420 You can click on this chapters and it'll show you the different chapters and you can 121 00:07:43,420 --> 00:07:49,570 just see the detail for one chapter at a time. 122 00:07:49,570 --> 00:07:53,515 Now notice that the orange dots 123 00:07:53,515 --> 00:07:56,635 aren't shown on this detailed view of just a single chapter. 124 00:07:56,635 --> 00:07:58,000 That's a little unfortunate, 125 00:07:58,000 --> 00:08:01,165 and now that I've noticed it I'll try to add that feature at some point. 126 00:08:01,165 --> 00:08:04,885 Finally, there is a search option. 127 00:08:04,885 --> 00:08:12,175 So, I can search for variable, 128 00:08:12,175 --> 00:08:18,205 and it'll tell me lots of pages in the textbook where the word variable shows up. 129 00:08:18,205 --> 00:08:21,050 There's also an index. 130 00:08:22,230 --> 00:08:27,100 I want to look for various things and I can click on them and 131 00:08:27,100 --> 00:08:32,140 it'll take me to where they are in the in the textbook. 132 00:08:32,140 --> 00:08:34,840 Normally if you login from Coursera, 133 00:08:34,840 --> 00:08:37,870 you'll be taken directly to the practice feature but you can also 134 00:08:37,870 --> 00:08:42,230 get there from within the book by clicking on practice. 135 00:08:43,980 --> 00:08:47,755 What this practice feature does is it represents to you 136 00:08:47,755 --> 00:08:51,745 questions on topics that you've marked as already completed. 137 00:08:51,745 --> 00:08:56,050 That thing at the bottom of the page where you mark the pages completed. 138 00:08:56,050 --> 00:08:58,585 When you're here in the practice feature, 139 00:08:58,585 --> 00:09:00,580 you get to answer it again, 140 00:09:00,580 --> 00:09:06,640 and if you get it right it'll remember that, 141 00:09:06,640 --> 00:09:10,945 and it won't ask you that same topic again for a long time. 142 00:09:10,945 --> 00:09:13,310 If you get it wrong, 143 00:09:14,100 --> 00:09:17,840 then it might ask you again tomorrow. 144 00:09:19,920 --> 00:09:25,630 So, this practice tool is the brainchild of my doctoral student, Imania Kezare. 145 00:09:25,630 --> 00:09:27,715 He just implemented last year, 146 00:09:27,715 --> 00:09:29,950 and in the first semester where we made it available 147 00:09:29,950 --> 00:09:32,605 to students at our on-campus classes, 148 00:09:32,605 --> 00:09:35,210 those students who used it 149 00:09:43,740 --> 00:09:48,875 more did a lot better on the course exams than those who didn't. 150 00:09:48,875 --> 00:09:52,350 It was a pretty striking result for me because I'd been monitoring 151 00:09:52,350 --> 00:09:55,605 for several years to see whether just spending more time in the textbook, 152 00:09:55,605 --> 00:09:59,445 had a similar effect on student performance, and it didn't. 153 00:09:59,445 --> 00:10:01,820 Now in my on-campus classes, 154 00:10:01,820 --> 00:10:06,895 use of this practice tool is now required and earns a few points towards the final grade. 155 00:10:06,895 --> 00:10:10,390 For the Coursera courses it's not required but, 156 00:10:10,390 --> 00:10:12,880 based on the results I've seen with our on-campus students, 157 00:10:12,880 --> 00:10:16,045 I strongly encourage you to use it a little everyday. 158 00:10:16,045 --> 00:10:18,400 I think you'll also find it rewarding. 159 00:10:18,400 --> 00:10:21,895 Our on-campus students love the fireworks that they get. 160 00:10:21,895 --> 00:10:25,240 So, here I'm going to answer a couple of questions, 161 00:10:25,240 --> 00:10:28,075 I have only two left to practice for today, 162 00:10:28,075 --> 00:10:31,480 and I'm going to say done ask me another question? 163 00:10:31,480 --> 00:10:33,340 It gives me one more it says, 164 00:10:33,340 --> 00:10:35,530 "Hang in there, last question for today." 165 00:10:35,530 --> 00:10:37,840 and what's going to print out? 166 00:10:37,840 --> 00:10:41,005 This is a review, the one we just looked at. 167 00:10:41,005 --> 00:10:43,165 I say check me, 168 00:10:43,165 --> 00:10:45,220 and then I done, 169 00:10:45,220 --> 00:10:49,300 and I get these fireworks which are 170 00:10:49,300 --> 00:10:53,900 a little fun when you finish all the questions for the day. 171 00:11:19,410 --> 00:11:24,100 Okay. For those of you who are taking this course for a certificate, 172 00:11:24,100 --> 00:11:26,574 you'll also see links to graded assignments, 173 00:11:26,574 --> 00:11:29,185 usually at the end of each lesson or set of lessons. 174 00:11:29,185 --> 00:11:30,610 In the first four courses, 175 00:11:30,610 --> 00:11:32,140 the assessments and projects are in 176 00:11:32,140 --> 00:11:35,245 the Runestone textbook and they are all auto-graded there. 177 00:11:35,245 --> 00:11:37,465 You'll only be able to see these in Coursera 178 00:11:37,465 --> 00:11:39,745 if you're paying to take the course for a certificate. 179 00:11:39,745 --> 00:11:41,200 If you're not paying, you can find 180 00:11:41,200 --> 00:11:44,020 similar questions in the end of chapter assessment pages, 181 00:11:44,020 --> 00:11:46,430 in the Runestone textbook. 182 00:11:46,460 --> 00:11:55,510 So let's follow the link for this first assessment, 183 00:11:57,330 --> 00:12:01,240 and this assessment just has two questions. 184 00:12:01,240 --> 00:12:05,450 I've actually already answered one them correctly before. 185 00:12:06,330 --> 00:12:11,665 That was a multiple choice question and they want me to write some code, 186 00:12:11,665 --> 00:12:15,835 the answer to this one is, "print helloworld". 187 00:12:15,835 --> 00:12:17,800 I'll save and run it, 188 00:12:17,800 --> 00:12:19,585 and I get some immediate feedback. 189 00:12:19,585 --> 00:12:26,500 There's an automatic test in here and it's telling me that I got the right output. 190 00:12:26,500 --> 00:12:29,450 If I said "helloworld" instead, 191 00:12:29,450 --> 00:12:34,460 I would get feedback saying that I had failed. 192 00:12:35,880 --> 00:12:38,530 When I tell it to grade me, 193 00:12:38,530 --> 00:12:40,600 it'll use the best answer I've ever given. 194 00:12:40,600 --> 00:12:42,610 So, if I ever managed to pass the test, 195 00:12:42,610 --> 00:12:44,485 I will pass this. 196 00:12:44,485 --> 00:12:48,220 We've set up the assessments so usually that you 197 00:12:48,220 --> 00:12:51,580 have to get a 100 percent in order to pass the assessment. 198 00:12:51,580 --> 00:12:56,425 But you can keep trying and keep getting feedback until you get that 100 percent. 199 00:12:56,425 --> 00:12:57,925 We've done that because, 200 00:12:57,925 --> 00:12:59,710 we think it's really important to master 201 00:12:59,710 --> 00:13:02,650 the early material because things keep building on each other. 202 00:13:02,650 --> 00:13:04,795 So, I click grade me, 203 00:13:04,795 --> 00:13:06,625 and it comes back. 204 00:13:06,625 --> 00:13:10,975 You can see now that it's updated the score to one instead of zero, 205 00:13:10,975 --> 00:13:15,160 I have gotten a total of two out of two for this assessment. 206 00:13:15,160 --> 00:13:20,740 If I go back to this page on Coursera and I refresh it, 207 00:13:20,740 --> 00:13:23,425 it'll tell me instead of trying again, 208 00:13:23,425 --> 00:13:26,180 it's going to tell me that I've passed. 209 00:13:29,460 --> 00:13:32,545 Passed with a 100 percent. 210 00:13:32,545 --> 00:13:34,990 That's the Runestone environment. 211 00:13:34,990 --> 00:13:37,510 It's been a labor of love for all of us who've worked on 212 00:13:37,510 --> 00:13:40,120 it as an open source project over the last few years, 213 00:13:40,120 --> 00:13:42,670 especially Brad Miller who started the project. 214 00:13:42,670 --> 00:13:46,990 I hope you'll find it really helpful to you as you master the fundamentals of Python. 215 00:13:46,990 --> 00:13:51,250 I usually end my on-camera segments with a little joke so, 216 00:13:51,250 --> 00:13:53,290 here's a bit of humourous advice. 217 00:13:53,290 --> 00:13:56,320 Procrastinate today. Always today. 218 00:13:56,320 --> 00:13:58,930 Don't put it off until tomorrow. 219 00:13:58,930 --> 00:14:01,885 Okay then, don't listen to my advice. 220 00:14:01,885 --> 00:14:03,430 Don't procrastinate today. 221 00:14:03,430 --> 00:14:08,720 Go get started with the first lesson in this course. I'll see you next time.