CSC160 (UG20) 01
    Lab 10: Structs
    Skip To Content
    Dashboard
    • Login
    • Dashboard
    • Calendar
    • Inbox
    • Help
    Close
    • My Dashboard
    • CSC160 (UG20) 01
    • Assignments
    • Lab 10: Structs
    SP 2021 (UNDG)
    • Home
    • Assignments
    • Modules
    • TC/WC Appt Scheduler
    • Collaborations
    • WSJ Context
    • EvaluationKIT Course
    • EvaluationKIT
    • Barnes & Noble Bookstore

    Lab 10: Structs

    • Due Apr 20, 2021 by 4pm
    • Points 10
    • Available after Apr 20, 2021 at 2pm

    Overview

    In this lab, you'll practice defining and using structs to solve programming tasks.

    Learning outcomes

    By the end of this lab, you should be more comfortable...

    • defining structs
    • declaring structs
    • passing structs to functions
    • using vectors of structs
    • using structs with vector data members
    • using structs of structs

    Exercises

    Work on the following zyLabs. While you do them, be sure to implement incrementally—write a line or two of code, then compile/run it. Test frequently by clicking "Submit mode" and then "Submit for grading". You have unlimited submits, so don't worry about using some quota up. We will periodically check in as a class.

    • zyLab 16.38: Points in Euclidean space
    • zyLab 16.39: Rectangles in Euclidean space
    • zyLab 16.40: Upcoming assignments

    After you are finished these, please work on a PA for the remainder of lab.

    Submitting

    Click "Submit mode" then "Submit for grading" when you are finished so I can see that you have done the zyLab. Your grade for the lab is based on effort, not whether you complete all of the assigned problems; you will get full credit as long as you work diligently during the 2-hour lab period.

    PA options

    Please see the syllabus and course schedule (both on the homepage) for more information about how many programming assignments you are required to pass, due dates, etc. Of note: you do not need to attempt every or even most PAs.

    • PA 10.1: Upcoming assignments+ 
    • PA 10.2: Word stats with functions and structs 
    • PA 10.3: Digital Rolodex with structs 
    1618948800 04/20/2021 04:00pm
    Additional Comments:
    Rating max score to > pts

    Rubric

     
     
     
     
     
     
     
         
    Can't change a rubric once you've started using it.  
    Find a Rubric
    Find Rubric
    Title
    You've already rated students with this rubric. Any major changes could affect their assessment results.
    Title
    Criteria Ratings Pts
    Edit criterion description Delete criterion row
    This criterion is linked to a Learning Outcome Description of criterion
    threshold: 5 pts
    Edit rating Delete rating
    5 to >0 pts
    Full Marks
    blank
    Edit rating Delete rating
    0 to >0 pts
    No Marks
    blank_2
    This area will be used by the assessor to leave comments related to this criterion.
    pts
      / 5 pts
    --
    Additional Comments
    Total Points: 5 out of 5