• 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 11 pages
Exam (elaborations)

Scripting and Programming Foundations - D278 Exam Study Guide

Document preview thumbnail
Preview 2 out of 11 pages

Scripting and Programming Foundations - D278 Exam Study Guide Three basic instruction types - AnswerInput, process, output Computational thinking - AnswerCreating a sequence of instructions to solve a problem (aka algorithm) Algorithm - AnswerA sequence of instructions that solves a problem Flowchart - AnswerA graphical language for creating or viewing computer programs Coral Code Language - AnswerA language intended for learning to program Two versions: flowchart and code Looks like pseudocode, but follows rules that allow execution Program - AnswerA list of statements Each statement is carrying out some action and executing one at a time String literal - Answerconsists of text (characters) within double quotes Ex: "Go #57!". Cursor - AnswerIndicates where the next output item will be placed in the next output The system automatically moves the cursor after the previous output item Newline - Answern Special sequence who appearance in an output string literal causes the cursor to move to the next output line Exists visibly in the output Comment - Answer// this is an example of a comment ©BRAINBARTER 2024/2025 ALL RIGHTS RESERVED. 2 | P a g e Text a programmer adds to a program to be read by humans but ignored by a program when executing Use // before the comment Includes the entire line of text. White space - AnswerRefers to blank spaces between items within a statement and to newlines Improves readability Ignored in execution Moore's Law - AnswerObservation that switch sizes reduce by half every two years Bit - AnswerA single unit of binary consisting of only one place whose value can be 0 or 1. Byte - Answer8 bits ASCII - AnswerA popular code for characters Pseudocode - AnswerText that resembles a program in a real programming language but is simplified to aid human understanding. Variable - AnswerA named item used to hold a value Assignment statement - AnswerAssigns a variable with a value; and keeps that value during subsequent statement until X is assigned again. Assignment's left side must be a variable (ex. x=5) Variable declaration - AnswerDeclares a new variable, specifying the variables name and type Integer variable type - AnswerCan hold whole number values Expression - AnswerA combination of items like variables, literals, operators, and parentheses that evaluate to a value Ex.) y=2*(x+1) Identifier - AnswerA name created by a programmer for an item like a variable or function Must be a sequence

Content preview

©BRAINBARTER 2024/2025 ALL RIGHTS RESERVED.



Scripting and Programming Foundations -
D278 Exam Study Guide


Three basic instruction types - Answer✔Input, process, output

Computational thinking - Answer✔Creating a sequence of instructions to solve a problem (aka
algorithm)

Algorithm - Answer✔A sequence of instructions that solves a problem

Flowchart - Answer✔A graphical language for creating or viewing computer programs

Coral Code Language - Answer✔A language intended for learning to program
Two versions: flowchart and code
Looks like pseudocode, but follows rules that allow execution

Program - Answer✔A list of statements
Each statement is carrying out some action and executing one at a time

String literal - Answer✔consists of text (characters) within double quotes


Ex: "Go #57!".

Cursor - Answer✔Indicates where the next output item will be placed in the next output


The system automatically moves the cursor after the previous output item

Newline - Answer✔\n
Special sequence who appearance in an output string literal causes the cursor to move to the
next output line
Exists visibly in the output

Comment - Answer✔// this is an example of a comment



1|Page

, ©BRAINBARTER 2024/2025 ALL RIGHTS RESERVED.

Text a programmer adds to a program to be read by humans but ignored by a program when
executing


Use // before the comment
Includes the entire line of text.

White space - Answer✔Refers to blank spaces between items within a statement and to
newlines
Improves readability
Ignored in execution

Moore's Law - Answer✔Observation that switch sizes reduce by half every two years

Bit - Answer✔A single unit of binary consisting of only one place whose value can be 0 or 1.

Byte - Answer✔8 bits

ASCII - Answer✔A popular code for characters

Pseudocode - Answer✔Text that resembles a program in a real programming language but is
simplified to aid human understanding.

Variable - Answer✔A named item used to hold a value

Assignment statement - Answer✔Assigns a variable with a value; and keeps that value during
subsequent statement until X is assigned again.


Assignment's left side must be a variable (ex. x=5)

Variable declaration - Answer✔Declares a new variable, specifying the variables name and type

Integer variable type - Answer✔Can hold whole number values

Expression - Answer✔A combination of items like variables, literals, operators, and parentheses
that evaluate to a value


Ex.) y=2*(x+1)

Identifier - Answer✔A name created by a programmer for an item like a variable or function


Must be a sequence of letters, underscores, and digits


2|Page

Document information

Uploaded on
January 28, 2025
Number of pages
11
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$11.99

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.
Brainbarter
3.6
(58)
Sold
374
Followers
159
Items
22956
Last sold
3 weeks 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