Here are some examples:
* Grammar: The rules of writing and speaking a language.
* Diagram: A drawing or plan that explains something visually.
* Program: A set of instructions written for a computer.
* Telegraph: A device used for sending messages in written form over long distances.
* Telegram: A message sent by telegraph.
The prefix "gram" is often used in scientific terms to indicate a written record or a description:
* Seismogram: A record of seismic waves produced by an earthquake.
* Electrocardiogram: A recording of the electrical activity of the heart.
* Histogram: A diagram that shows the distribution of data.
The root word "graphein" in Greek means "to write", and the prefix "gram" is derived from this root.