9/17/13 ¡ 1 ¡
D3: The Crash Course D3: Scratching the Surface D3: What you need for the Homework D3: Only the Beginning
Please do not be afraid to ask questions! Programming Terminology
§ Directory -- Folder § Variable -- Identifier of an object, a value, or a function § Global Variable – Variable accessable from anywhere in your code § Local Variable – Variable only accessable from the current function § String – A sequence of characters (usually surrounded by “”s or ‘’s)
- e.g. “This is a string.”
§ Int – An integer number (i.e. no decimal places) § Float – A number that can have decimal places § Array [ ] – A list of items
- [1,2,3,4]
- [{name:‘Alpha’},{name: ‘Bravo’},{name: ‘Charlie’}]
§ Object { } – A collection of key-value pairs, often representing a distinct entity
- [{keyA:’value1’, keyB: 5, keyC: 9.3}]
§ Function / Method ( ) – A series of steps to perform a task
- (often converting input to output)
§ Parameter – Input for a function