Scripting and Programming Foundations Exam Questions ( Answered )
Scripting and Programming Foundations Exam Questions ( Answered ) - - ANS subtraction operator, outputs the difference between the two input numbers != - ANS a comparison operator used to compare if one operator is not equal to another % - ANS modulo operator, outputs the remainder of dividing the first number by the second * - ANS multiplication operator, outputs the product of the two input numbers ** - ANS exponentiation operator, outputs the result of multiplying <base> by itself <power> number of times / - ANS division operator, outputs the result of dividing the first number by the second + - ANS addition operator, outputs the sum of the two input numbers OR concatenation operator, joins two values together < - ANS a comparison operator used to compare if one operator is less than another < - ANS a comparison operator used to compare if one operator is less than another <= - ANS a comparison operator used to compare if one operator is less than or equal to another = - ANS assignment operator, assigns a value == - ANS a comparison operator used to compare if one operator is equal to another > - ANS a comparison operator used to compare if one operator is greater than another >= - ANS a comparison operator used to compare if one operator is greater than or equal to another abstraction - ANS Focus on the essential qualities of something rather than one specific example. actors - ANS In a use case, this is anything who lives outside of your system, but has a goal they want to accomplish within. algorithm - ANS 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() - ANS Mutates <List> by adding <Element> to the end of the list. arguments - ANS The inputs to a procedure. (may also be called parameters) attributes - ANS Characteristics of an object which may be used to reference other objects or save object state information. <name> = <expression> - ANS 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 - ANS 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.
Written for
- Institution
- D278 WGU SCRIPTING AND PROGRAMMING FOUNDATIONS
- Course
- D278 WGU SCRIPTING AND PROGRAMMING FOUNDATIONS
Document information
- Uploaded on
- June 4, 2024
- Number of pages
- 7
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
scripting and programming foundations
Also available in package deal