A colonoscopy (if you breakdown the words, large intestines and camera) is a procedure used to view the walls of the colon. Electrocardiograms are used to measure electrical signals of the heart, a stool test or occult test is usually used to determine if their is blood in the stool, and an xray is a diagnostic imaging that passes xrays through the bodies structure.