Please enable JavaScript to use CodeHS

Python Glossary

Flashcards

Course:

Module:

Lesson:

Search:

Algorithm General

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

algorithm, process

Hello World General

Traditionally the very first program you write when learning a programming language, a program that prints "Hello world" to the user.

Print Python

Displaying text on the screen

Declare a Variable JavaScript

Declaring a variable is defining it for the first time.

Declare a Variable

Variable General

A symbol or container that holds a value.

variable

Initialize a Variable JavaScript

Initializing a variable is giving it an initial value.

Concatenation Python

Adding two strings together using the "+" operator.

string variable Python

A variable with text as the value

Integer variable Python

A variable with a whole number as the value

float variable Python

A variable with a decimal number as the value

input() Python

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

Type Conversion Python

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

Floating Point Numbers Python

Also called floats, floating point numbers represent real numbers and are written with a decimal point dividing the integer and fractional parts.

Arithmetic Operators General

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

Canvas JavaScript

The screen in which our graphics programs are drawn.

Canvas

Coordinate system JavaScript

A coordinate system uses numbers as coordinates to place objects in a geometric space.

coordinate system

properties of an object General

The variables that are attached to the object.

Event JavaScript

An event is an action (such as clicking the mouse or pressing a key on the keyboard) that a program detects and uses as input.

Event

Callback Function JavaScript

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