Unit 3 & 4 Vocab

  1. Algorithm: An algorithm is a set of steps or rules to follow to solve a particular problem.

  2. Print: Displaying text on the screen.

  3. Declaring a variable: Declaring a variable is defining it for the first time.

  4. Variable: A symbol or container that holds a value.

  5. Initialize a variable: Initializing a variable is giving it an initial value.

  6. Concatenation: Adding two strings together using the "+" operator.

  7. String variable: A variable with text as the value.

  8. Integer variable: A variable with a whole number as the value.

  9. Float variable: A variable with a decimal number as the value.

  10. Input: A function that prints a prompt and retrieves text from the user.

  11. Exponentiation: Exponents are a way to represent repeated multiplication of a number by itself.

  12. Modulus: A mathematical operation that returns the remainder when one number is divided by another.

  13. Type conversion: The process of converting the value of one data type (integer, string, float, etc.) to another data type is called type conversion.

  14. Properties of an object: The variables that are attached to the object (ex.size, color)

  15. 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.

  16. Callback function: A function passed as a parameter to another function in order to be called later.

  17. Arithmetic Operators: Arithmetic operators include + addition, - subtraction, * multiplication, / division, and % modulus. These operators are used to perform basic mathematical tasks.

  18. 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.

  19. 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.


  1. Boonlean: A True or False value

  2. Logical operators: Used to make logical associations between boolean values. (AND, OR, NOT)

  3. Comparison operators: Used to make comparisons between values, and return a Boolean result. (=, !=, <=,>=,<,>)

  4. If statement: Executes code only if condition is true.

  5. Else statement: Executes code only if all conditions are false.

  6. Sequential programming: Sequential programming refers to programs that are executed sequentially – once through, from start to finish, without other processing executing.

  7. 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.

  8. For loops: A for loop lets us repeat code a fixed number of times.

  9. Pseudorandom: Not actually random, but appears to be random.

  10. Infinity loop: A loop never ends because the stop condition is never met.

  11. While loop: A loop that repeats as long as a condition is true.

  12. Break: Exits the current loop and resumes execution at the next statement.