Please enable JavaScript to use CodeHS

Tracy 1 Glossary

Flashcards

Course:

Module:

Search:

interpreted language General

Translates and executes program code line by line into machine code.

compiled language General

Translates, or “compiles” the entire code into machine code and then runs the program, or sets aside to run later.

Low-Level Language General

A programming language, generally machine code or assembly language, that provides little or no abstraction from a computer's instruction set architecture

High-Level Language General

A programming language has a significant abstraction from the details of computer operation.

Loop General

A loop is a way to repeat code in your program.

Loop

For Loop Python

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

input() Python

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

Parameters Python

Pieces of information you can give to functions when you define them. When the function is called the arguments are the data you pass into the function's parameters. Parameter is the variable in the declaration of the function. Argument is the actual value of this variable that gets passed to the function.

Escape Sequence General

Escape sequences are characters with special meanings.

Concatenation Python

Adding two strings together using the "+" operator.

methods of an object General

Defines what an object can do.

Boolean Python

A True or False value

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.

Integer Python

A positive or negative whole number.

String Python

A sequence of characters surrounded by quotation marks.

int(string) Python

Converts a string into an integer

str(number) Python

Converts number to text

float(string) Python

Converts a string into a float

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.

Debugging General

Debugging is fixing a problem in your code.

Debugging

Mouse Event General

A mouse event is when the user does something with the mouse, like clicking or moving.

If Statement General

An if statement lets you ask a question to the program and only run code if the answer is true.

If Statement

Comparison Operator Python

Used to make comparisons between values.

Infinite Loop General

A loop that has no way of stopping, and will keep looping forever.

While Loop Python

Lets us repeat code as long as something is true.

Break Python

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

Return Python

Exits a function, optionally passing back an expression to the caller. A `return` statement with no arguments is the same as `return None`.