NotesB.Sc IT (AI)Python & Math for AI
Year 1 · Semester 1

Python & Math for AI Notes

Program:B.Sc IT (AI)
Semester:Semester 1
Hours:15
Units:7 Units

Subject Overview

The opening semester of Year 1 (Foundations), aimed at becoming productive in Python and comfortable with the mathematical language of machine learning. Five modules of 4 hours each take you from variables and control flow through the scientific Python stack to the linear algebra, calculus and probability that the rest of the programme assumes. Year 1 as a whole builds the technical bedrock: programming fluency, the maths you actually need, and the classical ML techniques that still power most real-world systems.

Unit-wise Syllabus

7 units — click WhatsApp below to get the full notes for each

1

Unit 1: Python Essentials (4 hours)

Variables, control flow, functions, data structures, file I/O, exception handling, building muscle memory in the editor

2

Unit 2: Pythonic Code & OOP (4 hours)

List comprehensions, generators, decorators, classes, modules, virtual environments (venv, uv), packaging basics

3

Unit 3: Scientific Python Stack (4 hours)

NumPy arrays and broadcasting, Pandas DataFrames, Matplotlib and Seaborn for visualization

4

Unit 4: Linear Algebra for ML (4 hours)

Vectors, matrices, dot products, matrix multiplication, eigenvalues, the intuition behind embeddings

5

Unit 5: Calculus & Probability (4 hours)

Derivatives, gradients, the chain rule, probability distributions, Bayes' theorem, expectation

6

Unit 6: Tools introduced

VS Code or Cursor as primary editor, Git and GitHub (branches, PRs, basic collaboration), Jupyter notebooks and Google Colab, GitHub Copilot for inline suggestions — learning when to accept versus reject

7

Unit 7: Mini-projects

CLI expense tracker with file persistence, stock price analyzer using NumPy/Pandas on a real CSV, a tiny linear regression solver built from scratch with no libraries

Want the Complete Notes & Past Papers?

WhatsApp us and we'll send you the full notes, question banks, and previous year papers for Python & Math for AI.