control dependencesegments or instructions in a


Control Dependence

Segments or Instructions in a program can include control structures. So, dependency among statements is able to be in control structures also. However the order of execution in control structures isn't known before the run time. So, control structures dependency among instructions should be analyzed carefully. E.g. the successive iterations in the subsequent control structure are reliant on one another.

For (i= 1; I<= n ; i++)

{

  if (x[i - 1] == 0)

    x[i] =0

  else

    x[i] = 1;

}

 

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: control dependencesegments or instructions in a
Reference No:- TGS0313304

Expected delivery within 24 Hours