D278 WGU. Scripting & Programming Foundati
cb cb cb cb cb
ons
1.input: program gets data. file, keyboard
cb cb cb cb cb
2.process: program performs computations on data
cb cb cb cb cb
3.output: program puts that data somewhere
cb cb cb cb cb
4.variables: named item such as x or numPeople to hold a value
cb cb cb cb cb cb cb cb cb cb cb
5.programming: problem solving cb cb
6.coral: super simple programming language
cb cb cb cb
7.integer: whole number cb cb
8.string: A sequence of characters
cb cb cb cb
9.boolean: true or false cb cb cb
10.obtaining values: 1. manually assign 2. assign through input box
cb cb cb cb cb cb cb cb cb
11.array: collection of particular data type (names=string, quant
cb cb cb cb cb cb cb
ity=integer, price=float, etc.), cb cb
each entry known as an element
cb cb cb cb cb
12. Array characteristics: always starts at 0, static data structure, m
cb cb cb cb cb cb cb cb cb
ust be declared before use
cb cb cb cb
13.equality operators: Operators == (is equal to) and !
cb cb cb cb cb cb cb cb
= (is not equal to) that compare two values.
cb cb cb cb cb cb cb cb
14.relational operators: ==, !=, >, <, >=, <= cb cb cb cb cb cb cb
15.logical operators: and, or, not cb cb cb cb
16.branches: sequence of statements only executed under a certain co
cb cb cb cb cb cb cb cb cb
ndition
17.loop: program that repeatedly executes statements
cb cb cb cb cb
18.iteration: each time the loop runs cb cb cb cb cb
19.white loop: A loop that continues to repeat while a conditi
cb cb cb cb cb cb cb cb cb cb
on is true. Ex; While it's raining, grab an umbrella.
cb cb cb cb cb cb cb cb cb
used when unsure of how many times loop will run
cb cb cb cb cb cb cb cb cb
20.do-
while loop: Iterate while the condition is true, tells you to something
cb cb cb cb cb cb cb cb cb cb cb
first, action before evaluation
cb cb cb cb
EX: do { cb cb
... this thing
cb cb
} while(condition);
cb
21.for loop: Loops that have a predetermined beginning, end, and incr
cb cb cb cb cb cb cb cb cb cb
ement (step interval). used when you already know how many times
cb cb cb cb cb cb cb cb cb cb cb
to repeat.
cb
22.algorithm: sequence of instructions that solves a problem
cb cb cb cb cb cb cb
23.flowchart: graphical language for creating/ cb cb cb cb
viewing computer programs
cb cb cb
24.program: a list of statements or actions to accomplish a task in
cb cb cb cb cb cb cb cb cb cb cb cb
1cb/
cb9
, D278 WGU. Scripting & Programming Foundati
cb cb cb cb cb
ons
a computer program
cb cb
25.interpreter: tool that runs programs statements one
cb cb cb cb cb cb cb
at a time can run on any machine that has an interpre
cb cb cb cb cb cb cb cb cb cb cb
ter
ex: python, javascript
cb cb
2cb/
cb9
cb cb cb cb cb
ons
1.input: program gets data. file, keyboard
cb cb cb cb cb
2.process: program performs computations on data
cb cb cb cb cb
3.output: program puts that data somewhere
cb cb cb cb cb
4.variables: named item such as x or numPeople to hold a value
cb cb cb cb cb cb cb cb cb cb cb
5.programming: problem solving cb cb
6.coral: super simple programming language
cb cb cb cb
7.integer: whole number cb cb
8.string: A sequence of characters
cb cb cb cb
9.boolean: true or false cb cb cb
10.obtaining values: 1. manually assign 2. assign through input box
cb cb cb cb cb cb cb cb cb
11.array: collection of particular data type (names=string, quant
cb cb cb cb cb cb cb
ity=integer, price=float, etc.), cb cb
each entry known as an element
cb cb cb cb cb
12. Array characteristics: always starts at 0, static data structure, m
cb cb cb cb cb cb cb cb cb
ust be declared before use
cb cb cb cb
13.equality operators: Operators == (is equal to) and !
cb cb cb cb cb cb cb cb
= (is not equal to) that compare two values.
cb cb cb cb cb cb cb cb
14.relational operators: ==, !=, >, <, >=, <= cb cb cb cb cb cb cb
15.logical operators: and, or, not cb cb cb cb
16.branches: sequence of statements only executed under a certain co
cb cb cb cb cb cb cb cb cb
ndition
17.loop: program that repeatedly executes statements
cb cb cb cb cb
18.iteration: each time the loop runs cb cb cb cb cb
19.white loop: A loop that continues to repeat while a conditi
cb cb cb cb cb cb cb cb cb cb
on is true. Ex; While it's raining, grab an umbrella.
cb cb cb cb cb cb cb cb cb
used when unsure of how many times loop will run
cb cb cb cb cb cb cb cb cb
20.do-
while loop: Iterate while the condition is true, tells you to something
cb cb cb cb cb cb cb cb cb cb cb
first, action before evaluation
cb cb cb cb
EX: do { cb cb
... this thing
cb cb
} while(condition);
cb
21.for loop: Loops that have a predetermined beginning, end, and incr
cb cb cb cb cb cb cb cb cb cb
ement (step interval). used when you already know how many times
cb cb cb cb cb cb cb cb cb cb cb
to repeat.
cb
22.algorithm: sequence of instructions that solves a problem
cb cb cb cb cb cb cb
23.flowchart: graphical language for creating/ cb cb cb cb
viewing computer programs
cb cb cb
24.program: a list of statements or actions to accomplish a task in
cb cb cb cb cb cb cb cb cb cb cb cb
1cb/
cb9
, D278 WGU. Scripting & Programming Foundati
cb cb cb cb cb
ons
a computer program
cb cb
25.interpreter: tool that runs programs statements one
cb cb cb cb cb cb cb
at a time can run on any machine that has an interpre
cb cb cb cb cb cb cb cb cb cb cb
ter
ex: python, javascript
cb cb
2cb/
cb9