Answer:
The correct option is 1 as the overflow error has occurred
Explanation:
As the program uses 3 bits to represent integers thus the range of the maximum value that the program can store is given as
[tex]2^2+2^1+2^0=4+2+1=7[/tex]
So when the two numbers in decimal base 10 are added as 3 and 5 the resultant is given as
[tex]3=(011)_2\\5=(101)_2\\\_\_\_\_\_\_\_\_\_\_\_\_\\8=(1000)_2[/tex]
This is more than what the 3 bit integer can store thus the overflow error has occurred.