Scripting and Programming - Foundations - C173, Questions and answers, graded A+
Scripting and Programming - Foundations - C173, Questions and answers, graded A+ - 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. - -What are three parts to a computer program? Algorithm - -A sequence of instructions that solves a problem Flowchart - -A graphical language for creating computer programs Program - -A sequence of statements Interpreter - -A tool that runs a program's statements Run - -The act of carrying out each statement's action Variable - -A name that can hold a value Statement - -A specific action in a program String Literal - -This consists of text characters within double quotes, such as "Go#57!" Cursor - -This indicates where the next output item will be placed in the output n - -How do you write a Newline? That is a special two-character sequence whose appearance in an output string literal and causes the cursor to move to the next output line. It exists invisibly in the output; basically like hitting the "return" key while typing Comment - -This is text a programmer adds to a program, to be read by humans to better understand the code, but ignored by the program when executing. It starts with // and includes all text on the line Whitespace
Written for
- Institution
- Western Governors University
- Course
- WGU C173 Scripting And Programming
Document information
- Uploaded on
- August 24, 2023
- Number of pages
- 10
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
scripting and programming foundations c173 qu
Also available in package deal