Computer Science (2024-25) CLASS XII Code No. 083 Unit 1: Computational Thinking and Programming – 2 ● Revision of Python topics covered in Class XI. ● Functions: types of function (built-in functions, functions defined in module, user defined functions), creating user defined function, arguments and parameters, default parameters, positional parameters, function returning value(s), flow of execution, scope of a variable (global scope, local scope) ● Exception Handling: Introduction, handling exceptions using try-except-finally blocks ● Introduction to files, types of files (Text file, Binary file, CSV file), relative and absolute paths Text file: opening a text file, text file open modes (r, r+, w, w+, a, a+), closing a text file, opening a file using with clause, writing/appending data to a text file using write() and writelines(), reading from a text file using read(), readline() and readlines(), seek and tell methods, manipulation of data in a te...
Study Smarter, Not Harder! Welcome to our blog, where we share concise and helpful notes on various subjects, including [Computer Science, Science, programming, etc.]. Our goal is to make learning easier and more efficient for students.