The reaction of compound 2‐amino‐3‐cyano‐6‐methylquinoxaline‐1,4‐dioxide with cyclohexanone and dimedone in dimethylformamide in the presence of anhydrous ZnCl2 under Friedländer‐type cyclocondensation gave compounds 12‐amino‐9‐methyl‐1,2,3,4,12,12a‐hexahydroquinolino[2,3‐b]quinoxaline‐6,11‐dioxide (4), 7‐methyl‐4‐oxo‐3,4‐dihydro‐1H‐spiro[benzo[g]pteridine‐2,1′‐cyclohexane]5,10‐dioxide (5), and 12‐amino‐3,3,9‐trimethyl‐1‐oxo‐1,2,3,4,12,12a‐hexahydroquinolino[2,3‐b]quinoxaline‐6,11‐dioxide (6); (R)‐3′,3′,7‐trimethyl‐4,5′‐dioxo‐3,4‐dihydro‐1H‐spiro[benzo[g]pteridine‐2,1′‐cyclohexane]5,10‐dioxide (7) were achieved and evaluated their biological activity as antibacterial and antifungal activities and antitumor evaluation, and also, the density functional theory calculations were evaluated.