QuizSolutions

QuizSolutions - CS 234 Quiz Fall 2010 Student Name: UW...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
CS 234 Quiz Fall 2010 Student Name: UW Student ID: Course Abbreviation and Number CS 234 Course Title Data Types and Structures Section(s) 001 Instructor J.P. Pretti Date of Exam October 5, 2010 Time Period Start Time: 10:00am End Time: 11:20am Duration 80 minutes Number of pages 4 Exam Type Closed Book Additional Material Allowed UW-Approved Calculators Question Marks Awarded Max Mark 1 2 2 4 3 2 4 3 5 4 Total /15
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Name: CS 234 Fall 2010 Quiz Student ID: 1. Define abstract data type . Do not give examples. An abstract data type is a set of data together with as set of operations on the data. 2. This question asks you to think about applying material learned in class to a real-life like situation. Revenue Canada processes millions of tax returns every year. Let’s cynically assume that they don’t necessarily process them as they arrive. Instead, they prioritize each return upon receiving them (possibly based on total income, amount owing or past history). An object representing each tax return is then inserted into a priority queue. Returns are removed from the priority queue as an employee completes processing one return and is ready to process another. Describe a situation in
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 01/27/2011 for the course CS 234 taught by Professor Baranoski during the Fall '09 term at Waterloo.

Page1 / 4

QuizSolutions - CS 234 Quiz Fall 2010 Student Name: UW...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online