Save this video free

COMP 3200 - Intro to Artificial Intelligence - Lecture 04 - Assignment 1

Dave Churchill · 1:20:39 · Watch on YouTube

Part of Memorial University of Newfoundland COMP 3200. See all 21 lectures and search them

These notes were made with YouTube Collector. Paste any YouTube link and get the same: a summary, chapters and a searchable transcript.

Overview

Dave Churchill explains COMP 3200 Assignment 1: implement breadth-first search (BFS) and depth-first search (DFS) for pathfinding on a JavaScript grid, while learning the HTML-based assignment framework used throughout the term. He details the grid and node representations, search functions, debugging tools, interface visualizations, test expectations, and submission rules; COMP 6980 and IDFS material is explicitly out of scope for undergraduates.

Key takeaways

Chapters

0:00 Assignment 1 Scope: BFS, DFS, and Ignoring IDFS
3:03 Partner Work, Deadlines, and Optional Speed Certificates
6:48 JavaScript Basics and Building Code Incrementally
9:35 JavaScript Scope, Array Equality, and Debugging Pitfalls
15:27 Console Logging and Inspecting the Grid Interface
19:21 Grid States, Coordinates, and Color-Based Movement Rules
23:18 Action Vectors, Legal Moves, and Assignment 1 Costs
27:52 Failure Costs and Reconstructing Paths from Parent Pointers
32:45 Node Data and the Interface's Search Loop
37:09 BFS and DFS: Queue-versus-Stack Selection
43:36 Choosing Maps and Algorithms in the Assignment Interface
47:43 Single-Step Search, Animation, and DFS Backtracking
51:47 Test Tables, Runtime Measurements, and Performance Expectations
58:09 Assignment Files and the Environment Helper
1:03:48 Student Search Class and Separating Data Storage from Logic
1:10:12 Implementing Search Functions and Interface State Reporting

Keep these chapters and the full searchable transcript in your own library.

Transcript excerpt

0:00 So today we're going to be talking about assignment one. And just a quick note before I get started is at some point during the slides, you're going to see um comp 6980 being mentioned. That's essentially the graduate version of this course. And um the assignment for the graduate version of this course is to implement IDFS. We will not be doing that. So at any time in any of the instructions, any of the lectures, in any of the assignment files, if you see 6980 or you see IDFS, just completely ignore it. Um it's much easier for me to just say that than it is to create two different versions of all the lecture notes and all the assignments and stuff like that. Okay? So please just ignore everything 6980 or IDFS in in any of these slides.

0:47 And uh yep, we'll be doing assignment one. And uh keep in mind that throughout this lecture, you're going to be getting a ton of information because the first assignment um conceptually is going to be by far the easiest assignment. It's just BFS and DFS. But most of this information is sort of introducing the framework for the assignments that we'll be using for the rest of the term. So how to set up and use it, what all the different files mean, etc. That's going to take up the majority of this lecture. Um, but assignment two is basically going to be the exact same thing with a different algorithm. Okay? So, um, don't worry, not every assignment is going to be this complicated in terms of the lecture, but I do need to spend some time setting it all up so we know what's coming in the future. So, assignment one is going to be all about getting used to

This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.

In this course

Related notes

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Dave Churchill.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.