Python Flashcards
Algorithms
sequences of instructions, created to operate within the models, manipulate and present information
Hardware
physical components (e.g., memory chip, keyboard, networking cable, smartphone)
Software
nonphysical components (e.g., operating system, network protocols, programming language tools, APIs)
Central processing unit (CPU)
core hardware component where computation occurs, fetches program instructions and data, executes instructions on data
Main memory (RAM)
stores program instructions and data during execution
Bus
Set of wirings that carry instructions and data between the CPU and main memory, connects CPU and main memory to other components
Computer systems
single computer or collection of computers connected to network
Operating system (OS)
Software component that acts as intermediary between hardware and application programs
Computer network
system of computers that can communicate with each other
Internetwork
connection of several networks (Internet)
Integrated Development Environments (IDEs)
include editor, language translator, automated tools, debugger
Application programming interface (API)
library consisting description of instructions
Computational thinking
processes/tasks understood/described as computational processes
Abstraction
extracting relevant aspects of problem
Model
result of abstraction that represents all relevant aspects of problem
Assignment statements
sets current value of variable
Conditional control structure
executes only if something happens
Iteration control structure
repeating process set number of times
Hard drive
Stores files, retains data even when computer is powered off, larger capacity than main memory
Iteration
repeating a process
Integer/int
values without decimal point
Floating point/float
values with decimal and fractional parts
string
sequence of characters including blanks, punctation, symbols
Indexing operator
access individual characters of string
Index
character’s position in string with respect to first character
** (xy = x**y)
exponentiator operator
a//b
integer quotient when integer a divided by integer b
a%b
remainder when integer a divided by integer b
abs()
absolute value of number
min() & max()
min and max of input values
==
check equality
<=
less than or equal to
> =
greater than or equal to