r/uwaterloo•
pynoise

How to study for CS241 final?

Advice

Any other tips than the standard read notes + assignments? anything to look out for or keep in mind?

Posted Apr 7, 2018, 3:20 PM UTC

63
cormack_gv•

It is good practice to start with a (figurative) clean sheet of paper and re-do the assignments. Once you understand them, you should be able to code solutions that aren't that big.

Then look at some of the things that were presented in class but not reinforced directly by assignments: derivations, creating LL(1) and SLR(1) parser tables, using LL(1) and SLR(1) parser tables, creating context-free grammars for particular languages, ambiguity, and so on.

Don't forget topics from before the midterm like MIPS programming, assemblers, DFA, NFA, and scanning -- they are important foundations, and even questions whose primary purpose is to test post-midterm material may rely on them. For example, you definitely need to know MIPS programming and MIPS encoding to talk about code generation. And you definitely need to know how RAM works to talk about malloc/free/cons/snoc, etc. And you need to know about regular expressions and automata to understand LR parsing.

11
cormack_gv•

It is probably worthwhile to read through all the Piazza questions. Read the question, and see if you could answer it. Then read the responses and follow-ups and make sure you are fluent enough with the material to be able to read and understand them.

Also, ask and answer questions on Piazza!

6
Browntile20•

Thanks for being so active on piazza. CO250 needs to take some notes from you

1
[deleted]•

[deleted]

3