Scripting and Programming Foundations
WGU Exam Study Guide 100% Verified.
Editor - Answer✔allows you to write code
Compiler - Answer✔Turns programming language into computer language
Interpreter - Answer✔Same as compiler, but converts code one step at a time instead of the
entire program at once
Operator - Answer✔An object that takes two operands and does something with them
Expression - Answer✔Something that has value
Terminal vs non-terminal expression - Answer✔Terminal is a final value, non-terminal can be
reduced further
Proper Python expression grammar - Answer✔Expression > expression operator expression
Variable - Answer✔A name that refers to a value
String - Answer✔Text surrounded by quotes
Integer - Answer✔A number
1|Page
, ©THEBRIGHT 2025 ALL RIGHTS RESERVED 11:12 AM A+
Boolean - Answer✔A true or false value
Programming grammar - Answer✔Language rules, returns a syntax error if not followed
Change variable value - Answer✔Using an = assigns a new value
Indexing a string - Answer✔Selecting a sub-sequence of a string
Slicing a string - Answer✔Obtaining a subset of data from a string
+ - Answer✔Concatenate or add
= - Answer✔Assignment
* - Answer✔Multiply, when applied to string data it writes out the string multiple times
- - Answer✔Subtract
/ - Answer✔Divide
% - Answer✔Does division and returns remainder
Procedure - Answer✔Takes an input
processes input
produces output
2|Page