Unit 3 & 4 Vocab

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/30

encourage image

There's no tags or description

Looks like no tags are added yet.

31 Terms

1
New cards

Algorithm

A set of steps or rules to follow to solve a particular problem.

2
New cards

Print

Displaying text on the screen.

3
New cards

Declaring a variable

Defining a variable for the first time.

4
New cards

Variable

A symbol or container that holds a value.

5
New cards

Initialize a variable

Giving a variable an initial value.

6
New cards

Concatenation

Adding two strings together using the '+' operator.

7
New cards

String variable

A variable with text as the value.

8
New cards

Integer variable

A variable with a whole number as the value.

9
New cards

Float variable

A variable with a decimal number as the value.

10
New cards

Input

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

11
New cards

Exponentiation

Representing repeated multiplication of a number by itself.

12
New cards

Modulus

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

13
New cards

Type conversion

The process of converting the value of one data type to another.

14
New cards

Properties of an object

The variables that are attached to the object (e.g., size, color).

15
New cards

Event

An action that a program detects and responds to as input.

16
New cards

Callback function

A function passed as a parameter to another function to be called later.

17
New cards

Arithmetic Operators

Operators used to perform basic mathematical tasks including + (addition), - (subtraction), * (multiplication), / (division), and % (modulus).

18
New cards

snake case

A style of writing where each space is replaced by an underscore and the first letter of each word is lowercase.

19
New cards

Function

A command that you invent and name to break programs into smaller parts.

20
New cards

Boolean

A True or False value.

21
New cards

Logical operators

Operators used to make logical associations between boolean values (AND, OR, NOT).

22
New cards

Comparison operators

Operators used to make comparisons between values, returning a Boolean result.

23
New cards

If statement

Executes code only if the condition is true.

24
New cards

Else statement

Executes code only if all conditions are false.

25
New cards

Sequential programming

Programs that are executed sequentially from start to finish.

26
New cards

Non-sequential programming

A programming paradigm where multiple tasks can be completed at once or out of sequential order.

27
New cards

For loops

A loop that lets us repeat code a fixed number of times.

28
New cards

Pseudorandom

Not actually random, but appears to be random.

29
New cards

Infinity loop

A loop that never ends because the stop condition is never met.

30
New cards

While loop

A loop that repeats as long as a condition is true.

31
New cards

Break & Continue

Exits the current loop and resumes execution at the next statement.