KHAN ACADEMY DIGITAL INFORMATION
DATA COMPRESSION AND ENCODING
PRACTICE TEST 2026
◉ Variable
Answer: A named container in a program that stores a value which
can be changed through assignment. Variables have names, data
types, and values.
◉ Constant
Answer: A named value in a program that cannot be changed during
execution. Used for values that should remain fixed, like PI =
3.14159.
◉ Data Type
Answer: A classification that specifies what kind of value a variable
can hold, such as numbers, Booleans, lists, or strings.
◉ Integer
Answer: A whole number (positive, negative, or zero) represented in
programming languages using a fixed number of bits.
,◉ String
Answer: An ordered sequence of characters. Strings can contain
letters, numbers, symbols, and spaces.
◉ Boolean
Answer: A data type that represents one of only two values: true or
false.
◉ List
Answer: An ordered sequence of elements, where each element is
assigned a unique index for reference.
◉ Index
Answer: The position of an element within a list or string.
◉ Expression
Answer: A combination of values, variables, operators, or procedure
calls that can be evaluated to produce a single value.
◉ Assignment
Answer: The process of storing a value in a variable.
◉ Sequencing
, Answer: The application of each step of an algorithm in the order in
which the code statements are given.
◉ Selection
Answer: A control structure that determines which parts of an
algorithm are executed based on whether a condition is true or false.
◉ Iteration
Answer: A repeating portion of an algorithm that executes a
specified number of times or until a given condition is met.
◉ Procedure
Answer: A named block of reusable code that performs a specific
task and can be called multiple times throughout a program.
◉ Parameter
Answer: A variable in a procedure definition that allows it to accept
different input values.
◉ Argument
Answer: The actual value passed to a procedure when it is called,
which corresponds to the procedure's parameter.
DATA COMPRESSION AND ENCODING
PRACTICE TEST 2026
◉ Variable
Answer: A named container in a program that stores a value which
can be changed through assignment. Variables have names, data
types, and values.
◉ Constant
Answer: A named value in a program that cannot be changed during
execution. Used for values that should remain fixed, like PI =
3.14159.
◉ Data Type
Answer: A classification that specifies what kind of value a variable
can hold, such as numbers, Booleans, lists, or strings.
◉ Integer
Answer: A whole number (positive, negative, or zero) represented in
programming languages using a fixed number of bits.
,◉ String
Answer: An ordered sequence of characters. Strings can contain
letters, numbers, symbols, and spaces.
◉ Boolean
Answer: A data type that represents one of only two values: true or
false.
◉ List
Answer: An ordered sequence of elements, where each element is
assigned a unique index for reference.
◉ Index
Answer: The position of an element within a list or string.
◉ Expression
Answer: A combination of values, variables, operators, or procedure
calls that can be evaluated to produce a single value.
◉ Assignment
Answer: The process of storing a value in a variable.
◉ Sequencing
, Answer: The application of each step of an algorithm in the order in
which the code statements are given.
◉ Selection
Answer: A control structure that determines which parts of an
algorithm are executed based on whether a condition is true or false.
◉ Iteration
Answer: A repeating portion of an algorithm that executes a
specified number of times or until a given condition is met.
◉ Procedure
Answer: A named block of reusable code that performs a specific
task and can be called multiple times throughout a program.
◉ Parameter
Answer: A variable in a procedure definition that allows it to accept
different input values.
◉ Argument
Answer: The actual value passed to a procedure when it is called,
which corresponds to the procedure's parameter.