Problem 1 (20 points) General Questions about topics ...
CMSC132
Spring 2008
Midterm #1
First Name: _______________________
Last Name: _______________________
Student ID: _______________________
Discussion TA: ______________________
Discussion Time: _____________________
I pledge on my honor that I have not given or received any unauthorized assistance on this examination.
Your signature: _____________________________________________________________
General Rules (Read):
• This exam is closed book and closed notes.
• If you have a question, please raise your hand.
• Total point value is 100 points.
• The short answer questions are not essay questions. Strive to answer them in 1 or 2 sentences. Longer answers are not necessary and are discouraged.
• WRITE NEATLY. If we cannot understand your answer, we will not grade it (i.e., 0 credit).
• PUNT RULE:. For any question, you may write PUNT, and you will get ¼ of the points for the question (rounded down). If you feel totally lost on a question, you are encouraged to punt rather than waste time writing down an incorrect answer in hopes of getting some partial credit.
• Honors section questions only count for credit for students in the honors section
Problem 1 (16 pts) Algorithmic Complexity
a. (6 pts) Calculate the asymptotic complexity of the code snippets below (using big-O notation) with
respect to the problem size n.
1. for (int i=n/3; i ................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related searches
- large numbers 1 20 free
- 20 questions about cellular respiration
- numbers 1 20 printable
- large printable numbers 1 20 pdf
- general information about yourself
- djia 1 20 2009
- printable tracing numbers 1 20 free
- general questions everyone should know
- 20 questions about police brutality
- 100 general questions and answers
- 20 things i like about you
- tracing numbers 1 20 for preschoolers