I have two doubts about the following sentence:
Assignments are how data objects take on a new value.
The first is whether the subject-verb agreement is correct for the two verbs in the sentence. The second is whether the phrasal verb "take on" is correctly understood with the meaning of "to assume" a new value in the sentence.
Finally, it would be nice to know whether the sentence sounds natural or not to a native speaker.