Ancient Civilizations

Code of Hammurabi Practice Questions

20 free Code of Hammurabi practice questions for the World History. Tap an option to answer — you get instant feedback, the correct answer, and a detailed explanation for every question.

Practice in Quiz Mode

Question 1 of 20 Medium

Who was Hammurabi, associated with the Code of Hammurabi?

  1. A A Sumerian priest
  2. B A Babylonian king
  3. C An Assyrian general
  4. D An Egyptian pharaoh

Correct answer: A Babylonian king

Hammurabi was a king of Babylon who ruled in the 18th century BCE. He is best known for issuing one of the earliest and most complete written legal codes.

Question 2 of 20 Medium

What was the primary purpose of the Code of Hammurabi?

  1. A To record religious rituals
  2. B To standardize laws across the empire
  3. C To train military officers
  4. D To promote trade with neighboring states

Correct answer: To standardize laws across the empire

The Code of Hammurabi aimed to unify and standardize laws throughout the Babylonian Empire. This helped ensure consistent justice and royal authority.

Question 3 of 20 Medium

In which civilization was the Code of Hammurabi created?

  1. A Ancient Sumerian
  2. B Neo-Assyrian
  3. C Babylonian
  4. D Hittite

Correct answer: Babylonian

The Code of Hammurabi was created in ancient Babylon under King Hammurabi's reign in the 18th century BCE. Babylon was the dominant Mesopotamian civilization of his era.

Question 4 of 20 Medium

On what material was the Code of Hammurabi famously inscribed?

  1. A Papyrus rolls
  2. B Clay tablets
  3. C Stone stele
  4. D Bronze sheets

Correct answer: Stone stele

The Code of Hammurabi was carved onto a large basalt stone stele nearly 2.25 metres tall. Its durable stone medium kept the laws publicly visible and preserved for nearly four thousand years.

Question 5 of 20 Medium

Which principle best summarizes the legal philosophy of the Code of Hammurabi?

  1. A Complete equality under the law for all citizens
  2. B Verdict determined by trial of one's peers
  3. C Presumption of innocence until proven guilty
  4. D Lex talionis (law of retaliation)

Correct answer: Lex talionis (law of retaliation)

The Code is known for the principle of lex talionis — punishment should mirror the offense. This idea is often summarized as 'an eye for an eye, a tooth for a tooth.'

Question 6 of 20 Medium

How did the Code of Hammurabi treat people of different social classes?

  1. A All citizens were punished equally regardless of rank
  2. B Punishments varied by social status
  3. C Only nobles and priests faced legal penalties
  4. D Slaves were fully exempt from legal proceedings

Correct answer: Punishments varied by social status

The Code assigned different punishments depending on whether a person was a free citizen, commoner, or slave. This tiered system reflected the deeply hierarchical nature of Babylonian society.

Question 7 of 20 Medium

Which social group received the harshest penalties under the Code of Hammurabi?

  1. A Temple priests
  2. B Merchants and traders
  3. C Ruling nobles
  4. D Slaves

Correct answer: Slaves

Slaves received the harshest penalties under the Code. The law clearly valued lives differently based on social rank, with enslaved people afforded the fewest protections and the most severe punishments.

Question 8 of 20 Medium

What role did the gods play in the Code of Hammurabi?

  1. A The gods had no role in the legal system
  2. B The gods were the ultimate source of the laws
  3. C The gods enforced laws through priests directly
  4. D The gods openly opposed the king's authority

Correct answer: The gods were the ultimate source of the laws

Hammurabi claimed the laws were given to him by the sun-god Shamash. This divine mandate legitimised both the legal code and his royal authority over Babylon.

Question 9 of 20 Medium

Which type of legal case is extensively covered in the Code of Hammurabi?

  1. A Maritime shipping law only
  2. B Criminal and civil disputes
  3. C Foreign treaties and alliances
  4. D Temple ceremonies

Correct answer: Criminal and civil disputes

The Code covers theft, bodily injury, family matters, and commercial contracts — spanning both criminal and civil matters. This breadth made it a comprehensive legal reference for the empire.

Question 10 of 20 Medium

What does the Code of Hammurabi reveal about Babylonian society?

  1. A It was completely democratic in structure
  2. B It placed individual freedom above all else
  3. C It was highly stratified and patriarchal
  4. D It rejected written authority in favour of tradition

Correct answer: It was highly stratified and patriarchal

