Labs

Sort by:
Wednesday
Aug 05
2020

Lab 13 (Optional) : Linked Lists

Introduction This is an optional lab.  Check zyBook section 13.9. Step 1: (2 Point) Write a search function called linkedlistSearch( ) that takes a number, traverse through a linked list and return true…

Monday
Aug 03
2020

Lab 12 : Linked Lists

Introduction Check zyBook section 13.13. You will be given some driver code:   code in main that takes new numbers and puts it into the linked list   The tests surpass the main…

Wednesday
Jul 29
2020

Lab 11 : Recursion

Submit your code to Gradescope For this lab, the TAs need to manually go through your code to check if your functions are using recursion properly. When you are finished, download your code from…

Monday
Jul 27
2020

Lab 10 : Dynamic Memory

For this lab you do not need to write code but rather will draw pictures to represent what declarations of data look like in memory. You can use any tool you prefer for…

Monday
Jul 20
2020

Lab 9 : Classes and Objects

For this lab, check zyBook section 10.24. You will be writing classes and see how they work with data members and member functions. Imagine we lived in a world where everyone would be…

Wednesday
Jul 15
2020

Lab 8 : Pointers

This week you will be implementing some functions that use pointers. We have given you code in main, which calls some functions. Code for stage 2 and 3 are commented out. Uncomment the…

Monday
Jul 13
2020

Lab 7 : C Strings

We have been studying C string functions, and in class we reviewed these: strlen, strcpy, strncpy, strchr,strrchr, strstr, strcmp, strcat This week you will write your own version of some of these string…

Monday
Jul 06
2020

Lab 6 : Caesar Cipher

Today you will be decoding secret messages. We will be using Caesar Cipher, that was used by Caesar (the roman politician and military general) to pass messages to his army. It is a…

Wednesday
Jul 01
2020

Lab 5 : Tic-Tac-Toe Local variables

Instructions: Log in to your Zybooks account. Open lab 5, found in section 4.33.   Edit and run your program in “Develop Mode”, and then switch to “Submit Mode” when you want to run…

Monday
Jun 29
2020

Lab 4 : Tic-Tac-Toe

Instructions: Log in to your Zybooks account. Open the lab 4, found in section 4.31.   Edit and run your program in “Develop Mode”, and then switch to “Submit Mode” when you want to…

Wednesday
Jun 24
2020

Lab 3 : Pattern Maker

Instructions: The third lab will cover loops and conditionals.  Log in to your Zybooks account. If you haven’t already signed up in zyBooks, see the course syllabus on how to do this. Open…

Monday
Jun 22
2020

Lab 2 : Exact Change

Instructions: The second lab will cover branching and conditions.  Log in to your Zybooks account. If you haven’t already signed up in zyBooks, see the course syllabus on how to do this. Open…

Wednesday
Jun 17
2020

Lab 1

Instructions: This first lab will get you started on code similar to what you need for the first programming assignment.  Log in to your Zybooks account. If you haven’t already signed up in…