COMP338: Artificial Intelligence

First Semester 2026/2027
Hisham Ihshaish
Department of Computer Science, Birzeit University
Book your final presentation slot Please book as early as possible: this is one shared calendar booked across three courses (AI, Software Engineering and HCI), so slots fill up fast. Wednesday and Thursday are on campus (Masri 320); Friday and Saturday are online on MS Teams with your camera on. Open booking →

Quizzes & Exams

Tutorial 1: Problem formulation & uninformed search (solve and submit online)

An exercise in two parts. Part A is Quiz #1 of 2025/26 (Second Semester); Part B has previous midterm questions on the same material (a second problem formulation, and BFS / DFS / UCS on a directed graph). Type your answers, check the search answers as you go, and submit. Model answers unlock after you submit with at least 20 of the 26 answers filled in.

Open Tutorial 1

Part I: Problem Solving by Search

Lecture material by Prof. Mustafa Jarrar (Birzeit University). Lectures 3 to 6 have revised slides for this semester, built on his notes, with his version linked beside each. Open each lecture's slides below; the chapters marked companion are expanded into interactive, worked walkthroughs on this site. Full course: jarrar.info/courses/AI.

1 Introduction to Artificial Intelligence Slides
2 Intelligent Agents Slides
3 Uninformed Search Algorithms Slides Jarrar's version Companion
4 Informed Heuristic Search Algorithms Slides, part 1 Slides, part 2 Jarrar's version Companion
5 Local Search Algorithms Slides Jarrar's version Companion
6 Games and Adversarial Search Slides Jarrar's version Lecture deck Companion

Part II: Machine Learning

Lecture slides for this block are posted here for direct access. The block follows the structure of Prof. Mustafa Jarrar's AI course; his reference slides are linked alongside each lecture where available. Full course: jarrar.info/courses/AI.

7 Introduction to Machine Learning Slides Jarrar's version
8 Accuracy & Evaluation Measures Slides
9 Decision Trees Slides Jarrar's version
10 Linear Regression Slides Jarrar's version

Part III: Natural Language Processing

Lecture material by Prof. Mustafa Jarrar (Birzeit University). Open each lecture's slides below. Full course: jarrar.info/courses/AI.

11 Introduction to Natural Language Processing Slides
12 Probabilistic Language Modeling — N-grams Slides

Study Companions

Problem Formulation and Search Algorithms

An interactive walkthrough of how AI problems are formulated as search: states, actions, goal tests, and path costs, followed by uninformed and informed search algorithms with worked examples. Covers chapters 2 to 4 of the course (problem-solving agents, uninformed search, informed search, local search) plus memory-bounded heuristic search.

Open companion

Games and Adversarial Search

An interactive walkthrough of Chapter 5: game trees, minimax, and alpha–beta pruning, with a step-through tree visualiser (minimax and alpha–beta on the same tree, with live α/β windows and pruning), a move-ordering efficiency demo, an evaluation-function calculator, and a tic-tac-toe board you can play against an unbeatable minimax opponent. Includes Jarrar's exercise tree.

Open companion