WGU - Scripting and Programming Foundations
EXAM Questions & Answers, Well Elaborated |
Already Verified Test |100% Verified solutions |
2025\2026 Latest!!
Save
Terms in this set (85)
Program Consists of instructions executing one at a time.
A program gets data, perhaps from a file, keyboard,
Input
touchscreen, network, etc.
A programs performs computations on that data, such
Process
as adding two values like x + y.
A programs puts that data somewhere, such as to a
Output
file, screen, network, etc.
Creating a sequence of instructions to solve a
Computational thinking
problem.
Algorithm A sequence of instructions that solves a problem.
Statement Carries out some action and executing one at a time.
Consists of text (characters) within double quotes, as
String literal
in "Go #57!".
Indicates where the next output item will be placed in
Cursor
the output.
https://quizlet.com/1076535371/wgu-scripting-and-programming-foundations-exam-questions-answers-well-elaborated-already-verified-test-100-verifie… 1/8
, 9/15/25, 11:23 AM WGU - Scripting and Programming Foundations EXAM Questions & Answers, Well Elaborated | Already Verified Test |100% Verifie…
A special two-character sequence \n whose
appearance in an output string literal causes the
Newline
cursor to move to the next output line. The newline
exists invisibly in the output.
Text added to a program, read by humans to
Comment understand the code, but ignored by the program
when executed.
Refers to blank spaces (space and tab characters)
between items within a statement, and to newlines.
Whitespace
Whitespace helps improve readability for humans, but
for execution purposes is mostly ignored.
Text that resembles a program in a real programming
Pseudocode language but is simplified to aid human
understanding.
Assigns a variable with a value, such as x = 5. An
assignment statement's left side must be a variable.
Assignment statement
The right side is an expression.Examples: x = 5, y = a,
or z = w + 2.
In programming, = is an assignment of a left-side
= variable with a right-side value. It does not represent
equality like in mathematics.
Declares a new variable, specifying the variable's
Variable declaration
name and type.
A name created by a programmer for an item like a
variable or function. An identifier must: be a sequence
Identifier
of letters (a-z, A-Z), underscores (_), and digits (0-9),
AND start with a letter or underscore.
A word that is part of the language, like integer, Get,
Reserved word or
or Put. A programmer cannot use a reserved word as
keyword
an identifier.
Abuts multiple words, capitalizing each word except
Lower camel case
the first, such as numApples.
https://quizlet.com/1076535371/wgu-scripting-and-programming-foundations-exam-questions-answers-well-elaborated-already-verified-test-100-verifie… 2/8