Re: [Tutor] Program Slicing / Trace

2009-06-25 Thread Kent Johnson
On Thu, Jun 18, 2009 at 10:37 AM, Jojo Mwebaze wrote: > Hi Tutor > > The problem i have is to see which statements modify my data at execution > time without referring to the code. Referring to the code is difficult esp > because of branching. You can never tell before hand which branch execution >

Re: [Tutor] Program Slicing / Trace

2009-06-18 Thread Jojo Mwebaze
True both are assignments, L3, does change a value of any variable. Johnson On Thu, Jun 18, 2009 at 4:53 PM, Elisha Rosensweig wrote: > It is not clear to me in what way line 3 is different than line 2 - both > are assignments... Please clarify > > Elisha > > On Thu, Jun 18, 2009 at 10:37 AM,

Re: [Tutor] Program Slicing / Trace

2009-06-18 Thread Emile van Sebille
On 6/18/2009 7:37 AM Jojo Mwebaze said... Hi Tutor The problem i have is to see which statements modify my data at execution time without referring to the code. Referring to the code is difficult esp because of branching. You can never tell before hand which branch execution will follow. e.

Re: [Tutor] Program Slicing / Trace

2009-06-18 Thread Elisha Rosensweig
It is not clear to me in what way line 3 is different than line 2 - both are assignments... Please clarify Elisha On Thu, Jun 18, 2009 at 10:37 AM, Jojo Mwebaze wrote: > Hi Tutor > > The problem i have is to see which statements modify my data at execution > time without referring to the code. R

[Tutor] Program Slicing / Trace

2009-06-18 Thread Jojo Mwebaze
Hi Tutor The problem i have is to see which statements modify my data at execution time without referring to the code. Referring to the code is difficult esp because of branching. You can never tell before hand which branch execution will follow. e.g in the example below, statements 1, 2, 5,7 and