Syllabus Programming and Problem Solving (PCC-151-ITT) Credit Examination Scheme 02 CCE : 30 Marks 02 End-Semester : 70 Marks Term Work : 25 Marks Unit I Problem Solving, Programming and Python Programming General Problem Solving Concepts - Problem solving in everyday life, types of problems, problem solving with computers, difficulties with problem solving, problem solving aspects, top down design. Problem Solving Strategies. Basics of Python Programming : Features of Python, History and Future of Python, Programming Paradigm, Features of Object Oriented Programming, Applications of Python Languages. (Chapter - 1) Unit II Advance Data Types and Decision Control Statements Advance data types - Tuples, Lists, Sets and Dictionary. Decision Control Statements : Decision control statements, Selection/conditional branching. Statements : if, if-else, nested if, if-elif-else statements. Basic loop Structures/Iterative Statements, while loop, for loop, selecting appropriate loop. Nested loops, The break, continue, pass, else statement used with loops. (Chapter - 2) Unit III Functions and Strings Need for functions, Function : definition, call, variable scope and lifetime, the return statement. Defining functions, Lambda or anonymous function, documentation string, good programming practices. Introduction to modules, Introduction to packages in Python, Introduction to standard library modules. Strings and Operations- concatenation, appending, multiplication and slicing. Strings are immutable, strings formatting operator, built in string methods and functions. Slice operation, ord() and chr() functions, in and not in operators, comparing strings, Iterating strings, the string module. (Chapter - 3) Unit IV File Handling and Dictionaries Files : Introduction, File path, Types of files, Opening and Closing files, Reading and Writing files. File Positions, Renaming and deleting files. Directory Methods, Dictionaries creating, assessing, adding and updating values. Case Study : Study design, features, and use of any recent, popular and efficient system developed using Python. (This topic is to be excluded for theory examination). (Chapter - 4) Unit V Object Oriented Programming Structured and object oriented : Features of Object oriented programming-classes, objects, methods and message passing, inheritance, polymorphism, containership, reusability, delegation, data abstraction and encapsulation. Classes and Objects : classes and objects, class method and self-argument, __init__() method, class variables and object variables, __del__() method, public and private members, Built in function to check, Get, Set and Delete class attribute, Garbage collection, class methods, Static Method. (Chapter - 5)