It depends on what you're researching for.
Answer:
Always same value
Explanation:
These both code segments will always generate identical values given that we provide same value of k to both segments.
You can see attached pictures.
I = 0
while( i < ( n * 2 ) ):
s += '*'
i += 1
I would say code completion. Dreamweaver does this for you. So say I wanted to make a paragraph of text, I would use <p>, and then Dreamweaver would create the closing </p> for you.