Lab07.pdf - EECS 1012 LAB 07 Tracing Algorithms using Sub-Algorithms(Nov 4-8 2019 A REMINDERS 1 2 3 4 5 You must attend your assigned lab session(we

Lab07.pdf - EECS 1012 LAB 07 Tracing Algorithms using...

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

EECS 1012: LAB 07 Tracing Algorithms; using Sub-Algorithms ( Nov 4-8, 2019 ) A. REMINDERS 1) You must attend your assigned lab session (we will be marking your submission in the lab). 2) You must arrive on time: anyone later than 15 minutes may not be admitted to the lab. 3) You must complete the pre-lab mini quiz posted on Moodle in the first 15 minutes of your lab time. 4) Each lab including the pre-lab mini quiz is about 2% of your overall grade. 5) TAs are in the lab to help you. They will also verify and mark your work at the end. Signal a TA for help if you stuck on any of the steps below. Yet, note that TAs would need to help other students too. B. IMPORTANT PRE-LAB WORKS YOU NEED TO DO BEFORE GOING TO THE LAB 1) Download this lab files and read them carefully to the end. 2) Practice tracing algorithms with different sample inputs. There are several examples in Lect07. 3) In Slides 22 and 23 of Lect07 notes, there is an example of sub-algorithm. Review it and implement it in JavaScript once with and once without using sub-algorithms. C. GOALS/OUTCOMES FOR LAB To practice computational thinking by first drawing flowcharts for basic computation problems, followed by implementation in JS D. TASKS 1) Your first task in this lab is to verify 5 algorithms, in Exercises 1 to 5, by tracing them for some sample inputs. You also provide pre- and post- conditions for each algorithm. In Exercise 6, you draw a flowchart that includes two sub-algorithms. These tasks must be done in teams of two. (By the permission of the TA, only one team can be in team of three if the lab population is odd.) While you are done, you should show your trace tables, pre- and post- conditions for all flowcharts, as well as yor solution to Exercise 6 to your TAs before you go to the next part. The TA may ask you to make minor modifications to demonstrate your
Image of page 1

Subscribe to view the full document.

Image of page 2
  • Fall '17
  • Michael S. Brown

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Ask Expert Tutors You can ask You can ask ( soon) You can ask (will expire )
Answers in as fast as 15 minutes