WGU D278 Scripting & Programming EXAM 2024
SUMMER-WINTER EXAM WITH ANSWERS
program - ANSWER: instructions executing one at a time
a list of statements
input - ANSWER: A program gets data, perhaps from a file, keyboard, touchscreen,
network, etc.
process - ANSWER: A program performs computations on that data, such as adding
two values like x + y.
output - ANSWER: A program puts that data somewhere, such as to a file, screen,
network, etc.
flowchart - ANSWER: A graphical language for creating or viewing computer
programs.
coral language - ANSWER: a language intended for learned to program
statement - ANSWER: carries out some action and executes one at a time
interpreter - ANSWER: runs a programs statements
in a coral flowchart, a parallelogram represents what - ANSWER: output or input
statement
string literal - ANSWER: consists of text within DOUBLE quotes
cursor - ANSWER: indicated where the next output item will be placed in the output
newline - ANSWER: Special two-character sequence \n whose appearance in an
output string literal causes the cursor to move to the next output line.
comment - ANSWER: 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 - ANSWER: refers to blank spaces between items within a statement, and
to newlines
helps improve readability for humans, but for execution purposes much whitespace
is ignored
Moores Law - ANSWER: the observation that computing power roughly doubles
every two years.
, information age - ANSWER: began in the 1990's, with human activity shifting from
traditional industry to creating/managing/using computerized information
embedded computer - ANSWER: computer inside another electrical device like a TV,
car, printer, thermostat etc
bits - ANSWER: the smallest unit of data in a computer
byte - ANSWER: 8 bits are called a byte
ASCII - ANSWER: a code for representing English characters as numbers, with each
letter assigned a number from 0 to 127
-uses 7 bits per code, has codes for 128 characters
unicode - ANSWER: character encoding standard published in 1991 whose codes can
have more bits than ASCII and this can represent over 100,000 items such as symbols
and non-English characters
computational thinking - ANSWER: A method of problem-solving that helps
computer scientists prepare problems for digital solutions
psuedocode - ANSWER: Text that resembles a program in a real programming
language but is simplified to aid human understanding.
assignment statement - ANSWER: assigns a variable with a value, such as x = 5
variable declaration - ANSWER: declares a new variable, specifying the variable's
name and type.
integer - ANSWER: All whole numbers (both positive and negative) and zero. NO
DECIMALS
expression - ANSWER: may be a number like 80, a variable name like numApples, or
a simple calculation like numApples + 1
identifier - ANSWER: an attribute whose value is associated with one and only one
entity instance
-can be a sequence of letters (a-z, A-Z), underscores(_), and digits (0-9)
-CASE SENSITIVE
reserved word - ANSWER: A word that has a special meaning in a programming
language and therefore cannot be used as an identifier by the programmer.
literal - ANSWER: specific value in code, like 2
operator - ANSWER: symbol that performs a build in calculation like the operator +
which performs addition
SUMMER-WINTER EXAM WITH ANSWERS
program - ANSWER: instructions executing one at a time
a list of statements
input - ANSWER: A program gets data, perhaps from a file, keyboard, touchscreen,
network, etc.
process - ANSWER: A program performs computations on that data, such as adding
two values like x + y.
output - ANSWER: A program puts that data somewhere, such as to a file, screen,
network, etc.
flowchart - ANSWER: A graphical language for creating or viewing computer
programs.
coral language - ANSWER: a language intended for learned to program
statement - ANSWER: carries out some action and executes one at a time
interpreter - ANSWER: runs a programs statements
in a coral flowchart, a parallelogram represents what - ANSWER: output or input
statement
string literal - ANSWER: consists of text within DOUBLE quotes
cursor - ANSWER: indicated where the next output item will be placed in the output
newline - ANSWER: Special two-character sequence \n whose appearance in an
output string literal causes the cursor to move to the next output line.
comment - ANSWER: 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 - ANSWER: refers to blank spaces between items within a statement, and
to newlines
helps improve readability for humans, but for execution purposes much whitespace
is ignored
Moores Law - ANSWER: the observation that computing power roughly doubles
every two years.
, information age - ANSWER: began in the 1990's, with human activity shifting from
traditional industry to creating/managing/using computerized information
embedded computer - ANSWER: computer inside another electrical device like a TV,
car, printer, thermostat etc
bits - ANSWER: the smallest unit of data in a computer
byte - ANSWER: 8 bits are called a byte
ASCII - ANSWER: a code for representing English characters as numbers, with each
letter assigned a number from 0 to 127
-uses 7 bits per code, has codes for 128 characters
unicode - ANSWER: character encoding standard published in 1991 whose codes can
have more bits than ASCII and this can represent over 100,000 items such as symbols
and non-English characters
computational thinking - ANSWER: A method of problem-solving that helps
computer scientists prepare problems for digital solutions
psuedocode - ANSWER: Text that resembles a program in a real programming
language but is simplified to aid human understanding.
assignment statement - ANSWER: assigns a variable with a value, such as x = 5
variable declaration - ANSWER: declares a new variable, specifying the variable's
name and type.
integer - ANSWER: All whole numbers (both positive and negative) and zero. NO
DECIMALS
expression - ANSWER: may be a number like 80, a variable name like numApples, or
a simple calculation like numApples + 1
identifier - ANSWER: an attribute whose value is associated with one and only one
entity instance
-can be a sequence of letters (a-z, A-Z), underscores(_), and digits (0-9)
-CASE SENSITIVE
reserved word - ANSWER: A word that has a special meaning in a programming
language and therefore cannot be used as an identifier by the programmer.
literal - ANSWER: specific value in code, like 2
operator - ANSWER: symbol that performs a build in calculation like the operator +
which performs addition