Correct option is A
Matching:
A. Union - IV. User defined data type
B. Function - III. Subroutine
C. Interactive Environment - I. Virtual Reality
D. Output device - II. Shadow mask
These matches correspond to the correct definitions and uses of the terms in programming and computer science.