Final Revision Flashcards

1
Q

What is the formula for calculating positional notation?

A

dn x R^n-1 + dn-1 x R^n-2 + … + d2 x R^1 + d1 x R^0

di: the digit at position i
R: the base
n: number of digits

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

What is the algorithm to convert to base 10?

A

While number is not equal to 10
Divide by new base
Store remainder
Replace value with quotient

//Read numbers in reverse order
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Describe what happens when transferring electrical signals.

A
  • an analog signla continueally fluctuates up and down in voltage
  • a digital signal has only a high or low state (binary)
  • All electrical signals (analog and digital) degrade as they move down the line.
  • A digital signal is re clocked periodically to its original shape.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is pulse code modulation?

A

Variation in a signal that jumps sharply between two extremes.

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

What does it mean to reclock?

A

The act of reasserting the original digital signal before too much degradation occurs.

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

What is the formula to work out 10’s compliment of a number

A

negative(i) = 10^k - i

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

What is overflow?

A

Occurs when the value being computed can not fit into the number of bits that are allocated for the result.

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

Data compression

A

the reduction in the amount of space needed to store a piece of data or the bandwidth to transmit it.

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

What is sampling?

What is Quantisation?

A

Sampling: Perodically measuring the voltage
quantisation: representing voltage as a finite no of bits

to reproduce a sound reasonably, there needs to be 40,00 samples per second

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

What is a CD? How does it work? What are its formats?

A

Stores information digitally, in a spiral, and has tracks. a red laser is shone on the surface, and reflected light is picked up by a receptor and translated into binary digits.

It has pits ( reflect poorly) and lands (reflect well). they represent binary 0 and 1 respectively.

  • CD-ROM read-only memory
  • CD-DA digital audio
  • CD-WORM write once, read many
  • CD-RW/CD-RAM both read from and written to
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

How is colour represented?

A

Colour is expressed as a RGB value, 3 numbers that indicate the contribution of each of the primary colours

COlour depth refers to the number of bits used to represent a colour.
HiColour uses 16 bits - 5 for each colour then the spare bit sometimes used to indicate transparency.
TrueColour uses 24 bits, 8 bits used to represent each of the primary colors.

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

What is raphster graphics?

A

Treats images as a collection of pixels. common formats include BMP,PNG, Jpeg and GIF

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

What is a pixel?

What is resolution?

A

Pixel: a dot of colour in an image
resolution: The number of pixels in an image (or device)

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

Describe BMP

A

Bitmaps
Uses true colour, or less to reduce file size
well suited too RLE

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

Describe GIF

A
  • file explicitly uses a pallet of 256 colours, but this palette varies from different images. This is known as indexed colour
  • Each pixel uses 8 bits or less
  • animated GIFS are a sequence of of images
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Describe PNG

A
  • intended to replace GIF
  • Gretaer compression ratio and can express more colours
  • No animation
17
Q

Describe JPEG

A

-averages hues over short-distances - the human eye tends to blur colours together over short distances

18
Q

What are vector graphics?

A
  • Treat images as a collection of geometric shapes.
  • Examples of file types is Flash and SVG
  • Good for lineart
  • bad for real world images
19
Q

What are the two types of representing video?

A

Temproal: a technique based on the differences between consecutive frames. If most of an image has not changed, why should we waste space on duplicating information.

Spartial: a technique based on removing any repeating information within a frame. This is essentially the same problem faced with when compressing still images.

20
Q

What is a computer?

A

A programmable electronic device that can store, retrieve and process data.

21
Q

What is machine language?

What are the characteristics of it?

A

The language made up of binary coded instructions built into the hardware of a particular computer and used directly by the computers

Characteristics:

  • Every processor has a unique set of machine code instructions
  • The digital logic of the CPU reconises the binary representation of the instructions
  • Every machine language does one low level task.
22
Q

What is a virtual computer?

What is PEP/8?

A

A virtual computer is a hypothetical machine designed to demonstraight the important features of a real world computer we want to illustraight.
PEP/8 is a virtual computer with 39 machine code instructions. it has 64Kb of memory.

23
Q

What is assembly language?

A

A language that has mnemonic codes to represent each of the instructions and translates them into the machine language.

24
Q

What is a gate?

What is a circuit?

A

Gate: A device that performs a basic operation on electircal signals

Circuit: Gates combined to perform more complicated tasks

25
Q

What is a transistor?

A

A device that acts as either a input wire conducting a current or a resistor that blocks the current depending on the input signal. It is like a switch with no moving parts.
they are made from a semi conductor which is neither a good conductor or a good insulator.

26
Q

What is a sequential circuit?

What is a combination circuit?

A

Sequential circuit is one in which the output depends on both the current state of the circuit as well as the inputs

Combination circuit is one in which its output depends solely on the inputs

27
Q

What is a multiplexer?

A

A type of circuit that accepts a few input control signals to determine which of the input data signals are routed to the output signal

28
Q

What is a S-R latch?

A

a type of memory circuit

  • S and R are never both 0
  • X and Y are always the compliment of each other
  • Sequential circuit
  • X is the current state of the circuit
29
Q

What is an integrated circuit?

A

a piece of silicon in which multiple gates have been embedded. It is mounted on a piece of plastic or silicon, with pins along the edge that can be solderd to circuit boards or inserted into approiote sockets. The CPU is the most important chip.

30
Q

what are the types of parallelism?

A

• Bit-level parallelism
Bits can be processes simultaneously
Ex: Increasing word size
• Instruction-level parallelism
Instructions can be executed simultaneously
Ex: Pipe-lining (overlapping instructions)
Ex: Super-scalar (multiple execution units)
• Data-level parallelism
Data subjected to the same operation sequence simultaneously
Ex: Calculation of all students’ GPAs simultaneously
• Task-level parallelism
Entire tasks can be completed simultaneously
Ex: Google servers (simultaneous independent searches
Ex: “Pipelined” processors

31
Q

What is a Shared Memory Parallel Processor?

A

Communicates through shared memory

32
Q

What are embedded systems?

A

Embedded system are computers that are designed to perform a narrow range of functions as part of a larger system. They are typically housed on a single microchip and all programs stored in ROM.