Second year test Flashcards

1
Q

What is normalisation?

A

Every attribute is dependent upon the key, the whole key and nothing but the key

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

What is 1st normal form?

A

Stops repeated groups

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

What is 2nd normal form?

A

Partial key dependence test

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

What is 3rd normal form?

A

non-key dependence test

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

Why is normalisation important?

A

reduces data duplication

eliminates data inconsistency

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

What SQL commands are there?

A
Select
From
Where
Order By
And
Insert Into
Update
Delete from 
Create
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is record locking?

A

A technique to prevent updates being lost or inconsistencies in data rising. Database is locked until table has been edited and updated.

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

What is underflow?

A

When number is too close to 0 to be represented

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

What is overflow?

A

a number is too big to be represented in a given number of bits

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

What is cancellation error?

A

When a sum is between two numbers of a very different size

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

What is a recursive route?

A

A route that is defined in terms of itself

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

What is an intractable problem?

A

Can be solved by a computer, but cannot be solved in a reasonable time for large inputs. Anything less than O(n^2)

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

Example or logarithmic time

A

Binary search

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

Example of Linear time search

A

Linear search

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

Example of quadratic time search

A

Bubble sort

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

Example of exponential time search

A

Fibonacci algorithm

17
Q

example of Factorial time

A

travelling salesman problem

18
Q

What is serial data transmission?

A

Data is sent, one bit at a time, across a single wire

19
Q

What is parallel data a transmission?

A

Several bits are sent simultaneously over a number of parallel wires. Short distances.

20
Q

Why is serial better for longer distances?

A

In parallel, interference(skew) can occur at high frequencies

21
Q

What is the baud rate?

A

the rate at which the signal changes?

22
Q

What is the bit rate of a channel?

A

(baud rate)x(number of bits per signal)

23
Q

What is bandwidth?

A

The range of signal frequencies that a medium can transmit. The greater the bandwidth, the greater the potential bit rate.

24
Q

What is latency?

A

The time delay when a component is responding to an instrument

25
Q

What is the purpose of a parity bit?

A

To detect errors in code

26
Q

What is a protocol?

A

A set of rules relating to communication between devices

27
Q

What is Asynchronous transmission?

A

A transmission which only synchronises for the duration of the transmission by sending start and stops bits

28
Q

What is a LAN?

A

A number of computing devices connected by cables. Sends data very fast over a short distance

29
Q

Advantages and disadvantages of a bus topology

A

Advantages) Less cable and doesn’t require additional hardware
Well suited to small networks, low speed
Disadvantages) If main cables fails, whole network goes down
Limited cable length and amount of stations
Performs degrades with heavy traffic
Low security, all computers on network can see transmissions

30
Q

What is the fetch execute cycle symbols?

A

MAR