Answer:
a. [tex]9^{8}[/tex]
b. [tex]9^{5}[/tex]
Explanation:
Part a
In part a since all the eight digits for the code is to be filled using numbers between 1 and 9. Therefore one digit can have 9 different values, and since there are total 8 digits to be filled.
Therefore total number of different code available for the region will be [tex]9^{8}[/tex] .
Part b
In part b out of eight digits three digits have fixed values i.e. 113. Thus in total there are 5 digits to be filled where each digit can take 9 different value. Therefore, in a region where first three digits of eight digit code are fixed, total number of codes that can exists will be [tex]9^{5}[/tex].