All topics
File I/O
5 problems · 5 with online autotest
2020T2 Q6 · Count the valid ASCII bytes in a file
EasyC10 marks
2020T3 Q5 · Copy a file but drop the last n bytes
MediumC9 marks
2020T3 Q6 · Count the total set bits in a file
MediumC9 marks
2022T2 Q5 · Print the first n bytes, or all but the last |n| bytes
MediumC10 marks
2022T3 Q6 · Delete the n-th line of a file
MediumC10 marks