add class 01.01.02

This commit is contained in:
Eric Douglas 2014-05-08 20:49:39 -03:00
parent a7feb6826a
commit 578b735291
3 changed files with 18 additions and 0 deletions

View file

@ -0,0 +1,13 @@
# 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.
## Session Activities
➭ [Lecture 2: Core Elements of a Program](http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-00sc-introduction-to-computer-science-and-programming-spring-2011/unit-1/lecture-2-core-elements-of-a-program/#?w=535) (00:49:49)
**About this Video**: Topics covered: IDLE, types of objects, operators, overloading, commands, variables, assignment, input, straight line and branching programs, looping constructs, Turing completeness, conditionals, nesting.
➭ **Resources**
[Code in Node.JS]() | [Code in Python]()

View file

@ -0,0 +1,3 @@
x = 3; // Create variable and assign value 3 to it
x = x * x; // Bind x to value 9
console.log( x ); // print the x's value