Main Deck Flashcards
Describe the Little Man computer ( what doe sit consists of?)
The little man Computer consists of
- A 3 digit calculator
- one hundred mail boxes
- a 2 digit hand counter, with a reset button, (Instruction locations counter)
- an “in” and “out” basket
What does the mailbox contents consist of? (LMC)
DATA ( a 3 digit number)
INSTRUCTION
- 3|99
- “3” is the op code, i.e what instruction to use
- “99” is operand, refers to the address of the data value to operate on
What are the possible instructions used by the Little man Computer?
ADD SUB STO LDA IN OUT COB (means stop)
What distinguishes a computer program from a simple calculator?
Instructions can be performed out of sequence, making it turing complete
What are the two type of branches?
Unconditional branching
Conditional branching
What are some typical things you plug into a mother board?
Interface card, connects to PCI
Typical magnetic hard disk
Connects to sata interface
What is a bus?
A lot of wires
Describe how a system runs from boot?
- Processor runs boot loader instruction from ROM or NOR flash
- These transfer OS from disk/flash/ssd into RAM and starts executing it.
- User controls OS and can transfer EXE into RAM and run them
- All data is sent over external buses or a bus.
What is a microcontroller?
Generally do not run operating systems, the processor directly runs the application code.
Why would anyone want to use a slow microcontroller without much memory?
Takes a sensor and can communicate with the Ci40 hub.
How we we get a conductive metal?
When metal atoms, e.g. copper, come together in solid form,
an electron from each atom can become detached and becomes free
to move around within the solid which makes it a conductor of
electricity
What creates a flow of electricity?
A sea of moving electrons exist within a piece of metal, these free electrons can be made to move by electric forces.
What is an insulator?
Substance with no free electrons and cannot pass electricity
What is a resistor?
A electrical component which are a mix of conductors and insulators, measures in Ohms
What is charge measured in?
Coulombs, 1 electron has 1.6*10^-19C
What is voltage?
The battery exert an “electromotive force” on the electrons and push them up a electric gradient, voltage refers to the distance the electron charge has been transferred.
Which was is current defined to flow?
From positive to negative(technically it is the other way)
What is current?
The rate of flow of charge
1 A is the flow of 1 C a seconf
What is ohms law
v=IR
What is a semiconductor and name one?
pure silicon doesnt have free electrons
-But DOPING it, adding small quantities of other elements can produce “free electrons” or “free holes”, it then conducts electricity well.
How do we make N-type silicon?
Add Arsenic, it has 4 covalent bonds, arsenic has 5 electrons, so a free electron is free to move around lattice, N-type refers to negative charges free to move about
How to we make P-type silicon?
Boron has 3 electrons, therefore means one adjacent electron can fill position, this makes a “moving positive hole”
What does a diode consist of?
A p-type silicon sandwiched next to a n-type silicon, current can therefor flow in one direction. E.g LED light
What is a capacitor?
- Consists of two conductor sheets, separated by dielectric insulator
- Stores electric charge across it when voltage is applied
- Electric field draws positive charge towards one side, and negative charge towards other
Try to explain how an nMOS transistor works
Consists of Conductor connected to gate sitting on top of insulator sitting on top of p type substrate. When the gate is turned on the capacitor draws all the positive charge at the top of the capacitor, all the negative charge is drawn from the substrate to the bottom of the capacitor. This creates a “channel” inverting the p type to the n type, allowing negative charge to flow from source to drain. (on diagrams it is drain to source)
Try to explain how a pMOS tranistor works
Works in the opposite way to an nMOS the substrate in an n type and is connected to the VDD, when a the VDD is also supplied at the gate the n type inverts to a ptype allowing current to flow from drain to source.
When the gate is 0 or 1, is the nMOS on or off?
nMOS is ON when gate is 1 and off when gate is 0
When the gate is 0 or 1, is the pMOS on or off?
pMOS is on when the gate is 0 and off when the gate is 1