|
Hi, hows everyone?
i was searching for java help and came across this site so decided to register and see if anyone could help me.
I have got a week to do a java assignment which consists of the following:
"""
The Problem:
Write a program that outputs the lyrics to the song 99 Bytes of Bits on the Bus, which can be sung to the melody of the repetitive song 99 Bottles of Beer on the Wall. (The lyrics of this song can be found at the bottom)
Analyze the lyrics of the song. Identify recurring patterns in the lyrics of every verse. Also identify slight variations.
Develop an algorithm which makes use of basic control structures, such as sequence, selection and iteration, to efficiently output the lyrics.
Implement your algorithm in Java.
Test your program and improve it if necessary.
Requirements
Your assignment should be submitted as a short report. The report should consist of the following sections:
A title section with the student details, e.g. name and matriculation number.
A copy of this assignment.
A section detailing the algorithm for your program, i.e. an enumerated list of steps that your program will need to accomplish in order to correctly solve this problem.
The algorithm can be produced in graphical form, i.e. as a control flow diagram or in textual form, i.e. as a list of short textual descriptions of each step.
This should ideally be about half a page long but no longer than one page.
A section containing the source code.
A section showing the output that is produced when you run your program. It is sufficient to print the text with a start value of less than 10.
A section detailing your testing of the program for different start numbers of bugs. This should include the aim of the testing, i.e. your
2/4
choice of test values together with a short (!) justification of your choice and the outcome of your test. You should at least test 3 different classes of sensible values and one class of non-sensible values. This section should ideally be no more than half a page long.
A digital version of your program, i.e. the .java file.
Assessment
Lyrics of the Song 99 Bytes of Bits on the Bus
99 bytes of bits on the bus, 99 bytes of bits. Take two down, short them to ground.
97 bytes of bits on the bus.
97 bytes of bits on the bus, 97 bytes of bits. Take two down, short them to ground.
95 bytes of bits on the bus.
95 bytes of bits on the bus, 95 bytes of bits. Take two down, short them to ground.
93 bytes of bits on the bus.
93 bytes of bits on the bus, 93 bytes of bits. Take two down, short them to ground.
91 bytes of bits on the bus.
Continue like this to the last verses
3 bytes of bits on the bus, 3 bytes of bits. Take two down, short them to ground.
1 byte of bits on the bus.
1 byte of bits on the bus, 1 byte of bits. Take it down, short it to ground.
No more bytes of bits on the bus.
"""
I have had about 4 weeks (about 6hours) of tutorials in java, and its fair to say most of the class are clueless about this, so i thought maybe someone on here could point me in the right direction or give me a helping hand. Ive covered basic loops such as for and while, and i know some variables, but the rest im totally clueless.
|