You do not need to know NEC inside out for the test. You should be familiar with main aspects (ampacity tables, voltage drop, grounding, breaker sizing etc) and should know where to look for the information. Handbook has colored graphics/explanation etc, hardcover/bulky while code is paperback...