Minor COL 100
Minor COL 100
Student
Tanvi Mathur
Total Points
23.5 / 40 pts
Question 1
1 2 / 2 pts
+ 0 pts Incorrect or not attempted
Question 2
2 Resolved 2.5 / 4 pts
− 0 pts Correct
Blank 1: ([], [], [], [], [], [], [], [], [], [], [])
Blank 2: 1
Blank 3: int(mark)
Blank 4: s[0]
For the first blank, I have mentioned H=([None]*11), which works on Python IDLE
+ 1 pt Only few cases covered, algorithm doesn't always produce correct answer.
Question 4
4 2 / 4 pts
+ 1.5 pts For the first output line:
L01 is equal to (aliased to) L02, and [1, dgt, [1,dgt]]
− 0.5 pts For the first output line correct value is not appended.
+ 0.5 pts For the second output line: L1 is updated correctly: [1, dgt,[1,dgt]]
Question 5
5 3 / 5 pts
+ 5 pts (1.5 marks)Part a: 3 (1.5 marks)Part b: None or -1 or (2 if
entry number ending 0 )
Part c: NOT( x > 1AN Dy >= 1AN Dx >= y)
(2 mark)Part c: ( x <= 1ORy < 1ORx < y )
+ 0 pts incorrect
Question 6
6 Resolved 2.5 / 4 pts
+ 4 pts All the boxes are correct(Rubriks 2,3,4 and 5 are incorporated)
+ 0 pts Incorrect
For the bottom-right blank (dgt=8), I have written 9 8 9^16 {(dgt+1)^2dgt}, since I thought
print(a, b) will be included in the final call.
If you had the correct understanding of python's interpreter executes code you would have
given the correct answer. Sorry, can't give marks.
Question 7
7 0 / 5 pts
− 1 pt Early return can only be False if more ')' found than '(' so far.
− 0 pts Correct
Question 8
8 2 / 6 pts
− 0 pts Correct
− 1 pt Partially Correct
− 2 pts Incorrect
− 0.5 pts Partially Correct - One or more overlap cases not checked
− 0.5 pts Partially correct, does not cover all the cases, excluding the overlap cases.
− 0.5 pts Partially Correct, did not give the definition of one or more functions.