mirror of
https://github.com/ossu/computer-science.git
synced 2025-08-10 23:30:09 -04:00
add class 01.01.02
This commit is contained in:
parent
a7feb6826a
commit
578b735291
3 changed files with 18 additions and 0 deletions
|
@ -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]()
|
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue