Software that is created for free use by everyone
Open Source
Step by step instructions
algorithms
>>>is a symbol that begins the program, meaning 'ready to receive' your instructions.
Python prompt
An instruction that causes the Python interpreter to display a value on the screen
Print statement
Made up of letters, numbers, special characters, or a combination of each, they are surrounded by quotation marks(either single or double)
Strings(str)
1. Whole numbers either positive or negative, there are no quotation marks around these
2. Decimal numbers. Anything that has a decimal, there are no quotation marks around these
Integers(int), Floats
Doing steps one after the other in the order they are listed. for example, not trying to call a function before creating the function
Sequential
What we work with in python, it's a name we assign a value to. What do they have to start with?
variables(identifiers)
letters or underscore
Takes our program one statement at a time and executes a set of machine instructions
Interpreter
What are the three basic data types in Python
strings, integers, floats
A computer program created to read an entire program and convert it into a lower-level language for our computers to execute
Compiler
Reserved words that have a special meaning in Python and can not be used as variables. example: if, while, for, class, print
Keywords
Notes added to the program that doesn't execute or show when the program runs. What are the two kinds and provide an example of each.
comments, single, multiline
#comment
"""comment"""
The order in which arithmetic expressions are to be evaluated and carried out. Provide the order.
Order of operations
1. parentheses 2. exponents 3. division and multiplication 4. addition and subtraction
PEDMAS
Having only two possible values - "true" and "false.
Booleans
Designing a program by discovering objects, their properties, and their relationships
Object-Oriented Programming
Provides the standards, syntax, statements, and instructions for writing computer software.
Programming Language
A way of using the Python interpreter by typing commands and expressions at the prompt.
Interactive Mode
Allows us to store python script source code in a file with the .py extension and then use the interpreter to execute the contents of the source file
Script Mode
A function that prints a prompt asking for text from the user
input statement/function
What are the 3 parts of an assignment statement
variable name, data type, and its value
Writing out in natural language what you want your code to do
Pseudocode
A drawing of what your code should look like (example a box to enter in a name and a submit button)
Prototype
Meaning of statement, what happens when the statement is executed
Semantics
The structure, rules, and correct format for writing a programming language
Syntax