Exam 1 Flashcards
(20 cards)
bits
something that can be on or off like a switch
binary thought process
binary math
kilo = 2^10 mega = 2^20 giga = 2^30
BUS
a way for components to communicate. usually the motherboard
CPU
Central Processing Unit
the brain
executes instructions
Memory
work area for the computer
address is a location in memory
RAM - Random Access Memory
volatile
Storage
long term data storage
non-volatile
I/O
Input/Output
devices like mouses, keyboards and printers that input and receive output from computer
what is a program?
just a set of instruction
machine code/language
the language a computer understands
binary set of instructions
assembly language
example, “add, 3,4, result”
an assembler will convert assembly language to machine code
high level languages
lines of code are converted to machine code
platform independent
source code
the document that we make with high level language that is converted to machine code
Interpreter
interprets source code and runs program at the same time
compiler
builds a file of machine code from source code and then that file is run later
tasks of an operating system
controlling and monitoring system activities
allocating and managing system resources
scheduling
concurrency
appearance of multiple things happening at once, but only one CPU is running
parrallelism
the actual process of multiple things happening at once. two or more CPUs
history of python
created by Guido Von Rossum in 1990
named after monty python’s flying circus
object oriented and interpreted language
files of python
end in .py
integrated development environments
integrated development environments
phanon is an example of IDE
code completion
highlight errors
auto formatting