COP 4530: Unix, C/C++, and Discrete Mathematics review topics
You should be familiar with the following. Please review relevant material, and also fill in gaps in your knowledge.
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:
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 utilities such as
cat
, more
, tail
, and grep
.
- You should be able to set environment variables, and in particular, the
DISPLAY
variable.
- 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, and linking to libraries.
- You should be able to use a debugger, such as
ddd
.
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.
- Namespaces.
- Passing references to functions, and returning references from functions.
- Use of
const
in function and variable declarations and definitions.
- 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: 25 Aug 2003