Problem 1 (20 points) General Questions about topics ...
|[pic] |University of Maryland College Park |
| |Dept of Computer Science |
| |CMSC132, Midterm #1 Key |
| |Summer 2008 |
First Name (PRINT): ___________________________________________________
Last Name (PRINT): ___________________________________________________
University ID: _________________________________________________________
I pledge on my honor that I have not given or received any unauthorized assistance on this examination.
Your signature: _____________________________________________________________
Instructions
➢ This exam is a closed-book and closed-notes exam.
➢ Total point value is 100 points, 50 minutes exam.
➢ Please use a pencil to complete the exam.
➢ 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 write down an incorrect answer in hopes of getting some partial credit.
➢ WRITE NEATLY. If we cannot understand your answer, we will not grade it (i.e., 0 credit).
Grader Use Only
|#1 |Algorithmic Complexity | |(18) |
|#2 |Program Correctness | |(10) |
|#3 |Hashing | |(8) |
|#4 |Language Features | |(24) |
|#5 |Sets and Maps | |(20) |
|#6 |Linear Data Structures | |(20) |
|Total | | |(100) |
Problem 1 (18 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=0; 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 download
- va fileman 22 2 patch di 22 2 8 data access control dac
- va fileman advanced user manual
- lab summary pennsylvania state university
- introduction claros data management hach
- vessel registration query system large vessels api
- mathematics 2016 standards of learning computer
- problem 1 20 points general questions about topics
- vessel registration query system small
- c067 title iii teachers file specifications msword
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