LambdaLabTM
Artificial Intelligence · Class 10 · Part C · Practical File
Practical File15 marks⏱️ 6 min read

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

1Aim

The question, written as the first line of the page.

2Program

The code, written neatly — every line, with a comment where it helps.

3Output

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.

Watch Out
These programs are for reference and self-learning. Type each one yourself, run it, and copy your own output into the file. Change something — the marks, the points, the sentences — so the program is yours. In the viva you will be asked what each line does, and every program page here has those questions.

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.ProgramTopicSource
1Add the Elements of Two ListsPython & NumPycurriculum
2Mean, Median and Mode with NumPyPython & NumPycurriculum
3Variance, Standard Deviation and OutliersPython & NumPyhandbook
4A Line Chart from (2, 5) to (9, 10)Charts with Matplotlibcurriculum
5A Scatter Chart of Five PointsCharts with Matplotlibcurriculum
6Read a CSV File and Display 10 RowsData with pandascurriculum
7Read a CSV File and Display Its InformationData with pandascurriculum
8Read an Image and Display ItComputer Visioncurriculum
9Read an Image and Identify Its ShapeComputer Visioncurriculum
10Grayscale and RGB ImagesComputer Visionhandbook
11The Convolution OperatorComputer Visionhandbook
12Text NormalisationNatural Language Processinghandbook
13Bag of WordsNatural Language Processinghandbook
14TFIDFNatural Language Processinghandbook
15Confusion Matrix and Evaluation MetricsEvaluationhandbook