lucas notes type shit Flashcards
tf is benchmarking
In computing, a benchmark is the act of running a computer program, a set of programs, or other operations, in order to assess the relative performance of an object, normally by running a number of standard tests and trials against it.
basically testing software against similar software to assess it’s performance/value
tf is compilation
process of converting high level programming language into lower leveling such as html or javascript to machine code
tf is interpretation
an interpreter is a program that directly executes instructions written in a programming or scripting language, without requiring compilation.
tf is lexical analysis
the first stage of compilation, converts syntaxes into tokens
tf is parsing
the process of analyzing a string of symbols, either in natural language, computer languages or data structures, conforming to the rules of a formal grammar.
tf is code generation
software techniques or systems that generate program code
fuckin fetch execute cycle
4 steps innit
- fetch
- cpu collects an instruction from a memory location - decode
- The decoder in the control unit works out (decodes) what to do with the instruction - execute
- ALU (arithmetic logic unit) executes decoded instructions - Store
- send and write results back in main memory
tf is a syntax error
mistakes in the source code, such as spelling and punctuation errors, incorrect labels, and so on
tf is a logic error
an error were the instructions given in the program do not accomplish the intended goal.
tf is a runtime error
an error that occurs when a program you’re using or writing crashes or produces a wrong output.
tf are fags. wait shit flags
turns certain functionality on and off during runtime, without deploying new code
tf is desk checking
manually checking the logic of an algorithm line by line
tf are drivers
provides a programming interface to control and manage specific lower-level interfaces
tf are stubs
a piece of code used to stand in for some other programming functionality