subject

Coding Assignment due Aug 17, 2021 08:44 CDT ArrayLists Congrats! You have reached the end of the first module in this course! It is now time for you to complete your first coding assignment. For this assignment, you will be implementing an ArrayList. Recall that an ArrayList is a list data structure backed by an array where all of the data is contiguous and aligned with index 0 of the array. Your ArrayList should follow the requirements stated in the javadocs of each method you are to implement. IMPORTANT: You will be given 5 attempts on this assignment, with a 30 minute cooldown between submissions. Please run your code before each submission to ensure that there are no formatting errors! If there are formatting errors in your code, your code will not be graded and a submission attempt will be logged. For more information, please review the Vocareum overview below. Capacity The starting capacity of the ArrayList should be the constant INITIAL_CAPACITY defined in the file. Reference this constant as-is. Do not simply copy the value of this constant. Do not change the constant. If, while adding an element, the ArrayList does not have enough space, you should regrow the backing array to twice its old capacity. This means that if the initial capacity of the backing array is 9, then after one resize the capacity will be 18, and after two resizes the capacity will be 36. Do not resize the backing array when removing elements.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 14:30
Select the correct answer. peter has launched a website that features baby products. however, clients often find they are unable to access the website because the server is down. which feature of cybersecurity should peter focus on for his website? a. data authenticity b. data privacy c. data availability d. data integrity e. data encryption
Answers: 3
question
Computers and Technology, 23.06.2019 15:30
Write a program in plp assembly that counts up by one starting from zero (or one) inside a loop and writes this value to the leds every time the value is increased. the memory address of the leds is 0xf0200000. the table below shows the meaning and an example usage of the instructions covered in the video, plp instructions for project 1. instruction example usage meaning load immediate li $t0, 8 register $t0 is set to the value, 8. store word sw $t2, 0($t1) the value in register $t1 is used as the memory address. the value in register $t2 is copied into this memory address. add addiu $t4, $t3, 29 register $t4 is assigned the sum of 29 and the value in register $t3. jump j your_label_name the program jumps to the line following the label, "your_label_name: ". label your label name: defines a label called "your_label_name: " that can be jumped to
Answers: 2
question
Computers and Technology, 23.06.2019 16:30
What is one reason why indoor air pollution has become an increasing problem.
Answers: 1
question
Computers and Technology, 23.06.2019 19:30
Of the following pieces of information in a document, for which would you most likely insert a mail merge field?
Answers: 3
You know the right answer?
Coding Assignment due Aug 17, 2021 08:44 CDT ArrayLists Congrats! You have reached the end of the fi...
Questions
question
Physics, 04.11.2020 16:30
question
Mathematics, 04.11.2020 16:30
question
Mathematics, 04.11.2020 16:30
question
Chemistry, 04.11.2020 16:30
question
Biology, 04.11.2020 16:30
Questions on the website: 13722367