Well think of it like this lets say this wasn't and security system and it was a video game console and remote.
Now the console or keypad or the main components the power on or shut off the devices and the remote or sensors are the secondary parts but they are needed to help the console or keypad figure out what they are doing.
Answer:
int state[] = new int[8];
Answer:
The answer is "except IOError:"
Explanation:
It is part of the exception handling, that stands for input/ output operation fails, this exception aeries when we attempting to access an anti-existent file, in the program so, it will give the program related errors.
- This type of error is handled in the try block, it also allows you to prepare the deal with the exceptional block.
- It also helps you to hide the bugs by using code, if you handle an unexpected error.