KwickCards Exams and revision
Three silly mistakes. Find them.

AVOID EASY LOSSES
Spot the silly mistakes
Three silly mistakes. Find them.
for i in range(5)
if i = 3
print(i)Most lost marks in Computer Science are not from hard questions.
They slip away in tiny things: a missing colon, a wrong operator, an unclosed quote. The good news is that silly mistakes are a habit, and habits can be changed.
After every test, make a 'my mistakes' list. Read it before the next paper. Watch how quickly it shrinks.
In Kwickprep classes, common slips are pointed out the moment they happen, so they are fixed long before the board paper instead of repeated in it.
Answer: three mistakes. A missing colon after range(5), a missing colon after the if, and = instead of == in the condition.
More Exams and revision cards
Which of these is a mutable data type?
s = "PYTHON": what is s[1:-1:2]?
Which binary mode reads and writes without erasing the file?
L = [10,20,30,40]: what is L[-3:3]?
Which exception does this code raise?
LIFOWritten by Kajal Mehta (Kajal Ma'am), MCA, teaching computer subjects since 2004. All KwickCards · KwickAcademy

