Artificial Intelligence (AI) is a computer program which is capable of performing a task which requires intelligence. This task is usually something which a human or an intelligent animal can accomplish, such as learning, planning, problem-solving, etc. It is the endeavour to replicate or simulate human intelligence in machines.AI can provide just-in-time assessment by leveraging learning analytics and data to find changes in confidence and motivation levels in individual students.