Creating an introductory CS lesson with Mix + Online Python Tutor Philip Guo University of Rochester June 2015
What can you do with Mix + Online Python Tutor? -Create introductory computer science lessons with live code writing, execution, and visualization -Supports four popular languages: -Python (2 and 3), Java, JavaScript, and TypeScript -See detailed step-by-step visualizations of execution state like what people would draw on the board
1.) Get Mix and add an Online Python Tutor lab Install Mix, then go to the Mix tab, click “Quizzes Videos Apps”, select “STORE”, and pick the Online Python Tutor lab.
2.) Write code in each lab to populate it with code that the learner can execute. This is a simple Python example populated with code that the learner can execute by clicking the “Visualize Execution” button. The learner can also freely modify the example code.
3.) You can insert more than one lab per slide, each set to a different language.
4.) If you hit “Visualize Execution” and save the mix when the lab is in visualization mode, then that visualization will be cached so that the learner sees it without needing to execute.
5.) If the learner clicks the “Edit code” link below the code, then they can modify your example and see alternate visualizations.
Recap -Using the Online Python Tutor lab in Mix, you can create introductory computer science lessons with live code writing, execution, and visualization -Write code in four popular languages: -Python (2 and 3), Java, JavaScript, and TypeScript -Your tutorials contain step-by-step visualizations of execution state like what people draw on the board