ZYBOOK CHAPTERS 1-8 PYTHON 2023/2024 GUIDE WITH UPDATED COMPLETE
SOLUTION
computer program - Consists of instructions that a computer executes (or runs), like multiplying numbers
or printing a number to a screen.
task decomposition - Means to reduce a complex task into simpler basic steps, making the whole task
easier to solve.
algorithm - A recipe or a methodical step-by-step procedure to perform a task.
computational thinking - Evaluating a problem's most basic parts and then creating an algorithm to solve
that problem is commonly known as
Python interpreter - An application that can be used on various operating systems, including Microsoft
Windows, Linux, and MacOS.
interactive interpreter - A program that allows the user to execute one line of code at a time.
code - A common word for the textual representation of a program
line - A row of text
prompt - Indicates the interpreter is ready to accept code ">>>"
statement - A program instruction
expression - code that returns a value when evaluated;
variables - Named references to values stored by the interpreter.
,assignment - Creates a new variable by using the = value
comments - used to explain portions of code to a human reader. "# PA1"
print() - displays variables or expression values
string literal - Text enclosed in quotes is known as this. ('hello world')
new line character - A new line can also be output by inserting \n.
ex: "1/n2/n3"
input - 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 - Always surrounded by single or double quotes, for example 'Hello' or "#Goodbye# Amigo!".
type - Determines how a value can behave
int() - used to convert that string to the integer
syntax error - Violates a programming language's rules on how symbols can be combined to create a
program.
runtime error - a program's syntax is correct but the program attempts an impossible operation, such as
dividing by zero or multiplying strings together
crash - Abrupt and unintended termination of a program
, logic error - A logically flawed program. It works but the output is not correct for the given goal for the
program.
bug - another name for a logic error
integrated development environment - Code development. A way to create programs and test them all
in one.
bit - 0s and 1s (another way to call "binary numbers")
processor - created to process (aka execute) a list of desired calculations
instruction - each calculation output from processors
memory - circuits that can store 0s and 1s in each of a series of thousands of addressed locations
program, application, or "app" - The programmer -created sequence of instructions
machine instructions - Instructions represented as 0s and 1s
executable program - a sequence of machine instructions
assembly - created programs called assemblers to automatically translate human readable instructions
high-level languages - programmers created this to support programming using formulas or algorithms,
so a programmer could write complex formulas
compilers - programs that automatically translate high-level language programs into executable
programs.
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 EmmaAymar. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $13.49. You're not tied to anything after your purchase.