Question: is programa masculine or feminine?
Answer: Beside each word you'll see whether it's feminine or masculine. In this case, "programa" is an exception to the gender "rules" and takes the masculine article "el." Other words of Greek origin ending in -ma are masculine, e.g., el poema, el poeta, el idioma, etc.