1

I'm going through past papers and i just wanted to double check the definition of the following.

"Something that doesn't change when we move from state to state is referred to as ___________?"

Am i correct in saying that this would be defined as an Invariant?

Thanks in advance.

Cirrus
  • 41
  • 2
  • 9
  • possible duplicate of [What is an invariant?](http://stackoverflow.com/questions/112064/what-is-an-invariant) – Jon Nov 10 '14 at 08:44
  • Thanks for clearing up my understanding of what an invariant is. How would you define the statement in original post? – Cirrus Nov 10 '14 at 09:01

1 Answers1

0

According to this Wikipedia article, an invariant is

a condition that can be relied upon to be true during execution of a program, or during some portion of it.

which basically means that "invariant" would be a correct solution to the question in the original post.

Codor
  • 17,447
  • 9
  • 29
  • 56