Starting from:
$35

$29

Lab 3 Solution

In this lab, you are given six files containing code, or computing program (3 written in Java, 3 written in Python, provided along with this file in a zip file: lab3.zip). Here is what you have to do:

1/ Execute each of the programs

 Observe what the program does. Does the program take input? What kind of input? What is the output? I recommend taking notes, as they will be useful in the next steps.

2/ Comment what the entire program does

 At the top of the code files, there is a section in which you must write a brief but meaningful description of the program.

3/ Comment each of the program code lines

 In each of the code files, write a comment before each line of code. The comment must describe what the line of code does. Your comments must be written using proper commenting format, which means that the file should still be executable and perform the same actions before and after you write your comments.

Make sure you comment all the lines of code!

What do you have to turn in?

1/ All the files you modified together in a zipped folder named after you (LastNameFirstName-lab3.zip).

Criteria for grading:

0/ [10 pts] Your lab is submitted according to specifications (proper name of zipped file, proper format)
1/ [30 pts = 5 pts per file] Description of what each program does is correct and clear
2/ [60 pts = 10 pts per file] Comments for each line of each file are relevant and clear – 1pt will be deducted per missing line




Lab assignments turned in up to three days late will have scores reduced by 15% for each day of lateness. For example, a lab assignment turned in two days late will be reduced by 30%, while three days incurs a 45% penalty.

More products