Worth pointing at that there isn't a single legal system in the UK - Scotland's system is quite different at all levels from England & Wales (I have no idea about NI).
In Scotland it is 4 years for an LLB (or 2 if you already have another degree), 1 year legal practice and 2 years traineeship - but there is no "final exam". Trainees can start appearing in court at a low level after 1 year. Fully qualified solicitors can appear in Sheriff Court. More serious stuff is dealt with in the Court of Session (civil) and High Court (criminal) - where you need to be an Advocate to appear - the Scots equivalent of barristers. You can be dual qualified as a solicitor and an advocate, although this is fairly rare. Advocates can't represent clients directly, only act on the instructions of solicitors, and solicitors can't appear in the higher courts.
Qualifying as an advocate requires passing exams and then doing a period of devilling to qualified advocates (usually senior non-QCs) - during this time you are an "Advocates Devil" ;-)