D278 - Scripting and Programming exam
Questions and Correct Answers
Program
consists of instructions executing one at a time.
Input
A program gets data, perhaps from a file, keyboard, touchscreen, network, etc.
Process
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.
Variables
Programs use variables to refer to data, like x.
Computational thinking
The process of creating a sequence of instructions to solve a problem.
Node
In a Coral flowchart, each statement is in a graphical node, with different shapes for different
types of statements.
Interpreter
Runs a program's statements.
,Run / execute
Words for carrying out a program's statements.
Input statement
In a Coral flowchart, a parallelogram represents an input statement, written as: variable = Get
next input.
Output statement
In a Coral flowchart, a parallelogram represents an output statement, written as: Put item to
output.
String literal
Text enclosed in double quotes, representing a sequence of .as in "Go #57
Character
A letter, digit, or symbol used in computing.
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.
Comment
, Text a programmer adds to a program, to be read by humans to better understand the code, but
ignored by the program when executing.
Whitespace
Blank spaces (space and tab characters) between items within a statement, and to newlines.
Moore's Law
The trend of reducing switch sizes by half every 2 years.
Computer chip
An entire computer could fit on one coin-sized device known
Agricultural age
The period of civilization focused on agriculture before the industrial age, lasting many
thousands of years
Industrial age
starting in the late 1700's transformed civilization towards manufacturing goods, leading to mass
migration to cities, creation of strong nations, world wars, doubling of lifespans and thus
dramatic world population growth (see figure below), and more.
Information age
Began in the 1990s, marked by human activity shifting from traditional industry to
creating/managing/using computerized information.
Embedded computer
Questions and Correct Answers
Program
consists of instructions executing one at a time.
Input
A program gets data, perhaps from a file, keyboard, touchscreen, network, etc.
Process
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.
Variables
Programs use variables to refer to data, like x.
Computational thinking
The process of creating a sequence of instructions to solve a problem.
Node
In a Coral flowchart, each statement is in a graphical node, with different shapes for different
types of statements.
Interpreter
Runs a program's statements.
,Run / execute
Words for carrying out a program's statements.
Input statement
In a Coral flowchart, a parallelogram represents an input statement, written as: variable = Get
next input.
Output statement
In a Coral flowchart, a parallelogram represents an output statement, written as: Put item to
output.
String literal
Text enclosed in double quotes, representing a sequence of .as in "Go #57
Character
A letter, digit, or symbol used in computing.
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.
Comment
, Text a programmer adds to a program, to be read by humans to better understand the code, but
ignored by the program when executing.
Whitespace
Blank spaces (space and tab characters) between items within a statement, and to newlines.
Moore's Law
The trend of reducing switch sizes by half every 2 years.
Computer chip
An entire computer could fit on one coin-sized device known
Agricultural age
The period of civilization focused on agriculture before the industrial age, lasting many
thousands of years
Industrial age
starting in the late 1700's transformed civilization towards manufacturing goods, leading to mass
migration to cities, creation of strong nations, world wars, doubling of lifespans and thus
dramatic world population growth (see figure below), and more.
Information age
Began in the 1990s, marked by human activity shifting from traditional industry to
creating/managing/using computerized information.
Embedded computer