Input (grade 3): A play for television is known as a teleplay.
Output (grade 5): A screenplay for television is called a teleplay.