Past paper mistakes 1 Flashcards
When does a syntax error happen
When there are errors in code such as misspelt words or misuse of coding constructs
What happens when a syntax error occurs
The code produces an error
When does a logic error occur
When the code results in an unexpected output
When does an execution error occur
When the code crashes during execution
how are bit mapped photos stored
in binary each pixel in a 2d grid the Number of bits per pixel depends on the number of colours in the image
What is referential integrity
all of the foreign keys in a table must link to a primary key in a related table
What does the data bus do
Carries data from the memory to be studied in the processor and data from the processor to be store in memory
What does the address bus do
Tells the memory which memory location is being read from or written to
What does a firewall do
Protect the network against unauthorised access
What are the data types for ddd
Text, number, date and Boolean