nighthawkcoders / portfolio_2025

Nighthawk Pages 3.0. This is a GitHub Pages project that includes support for Jupyter Notebooks. The project provides a game, lessons and projects to support the teaching of Career Technical Educations and AP courses: Computer Science and Software Engineering (CSSE), Computer Science Principles (CSP), and Computer Science A (CSA).
https://nighthawkcoders.github.io/portfolio_2025/
Apache License 2.0
0 stars 82 forks source link

Lesson 3.10 Lists | Nighthawk Pages #240

Open utterances-bot opened 3 days ago

utterances-bot commented 3 days ago

Lesson 3.10 Lists | Nighthawk Pages

List Operations: aList[i] - This access your list at index i. An index is a numeric value that represents the position of an element within that data structure. For example, the first element of aList is at index 1, represented by aList[1]. x <- aList[i] - Assigns value of aList[i] to variable x aList[i] <- x - Assigns value of x to aList[i] aList[i] <- aList[j] - Assigns value of aList[j] to aList[i]

https://nighthawkcoders.github.io/portfolio_2025/csp/big-idea/p4/3-10-2

Ryan378-code commented 3 days ago

I think you have a a lot of great information! I am noticing that your notebook is difficult to read, so I'd recommend going back into VSCode and modifying your Jupyter Notebooks for clarity. In terms of content, you do have everything. However, you are missing 10.1, 10.3, and 10.4 on this page and in VSCode. You can break up this page and split it's components into those. I think this page could use some more thorough explanations, but I think it has the content down. Good job!

Mom5MoreMins commented 1 day ago

This lesson on lists covers a bunch of important operations in Python and JavaScript, making it useful for students learning either language. It explains key tasks like indexing, appending, removing, and slicing with clear examples. The pseudocode alongside Python and JavaScript examples helps students switch between the two languages easily. The exercises at the end are good for practicing and applying the concepts, especially with tasks like finding even numbers or changing list elements. For improvement, some parts like inserting into lists or using negative indexing could use more explanation for beginners. Adding examples of common errors, like accessing an index that doesn’t exist, would also help. Visual aids for list indexing could make things even clearer.