- - Answers subtraction operator, outputs the difference between the two input numbers
!= - Answers a comparison operator used to compare if one operator is not equal to another
% - Answers modulo operator, outputs the remainder of dividing the first number by the second
* - Answers multiplication operator, outputs the product of the two input numbers
** - Answers exponentiation operator, outputs the result of multiplying <base> by itself <power>
number of times
/ - Answers division operator, outputs the result of dividing the first number by the second
+ - Answers addition operator, outputs the sum of the two input numbers OR concatenation operator,
joins two values together
< - Answers a comparison operator used to compare if one operator is less than another
< - Answers a comparison operator used to compare if one operator is less than another
<= - Answers a comparison operator used to compare if one operator is less than or equal to another
= - Answers assignment operator, assigns a value
== - Answers a comparison operator used to compare if one operator is equal to another
> - Answers a comparison operator used to compare if one operator is greater than another
>= - Answers a comparison operator used to compare if one operator is greater than or equal to another
abstraction - Answers Focus on the essential qualities of something rather than one specific example.
actors - Answers In a use case, this is anything who lives outside of your system, but has a goal they
want to accomplish within.
algorithm - Answers A set of commands that returns a value. This differs from a procedure, which is a set
of commands that doesn't necessarily have to return a value.
append() - Answers Mutates <List> by adding <Element> to the end of the list.
arguments - Answers The inputs to a procedure. (may also be called parameters)
attributes - Answers Characteristics of an object which may be used to reference other objects or save
object state information.
, <name> = <expression> - Answers This is an assignment statement. A variable is named and also
assigned a value or expression. If multiple values are assigned to the same named variable, the last
assignment is the one used.
base case - Answers An expression that has a value and is not defined in terms of some other thing we
are defining. This breaks the chain of recursion.
Boolean - Answers A value that is either True or False
circular definition - Answers A definition that doesn't give us answers because it never finishes. It is stuck
in a loop with each reference pointing to another reference. It has no base case.
class - Answers Describes what an object will be, but it isn't the object itself. This is a blueprint for that
object.
class <ClassName> (<BaseClass>):
<Block> - Answers How to define a class in Python
class diagram (UML) - Answers Shows the system classes and relationships between them. Diagrams the
primary attributes and primary operations for each class.
code modularity - Answers Dividing software or an application into smaller modules. This provides
prewritten code which saves resources and provides greater manageability.
comparison operator - Answers Used to make a comparison between two values.
compiled language - Answers You write source code, and compiler goes through that code and creates a
separate file containing the machine code. That new file is used to run the program. Can be faster than
interpreted code. Must be compiled for a specific platform.
compiler - Answers A program that takes source code and converts it to machine code by producing a
separate file.
concatenate - Answers To connect or link in a series or chain.
constructor - Answers A special type of function used to create a class or object.
dictionary - Answers Provides a mapping between keys, which can be values of any immutable type, and
values, which can be any value. Because this is implemented using a hash table, the time to lookup a
value does not increase (significantly) even when the number of keys increases.
if <condition>: