SWT301 FALL24 - The final PE
Duration: 85 minutes
Instructions:
Proficiency in at least one programming language is necessary to perform adequately on certain exam questions.
Students may use IDEs like NetBeans, IntelliJ IDEA, or other similar software during the examination.
Students must submit their exam work in a single Word document; no other file formats will be accepted.
Question 1 (3 points):
The following Java class contains six defects related to code standards, logic, and best practices.
Identify and explain each defect using the following defect report template:
• Defect ID:(Unique identifier for the defect, e.g., DF001, DF002)
Defect Name:(Descriptive name for the defect, such as "Naming Convention Error")
• Line Number:(Specific line in the code where the defect occurs)
Defect Description:(A brief, one-sentence explanation of the issue)
Fixing Solution:(Concise description of the code change to resolve the defect)
Zoom
+ 100%
Close