CBSE AI syllabus: all classes Class 10 AI (417) · Unit 7

Class 10 AI Unit 7: Advance Python

10 practical hours · assessed through practicals only

What this unit is about

A practical-only unit. It recaps Python and moves to Jupyter Notebook, virtual environments and installing packages, then uses libraries such as NumPy, Pandas and Matplotlib for the suggested programs: list operations, mean/median/mode, line and scatter charts, reading a CSV file and reading an image.

Learn it with the AI tutor, one minute each

What the unit covers

  • Jupyter Notebook, virtual environments and installing Python packages.
  • Python basics recap: variables, data types, operators, control structures.
  • Built-in functions and libraries.
  • Practical file: at least 15 programs (the practical file carries 15 marks).

Key terms

Jupyter Notebook
A tool for running Python in small cells and seeing output right below each one.
NumPy
A library for fast maths on arrays, used for mean, median and similar.
Pandas
A library for tables; reads CSV files into a DataFrame.
Matplotlib
A library for drawing line, bar and scatter charts.

Exam-style questions

  1. 1. Which library would you use to read a CSV file and show its first 10 rows?

    Show answer →

    Pandas: df = pd.read_csv("file.csv"), then df.head(10).

  2. 2. Why use a virtual environment?

    Show answer →

    It keeps each project's packages and versions separate, so installing one project's libraries cannot break another.

Sources

Unit names, hours and marks checked against the official CBSE 2026-27 curriculum on 1 November 2026. Explanations and questions are written by CogniGuru.