Pascal program:
Exactly what you need to do to generate your empirical data is specific to your individual assignment. However, some rules apply to all of you:
1. The generation and reporting of this data is supposed to be your work and your work alone. You are not allowed to work in teams, and you can't beg or hire help from anyone else to get it done. If you get someone else to do your work for you and you do not give them credit, then you are a plagiarist. If you copy someone else's program, then you are a plagiarist. By now it should be clear that plagiarism is a major no-no.
2. If you incorporate other people's code or ideas into your code, then (just like in a written document) you must give credit to whoever provided that code in your code's comments. If you copy someone else's code and you do NOT give credit, then you have committed plagiarism.
3. Once you have generated your data, you will have to report about that data. This report is done as HW4, and will be a PowerPoint presentation. That presentation should include figures, tables, and/or illustrations to help the reader understand your data. The report will indicate how you obtained the data and what you think the data means. The report does not have to be particularly long, but it should be thorough. This report will be your last homework assignment, HW4, the next and last homework assignment in CSC 540.
4. You must use a Free Pascal program to generate your data for HW3. It is not acceptable to use some other programming language, and not some other implementation of Pascal. If you use something different and I can't compile your Pascal program on my first try, it will cost you points. You may decide to use a different language to develop your program, and then convert it to Pascal. I doubt that this will save you much time and effort, but you may do this if you'd like. However, it is your Free Pascal program that you will hand in and that I will grade.
5. When you hand in HW3, you should hand in the Free Pascal program you used to generate your data. Call the file lastnameHW3.pas, where "lastname" is replaced by your last name. For me, the file would be called millerHW3.pas. Notice that I do NOT want your data that you generate. I will run your program, and I want your program to generate your data, but for me on my machine.
6. You must use Pascal as the programming language for any software written in this class. The code must be compatible with the Free Pascal compiler. You will have to write a Free Pascal function or procedure on your final exam in CSC 540, so this assignment should be good practice for you. Be sure to include at least one function and one procedure in your HW3 program.
7. Many of your simulations will use BIG numbers, so be careful. Use qword Free Pascal variables instead of integer variables so that your data does not overrun the variables. (longint includes negatives, 0 and positive numbers; qword is 0 and positives only.)