CSE302 / Python

Syllabus

Resources

M1: Introduction of Python
  • Introduction to Python

    • History of Python

    • Features of Python Programming

    • Applications of Python

    • Use of Python in various domains

    • Installation and running Python on Windows/Linux

  • Basic Syntax and Structure

    • Keywords and Identifiers

    • Statements and Comments

    • Python Variables

    • Python Data Types

    • Python Type Conversion

    • Python I/O and Import

    • Python Operators

    • Python Namespace

  • Control Flow and Looping

    • If-else Statements

    • Python for Loop

    • while Loop

    • Break and Continue Statements

  • Data Structures and Manipulation

    • String Manipulation

    • Lists, Tuples, and Dictionaries

    • Pass Statement

    • Looping Techniques (e.g., List comprehensions, etc.)

  • Functions in Python

    • Functions and Function Arguments

    • Recursion

    • Anonymous Functions (Lambda functions)

    • Python Global, Local, and Nonlocal variables

M2: Object and Class
  • Python Modules and Packages

    • Python Modules

    • Python Packages

  • File Operations and Directory Handling

    • File Operations (Reading, Writing, etc.)

    • Python Directory Operations

  • Exception Handling

    • Python Exception Handling

    • User-defined Exceptions

  • Object-Oriented Programming (OOP) Concepts

    • Classes and Objects in Python

    • Inheritance

      • Single Inheritance

      • Multiple Inheritance

    • Operator Overloading

M3: Regular Expression, CGI and DB
  • Regular Expressions in Python

    • match() function

    • search() function

    • Matching vs. Searching

    • Modifiers in Regular Expressions

    • Patterns in Regular Expressions

  • CGI (Common Gateway Interface) Programming

    • Introduction to CGI

    • CGI Architecture

    • CGI Environment Variables

    • GET/POST Methods in CGI

    • Working with Cookies

    • File Uploads using CGI

  • Database Programming in Python

    • Introduction to Databases

    • Database Connections in Python

    • Executing SQL Queries

    • Transactions in Databases

    • Handling Database Errors

M4: GUI Programming
  • GUI Programming with Tkinter

    • Tkinter Overview

    • Tkinter Widgets (e.g., Buttons, Labels, Entry fields, etc.)

    • Standard Attributes of Widgets

  • CGI Programming

    • Introduction to CGI Programming (basic concepts)

  • Web Frameworks: Django

    • Introduction to Django Web Framework

    • Application Lifecycle in Django

    • Creating a Django Project

    • Django Admin Interface

    • Creating Views in Django

    • URL Mapping in Django

    • Template System in Django

    • Creating Database Models in Django

    • Interfacing Databases with Django (e.g., PostgreSQL)

    • Page Redirection in Django

    • Form Processing in Django

Notes

[⤓] CSE302 Python Top Topics for EndSem

[⤓] CSE302 Python Q-Bank Solutions

Question Directory

Previous Year Questions

[⤓] Midsem-CSE302-Y2S3-BTECH-CSE-IT-OCT24

[⤓] CSE302-PYQ-BTECH-CSE-IT-Sem3Jan23

[⤓] CSE302-PYQ-BTECH-CSE-IT-Sem3Dec23

[⤓] CSE302-PYQ-BTECH-CSE-IT-Sem3Dec24

BackPaper

[⤓] CSE302-PYQ-BackQPaper-BTECH-CSE-IT-Sem3Dec24

External Sources

Complete Notes on Every Concept
Practice Code Programs in Python

Get Credited for sharing your Knowledge Source with your Peer
Submit Queries/Feedbacks/Suggestions/Complaints using this Form

Last updated

Was this helpful?