I think answer will depend on program size and page size
in this question if we consider program size is large and can't fit in 1 page then goto may point to different pages at different times so more time will be required (for page replacements)also if we say time taken for execution is to be minimized( page replacement time is less) then main memory should be more to accumulate all the pages so there is a tradeoff between time and memory so what should be the answer of this question?? as no program size is given