Please watch the video below to see what to expect on the actual theory test. The books are recommendations to help you learn for the theory test. For the Hazard perception part, the best way is to use a DVD with clips on or use one of the online services like theory test pro

Books to help you learn are
Highway Code
Know Your Traffic Signs
Driving the essential skills

Bellow are sources that I have found on the internet, they are links to other sites, I have no control over their content and working, but I will check them, or any problems let me know and I will remove the link or update the link.
Highway Code (Online one)
Know Your Traffic Signs (download as a PDF (size 5.11MB))
Driving the essential skills (Link yo purchase)