The Code reflects a hierarchical, patriarchal society with clear class distinctions. Laws frequently favoured male heads of household and the elite over commoners, women, and slaves.

Question 11 of 20 Medium

How were judges expected to behave according to the Code of Hammurabi?

  1. A They could alter laws at their discretion
  2. B They were fully immune from any punishment
  3. C They were punished for unjust decisions
  4. D They held lifetime appointments with no review

Correct answer: They were punished for unjust decisions

Judges who delivered incorrect or unjust rulings could be fined or removed from office. This accountability clause helped enforce consistency and fairness within the legal system.

Question 12 of 20 Medium

Which area of daily life was regulated by the Code of Hammurabi?

  1. A Marriage and family
  2. B Public games and entertainment events
  3. C Artistic and literary expression
  4. D Natural philosophy and early science

Correct answer: Marriage and family

The Code included detailed laws on marriage, divorce, inheritance, and parental responsibilities. These rules were central to maintaining social order in Babylonian households.

Question 13 of 20 Medium

What was a key innovation of the Code of Hammurabi compared to earlier laws?

  1. A It was the very first legal code in history
  2. B It was written down and publicly displayed
  3. C It abolished distinctions between social classes
  4. D It removed all religious influence from governance

Correct answer: It was written down and publicly displayed

While not the very first law code, the Code of Hammurabi was among the earliest to be written down and publicly displayed on a large stele. This promoted transparency and consistent application of the law.

Question 14 of 20 Medium

How did the Code of Hammurabi address economic transactions?

  1. A By outlawing all commercial trade
  2. B By setting every price as a fixed state rate
  3. C By regulating contracts and wages
  4. D By mandating barter over monetary exchange

Correct answer: By regulating contracts and wages

The Code regulated commercial contracts, loans, wages, and debts. These provisions supported economic stability and built trust between merchants and customers across the empire.

Question 15 of 20 Medium

What consequence did builders face if a house collapsed and killed the owner?

  1. A A heavy monetary fine
  2. B Imprisonment for a fixed term
  3. C Execution of the builder
  4. D Banishment from the city

Correct answer: Execution of the builder

Under the Code, if a builder's negligence caused a house to collapse and kill the owner, the builder was put to death. This strict application of personal responsibility underpinned Hammurabi's concept of proportional justice.

Question 16 of 20 Medium

Which statement best describes justice under the Code of Hammurabi?

  1. A Focused on rehabilitation of offenders
  2. B Based on equal treatment for all citizens
  3. C Centered on deterrence and retribution
  4. D Administered by elected local councils

Correct answer: Centered on deterrence and retribution

Justice under the Code emphasised deterrence and proportional punishment. Harsh penalties for offences were intended to discourage future wrongdoing throughout the empire.

Question 17 of 20 Medium

Why was the Code of Hammurabi important for royal authority?

  1. A It placed strict limits on the king's power
  2. B It gave ordinary citizens the right to vote
  3. C It reinforced the king as lawgiver
  4. D It transferred judicial power to the priesthood

Correct answer: It reinforced the king as lawgiver

By presenting himself as the lawgiver chosen by the gods, Hammurabi elevated royal authority. The Code directly linked justice to the king, making him the ultimate arbiter of right and wrong.

Question 18 of 20 Medium

Which group was most protected by property laws in the Code of Hammurabi?

  1. A Freeborn women
  2. B Enslaved workers
  3. C Landowning elites
  4. D Foreign merchants

Correct answer: Landowning elites

Property laws in the Code strongly protected landowners and the elite class. This focus reflects the economic and social priorities of Babylonian society, where land ownership was the primary source of wealth and power.

Question 19 of 20 Medium

What language was the Code of Hammurabi written in?

  1. A Old Sumerian
  2. B Akkadian
  3. C Hebrew
  4. D Aramaic

Correct answer: Akkadian

The Code was written in Akkadian, the common administrative language of Babylon and wider Mesopotamia. Writing the laws in Akkadian made them accessible to officials and educated elites across the empire.

Question 20 of 20 Medium

What is the historical significance of the Code of Hammurabi?

  1. A It introduced democratic governance to Mesopotamia
  2. B It is one of the earliest written legal codes
  3. C It permanently eliminated social class distinctions
  4. D It replaced religious authority with secular rule

Correct answer: It is one of the earliest written legal codes

The Code of Hammurabi is historically significant as one of the earliest and most complete written legal codes to survive. It influenced later legal traditions across the ancient Near East and shaped enduring concepts of justice and written law.

0 / 20 answered