Zybook chapter 1 With
complete verified
solutions already
graded A+
a computer ________ consists of instructions executing one at a time - answer
program
basic instruction types are: - answer -input
-process
-output
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, or
network
computational thinking - answer creating a sequence of instructions to solve a
problem
algorithm - answer a sequence of instructions that solves a problem
python interpreter - answer a computer program that executes code written in the
python programming language
, interactive interpreter - answer a program that allows the user to execute one line
of code at a time
code - answer a common word for the textual representation of a program
line - answer a row of text
prompt - answer displayed by the interactive interpreter (">>>") that indicates the
interpreter is ready to accept code
statement - answer a program instruction, each statement usually appears on its
own line
expressions - answer code that return a value when evaluated.
ex) wage * hours * weeks
computes a number
variables - answer named references to values stored by the interpreter
ex) the names wages, hours, weeks and salary
assignment - answer a new variable is created by performing an assignment using
the = symbol
ex) salary = wage * hours * week
print() - answer function that displays variables or expression values
comments - answer optional but can be used to explain portions of code to a human
reader, "#" characters denote comments
string literal - answer text in quotes, text in string literals may have letters,
numbers, spaces, or symbols like @ or #
complete verified
solutions already
graded A+
a computer ________ consists of instructions executing one at a time - answer
program
basic instruction types are: - answer -input
-process
-output
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, or
network
computational thinking - answer creating a sequence of instructions to solve a
problem
algorithm - answer a sequence of instructions that solves a problem
python interpreter - answer a computer program that executes code written in the
python programming language
, interactive interpreter - answer a program that allows the user to execute one line
of code at a time
code - answer a common word for the textual representation of a program
line - answer a row of text
prompt - answer displayed by the interactive interpreter (">>>") that indicates the
interpreter is ready to accept code
statement - answer a program instruction, each statement usually appears on its
own line
expressions - answer code that return a value when evaluated.
ex) wage * hours * weeks
computes a number
variables - answer named references to values stored by the interpreter
ex) the names wages, hours, weeks and salary
assignment - answer a new variable is created by performing an assignment using
the = symbol
ex) salary = wage * hours * week
print() - answer function that displays variables or expression values
comments - answer optional but can be used to explain portions of code to a human
reader, "#" characters denote comments
string literal - answer text in quotes, text in string literals may have letters,
numbers, spaces, or symbols like @ or #