135k views
0 votes
Justify you answer and use your own words (do not copy and past) .

a. List three main differences between X86 (CISC) and ARM Raspberry PI (RISC).
b. What is the difference between sequential and parallel programming?
c. Explain the differences between processes and threads
d. What is OpenMP and what is OpenMP pragmas? .
e. What applications benefit from multi-core (list three)? .
f. Why Multicore? (why not single core, list two)

User Aleks Per
by
7.0k points

1 Answer

3 votes

Answer:

a.

CISC instruction are complex and require multiple clock cycles.

RISC has simple instructions and execute in one clock cycle.

ARM follow explicit load-and-store model.

x86 has the load-and-store-into-register logic inbuilt.

In RISC, instruction set size is small.

In CISC, instruction set size is large.

b.

Sequential programming executes one after the other on all processors.

Parallel programming executes on all cores simultaneously.

c.

Threads run in shared memory space and processes run in separate memory states.

d. OpenMP is a library for parallel programming. It is an API (Application Program Interface) for shared memory multiprocessing programming.

OpenMP pragmas provide te compiler with set of instructions for a specified task. It is a section of the code that is to be executed in parallel.

e.

Games (Fortnite)

File compression programs (Winrar)

Video Encoders (Adobe Premiere Pro)

f.

To be able to run different processes at the same time.

Faster side by side processing

Step-by-step explanation:

c.

But remember, both, processes and threads are independent sequences of execution.

e.

These applications are built for multi core systems as the execute various tasks at the same time.

f.

single core systems can only perform one task or process at a time.

User FGRibreau
by
7.2k points