topic 6 fundamentals of compter systems Flashcards
software is
program code, sequences of instructions which are executed in order to perform a task
application software
name given to programs that complete specific task
system software
operates , controls and maintains the computer and its components
utility programs
housekeeping tasks include; data backup, encryption, data compression
library programs
contain useful functions frequently used by program
translators
pieces of software translate between different types of language
three types of translator
compilers
assemblers
interpreters
machine code uses
only 1 and 0, directly manipulates cpu
very long program, prone to errors
assembly language
simplify process of writing computer program
assemblers translate
assembly lang into machine code
compilers translate
high level languages into machine code
interpreters translate
high level lang into machine code
line by line
compiler vs interpreter
compiler
checks source line by line
entire code translated at once
protects the source code from extraction
interpreter
translation begins immediately
eachline is checked for errors
offers little protecion to source code
source code and object code
source code = input to translator
object code = translator’s output
NOT
has one input one output
output is always oppo to input
AND
two inputs
output the product of 2 input
output is true when input is true
OR
two input
outputs the sum of its inputs
only outputs false when both are false
XOR
short for exclusively or
output true when only one input is true
NAND
short for not and
combo of two gates NOT and AND
same as AND but with reversed output
NOR
short for NOT OR
combo of Not and OR
same as OR just ouput reversed
de morgan law break..
break the bar and change the sign