Question: What distinguishes a purely functional programming language from an imperative one? a . There are no variables and hence no assignment operation in a purely

What distinguishes a purely "functional" programming language from an "imperative" one?
a. There are no variables and hence no assignment operation in a purely functional
language.
b. A purely functional language lacks the "go to" statement, but an imperative language
always has such a command.
c. All subprograms must be declared with the keyword function in a purely functional
language.
d. There is no real difference, only a difference in the recommended coding style
In an object-oriented language, when an object has several methods have the same name but
different signatures, we call this
a. inheritance;
c. overloading;
b. overriding;
d. signature clash.
Unification means to equate two logical terms
a. True
b. False
Return Pointer (RP) is used to access the next instruction of the calling subprogram after return
from the called subprogram.
a. True
b. False
Output dependency is kind of dependency appears when two instructions are using the same
location as an output, they both write in the same register/memory address
a. True
b. False
Concurrency: For the following program show data dependency graph. Assuming there are 2
processors, clearly show processor allocations. Also assume that the variable x and W are aliases.
x=4;Y=10;Z=8;M=x+Y;N=Y+Z;W=M+4;x=2**N
What distinguishes a purely "functional"

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!