• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 2 out of 14 pages
Exam (elaborations)

WGU D278 - Scripting and Programming Foundations Latest Update Graded A+

Document preview thumbnail
Preview 2 out of 14 pages

WGU D278 - Scripting and Programming Foundations Latest Update Graded A+ Program Consists of instructions executing one at a time. Input A program gets data, perhaps from a file, keyboard, touchscreen, network, etc. Process A programs performs computations on that data, such as adding two values like x + y. Output A programs puts that data somewhere, such as to a file, screen, network, etc. Computational thinking Creating a sequence of instructions to solve a problem. Algorithm A sequence of instructions that solves a problem. Statement Carries out some action and executing one at a time. String literal Consists of text (characters) within double quotes, as in "Go #57!". Cursor Indicates where the next output item will be placed in the output. Newline 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 Text added to a program, read by humans to understand the code, but ignored by the program when executed. Whitespace 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. Pseudocode Text that resembles a program in a real programming language but is simplified to aid human understanding. Assignment statement Assigns a variable with a value, such as x = 5. An assignment statement's left side must be a variable. 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. Variable declaration Declares a new variable, specifying the variable's name and type. Identifier A name created by a programmer for an item like a variable or function. An identifier must: be a sequence of letters (a-z, A-Z), underscores (_), and digits (0-9), AND start with a letter or underscore. Reserved word or keyword A word that is part of the language, like integer, Get, or Put. A programmer cannot use a reserved word as an identifier. Lower camel case Abuts multiple words, capitalizing each word except the first, such as numApples.

Content preview

WGU D278 - Scripting and Programming Foundations Latest Update Graded A+ Program ✔✔Consists of instructions executing one at a time. Input ✔✔A program gets data, perhaps from a file, keyboard, touchscreen, network, etc. Process ✔✔A programs performs computations on that data, such as adding two values like x + y. Output ✔✔A programs puts that data somewhere, such as to a file, screen, network, etc. Computational thinking ✔✔Creating a sequence of instructions to solve a problem. Algorithm ✔✔A sequence of instructions that solves a problem. Statement ✔✔Carries out some action and executing one at a time. String literal ✔✔Consists of text (characters) within double quotes, as in "Go #57!". Cursor ✔✔Indicates where the next output item will be placed in the output. Newline ✔✔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 o utput. Comment ✔✔Text added to a program, read by humans to understand the code, but ignored by the program when executed. Whitespace ✔✔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. Pseudocode ✔✔Text that resembles a program in a real programming language but is simplified to aid human understanding.

Document information

Uploaded on
April 18, 2024
Number of pages
14
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers
$10.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
StellarScores
4.0
(522)
Sold
2023
Followers
867
Items
21171
Last sold
1 week ago




Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions