Zybook Chapters 1-8 Python UPDATED Actual Exam Questions and CORRECT Answers
20 views 0 purchase
Course
Zybook Chapters 1-8 Python
Institution
Zybook Chapters 1-8 Python
Zybook Chapters 1-8 Python UPDATED
Actual Exam Questions and CORRECT
Answers
computer program - CORRECT ANSWER- Consists of instructions that a computer
executes (or runs), like multiplying numbers or printing a number to a screen.
task decomposition - CORRECT ANSWER- Means to reduce a comp...
Zybook Chapters 1-8 Python UPDATED
Actual Exam Questions and CORRECT
Answers
computer program - CORRECT ANSWER- ✔✔Consists of instructions that a computer
executes (or runs), like multiplying numbers or printing a number to a screen.
task decomposition - CORRECT ANSWER- ✔✔Means to reduce a complex task into
simpler basic steps, making the whole task easier to solve.
algorithm - CORRECT ANSWER- ✔✔A recipe or a methodical step-by-step procedure to
perform a task.
computational thinking - CORRECT ANSWER- ✔✔Evaluating a problem's most basic parts
and then creating an algorithm to solve that problem is commonly known as
Python interpreter - CORRECT ANSWER- ✔✔An application that can be used on various
operating systems, including Microsoft Windows, Linux, and MacOS.
interactive interpreter - CORRECT ANSWER- ✔✔A program that allows the user to execute
one line of code at a time.
code - CORRECT ANSWER- ✔✔A common word for the textual representation of a
program
line - CORRECT ANSWER- ✔✔A row of text
prompt - CORRECT ANSWER- ✔✔Indicates the interpreter is ready to accept code ">>>"
statement - CORRECT ANSWER- ✔✔A program instruction
,expression - CORRECT ANSWER- ✔✔code that returns a value when evaluated;
variables - CORRECT ANSWER- ✔✔Named references to values stored by the interpreter.
assignment - CORRECT ANSWER- ✔✔Creates a new variable by using the = value
comments - CORRECT ANSWER- ✔✔used to explain portions of code to a human reader.
"# PA1"
print() - CORRECT ANSWER- ✔✔displays variables or expression values
string literal - CORRECT ANSWER- ✔✔Text enclosed in quotes is known as this. ('hello
world')
new line character - CORRECT ANSWER- ✔✔A new line can also be output by inserting \n.
ex: "1/n2/n3"
input - CORRECT ANSWER- ✔✔Reads text entered by the user, and assigns the entered text
to a variable. Causes the interpreter to wait until the user has entered some text and has
pushed the return key.
string - CORRECT ANSWER- ✔✔Always surrounded by single or double quotes, for
example 'Hello' or "#Goodbye# Amigo!".
type - CORRECT ANSWER- ✔✔Determines how a value can behave
int() - CORRECT ANSWER- ✔✔used to convert that string to the integer
syntax error - CORRECT ANSWER- ✔✔Violates a programming language's rules on how
symbols can be combined to create a program.
, runtime error - CORRECT ANSWER- ✔✔a program's syntax is correct but the program
attempts an impossible operation, such as dividing by zero or multiplying strings together
crash - CORRECT ANSWER- ✔✔Abrupt and unintended termination of a program
logic error - CORRECT ANSWER- ✔✔A logically flawed program. It works but the output
is not correct for the given goal for the program.
bug - CORRECT ANSWER- ✔✔another name for a logic error
integrated development environment - CORRECT ANSWER- ✔✔Code development. A way
to create programs and test them all in one.
bit - CORRECT ANSWER- ✔✔0s and 1s (another way to call "binary numbers")
processor - CORRECT ANSWER- ✔✔created to process (aka execute) a list of desired
calculations
instruction - CORRECT ANSWER- ✔✔each calculation output from processors
memory - CORRECT ANSWER- ✔✔circuits that can store 0s and 1s in each of a series of
thousands of addressed locations
program, application, or "app" - CORRECT ANSWER- ✔✔The programmer -created
sequence of instructions
machine instructions - CORRECT ANSWER- ✔✔Instructions represented as 0s and 1s
executable program - CORRECT ANSWER- ✔✔a sequence of machine instructions
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller MGRADES. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $9.99. You're not tied to anything after your purchase.