Programming in Python

  

Course Code: UGCA1914 Course Name: Programming in Python

Program: B.Sc. IT                                            L: 3 T: 1 P: 0 Branch: Computer Applications                    Credits: 4 Semester: 3rd                                                  Contact hours: 44 hours Internal max. marks: 40                       Duration of end semester exam (ESE): 3hrs External max. marks: 60                      Elective status: Core Total marks: 100


Unit-I

Introduction to Python Programming Language: Programming Language, History and Origin of Python Language, Features of Python, Limitations, Major Applications of Python, Getting Installing Python, setting up Path and Environment Variables, Running Python, First Python Program, Python Interactive Help Feature, Python differences from other languages.


Python Data Types & Input/Output: Keywords & Identifiers, Python Statement, Indentation, Documentation, Variables, Multiple Assignment, Understanding Data Type, Data Type Conversion, Python Input and Output Functions, Import command.

Operators and Expressions: Operators in Python, Expressions, Precedence, Associativity of Operators, Non-Associative Operators.


Unit-II

Control Structures: Decision making statements, Python loops, Python control statements.

Python Native Data Types: Numbers, Lists, Tuples, Sets, Dictionary, Functions & Methods of Dictionary, Strings (in detail with their methods and operations).


Unit-III

Python Functions: Functions, Advantages of Functions, Built-in Functions, User defined functions, Anonymous functions, Pass by value Vs. Pass by Reference, Recursion, Scope and Lifetime of Variables.


Python Modules: Module definition, Need of modules, Creating a module, Importing module, Path Searching of a Module, Module Reloading, Standard Modules, Python Packages.


Unit-IV

Exception Handling: Exceptions, Built-in exceptions, Exception handling, User defined exceptions in Python.


File Management in Python: Operations on files (opening, modes, attributes, encoding, closing), read() & write() methods, tell() & seek() methods, renaming & deleting files in Python, directories in Python.


Classes and Objects: The concept of OOPS in Python, Designing classes, Creating objects, Accessing attributes, Editing class attributes, Built-in class attributes, Garbage collection, Destroying objects.


Comments

Post a Comment