University of Nevada Las Vegas
Howard R. Hughes College of
Engineering
School of Computer Science
My Home Page
UNLV CS Spring 2007 Assignment 2

CS 302 Assignment 2
Due date: Tuesday, January 30, 2007, 8:30 AM in class.
All programming assignments must be
submitted electronically.
Submit them to the graduate assistant,
James Oravec,
on or before the due date.
All written assignments must be handwritten
(not typed or printed from a
computer file) in your own handwriting, on 8.5 by 11 inch paper, or on A4
paper. Write your name on each sheet, and do not fold the pages or crimp the
corners. (You may use a paper clip or a staple.)
-
Chapter 1 and 2 - Reading Review questions.
-
What is the difference between pass by reference verses pass by value?
-
What is a Copy Constructor?
-
What is a class template?
-
What is operator overloading?
-
What is the definition of Big O?
-
What is the definition of Big Omega?
-
What is the definition of Big Theta?
-
What is the importance of asemptotic time complexity analysis?
-
Explain the maximum subsequence sum problem.
-
What is a binary search?
-
Explain Euclid's Algorithm.
-
Chapter 3 and 4 - Review Questions.
You may also consult outside sources
such as wikipedia.
-
What is an Abstract Data Type?
-
Why are Abstract Data Types important?
-
What is a list ADT?
-
List two ways a list ADT can be implemented.
-
Define a doubly linked list.
-
Define a circular linked list.
-
Define a stack ADT and what one can be used for.
-
What are infix expressions? Give an example that has at least 4 operators
and at least two necessary pairs of parentheses.
-
What are postfix expressions? Give the postfix expression equivalent
to the infix expression that you gave for the previous problem.
-
The programming assignment, Exercise 3.22 on page 110 of your textbook,
will be due next Tuesday.
