what is a portion of the ocean that is enclosed or partly enclosed by land?

A bay, lagoon, strait or (sometimes) a sound, depending upon the geometry and size.

A portion of the ocean that is enclosed or partly enclosed by land is called a sea. To find this answer, you can start by understanding the definition and characteristics of a sea. Then, you can search for the term "portion of the ocean enclosed by land" or a similar phrase on the internet or in reference books to validate the information.