(Top 2024/2025 EXAM REVIEW PAPER ) WGU Scripting and Programming - Foundations - C173 (Unit 1). Full Exam Review. 100% Comprehension. Rated A+ Program - -A sequence of statements.
WGU Scripting and Programming - Foundations - C173 (Unit 1). Full Exam Review. 100% Comprehension. Rated A+ Program - -A sequence of statements. Each statement describes an action. Each statement executes one at a time. Input - -A program gets data, perhaps from a file, keyboard, touchscreen, network, etc. Process - -A program performs computations on that data, such as adding two values like x + y. Output - -A program puts that data somewhere, such as to a file, screen, network, etc. Variable - -A name that can hold a value. A variable might be named x. Then, x = 7 assigns x with 7, which remains in x while the program runs, until x is assigned again. Computational thinking - -creating a sequence of instructions to solve a problem. Algorithm - -A sequence of instructions that solve a problem. Flowchart - -A graphical language for creating computer programs. zyFlowchart - -Intended to ease the learning of programming. Statement - -A specific action in a program. 2 Each statement describes a specific action that the interpreter should carry out, such as get a value from input into a variable, assign a variable with a value, or put a value to the output. Node - -Each statement is in a graphical node, with different shapes for different types of statements. Interpreter - -A tool that runs a program's statements. The interpreter carries out each program statement's action, getting input values as needed, and generating output as well. Incidentally, the interpreter is itself a program. Run and execute - -The act of carrying out each statement's action. Running a program is carried out by the interpreter, causing input values to be gotten, and values to be put to output. "Execute" is another word for run. Input statement - -Represented by a parallelogram, written as: variable = Get next input. (A parallelogram also represents an output statement). The input statement assigns the indicated variable with the next program input value. Output statement - -Represented by a parallelogram written as: Put item to output. (A parallelogram also represents an input statement.) The item may be a string literal or a variable. String literal - -Consists of text (characters) within double quotes, as in "Go #57!". Character - -Includes any letter (a-z, A-Z), digit (0-9), or symbol (~, !, @, etc.). Cursor - -Indicates where the next output item will be placed in the output. The system automatically moves the cursor after the previously-output item. Newline - -Is 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 in
Written for
Document information
- Uploaded on
- November 3, 2023
- Number of pages
- 5
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
wgu scripting and programming foundations c173
Also available in package deal