Took with Victoria. Though she is an expert in SE, for the first time she taught this course, her notes was not clear on board… For the last few lectures, she had some handouts to make the notes more readable.
Also, I believe this was the only term when the cheat sheet is allowed for CS 246.
Moreover, she held office hours everyday before Thursday midterm…
And for A4, she extended for twice. Also, changed the distribution of the questions:
We, the instructors, are aware of the effort you are putting into this course and since A4 and A5 are very close to the end of the term and the final exams, and we want to boost your motivation. We decided to credit 90% weight for your best three out of q1-q4 and 10% to your lowest question score out of q1-q4, if and only if all the 4 questions were submitted, otherwise the default marking scheme applies. Q5 is hand marked so it is out of the equation and we will use the default marking scheme for it.
Below are some useful links I used when I took the course.
Bash/Shell
- bash variables
- shell scripting examples
- AWK command
- What are the fundamental differences between the mainstream *NIX shells?
- Single/double quote in bash
- creating and running a script
- [arithmetic expression](http:// mywiki.wooledge.org/ArithmeticExpression)
- Advanced Bash-Scripting Guide
- Read cmd
- create empty temporary files
- ‘who’ manual
- Bash reference manual - special parameters
- Shell test cmd
- mktemp manual
- egrep
- Test a var is a number in bash
- alias
- zip
- PATH variable
- more on PATH
- special parameters in shell
- scp
- rm -rf
- Source of the wc command
Vim
C++ basic
- array of references?
- exceptions
- class, objects
- Convert cmd line args into int
- Initializer list
- class vs object vs instances
- postfix operator overloading
- friend
- new/delete
- main program
- typeinfo
- how to end c++ code
- namespace
- C++ program to calculate tomorrow’s date
- return/exit
- to_string
- ios::exceptions
- value exists in map
- Why can templates only be implemented in the header file?
- reducible expression
streams
- streams
- Using std::ostream as argument to a print function
- Output stream as class member
- deleted function in ostream
- cin clear, ignore
- ifstream
- stringstream
- vptr, vtable
Big 5
- explicit ctor
- Does the default constructor initialize built-in types?
- ctors in c++
- Member Initialization List over Assignment
didn’t compile
- undefined reference to…
- g++, another undefined reference
- circular dependency
- default parameter
- What does “operator = must be a non-static member” mean?
- Output stream as class member
- Weird SIGSEGV (Segmentation fault) using enums
- More on seg fault