JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD

PYTHON PROGRAMMING

MCA I Year I Semester (R22)

Prerequisites:

  • 1. Requires analytical skills and logical reasoning.

Course Objectives:

  • 1. To learn syntax and semantics and create functions in Python.
  • 2. To handle strings and files in Python.
  • 3. To understand lists, dictionaries and regular expressions in Python.
  • 4. To implement object-oriented programming concepts in Python.
  • 5. To build web services and introduce network and database programming in Python.

Course Outcomes:

  • 1. Demonstrate proficiency in handling Strings and File Systems.
  • 2. Create, run and manipulate Python programs using core data structures like Lists, Dictionaries and use Regular Expressions.
  • 3. Interpret the concepts of GUI Programming as used in Python.
  • 4. Implement applications related to Network Programming, Web Services and Databases in Python.

UNIT - I

Python Basics, Objects- Python Objects, Standard Types, Other Built-in Types, Internal Types, Standard Type Operators, Standard Type Built-in Functions, Categorizing the Standard Types, Unsupported Types Numbers - Introduction to Numbers, Integers, Floating Point Real Numbers, Complex Numbers, Operators, Built- in Functions, Related Modules Sequences - Strings, Lists, and Tuples, Mapping and Set Types

UNIT - II

Files: File Objects, File Built-in Function, File Built-in Methods, File Built-in Attributes, Standard Files, Command- line Arguments, File System, File Execution, Persistent Storage Modules, Related Modules Exceptions: Exceptions in Python, Detecting and Handling Exceptions, Context Management, Exceptions as Strings, Raising Exceptions, Assertions, Standard Exceptions, Creating Exceptions, Exceptions and the sys Module, Related Modules, Modules and Files, Namespaces, Importing Modules, Importing Module Attributes, Module Built-in Functions, Packages, Other Features of Modules

UNIT - III

Regular Expressions: Introduction, Special Symbols and Characters, Res and Python Multithreaded Programming: Introduction, Threads and Processes, Python, Threads, and the Global Interpreter Lock, Thread Module, Threading Module, Related Modules

UNIT - IV

GUI Programming: Introduction, Tkinter and Python Programming, Brief Tour of Other GUIs, Related Modules and Other GUIs Web Programming: Introduction, WebSurfing with Python, Creating Simple Web Clients, Advanced Web Clients, CGI-Helping Servers Process Client Data, Building CGI Application, Advanced CGI, Web (HTTP) Servers

UNIT - V

Database Programming: Introduction, Python Database Application Programmer’s Interface (DB-API), Object Relational Managers (ORMs), Related Modules

TEXT BOOK:

  • 1. Core Python Programming, Wesley J. Chun, Second Edition, Pearson.

REFERENCES:

  • 1. Python for Programmers, Paul Deitel, Harvey Deitel, Pearson.
  • 2. Think Python, Allen Downey, Green Tea Press
  • 3. Introduction to Python, Kenneth A. Lambert, Cengage
  • 4. Python Programming: A Modern Approach, Vamsi Kurama, Pearson
  • 5. Learning Python, Mark Lutz, O’Reilly

Loading Question Papers

Fetching data from database...