VARIABLE ROLES
DATA
CREATING CODE
SOFTWARE DESIGN
DIGITAL COLORS
100
This has a value that is assigned once and won't change.
What is fixed variable?
100
There are only 10 types of people, those who understand it, and those who don't.
What is binary?
100
An If-Then block in Scratch is an example of this type of expression. It checks to see if something is true before proceeding.
What is a Boolean expression or conditional statement?
100
Finding errors in a program and fixing them before they become a real pest.
What is debugging?
100
In this digital representation of color, each component has 256 possible values (0 to 255).
What is RGB?
200
When serving this role, the variable will add to the value, often keeping a running total.
What is an accumulator?
200
Binary math will limit this amount of data to a maximum of 255.
What is one byte or eight bits?
200
In Python this starts a function definition.
What is def?
200
This shows the status of a program and where it can go to next.
What is a state diagram?
200
In an RGBA image, this determines opacity or transparency.
What is alpha channel?
300
A variable in this role will collect things into a list or similar structure.
What is an aggregator?
300
The American Standard for for Information Interchange stores characters with one byte each.
What is ASCII?
300
These are needed after the name of a function in order to execute it.
What are parenthesis?
300
In contrast to waterfall design, this process provides for frequent testing and a shorter development cycle.
What is Agile?
300
This would give you the Red value of the 20th pixel in the 10th row
What is img[9][19][0]?
400
This might signal it is time to move on, or maybe someone has captured it.
What is a one-way flag?
400
Hex requires 16 characters, starting at 0 and going to this.
What is F?
400
This will concatenate a string or add numbers.
What is +?
400
A checkpoint in development saved using Git.
What is a commit?
400
Used when pasting with PIL, it determines what is made transparent in the new image.
What is a mask?
500
Instead of just replacing the existing value, this variable will check to see if it is an improvement before storing the value.
What is a best-so-far?
500
The main purpose is to reduce file size, but sometimes fidelity is sacrificed if it is lossy.
What is compression?
500
for n in range (5): The third time through, n will be this.
What is 2?
500
Either Data or Procedural, it allows us to ignore details in order to reduce complexity.
What is abstraction?
500
If this is true, you have a shade of gray.
What is R=G=B?