An exam paper consists of 5 problems, each problem having 3 internal choices. In how many ways can a candidate attempt one or more problems?	Pick one
A) 1020  B) 1023  C) 1030  D) 1054  E) 1060
Given that, the question paper consists of five problems. For each problem, one or two or three or none of the choices can be attempted.   Hence, the required number of ways = 45 - 1.   = 210 - 1 = 1024 - 1= 
<gadget id="calculator">1024 - 1</gadget>
<output>1_023</output>
1023   1023
<result>B</result>
An exam paper consists of 5 problems, each problem having 3 internal choices. In how many ways can a candidate attempt one or more problems?