Ionizing radiation through the photoelectric effect and the Compton effect. Either of those interactions will cause the ejection of an electron from an atom at relativistic speeds, turning that electron into a beta particle (secondary beta particle) that will ionize many other atoms. Since most of the affected atoms are ionized directly by the secondary beta particles, photons are called indirectly ionizing radiation. Photon radiation is called gamma rays if produced by a nuclear reaction, subatomic particle decay, or radioactive decay within the nucleus. It is otherwise called x-rays if produced outside the nucleus. The generic term photon is therefore used to
Selection sort finds both the minimum and maximum values in the list in every pass. This reduces the number of scans of the list by a factor of 2, eliminating some loop overhead but not actually decreasing the number of comparisons or swaps. Note, however, that cocktail sort more often refers to a bidirectional variant of bubble sort. Sometimes this is double selection sort. Selection sort can be implemented as a stable sort. If, rather than swapping in step 2, the minimum value is inserted into the first position (that is, all intervening items moved down), the algorithm is stable. However, this