Microprocessors and Microcontrollers Flashcards

1
Q

What is a microprocessor?

A

It is the heart of a computer. Known also as a CPU it is a complete computation engine fabricated onto a single chip.

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

What is a microcontroller?

A

A small computer on an integrated circuit. It can contain one or more CPU’s along with memory and programmable input output peripherals.

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

What are the different applications of the microprocessor and microcontroller?

A

A microprocessor is designed for use in general computers and other applications whereas the micro controller is designed to be used in embedded applications.

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

What are the 5 basic structures of a computer?

A
  1. Input devices
  2. Processor
  3. Main Memory
  4. Output Devices
  5. Backing storage.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the 3 classifications of a computer based on structure?

A

Mechanical
Electrical
Electromechanical

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

What are the 3 classifications of a computer based on computation type?

A

Analog
Digital
Hybrid

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

What are the different computer classifications based on size?

A
Smartphone
Microcomputer
Personal Computer
Laptop
Mainframe
Super Computer
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the 4 main components of a microprocessor?

A
  1. A CPU - this will recognize and carry out programme instructions.
  2. Memory - to hold the programme instructions and data
  3. Input and Output - Communicate with the outside world, things like a mouse and a keyboard for the input and then a monitor for the output.
  4. Buses - these are just paths along with electrical signals can move. However it does mean that when one piece of info is on a bus, other data must wait.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What different parts does a MicroProcessor have?

A

ALU
Registers
Control Unit

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

What is the ALU?

A

This stands for arithmetic and logic unit and it is responsible for performing all data manipulation.

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

What is a Register?

A

The place where data is temporarily held while the CPU uses it. Memory locations within the microprocessor.

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

What is the Control Unit?

A

It determines the timing and sequence of operations. Generates the timing signals used to fetch a programme from the memory and execute it.

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

What is the memory of a microprocessor?

A

It stores binary data and takes the form of one or more integrated circuits. Data could be something like programme instructions.

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

What determines the size of the memory of a microprocessor?

A

The number of wires in the address bus. It is essentially just a unit containing storage cells that can hold either a 0 or 1 bit. These cells are grouped in locations that are capable of holding one word, and each location will have a unique address.

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

What is ROM?

A

Stands for Read Only Memory. Used for data that is stored permanently in a device. Data cannot be written to it while in the computer and it will not lose its data when the power is turned off.

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

What is PROM?

A

Programmable ROM. ROM chips that can be programmed by a user. Initially it has a fusible link between memory cells to keep them all at 0. That 0 is permanently changed to 1 by sending a current through the fuse to open it permanently. Data cannot be changed after this point.

17
Q

What is EPROM

A

Erasable PROM. So you can programme the memory more than once. Typically contains small circuit cells that can store charge. Store programmes by applying voltage to the pins of the IC and creating a network of charged and uncharged cells.

18
Q

How do we alter the memory in EPROM?

A

Shine UV light through a hole in the top of the IC. This will reset all cells to uncharged and will allow it to be reprogrammed.

19
Q

What is EEPROM?

A

Electrically Erasable PROM. It is the same as EPROM but we erase the data by applying a high voltage not through UV.

20
Q

What is RAM?

A

Random Access Memory. It is used to store temporary data . Can read or write to RAM.

21
Q

What is the definition of the input output operation?

A

The transfer of data between the microprocessor and the outside world.

22
Q

Why do we use Interface Chips?

A

Since the speeds of the peripheral devices is different from that of the microprocessor, we connect them through an interface chip to synchronize the data transfers between these two devices.

23
Q

What is the function of the Data Bus?

A

It is used to transport data associated with the CPU between the CPU, memory and Input/Output.

24
Q

What is the function of the Address Bus?

A

It will carry signals that indicate where certain data is to be found. Each storage location will have a unique address. Once an address has been selected, its address is placed on the address bus and then only that location is open to communications from the CPU.

25
Q

What is the function of the control Bus?

A

It carries signals relating to the control actions, so like when the microprocessor needs to inform memory that they need to read data from input or write data to output.

26
Q

What do we need to consider when selecting a microcontroller?

A

Number of input/output pins
Interfaces - is PWM required?
The number of interrupts required
Processing speed required.

27
Q

What is a system on a chip?

A

It is a microprocessor that has been integrated onto a chip with advanced peripherals such as advanced graphics, wifi etc… It is similiar to how a microcontroller integrates a microprocessor onto a single chip with input/output peripherals.