The NEC defines a dwelling unit as a single unit that provides complete and independent living facilities for one or more persons that must include permanent provisions for living, sleeping, cooking, ...
Whether they're for journeymen, master electricians, or contractors, most electrical licensing exams require you to calculate residential loads and service or feeders sizes using one of two methods.