COP 4530: Unix, C/C++, and Discrete Mathematics review topics
You will be given a quiz on pre-requisite materials. Please review material on the following topics, and also fill in gaps in your knowledge. A sample quiz and solutions are available.
Unix and utilities
- You should be able to log in to your CS account on a Unix machine.
- You should be able to use common Unix commands, such as:
man, cd, chmod, rm, mkdir, mkdir, exit, logout, ls, cp, ln
, I/O redirection, and piping using |
.
- You should be able to specify file name patterns using
*
, []
, and ?
.
- You should be able to use utilities such as
cat
, more
, tail
, and grep
.
- You should be able to ssh to a remote machine and enable X11 forwarding (
man
ssh, and check the -X
or -Y
flags).
- You should be able to use a text editor, such as
emacs
.
- You should be able to send and receive email, and use a web browser.
- You should be able to use
make
to build a project.
- You should be able to use
g++
to compile C++ programs, including compiling multiple files.
C/C++
- Pointers, pointer arithmetic, arrays, relationship between arrays and pointers, passing pointer arguments to functions, and returning pointers from functions.
- Bitwise operators.
- Parameter passing.
- Defining classes and instantiating objects, private, protected, and public data and member functions.
- Overloading operators, including I/O operators, and the assignment operator (understanding the need for 'deep' copy).
- Overloading functions.
- Constructors, including copy constructors, and destructors.
- Dynamic memory allocation using
new
and deallocation using delete
and delete []
.
- The
this
pointer.
- Passing references to functions, and returning references from functions.
- Use of
const
in function and variable declarations and definitions.
- The semantics of
static
functions.
- C++ I/O, including file I/O.
Discrete Mathematics
- Number representation, including decimal, binary, hexadecimal, and octal.
- Graph theory terminology, such as
graph, digraph, tree, vertex, node, edge,
and the standard traversals.
- Mathematical proof concepts, such as proof by induction.
Last modified: 3 Aug 2005