The Practical File
Part C of Artificial Intelligence asks for a practical file with at least 15 programs, worth 15 marks. Here are fifteen: the 8 programs the curriculum itself suggests, and 7 more built on examples from the CBSE AI handbook. Every output was produced by running the program.
1What the curriculum asks
The 2026-27 curriculum gives Part C 50 marks. The practical file is 15 of them, the practical examination another 15, and a viva 5. The practical examination covers Statistical Data, Computer Vision, NLP and Advance Python — the same ground as these programs — so writing the file is also the best preparation for the exam.
The curriculum lists eight suggested programs. All eight are here, marked curriculum. The other seven practise what the CBSE AI handbook teaches — statistics, pixels, convolution, text normalisation, Bag of Words, TFIDF and the confusion matrix — and several reproduce the handbook's own worked examples, so you can check your answers against the book.
2How to set out each program
The question, written as the first line of the page.
The code, written neatly — every line, with a comment where it helps.
What the program printed, and any chart it drew — your own run, not a copy.
Start the file with an index: program number, aim, page number, date, and a column for your teacher's signature. The PDF has that index already laid out, and blank lines for your name, class and school on the cover and certificate.
3Setting up Python
The curriculum's Advance Python unit uses Jupyter Notebook. The simplest way to get it is to install Anaconda, which brings Python, Jupyter, NumPy, pandas and Matplotlib together. The image programs also need OpenCV; open the Anaconda Prompt (or any command prompt) and run:
pip install numpy pandas matplotlib opencv-python
Programs 6 and 7 read penguins.csv, and programs 8 to 11 read photo.jpg. Both come in the zip; keep them in the same folder as the programs.
4The fifteen programs
| No. | Program | Topic | Source |
|---|---|---|---|
| 1 | Add the Elements of Two Lists | Python & NumPy | curriculum |
| 2 | Mean, Median and Mode with NumPy | Python & NumPy | curriculum |
| 3 | Variance, Standard Deviation and Outliers | Python & NumPy | handbook |
| 4 | A Line Chart from (2, 5) to (9, 10) | Charts with Matplotlib | curriculum |
| 5 | A Scatter Chart of Five Points | Charts with Matplotlib | curriculum |
| 6 | Read a CSV File and Display 10 Rows | Data with pandas | curriculum |
| 7 | Read a CSV File and Display Its Information | Data with pandas | curriculum |
| 8 | Read an Image and Display It | Computer Vision | curriculum |
| 9 | Read an Image and Identify Its Shape | Computer Vision | curriculum |
| 10 | Grayscale and RGB Images | Computer Vision | handbook |
| 11 | The Convolution Operator | Computer Vision | handbook |
| 12 | Text Normalisation | Natural Language Processing | handbook |
| 13 | Bag of Words | Natural Language Processing | handbook |
| 14 | TFIDF | Natural Language Processing | handbook |
| 15 | Confusion Matrix and Evaluation Metrics | Evaluation | handbook |