Please enable JavaScript to use CodeHS

AP CSP Glossary

Flashcards

Course:

Module:

Lesson:

Search:

Number System General

A number system defines how we represent numbers. It defines which digits we can use, and what value each position (place value) in a number has.

Number Base General

The number base of a number system defines how many digits are in the number system, and the base of the exponent for each place value in a number.

Bit General

Bit means "binary digit". A bit is a single digit in a binary number. A bit can either be 0 or 1.

ASCII General

ASCII is the standard protocol for encoding text information as bits. The ASCII table assigns a unique binary number to every text character.

Decimal Number System General

The number system we use in out everyday lives. It has 10 digits, 0-9.

Binary Number System General

Number system that has 2 digits, 0 and 1. This is how computers represent numbers at the base level.

Hexadecimal Number System General

Number system that has 16 digits 1 - 9 and A - F.

Pixel Image General

An image can be represented as a grid of values. Each value encodes the color at that position in the image.

Pixel General

Images are made up of pixels, which are essentially a grid of values. Each value, or pixel, encodes the color at that position in the image.

RGB Color Encoding General

The RGB encoding scheme allows us to encode colors as numeric data. It defines the amount of Red, Green, and Blue light in a pixel. Each color channel can have a value between 0 and 255.

Data Compression General

The process of encoding information, using fewer bits than the original representation. We can use algorithms to compress the data to use less bits for storage and then decompress it when we want to view it again.

Lossy Compression General

Throwing away some of the data to save space. We can throw away a lot of data without any noticeable difference from the original.

Lossless Compression JavaScript

Lossless Compression involves no loss of information. If data have been "losslessly" compressed, the original data can be recovered exactly from the compressed data after a compress/expand cycle.