WGU D278 Scripting and Programming Foundations Latest Update Graded A+
WGU D278 Scripting and Programming Foundations Latest Update Graded A+ Editor allows you to write code Compiler Turns programming language into computer language Interpreter Same as compiler, but converts code one step at a time instead of the entire program at once Operator An object that takes two operands and does something with them Expression Something that has value Terminal vs non-terminal expression Terminal is a final value, non-terminal can be reduced further Proper Python expression grammar Expression > expression operator expression Variable A name that refers to a value String Text surrounded by quotes Integer A number Boolean A true or false value Programming grammar Language rules, returns a syntax error if not followed Change variable value Using an = assigns a new value Indexing a string Selecting a sub-sequence of a string Slicing a string Obtaining a subset of data from a string + Concatenate or add = Assignment * Multiply, when applied to string data it writes out the string multiple times - Subtract / Divide % Does division and returns remainder Procedure Takes an input processes input produces output Function Same as procedure written once but can be called upon many times
Written for
- Institution
- WGU D278 Scripting and Programming Foundations
- Course
- WGU D278 Scripting and Programming Foundations
Document information
- Uploaded on
- April 18, 2024
- Number of pages
- 13
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
wgu d278 scripting and programming foundations lat
Also available in package deal