There has been a bug report submitted on this album upload program. The team have examined the code and spotted that the pseudocode has been turned into comments lines but a large part of the code is missing. Can you help?
This program needs to ask the user how big the array needs to be.
The next chapter in the tutorial explains how this works.
You should read this before working on the task.
Start Here
Work in pairs to complete the program so you get the example output.
Read carefully, the java code and the comments in the main.py file. You should also look at the pseudocode in the tutorial chapter.
Use code clips to get the code needed.
Extension Task
Instead of showing “Enter song title” for every song can you modify the program so that it will say “Enter song title 1, Enter song title 2” etc for each track on album.
Advice to remember
Break the problem into small chunks!
Don’t try to do the whole program and then test it.
Pick the bits that are easy to do first and get them working.
This might not be the part of the program at the start.
Test the program once that is working move onto another line and repeat.
You do not need to memorise any of the code!
Even the best programmers need to look up commands and the more you use the commands the more familiar they will become.
Everyone gets bugs!🐞
Even the most experienced programmers make mistakes. Try to fix one error at a time.