Language
Programming language more abstract from the hardware; often human-readable.
What is HIGH-LEVEL LANGUAGE?
Instructions that Python can interpret & execute.
What is STATEMENT?
Include numbers, letters, and symbols; enclosed by either double or single quotes.
What is STRING?
Code is compiled and assembled into machine language; usually machine specific.
What is COMPILED?
The following code example would print the data type of x, what data type would that be?
x = 5
print(type(x))
What is "int"?
Instructions to which a computer responds directly (e.g., binary or hexadecimal)
What is MACHINE LANGUAGE?
Combination of values, variables, operators, and function calls.
What is EXPRESSION?
Includes plain integers, long integers, floating point numbers, and complex numbers.
What is NUMERIC?
Code is interpreted then executed by the machine on which the code is run; ususally machine-agnostic.
What is INTERPRETED?
The following code example would print the data type of x, what data type would that be?
x = "Hello World"
print(type(x))
What is "str"?
The meaning of a language (as opposed to the form).
What is SEMANTICS?
Special characters representing computations.
What is OPERATOR?
Special subset of integer returning either True or False.
What is BOOLEAN?
Level of encapsulation; has identity and value.
What is OBJECT?
The following code example would print the data type of x, what data type would that be?
x = ["apple", "banana", "cherry"]
print(type(x))
What is "list"?
The form of a language (as opposed to the meaning).
What is SYNTAX?
Value upon which operators work.
What is a OPERAND?
Includes the objects list, tuple, and range.
What is SEQUENCE?
Feature of OOP; the ability of an entity to represent different data types in different scenarios.
What is POLYMORPHISM?
The following code example would print the data type of x, what data type would that be?
x = ("apple", "banana", "cherry")
print(type(x))
What is "tuple"?
In Python, the meaning of an object can change over time.
What is DYNAMIC SEMANTIC?
Defines the order in which expressions are evaluated.
What is RULES OF PRECEDENCE?
"Order of Operations" and "PEMDAS" are also acceptable
Uses the command "dict()" to create data frame objects.
What is MAPPING?
Feature of OOP; functionality of the parent class is passed to the child class.
What is INHERITANCE?
The following code example would print the data type of x, what data type would that be?
x = 20.5
print(type(x))
What is "float"?