TYPES OF PROCESSOR Flashcards

1
Q

What is CISC?

A
  • complex instruction set computing
  • large instruction set used to accomplish tasks in as few lines of assembly language as possible
  • many complex instructions, some of which can perform several operations in one instruction (e.g., loading data, performing arithmetic, and storing results)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is RISC?

A
  • reduced instruction set computing
  • uses a small, simple set of instructions that are executed very quickly
  • limited number of instructions, with each instruction designed to do one simple task
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Advs of CISC

A
  • fewer instructions: complex instructions can perform multiple tasks in one, reducing the number of instructions needed
  • smaller program size: since each instruction can do more work, programs tend to be smaller in size
  • memory efficiency: CISC reduces the need for multiple memory accesses because one instruction can handle several operations
  • easier to program: the rich instruction set makes it easier for programmers to write code that requires fewer lines
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Disadvs of CISC

A
  • slower execution: complex instructions take longer to decode and execute, which can reduce overall performance
  • difficult to pipeline: the varied length and complexity of instructions make it harder to implement efficient pipelining
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Advs of RISC

A
  • faster execution: simple instructions can be executed in one clock cycle, improving speed
  • easier pipelining: each instruction takes the same amount of time (1 clock cycle) which allows for more efficient pipelining, increasing performance
  • simpler control unit: with fewer instructions, the control unit is less complex, making it easier to design
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Disadvs of RISC

A
  • larger code size: simple instructions mean more instructions are needed to perform complex tasks, resulting in larger programs
  • more memory accesses: since operations are performed on registers, there are more frequent load and store operations, which can slow down performance
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Compare CISC and RISC processors

A
  • CISC has a large, complex instruction set whereas RISC has a small, simple instruction set.
  • CISC instructions have variable length while RISC instructions have a fixed length.
  • CISC may take multiple cycles per instruction while RISC typically executes in one cycle.
  • CISC can access memory directly in instructions whereas RISC uses a load/store model for memory access.
  • CISC is harder to pipeline due to complex instructions whilst RISC is easier to pipeline with simple, uniform instructions.
  • CISC tends to have smaller code size however RISC usually requires more instructions, leading to larger code.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is a GPU?

A

processor designed to quickly render images and handle tasks that require parallel processing, like graphics, video, and complex calculations

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

What are the uses of a GPU?

A
  • graphics rendering: used to render images, videos, and animations in games and applications.
  • parallel processing: performs multiple calculations at once, making it ideal for tasks like scientific simulations and machine learning.
  • video playback: accelerates video decoding and streaming for smoother playback.
  • machine learning: speeds up the training of models by handling large datasets and complex calculations.
  • cryptocurrency mining: used to solve complex mathematical problems in cryptocurrency mining.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly