Paper 2 Flashcards

1
Q

What a higher-order function?

A

A function that takes another function as an argument.

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

Why do rounding errors occur? And what will the system do when the value is converted into binary?

A

There are not enough bits in the mantissa to represent the value exactly.
It may be truncated- could be rounded to the nearest representable value.

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

Describe the advantages to using Harvard Architecture:

A
  • Avoids bottlenecking of single data.
  • Avoids possibility of data being executed as code (can be exploited by hackers).
  • Instructions and data can have different word lengths.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the role of interrupts?

A

Allows the currently executing task to be suspended so that a source that needs the immediate attention of the processor can be serviced.

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

Why must the volatile environment (the contents of registers) be saved before an interrupt is serviced?

A

So that the current task can be returned to.

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

What is the relationship between software and hardware?

A

Software is the program that executes on the hardware.

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

What are the principles and operation of an ADC?

A
  • Analogue signals are sampled at regular time intervals.
  • Amplitude of analogue waves measured at each sample point.
  • Measurement coded into a fixed number of bits.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the advantages of floating point?

A

Can represent numbers with a greater range than a fixed point system (in a given number of bits).

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

What are the advantages of fixed point?

A
  • Can represent some numbers more precisely than a floating point system.
  • Calculations can be performed more quickly.
  • Represents all numbers to a constant level of precision.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are some reasons why JSON could be argued to be better than XML?

A
  • Easier for humans to understand and read.
  • More compact.
  • Smaller file size.
  • Native support for arrays.
  • Quicker to parse.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are some advantages of using the DHCP system?

A
  • Reduces the need for expert knowledge when configuring a host.
  • Reduces the time required to configure hosts.
  • Avoids errors even as duplicating IP addresses or programming incorrect subnet masks.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

How can two or more computers connected to the internet have the same IP address and still communicate with each other?

A
  • The computers have private IP addresses.
  • NAT will be performed so that the computers can communicate on the internet:
  • As data passes onto the internet, private IP addresses are replaced with public addresses of router.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What are some ways a firewall can protect computers on a LAN?

A
  • Block traffic on specific ports.
  • Block traffic from specific IP addresses.
    -Block certain types of packet.
  • Firewall maintains information about current connections and only allows packets relevant to these connection through.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is meant by immediate addressing?

A

The operand is the value the instruction should use.

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

What is the Stored Program Concept?

A

Machine code instructions stored in main memory are fetched and executed serially by a processor that performs arithmetic and logical operations.

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

Give the two methods to calculate File Size:

A

Sample Rate * Sample Resolution * Length of sound

Bit rate * Length of Sound

17
Q

What are the Principles of operation of an ADC?

A
  • Analogue signals sampled at regular time intervals.
  • Amplitude of wave measured at each sample point.
  • Measurement coded into a fixed number of bits.
18
Q

Advantages of Floating point?

A

Can represent numbers with a greater range than a fixed point system in a given number of bits.

19
Q

Advantages of Fixed Point?

A

Can represent some numbers more precisely than a floating point system.

Calculations can be performed more quickly.

Represents all numbers to a constant level of precision.

20
Q

The computer has 4 gibibytes of memory installed. How many kibibytes is this equivalent to?

A

1024 x 1024 x 4

21
Q

Advantages of using Harvard Architecture to Von Neumann arhcitecture?

A
  • Avoids bottlenecking of single data.
  • Avoids possibility of data being executed as code (can be exploited by hackers).
  • Instruction and data can have different word lengths
22
Q

What category of system software does a virus checker belong to?

A

Utilities

23
Q

Describe two different types of resource management that an operating system is responsible for:

A
  • allocate processes
  • allocate memory
24
Q

Explain how the transport layer of the TCP/IP stack determines which application layer software on the server should deal with a received request?

A

The transport layer will use the port number to determine which server/software should deal with the request by adding a port number to the request.

25
Q

Describe the functions of the network layer of the TCP/IP stack:

A
  • adds source IP
  • performs routing
  • checksum for product header
26
Q

Explain the key difference between lossless and lossy compression:

A

Original data can be fully recovered if lossless compression has been used.

27
Q

Explain how a paragraph of text could be compressed using a dictionary-based method:

A

A dictionary is built that maps sequences of characters in the text onto values; the sequences of characters in the text are then replaces by the corresponding values in the dictionary.

28
Q

Explain why dictionary-based compression is not very effective for compressing small amounts of data of text for transmission:

A

For smaller pieces of text there is little repetition (and so the compressed text will be similar in size to the original).

29
Q

Describe an example of a problem that could occur if no system were in place to manage concurrent access to the database:

A

-Two users read and edit the source data simultaneously

  • only one data is kept
30
Q

How does Timestamp Ordering manage concurrent access?

A

Timestamps are generated for each transaction. Database records timestamp of last read.

31
Q

Explain what it means for a cipher to be described as being computationally secure:

A

The cipher cannot be cracked (by any known method) in a polynomial amount of time.

32
Q

What is thin-client computing and why might it be chosen in preference to thick-client system?

A

Processing is carried out on an application server.
Clients are cheaper to purchase.
Easier to configure/add a new client.

33
Q

What is the relationship between bit rate and baud rate?

A

Bitrate is twice the baud rate

34
Q

What is the relationship between the bit rate and the bandwidth of the transmission medium that data is transmitted through?

A

Directly proportional.
Greater the bandwidth, the higher the bit rate.

35
Q

What is the difference between the operation of serial and parallel transmission?

A

-serial sends one bit at a time/after each other whereas parallel sends multiple bits simultaneously.

  • serial uses a single wire whereas parallel uses multiple wires
36
Q

Explain why a laser printer with a built-in wireless network adapter is likely to be a suitable choice of printer for a small office?

A

Why the laser is suitable:
- low cost per printed page (toner is cheaper)
- toner will not dry out
- prints many pages per minute
- high resolution output

Why the wireless adapter is suitable:
- easy to share printer between many devices
- can connect/print directly from computers (no need to install a network to facilitate wireless printing)
- printer can be managed remotely

37
Q

Describe the principles of operation of a laser printer:

A
  • Bitmap of image built in memory from page descriptor.
  • Negative charge applied to photosensitive drum
  • laser beam directed at drum
    -mirror is used to direct laser beam
  • when laser strikes drum, charge is neutralised
    -negative charge applied to toner
    -toner sticks to drum based on charge/where the laser struck
    -paper passed over drum and toner transfers to it
    -positively charged transfer roller assists transfer of toner from drum to paper
    -heater fuses toner onto paper
  • for colour printing, 4 drums are required.