(a) Which line in the above code check for capital letter?
(b) Which line in the above code read the file “story. txt”?
(c) Which line in the above code does not affect the execution of program?
(d) Which line is the above code coverts capital letter to small letter?
(e) Which line is the above code opens the file in write mode?
(f) Which line is the above code saves the data?
(g) Which line(s) is/are the part of selection statement.
(h) Which line(s) is/are used to close story1.txt?
| (a) Line 6 | (e) Line 2 |
| (b) Line 4 | (f) Line 13 |
| (c) Line 10 | (g) Line 6, Line 8 and Line 11 |
| (d) Line 7 | (h) Line 15 |