|
| 1 | +--- |
| 2 | +title: CSESoc COMP2521 Revision Practice Problems |
| 3 | +desc: Practical coding exercises to help you prepare for your COMP2521 23T3 final exam 😄 |
| 4 | +course: COMP2521 |
| 5 | +offering: 23T3 |
| 6 | +--- |
| 7 | + |
| 8 | +# CSESoc COMP2521 Revision Practice Problems |
| 9 | + |
| 10 | +Note: |
| 11 | + |
| 12 | +For COMP2521 multiple choice theory problems, see [here](https://learn.csesoc.org.au/articles/2521-revision-theory) |
| 13 | + |
| 14 | +For COMP2521 short answer theory problems, see [here](https://learn.csesoc.org.au/course-revision/2521-23T2/theory) |
| 15 | + |
| 16 | +This is a set of practical programming problems designed to help you prepare for your COMP2521 23T3 final exam. |
| 17 | + |
| 18 | +There are autotests for each problem on cse servers which you can use to check your solutions. |
| 19 | + |
| 20 | +To start, log in to cse servers via ssh and create a new folder: |
| 21 | + |
| 22 | +```bash:~ |
| 23 | +$ mkdir 2521-revision |
| 24 | +$ cd 2521-revision |
| 25 | +``` |
| 26 | + |
| 27 | +Then run the following command to copy the template files: |
| 28 | + |
| 29 | +```bash:~/2521-revision |
| 30 | +$ 2521 fetch revision |
| 31 | +``` |
| 32 | + |
| 33 | +<br /> |
| 34 | + |
| 35 | +## Miscellaneous resources |
| 36 | + |
| 37 | +<br /> |
| 38 | + |
| 39 | +### [Time-Efficient Problem Solving Slides](https://docs.google.com/presentation/d/1OlIyQTg3afU6UOkdY4s2hpacSUsRSVGUboPcxXDEvA0/edit#slide=id.ge7f9c668d6_0_1036) |
| 40 | + |
| 41 | +<figure class="video_container"> |
| 42 | + <iframe |
| 43 | + src="https://docs.google.com/presentation/d/e/2PACX-1vQSdJqbTa0aI4foczJ5q3FJFaqkDzWpdDP-iVvv7zQ50jHmvU0JeOELspAFunfgMaryXlChC90Hg19t/embed?start=false&loop=false&delayms=3000" |
| 44 | + frameborder="0" |
| 45 | + width="800" |
| 46 | + height="474" |
| 47 | + allowfullscreen="true" |
| 48 | + mozallowfullscreen="true" |
| 49 | + webkitallowfullscreen="true"></iframe> |
| 50 | +</figure> |
| 51 | + |
| 52 | +<br /> |
| 53 | + |
| 54 | +### [Implementation: Hashmap with linear probing collision resolution](https://github.com/Allynixtor/comp2521-revision-session/blob/main/miscellaneous_content/hashmap_linear_probe.c) |
| 55 | + |
| 56 | +<br /> |
| 57 | + |
| 58 | +### [Sorting algorithms slides](https://unsw-my.sharepoint.com/:p:/r/personal/z5479795_ad_unsw_edu_au/_layouts/15/Doc.aspx?sourcedoc=%7Bc2f3e5f3-e634-475c-b037-3967089d9b87%7D&action=view&wdSlideId=256&wdModeSwitchTime=1699349371592) |
| 59 | + |
| 60 | +<figure class="video_container"> |
| 61 | + <iframe |
| 62 | + src="https://unsw-my.sharepoint.com/:p:/g/personal/z5479795_ad_unsw_edu_au/EfPl88I05lxHsDc5Zwidm4cBiKFbco9gnvdMxNLIvY4vsg?e=FyvINZ&action=embedview&wdAr=1.7777777777777777" |
| 63 | + width="800px" |
| 64 | + height="474px" |
| 65 | + frameborder="0"></iframe> |
| 66 | +</figure> |
| 67 | + |
| 68 | +### [Binary Search Trees & AVL Trees slides](https://www.canva.com/design/DAFymeapRU0/Ee9RjvxJ88C8ObjA7zb-_Q/view?utm_content=DAFymeapRU0&utm_campaign=designshare&utm_medium=link&utm_source=editor) |
| 69 | + |
| 70 | +<a |
| 71 | + href="https://www.canva.com/design/DAFymeapRU0/Ee9RjvxJ88C8ObjA7zb-_Q/view?utm_content=DAFymeapRU0&utm_campaign=designshare&utm_medium=link&utm_source=editor" |
| 72 | + target="_blank"> |
| 73 | + <img |
| 74 | + src="/images/comp2521-revision/2521-tree-slides.png" |
| 75 | + alt="2521-tree-slides" |
| 76 | + width="800" |
| 77 | + height="474" |
| 78 | + /> |
| 79 | +</a> |
0 commit comments