In general, all exams in my class are open-book exams. It means students may use paper textbooks during exams. But I don't give permission to use in exams of any electronic devices except simple calculators. Students may use PDF versions of the textbook during lectures, laboratory lessons, or at home.