A complete set (YES, NOT, AND, and ANDNOT) of molecular scale logic gates based on ligase deoxyribozymes was constructed. The activity of these gates was visualized through the formation of cascades with downstream phosphodieseterase YES gates, which performed fluorogenic cleavage.