Which European colonial power took control of Malaya and built the port at Singapore? 

A. Spain
B. The United Kingdom
C. Netherlands
D. Portugal

B?

yes

The United Kingdom is right.

Yes, you are correct. The United Kingdom is the European colonial power that took control of Malaya and built the port at Singapore. To arrive at this answer, we can eliminate options A, C, and D to narrow down the possibilities. Spain and Portugal did have colonial territories in Southeast Asia, but they did not hold control of Malaya or Singapore. The Netherlands had a significant colonial presence in the region, but they did not establish control over Singapore or Malaya. Therefore, the correct answer is B, the United Kingdom. They acquired control through the founding of the East India Company and gradually expanded their influence in the area, culminating in the establishment of Singapore as a major trading port.