Give the definition RAM model and PRAM model HINT answer fro
Give the definition:
RAM model and PRAM model (HINT: answer from 3 different perspectives such as number of processors, number of memory space and inter process communication primitives)
Solution
RAM model stand for
Random Acces Machine
which this model is for computers of type sequential.
and it having the computing part or computing unit
with user defined programs ..
the programs which are designed by users.
and it is another feature is it reads only input tape and it writes only output tape.
unbounded sized digits or integers are hold by memory cells ram model
it does not bother about length or size of operands it just takes unit time for execution of instruction
PRAM MODEL:
stands for Parllel Random Access Machine
it is a model of shared memory .
it does not contain tapes
each process have its own memory
instructions of pram executes in 3 cycles.
data exchange is done only by writing into and reading from it.
pram has unlimited resources
and it has global memory
it contains multiple processesors of same type
and these processors communictae by shared memory
message passing:communication is done by sending message.
communication may be synchronus and asynchronous
if asynchoronous where message is passed before the receiver is ready or
Synchronous the recivier is ready
parllel processing is nothing but exceuting of proceess simultaniusly
there
task parllalism
data parllalism
task parllalism is threads executing simultaniously
data parllaism
data read and write simultaniously
