programming - lesson 1

Get Started. It's Free
or sign up with your email address
programming - lesson 1 by Mind Map: programming - lesson 1

1. expressions

1.1. operators

1.2. any valid unit of code that resolves to a value

1.2.1. assignment

1.2.2. or can be resolved to a value

1.3. In programming, an expression is any legal combination of symbols that represents a value

2. Core programming concepts includes the ability to:

2.1. Store and retrieve values. A value can be number, text or a state like true or false. (See Variables)

2.2. Create a block of code that will execute as a unit.

2.3. Loop or repeat a section (block) of code.

2.4. Take action based on the evaluation of two expressions. (See Conditionals)

3. What is a computer program?

3.1. A computer program is a sequence of instructions that performs a specific task when executed by a computer.

3.2. Its a text file

3.3. Before a program can be executed it must be processed by either an interpreter or complier to produce machine executable code.

3.3.1. all programs must be loaded into memory before they can be run(executed)

3.4. Languages

3.4.1. C

3.4.1.1. C++

3.4.1.2. Python

3.4.1.3. Ruby

3.4.1.4. JavaScript

3.4.1.5. Java

3.4.1.6. Processing

3.5. Computer languages are exacting and unambiguous

3.5.1. an ambiguous sentence

3.5.2. Put the box on the table by the window in the kitchen

3.6. synonyms

3.6.1. programs - code - software

4. Variables

4.1. What is a variable

4.1.1. containers with addresses like

4.1.1.1. lockers

4.1.1.2. that stores a value

4.2. types

4.2.1. numbers

4.2.2. strings

4.2.3. boolean

4.2.3.1. true

4.2.3.2. false

4.3. assignment using =

4.4. 4 properties

4.4.1. label/name

4.4.2. container/storage

4.4.3. address/location

4.4.4. value including no value

5. Conditionals

5.1. Comparison Operators

5.1.1. +

5.1.2. -

5.1.3. *

5.1.4. /

5.1.5. =

5.1.6. >

5.1.7. <

5.1.8. >=

5.1.9. <=

5.1.10. ==

5.1.11. !=

5.2. If statement

5.2.1. if( x < age){ }

6. QR code