1/16
These flashcards cover key terms and concepts related to basic data types and their operations in imperative programming as introduced in the CS110 course.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai |
|---|
No analytics yet
Send a link to your students to track their progress
Data Type
A specification of a range of values along with a set of operations defined on those values.
str
Represents sequences of characters with string operations.
int
Represents integers with arithmetic operations.
float
Represents floating-point numbers (aka floats) with arithmetic operations.
bool
Represents boolean (true/false) values with logical operations.
complex
Represents complex numbers (e.g., 2 + 3i) with complex-number operations.
Literal
A basic data-type value directly defined in code, like a string or number.
Identifier
A name representing a variable or function, which is a sequence of letters, digits, and underscore symbols.
Variable
Associates a name with a data-type value that can change.
Constant Variable
A variable whose value does not change during the execution of a program.
Operator
Represents a data-type operation, such as arithmetic or logical operations.
Function
A block of reusable code that carries out a specific task and can return a value.
Expression
A combination of literals, variables, operators, and non-void function calls.
Statement
A syntactic unit that expresses some action to be carried out in a program.
Assignment Statement
Used to define variables, establishing a name for a value or expression.
Operator Precedence
The rules defining the order in which operations are performed in an expression.
Boolean
Represents truth values, either true or false, in programming.