2.1T.pdf - Faculty of Science Engineering and Technology...

This preview shows page 1 - 2 out of 4 pages.

Faculty of Science, Engineering and Technology Introduction to Programming Pass Task 2.1T: Debug Overview This program will allow you to demonstrate simple debugging of Ruby code. Purpose: Learn to correct programming errors. Task: Correct the provided code so it works according to the specification. Time: This task should be started in your second lab class and submitted for feedback before the end of week 3. Resources: Pine, C 2013 Learn to Program , The Pragmatic Programmer . (available in the library). Learning Material for Week 1 and Week 2. Submission Details You must submit the following files to Doubtfire: Corrected debug.rb source code Screenshot of the Terminal showing the execution of the debug program. Make sure that your task has the following in your submission: The program must read the required details from the user, and respond correctly Code must follow the Ruby coding convention used in the unit (layout, and use of case). The code must run and the screenshot show it working. Your program must have a procedure for Main.

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture