general Flashcards
cs
the study of computational agorithms
algorithm
a sequence of instructions(steps) to solve a problem
6 fundamental functions a computer can preform
- get input
- produce output
- arithmetic
- save data
- conditional execution
- repeat processes
difference between a host OS and a guest OS
a host OS is the main opperating system on the computer
a guest os is an operating system that runs on a virtual machine within the host os
open source
the code is free knowledge
GUI
graphical user interface
CWD
current working directory
path
the location in the file system
unix based
mac and lynux. has a root directory
absolute path
path with the the root as the start
relative path
a path based on the CWD
command to open up file explorer
ctrl alt t
programming languages
languages used by humans to communicate with machines
low lever PL
closer to machine code than english
high level PL
closer to human language than machine code
variable
a named location in memory stores values in certain type
data type
set of values and opperations
int
interger(whole number)
float
real number single precision
double
like a float but double precision
char
stores a character
ascII
intergers A=65
string
a string of characters must be manually input
bool
true or false values
syntax error
compiler error
code doesn’t adhere to c++ file format
runtime error
compiles and runs,then crashes devision by 0
logic error
compiles and runs but incorrect results