WGU D681 TASK 2 MURISON SCRIPT
PREPARATION GUIDE WITH SOLVED
QUESTIONS AND ACCURATE ANSWERS
◉ Input
Answer: A program gets data, perhaps from a file, keyboard,
touchscreen, network, etc.
◉ Process
Answer: A programs performs computations on that data, such as
adding two values like x + y.
◉ Output
Answer: A programs puts that data somewhere, such as to a file,
screen, network, etc.
◉ Computational thinking
Answer: Creating a sequence of instructions to solve a problem.
◉ Algorithm
Answer: A sequence of instructions that solves a problem.
◉ Statement
, Answer: Carries out some action and executing one at a time.
◉ String literal
Answer: Consists of text (characters) within double quotes, as in
"Go #57!".
◉ Cursor
Answer: Indicates where the next output item will be placed in
the output.
◉ Newline
Answer: A special two-character sequence \n whose appearance
in an output string literal causes the cursor to move to the next
output line. The newline exists invisibly in the output.
◉ Comment
Answer: Text added to a program, read by humans to understand
the code, but ignored by the program when executed.
◉ Whitespace
Answer: Refers to blank spaces (space and tab characters)
between items within a statement, and to newlines. Whitespace
helps improve readability for humans, but for execution purposes
is mostly ignored.
PREPARATION GUIDE WITH SOLVED
QUESTIONS AND ACCURATE ANSWERS
◉ Input
Answer: A program gets data, perhaps from a file, keyboard,
touchscreen, network, etc.
◉ Process
Answer: A programs performs computations on that data, such as
adding two values like x + y.
◉ Output
Answer: A programs puts that data somewhere, such as to a file,
screen, network, etc.
◉ Computational thinking
Answer: Creating a sequence of instructions to solve a problem.
◉ Algorithm
Answer: A sequence of instructions that solves a problem.
◉ Statement
, Answer: Carries out some action and executing one at a time.
◉ String literal
Answer: Consists of text (characters) within double quotes, as in
"Go #57!".
◉ Cursor
Answer: Indicates where the next output item will be placed in
the output.
◉ Newline
Answer: A special two-character sequence \n whose appearance
in an output string literal causes the cursor to move to the next
output line. The newline exists invisibly in the output.
◉ Comment
Answer: Text added to a program, read by humans to understand
the code, but ignored by the program when executed.
◉ Whitespace
Answer: Refers to blank spaces (space and tab characters)
between items within a statement, and to newlines. Whitespace
helps improve readability for humans, but for execution purposes
is mostly ignored.