Scripting and Programming Foundations Latest Update Graded A+
Scripting and Programming Foundations Latest Update Graded A+ - subtraction operator, outputs the difference between the two input numbers != a comparison operator used to compare if one operator is not equal to another % modulo operator, outputs the remainder of dividing the first number by the second * multiplication operator, outputs the product of the two input numbers ** exponentiation operator, outputs the result of multiplying base by itself power number of times / division operator, outputs the result of dividing the first number by the second + addition operator, outputs the sum of the two input numbers OR concatenation operator, joins two values together a comparison operator used to compare if one operator is less than another a comparison operator used to compare if one operator is less than another = a comparison operator used to compare if one operator is less than or equal to another = assignment operator, assigns a value == a comparison operator used to compare if one operator is equal to another a comparison operator used to compare if one operator is greater than another = a comparison operator used to compare if one operator is greater than or equal to another abstraction Focus on the essential qualities of something rather than one specific example. actors In a use case, this is anything who lives outside of your system, but has a goal they want to accomplish within. algorithm 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() Mutates List by adding Element to the end of the list. arguments The inputs to a procedure. (may also be called parameters) attributes Characteristics of an object which may be used to reference other objects or save object state information. name = expression 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 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 A value that is either True or False circular definition 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 Describes what an object will be, but it isn't the object itself. This is a blueprint for that object. class ClassName (BaseClass): Block How to define a class
Document information
- Uploaded on
- April 18, 2024
- Number of pages
- 15
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers