Unit 3 & 4 Vocab
Algorithm: An algorithm is a set of steps or rules to follow to solve a particular problem.
Print: Displaying text on the screen.
Declaring a variable: Declaring a variable is defining it for the first time.
Variable: A symbol or container that holds a value.
Initialize a variable: Initializing a variable is giving it an initial value.
Concatenation: Adding two strings together using the "+" operator.
String variable: A variable with text as the value.
Integer variable: A variable with a whole number as the value.
Float variable: A variable with a decimal number as the value.
Input: A function that prints a prompt and retrieves text from the user.
Exponentiation: Exponents are a way to represent repeated multiplication of a number by itself.
Modulus: A mathematical operation that returns the remainder when one number is divided by another.
Type conversion: The process of converting the value of one data type (integer, string, float, etc.) to another data type is called type conversion.
Properties of an object: The variables that are attached to the object (ex.size, color)
Event: An event is an action (such as clicking the mouse or pressing a key on the keyboard) that a program detects, respond and uses as input.
Callback function: A function passed as a parameter to another function in order to be called later.
Arithmetic Operators: Arithmetic operators include + addition, - subtraction, * multiplication, / division, and % modulus. These operators are used to perform basic mathematical tasks.
snake case refers to the style of writing in which each space is replaced by an underscore _ character and the first letter of each word is lowercase.
Function: A function is like a command that you get to invent and name. It allows us to break our program into smaller parts, making the program easier to understand.
Boonlean: A True or False value
Logical operators: Used to make logical associations between boolean values. (AND, OR, NOT)
Comparison operators: Used to make comparisons between values, and return a Boolean result. (=, !=, <=,>=,<,>)
If statement: Executes code only if condition is true.
Else statement: Executes code only if all conditions are false.
Sequential programming: Sequential programming refers to programs that are executed sequentially – once through, from start to finish, without other processing executing.
Non-sequential programming: Non-sequential Programming refers to a programming paradigm where programs can have multiple tasks being completed at once or out of sequential order.
For loops: A for loop lets us repeat code a fixed number of times.
Pseudorandom: Not actually random, but appears to be random.
Infinity loop: A loop never ends because the stop condition is never met.
While loop: A loop that repeats as long as a condition is true.
Break: Exits the current loop and resumes execution at the next statement.