3-Amino-1, 2, 4-triazole was condensed with active methylene ketones such as ethyl cyanoacetate, acetylacetone, ethylacetoacetate to get corresponding 7-amino-5-hydroxy-s-triazolo [1, 5-a] pyrimidine, 5, 7-dimethyl-s-triazolo [1, 5-a] pyrimidine and 7-hydroxy-5-methyl-s-triazolo [1, 5-a] pyrimidine, (I). Then, starting from (I), some 5-methyl-7-substituted-s-triazolopyrimidines were synthesized. As to some of derivatives, pesticidal, herbicidal and other biological activities were examined.