Foreigners wanting to settle in Britain will be tested on their knowledge of British history and customs from next year.
From April, applicants will be expected to answer questions on subjects ranging from Queen Elizabeth, to regional dialects in the 45-minute Life in the UK test already taken by those applying to become British citizens.
The government said the test helps integrate migrants into British society.
Liam Byrne, the immigration minister, said in a statement: "It is essential that migrants wishing to live in the UK permanently recognise that there are responsibilities that go with this."
Applicants will also be expected to demonstrate a knowledge of English.
As well as questions on the workings of government, the test expects applicants to know details of British history and a wealth of statistical data.
Newspapers lampooned the test when it was introduced for those applying to be citizens last year, pointing out that most people who have always lived in Britain would have difficulty answering the questions correctly.
Sample questions include:
"Name three countries that Jewish people immigrated from to escape persecution during the period 1880-1910?" The answer is Belarus, Poland and Ukraine.
"What's the distance between the north coast of Scotland to south coast of England?" Answer: About 600 miles (1,000km).
"If you were the first visitor of the new year to a Scottish home, what might you be expected to bring?" Answer: Coal, bread and whisky to ensure prosperity.