1/38
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
Boolean
A true or false statement
Character (char)
Datatype for characters, typographic symbols such as A, d, and $
Byte
8 bits of information storing numerical values from 127 to -128
Color
Datatype for storing color values
Double
Datatype for floating-point numbers larger than those that can be stored in a float
Float
Data type for floating-point numbers, e
Integer (int)
Datatype for integers, numbers without a decimal point
Long
Datatype for large integers
Array
a list of data
String
a sequence of characters
Less than
>
Greater than
Less than or equal to
=
Greater than or equal to
==
The equality operator (sometimes read: "equal equal") is used to compare two values, and returns a Boolean (true/false). Avoid confusion with the assignment operator "=",
!=
Does not equal to
&&
Returns true if both operands are true and returns false otherwise.
||
or
!
Does not
What is an algorithm
An ordered set of unambiguous steps that describes a process.
What does setup() do?
Use it to initialize variables, pin modes, start using libraries, etc. The setup() function will only run once.
What does draw() do?
continuously executes the lines of code contained inside its block until the program is stopped. Draw is called automatically and should never be called explicitly.
What is Ada?
A form of information representation that is used to communicate between people.
What is RGB?
an additive color model in which red, green, and blue light are added together in various ways to reproduce a broad array of colors.
What is Type-Casting?
Treating a variable of one type as though it is another type.
What is Type-Checking?
Testing for type errors in a given program
Variable Scope
dictates what portions of the code can "see" or use a variable, typically derived from where the variable was first created.
What is a Loop?
When you repeat a section of code according to certain conditions.
What is a for Loop?
It repeats things like other programming statements and blocks of code automatically.
What is a While Loop?
This code is repeated until the condition becomes false.
What is a do-while loop?
Condition controlled loop, Condition checked after execution
What is an if statement?
The command that allows you to make a decision based on true or false conditions
What is an if/else statement?
Gives the command that if something happens then, something else could also happen.
What is Modularity?
Having several smaller segments of code that can be executed in different orders, like functions
What is Abstraction?
Showing only essential information while hiding certain details.
What is Global Scope?
Variables declared outside of any function can be accessed from anywhere in your code.
What is local scope?
variables defined in one function cannot be accessed in another function.
What is a function?
a group of statements that exist within a program for the purpose of performing a specific task.
What is Cnt?
A local loop variable that maintains a count of the iterations of the loop.