Parallel Programming Quiz

ThumbUpNephrite1181 avatar
ThumbUpNephrite1181
·
·
Download

Start Quiz

Study Flashcards

10 Questions

What is the von Neumann model capable of storing in each location?

Both instructions and data

What does the main memory consist of in the von Neumann model?

A collection of locations

In the von Neumann model, what is used to access each location in the main memory?

Address

What is the key feature of the serial hardware and software programs?

Computer runs one program at a time

What type of modifications are made to the von Neumann model in parallel hardware?

Modifications to support parallel processing

What does virtual memory function as when running a very large program or a program that accesses very large data sets?

Cache for secondary storage

What principle does virtual memory exploit?

Spatial and temporal locality

What is the term used for the idle parts of a program that are kept in a block of secondary storage?

Swap space

What are the blocks of data and instructions in virtual memory known as?

Pages

What is the range of fixed page size for most systems in virtual memory?

4 to 16 kilobytes

Study Notes

Von Neumann Model

  • Each location in the von Neumann model is capable of storing both data and program instructions.
  • The main memory in the von Neumann model consists of a single array of bytes, each with a unique address.

Accessing Main Memory

  • Each location in the main memory is accessed using a unique address.

Serial Hardware and Software Programs

  • The key feature of serial hardware and software programs is that they execute instructions one at a time.

Parallel Hardware Modifications

  • In parallel hardware, the von Neumann model is modified to allow multiple instructions to be executed simultaneously.

Virtual Memory

  • Virtual memory functions as a combination of RAM and secondary storage when running a very large program or a program that accesses very large data sets.
  • Virtual memory exploits the principle of locality, which states that a program tends to access data and instructions in a limited area of memory.
  • Idle parts of a program that are kept in a block of secondary storage are referred to as "pages".
  • The blocks of data and instructions in virtual memory are known as "pages".
  • The fixed page size for most systems in virtual memory ranges from 4KB to 8KB.

Test your knowledge of parallel programming with this quiz covering topics such as parallel hardware, parallel software, input and output, performance, and parallel program design. Challenge yourself to understand modifications to the von Neumann model and assumptions in parallel programming.

Make Your Own Quizzes and Flashcards

Convert your notes into interactive study material.

Get started for free
Use Quizgecko on...
Browser
Browser