COmputing Flashcards
In ascii,what are non printable characters?
- back space
- enter key
How is a real number stored in a computer
Mantissa and exponent
Explain how a computer system organises data in memory so that it can be retrieved
it organises data in separate unique locations
What is the purpose of a firewall
restricts access to foreign networks
explain how encryption keeps data safe
encodes a file and makes it unreadable to others
what are the 3 loops and what are there purposes
-conditional-loop will run till condition meet
-fixed- will run a set number of times
Do-while run until the condition is meet
What are the four vector shapes
- rectangle
- line
- ellipse
- polygon
what are the three main parts of a CPU and their function
- control unit-this controls the order of execuition and timing of instructions
- ALU-preforms calculations
- Registers-temp storage
what bus goes both ways (UNIdirectional) and where is it going
Data bus
-from cpu to memory or vice versa
what bus is bidirectional
address
-cpu to memory only
What are the two types of translators
interpreter
compiler
describe how a bit mapped graphic would be stored
it would be stored as pixels with each pixel stored as a value
what are the main functions of a interpreter
does it line by line
to easily spot errors
and code is not saved
what are the main functions of a compiler
translates and executes the complete program once and saves a version in machine code
this is only done once
how to remember this easily
Compiler and interpreter
Compiler
Complete program
CODE is saved
interpreter
INDIVIDUAL lines
Individual times