Final answer:
In a traditional economy, customs and traditions dictate the allocation of resources, while in a command economy, the ruling class determines the allocation.
Step-by-step explanation:
In a traditional economy, the allocation function is performed by the customs, rituals, and habits of the society. The roles and occupations of individuals are determined by the customs and traditions passed down through generations. Children are expected to continue the same profession as their parents, ensuring continuity within the community.
In a command economy, the allocation function is carried out by a ruler or ruling class. Economic decisions are made by those in power and are often directed towards specific goals, such as building pyramids or supporting the ruling class. In this type of economy, the productive resources are controlled and allocated by the ruling authority.