Do I need to pass my theory test before sitting my driving test?

Yes, as a driving test cannot be booked until the theory test has been passed.