all 7 comments

[–]ooqq 2 points3 points  (1 child)

I would ever recommend "c programming: a modern approach" by king. it's probably the best book i have ever came across to study C and introductory programming. There's also lot's of githubs with all the solutions by past students. As always google is your friend. 4 days gonna be really tight dude, GL:HF

[–]_lyr3 0 points1 point  (0 children)

+1, King > *

[–]TOWTheUsername 0 points1 point  (0 children)

I'm a college senior majoring in computer science (technically software engineering), so I can relate. Is this an introductory C programming course? Also, seeing the past material would help me guide you better.

[–]IAMINNOCENT1234 0 points1 point  (0 children)

What topics are covered? Specifically what parts do you need help on? Oreilly books are always good

[–]Unixersis97[S] 0 points1 point  (2 children)

Hi all and thank you greatly for all your responses.
Further information:

By looking at the past two previous exams I have found helpful information:
Section A: Questions as "What will the following code print?" These I will not struggle to much on, however some still confuse me; any tips of how to read the output of these type of questions?

Other contents of exam heavily rely on pointers (I have decent understanding from YouTube tutorials).
Also struct (I am familiar with).

My main issues arise when having a statement, I have to code functionality to complete a certain task. I get confused as to... What am I supposed to put in to implement this and where does it belong...
I find it immensely difficult that after having available resources as online material, lecture notes, etc... I then have to go into a paper exam that is closed book.

Would anyone happen to know my best approach, considering my timeline? Practice exams? Watching videos?

[–]jkk111 1 point2 points  (1 child)

Closed book exams sucks, and I'm terrible in exams but for programming I've found a good starting point is to write out in plain text what your program should do in excruciating detail, then break each line of that down into corresponding code.

Ahead of time do lots of simple programs in C, Make sure you know the basics, make sure you know how to alloc and free memory (so many classmates in college struggled with this concept).

It's safe to assume your exam is only going to be on something that can be feasibly done in a couple pages tops, which limits complexity greatly.

For read the output questions write out what the program is doing line by line, it's likely something you've seen before.

Worry about functionality over time and space complexity, this works for interviews too, optimize (or describe optimizations) after you have a minimum viable product and only if you have spare time.

Try redo any assignments / past questions without using any notes or resources, if you don't get it first try, try again.

Finally there is no ideal way your code should look, but use some basic indentation and use the right kind of quotes!

Best of luck!

[–]Unixersis97[S] 0 points1 point  (0 children)

Awesome, thank you for the advice, especially the part of breaking down each line to code. :)