1. A line of code reads print('Hello with a missing closing bracket and quote. What type of error is this?
No error at all, the line will run correctly
A syntax error
A runtime error
A logic error
2. A program divides the number of cakes by the number of people. It is run with 20 cakes and 0 people. Which type of error occurs?
A logic error
A runtime error
No error, the program outputs zero
A syntax error