Terminology Pt. 2 Flashcards
A _____ is a named identifier with an associated value that changes throughout the execution of an application or program.
Variable
Once a _____ is defined in your program, the value can be changed if and when needed to suit the flow of your code.
Variable
A _____ is a named identifier with an associated value that does not change throughout the execution of an application or program.
Constant
In contrast to variables, which vary and change throughout the execution of an application, _____ are fixed, and cannot be altered.
Constants
A specific kind of data item, defined by the values it can accept, the programming language in question, and/or the operations that can be performed on it.
Data types
Common _____ _____ include integers (simple numbers), floating point numbers (decimal-based numbers), Boolean values (TRUE or FALSE) and strings (a series or “string” of alphanumeric characters like a word, sentence, or paragraph), among many others.
Data types
Simple numbers
Integers
Decimal-based numbers
Floating point numbers
TRUE or FALSE
Boolean values
A series of alphanumeric characters like a word, sentence, or paragraph.
String
A _____ _____ is a specialized format for organizing and storing data in a manner that best suits the purpose the data is to be used for.
Data structure
Common _____ _____ in programming include arrays, tables, records, trees, and more.
Data structures
An _____ refers to a combination of related variables, constants, functions (also known as methods), and data structures that can be accessed and managed collectively.
Object
Also known as a method.
Function
_____ refers to the visibility of functions, methods, and variables in one part of a program to another part of the same program.
Scope