Implement MyArrayList by filling in the methods in the above file “MyArrayList.java”. Test with the included driver
3/7 (Friday)
Assignment: Implement MyArrayList class discussed in class. Submit code (even if not finished) to the server before the end of class.
Create a folder “MyArrayList” and copy file1 and file2 into it
Modify the MyArrayList class and use the driver file to check that it works
Note: the most important method is ensureCapacity. You call this in several other methods when you insert into the array, to make sure there is enough space
You will submit the entire folder to the server. You do not need a package name.
Also note: size is the number of elements in the array – NOT the max size
There is a female student ACL field trip form to fill out if you are interested. See it in class today!
3/11 (Tuesday)
See these FRQ Practice Problems and complete #3 and #4. You can type them in any editor you want.
Discuss ArrayLists – Note ArrayList quiz next class over ArrayList code
Introduce Linked Lists
LinkedList assignment files: Class and Driver. Copy to a folder LinkedList and implement the class file.
3/13 (Thursday)
Quiz today over ArrayLists on Schoology
Finish LinkedList code in class and submit to the server
- folder LinkedList
- LinkedList.java
- LinkedListTester.java
- screenshot of program output
Next class: Practice AP Multiple Choice test. 90 minutes. Will be a minor, curved quiz grade.
FRQ practice TBD
3/17 (Monday)
Practice AP Test on AP Classroom
Linked List quiz next class
3/19 (Wednesday)
Linked List quiz in schoology
Doubly Linked List due at end of class (modify your existing linked list class. Turn in folder DoublyLinkedList containing class, tester and screenshot of driver.)
Project: Stacks. Complete the Stack.java class using your LinkedList class and get the driver to run. Screenshot the terminal, add to folder, and submit folder to server.
4/1 (Tuesday)
MC3 Practice on Schoology
FRQ “April 1” practice on AP Classroom
Submit Queue class today. Use this driver file to test it.