Mid Term Exam Flashcards

1
Q

What is meant by the term “Semiconductor” ? Give an example of a semiconductor and what is the function of a dopant ?

A

A semiconductor is an element that is a poor conductor of electricity, but which can be converted to being a good conductor (like a metal) through doping.
E.g. Silicon

A dopant increases the conductivity of a semiconductor by introducing mobile carriers. I.e., electrons or holes.

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

What is meant by the term “von Neumann computer architecture” ?

A

Three components constitute the Von Neumann Architecture
1. Processor
2. I/O
3. Memory

Memory stores data and the program in digital format

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

What is the approximate size of a transistor ?

A

Approximate size of a transistor of order of 10^-9

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

What is the approximate clock frequency of modern laptop ?

A

3 x 10^9 Hz

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

What was the standard General User Interface (GUI) for a computer in the era 1960-1970 ?

A

Punch cards
Keyboard
Paper printouts
Dumb terminals (Screens)

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

Give three physical differences between a Main-Frame computer of the 1960-1980s and a Microprocessor.

A

Main Frame: Consists of several transistor boards
Huge electricity consumption kW
Physical size equivalent to several filing cabinets
Requires a controlled environment
Processing rate. 10’s millions instr/sec

Microproccessor:
1 silicon chip
Size of a match box
Energy consumption 1-10 W
Up to 1 million instructions/sec
Operates in a normal office environment

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

What is Moore’s Law and what has been its impact on the evolution of the Microprocessor ?

A

Moores Law: Every 18 months transistor density doubles

This has lead to an exponential growth in the complexity of chips
From 1980 to 2016: 24 18 month periods
1980 = 1000 transistors/chip
10^3 x 2^24 = 16 billion

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

What is meant by the term “von Neumann Bottleneck” ?

A

The no. of instructions executed/sec is determined by the memory bandwidth. (E.g. how many bytes per second can be transferred from memory to the CPU) how fast you can read and write to memory

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

What is the function of the Program Counter ?

A

The program counter contains the address of the next instruction to be executed. It is incremented at the decode phase by the length of the current instruction.

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

What is the function of the Op-code in an instruction ? What details does it give to the CPU when it is decoded?

A

The opcode informs the processor on:
The operation to be executed.
The length of the instruction
The type and number of operands involved in the instruction execution.

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

What is the minimum unit of information transferrable from memory ?

A

A byte

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

How is a bit of information/logic values electronically represented?

A

Voltage 0v, 5v

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

What are the 3 phases in an instruction cycle ?

A

Fetch, Decode, Execute

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

What is DeMorgan’s Law?

A

¬(A . B) = ¬A + ¬B
¬(A + B) = ¬A . ¬B

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

What is the critical path delay of a circuit?

A

The longest time it takes for a signal to travel from input to output

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

The most basic Logical device in a computer system is?

A

A gate. (Transistor is smaller but not a logical device)

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

What is a stack and a stack pointer? How are they used in subroutines?

A

Stack: LIFO area of memory used for subroutine linkage
Stack Pointer: Register that holds address (pointer) of top of stack

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

What is the address range of a computer with a 24-bit address bus and a 32-bit data bus? Solve generally first.

A

2^(bits in address bit) - 1.

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

What is the function of the ALU?

A

Arithmetic Logic Unit.
It performs mathematical and logical operations. *, +, -, and, or etc.

20
Q

What does the number of reads in the fetch phase depend upon?

A

No of reads depends on the size of the instructions to be executed (number of bytes) and the size of the data bus (number of bytes we can transfer in one go).

21
Q

CLR A? Type of addressing? Describe.

A

Inherent addressing/Accumulator addressing. No explicit operand, just an op-code indicating that Acc-A is to be cleared.

22
Q

ADD A $0050? Type of addressing? Describe.

A

Extended Addressing. Instruction of operand specified as 16 bit address.

23
Q

ADD A $60? Type of addressing? Describe.

A

Direct Addressing. Instruction of operand specified as 8 bit address where it is assumed the most significant bit is 0000 0000.

24
Q

What is the MSB?

A

Most significant bit

25
Q

What is the status register?

A

Is a 6-bit register which is updated when certain instructions are completed. It records the status of these instructions. Used for branch instruction checks.

26
Q

What is branch addressing called?

A

Relative addressing

27
Q

What is addressing with an actual value called?

A

Immediate addressing

28
Q

LDAA 0,X? Type of addressing?

A

Index addressing

29
Q

What is the law of absorption?

A

A.(A + B) = A
A + (A.B) = A

30
Q

What is the law of common identities?

A

A . (¬A + B) = A.B
A + (¬A.B) = A + B

31
Q

What are minterms

A

the input combinations for which the output is 1 are called minterms.

32
Q

What is the Sum of Products?

A

The entire behaviour of the function can be expressed as the “OR of all Minterms” normally called the Sum of Products.

33
Q

When is a NMOS Transistor on/off?

A

On: 5 volts applied
Off: 0 volts applied

34
Q

When is a PMOS Transistor on/off?

A

On: 0 volts applied
Off: 5 volts applied

35
Q

Name two ways binary values can be represented.

A

Magnetic Polarity
Electric Charge

36
Q

1840-1900. Technology?

A

Mechanical computer, powered by steam

37
Q

1939-1959. Technology?

A

Electromechanical and Electrical. Use of vacuum tubes.

38
Q

1960-1980. Technlogy?

A

Transistors, logic gates, first microprocessor. Mainframes.

39
Q

1980-2000. Technology?

A

Internet, smaller and lower energy transistors compete with mainframes.

40
Q

2000-2020. Technology?

A

Low energy microprocessors, storage of videos and photos. Not 1000’s but billions of transistors per chip.

41
Q

Data Representation.

A

Decimal (base 10) 1840-1959
Binary (base 2) 1939-modern

42
Q

Instruction per/sec.

A

1840-1900 20 additions
1839-1959 5000 additions
1960-1980 750000 additions
1980-2000 first laptop (4 MHz)
2000-2020 2.7 GHz

43
Q

Memory.

A

1840-1900 Clocks and dials, punched cards
1939-1959 Cathode ray tube, vacuum tubes
1960-1980 Memory disks, magnetic film
1980-2000 Floppy disk, hard disk
2000-2020 Abundance of cheap fast memory

44
Q

Human Interface.

A

1840-1900 Reading clocks and dials, inputting cards by hand.
1939-1959 Outputs on card or paper, inputs inserted by punched film or switches.
1960-1980 Paper card entry/paper output. Memory read off tape readers.
1980-2000 “Terminal” + paper. QWERTY keyboard. First OS systems. Mouse, printers, floppy disk, hard disk.
2000-2020 Virtual reality, swipe screen, communicate with computers via our thoughts.

45
Q

Software Availability

A

1840-1900 Ada Lovelace
1939-1959 - programs written by those who designed the machines. Government-funded
1960-1980 Could only buy software compatible with hardware so limited choice for consumer. First languages developed.
1980-2000 MSDOS, windows, cheaper software more competition. Open-source.
2000-2020 Software widely available

46
Q

Applications

A

1840-1900 Simple mathematical operations.
1939-1959 Codebreaking, Manhattan Project
1960-1980 Office computing, large corporations
1980-2000 Personal Computer, Entertainment, Social Media, Interent
2000-2020 Mobile phones, IoT, VR

47
Q

What were the three major areas of technological development that has made data centres technically and economically viable?

A

-Fast cheap and reliable memory
-Connectivity from communications network allows for Internet and The Cloud
-Physical size of processors, greatly reduced.