Please enable JavaScript to use CodeHS

AP CSP Glossary

Flashcards

Course:

Module:

Lesson:

Search:

Function Python

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.

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.

Argument JavaScript

A variable passed as a value to a function

argument

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

Print Python

Print Displaying text on the screen.

Scope General

In what part of the program the variable exits

Scope

Namespaces General

a namespace is the collection of variable names that exist at a certain point in your code.

Application Programming Interfaces Java

APIs and libraries simplify complex programming tasks by providing sets of clearly defined methods of communication among various computing components.

Standard Library General

The Standard Library is the baseline, plain version of the programming language. It has the built-in functions that you use.

Variable General

A symbol or container that holds a value.

variable

Local variable General

A variable that is restricted to use in a certain scope of a program

Local variable

Exceptions Python

Runtime errors in a program. by default, they stop the program.

Try and Except Python

Programming constructs that can be used to gracefully handle exceptions so that a program can continue in spite of them.

Input Output (I/O) General

A general term in programming that refers to the flow of information into and out of a program

Arithmetic Operators General

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

Non-sequential Programming General

Non-sequential Programming refers to a programming paradigm where programs can have multiple tasks being completed at once or out of sequential order.