Lecture 2: Core Elements of a Program

This lecture covers the building blocks of straight line and branching programs: objects, types, operators, variables, execution, and conditional statements.

Topics covered: IDLE, types of objects, operators, overloading, commands, variables, assignment, input, straight line and branching programs, looping constructs, Turing completeness, conditionals, nesting.

Resources for the above video lecture

MIT6_00SCS11_lec02.pdf


About this Video: Topics covered: Syntax, semantics, object types, comparison, loops, coding.

Problem Set 0: Introduction to Python and IDLE (Due)

This problem set will introduce you to the programming environment IDLE and to programming in Python, as well as to our general problem set structure. In this problem set, you will install IDLE, write a simple Python program, and hand it in. Be sure to read this problem set thoroughly, especially the sections of Collaboration and the Hand-in Procedure.

MIT6_00SCS11_ps0.pdf

Creative Commons License

Complete and Continue