Open in app

Sign In

Write

Sign In

Erika Tan
Erika Tan

2 Followers

Home

About

May 8, 2022

CS371p Spring 2022: Erika Tan: Final Entry

Key Takeaways: test first, test during, test after; test, test, test when designing algorithms, demand the weakest iterators (e.g., bidirectional vs. random access) when designing containers, provide the strongest iterators (e.g., random access vs. bidirectional) build adapters on top of containers and iterators do not use new and delete; use…

3 min read

CS371p Spring 2022: Erika Tan: Final Entry
CS371p Spring 2022: Erika Tan: Final Entry

3 min read


May 1, 2022

CS371p Spring 2022: Week 14

CS371p Spring 2022: Week 14 What did you do this past week? We went through some examples talking about static and dynamic binding, went through more of the specs for the Life project, did an exercise implementing the Circle class, and briefly talked about the virtual keyword. What’s in your way? As the semester is…

2 min read

CS371p Spring 2022: Week 14
CS371p Spring 2022: Week 14

2 min read


Apr 24, 2022

CS371p Spring 2022: Week 13

CS371p Spring 2022: Week 13 What did you do this past week? We learned about r-value references, which is denoted in C++ syntax with the double ampersand. We also did an exercise where we implemented move assignment and the move constructor for my_vector. Downing also taught us about move elision, which I will have to…

2 min read

CS371p Spring 2022: Week 13
CS371p Spring 2022: Week 13

2 min read


Apr 17, 2022

CS371p Spring 2022: Week 12

CS371p Spring 2022: Week 12 What did you do this past week? I worked with my partner a good amount this past week to finish up Darwin. I also worked a lot to finish up a graphics project that was due on the same day as Darwin. In class, we went over iterators on Monday…

2 min read

CS371p Spring 2022: Week 12
CS371p Spring 2022: Week 12

2 min read


Apr 10, 2022

CS371p Spring 2022: Week 11

CS371p Spring 2022: Week 11 What did you do this past week? On Monday, we did an exercise to implement a stack. On Wednesday, we went over sequential containers such as vector, deque, forward_list, and list, as well as container adapters such as stack, queue, and priority_queue. We then compared and contrasted these data structures…

2 min read

CS371p Spring 2022: Week 11
CS371p Spring 2022: Week 11

2 min read


Apr 2, 2022

CS371p Spring 2022: Week 10

CS371p Spring 2022: Week 10 What did you do this past week? On Monday, we talked about the properties of vectors. On Wednesday, we discussed the time complexities and properties of of different data structures, including deques and stacks, and contrasted them to each other. We also talked about how deques are internally represented. …

2 min read

CS371p Spring 2022: Week 10
CS371p Spring 2022: Week 10

2 min read


Mar 27, 2022

CS371p Spring 2022: Week 9

CS371p Spring 2022: Week 9 What did you do this past week? I attended class and worked on the Allocator project. On Monday, we talked more about the Allocator specs. On Wednesday, we did an exercise on implementing a digits iterator. On Friday, we talked about vectors. What’s in your way? In the Allocator project…

2 min read

CS371p Spring 2022: Week 9
CS371p Spring 2022: Week 9

2 min read


Mar 13, 2022

CS371p Spring 2022: Week 8

CS371p Spring 2022: Week 8 What did you do this past week? Since the project wasn’t released until Thursday, I mostly just focused on going to class and reviewing the notes. In class, we went over the difference between built in stack arrays, standard arrays, and pointers. We also went over iterators and did an…

2 min read

CS371p Spring 2022: Week 8
CS371p Spring 2022: Week 8

2 min read


Mar 6, 2022

CS371p Spring 2022: Week 7

CS371p Spring 2022: Week 7 What did you do this past week? On Monday, we talked about how important it is to catch exceptions by reference, and not by value or address, because it prevents making another copy of the exception and we also have access to all the data. On Wednesday, we went over…

2 min read

CS371p Spring 2022: Week 7
CS371p Spring 2022: Week 7

2 min read


Feb 28, 2022

CS371p Spring 2022: Week 6

CS371p Spring 2022: Week 6 What did you do this past week? We dove deeper into talking about the differences between & and * and the contexts in which you can use them. We also did an activity in class on Wednesday for simulating pre-incrementing and post-incrementing. Finally, on Friday, we went over the const…

2 min read

CS371p Spring 2022: Week 6
CS371p Spring 2022: Week 6

2 min read

Erika Tan

Erika Tan

2 Followers

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech