Gray code. The reflected binary code (RBC), also known as Gray code after Frank Gray, is a binary numeral system where two successive values differ in only one bit (binary digit). The reflected binary code was originally designed to prevent spurious output from electromechanical switches.
Neural tube defects happen when the neural tube does not close as expected. Anencephaly occurs when the end of the neural tube that would have developed into the brain does not close properly, resulting in the failure of the development of major portions of brain, skull and scalp.
Anencephaly can often be diagnosed before birth through an ultrasound examination. The maternal serum alpha-fetoprotein (AFP screening) and detailed fetal ultrasound can be useful for screening for neural tube defects such as spina bifida or anencephaly.