All lessons · Guided routes

Assessment · Stage 12

Python for AI, in Depth: module assessment

Questions from the 8 lessons of this module, at every level, with the working shown after each answer.

Lessons covered: NumPy: Arrays and Vectorised Maths, pandas for ML Data Preparation, scikit-learn: Pipelines, Cross-Validation, and Honest Evaluation, PyTorch: Tensors, Autograd, and the Training Loop, Hugging Face Transformers and Tokenizers, Calling LLM APIs from Python, Building RAG in Python, Step by Step, Serving Models from Python with FastAPI.

Each attempt draws new questions: authored questions, questions built from each lesson's scenarios, failure modes, and lab, and calculations with fresh numbers. Choose the level and the length; your results stay in this browser. Answers and explanations appear after you submit each one.

Loading questions… (this page needs JavaScript)

All assessments · Guided routes · All lessons