This study source was downloaded by 100000859819779 from CourseHero.com on 02-04-2023 14:45:23 GMT -06:00https://www.coursehero.com/file/181997316/Sample-Solution-Practice-Finalpdf/ Sample Solution | Practice Final | COSC1336 | Fall22 Practice Final Part - A [These are sample solutions for some of the questions in the sample final. Not all students would have got these specific questions, but the alternate questions are similar in nature] Question -01 You are given that a variable aDict is a dictionary, variable aList is a list, variable aString, is a string, and variable anInt is an integer. Each one of them has been given a valid value. You can assume that aDict, aList and aString have at least one element in them Match the statements that are correct and have no error, those that MAY cause an error (depending on the values in the variables), and those that WILL cause an error. As an example: x = anInt / 2 # is correct and will not cause an error x = 2 / anInt # may cause an error if the value in anInt is zero (0). x = anInt / 0 # will cause an error (division by zero). Answer Match Question Items Answer Items A. - x = aList[0]