Past paper mistakes 1 Flashcards

1
Q

When does a syntax error happen

A

When there are errors in code such as misspelt words or misuse of coding constructs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What happens when a syntax error occurs

A

The code produces an error

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

When does a logic error occur

A

When the code results in an unexpected output

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

When does an execution error occur

A

When the code crashes during execution

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

how are bit mapped photos stored

A

in binary each pixel in a 2d grid the Number of bits per pixel depends on the number of colours in the image

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is referential integrity

A

all of the foreign keys in a table must link to a primary key in a related table

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What does the data bus do

A

Carries data from the memory to be studied in the processor and data from the processor to be store in memory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What does the address bus do

A

Tells the memory which memory location is being read from or written to

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What does a firewall do

A

Protect the network against unauthorised access

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are the data types for ddd

A

Text, number, date and Boolean

How well did you know this?
1
Not at all
2
3
4
5
Perfectly