Course Hero has millions of student submitted documents similar to the one
below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.
Find millions of documents on Course Hero - Study Guides, Lecture Notes, Reference Materials, Practice Exams and more.
Course Hero has millions of course specific materials providing students with the best way to expand
their education.
Below is a small sample set of documents:
Washington - CS - 444
Lecture 15: XMLFebruary 10th, 2003Agenda for Quarter Done: SQL, views, transactions, conceptual modeling, E/R, relational algebra. Starting: XML To do: the database engine: Storage Query execution Query optimization Data integrationXML
Washington - CS - 444
Querying XMLFebruary 12th, 2003Querying XML Data XPath = simple navigation through the tree XQuery = the SQL of XML XSLT = recursive traversal will not discuss in classSample Data for Queries<bib> <book> <publisher> Addison-Wesley </publish
Washington - CS - 444
Web ServicesFebruary 14th, 2003Outline Overview of web services Create a web service with MS .Net Requirements for project Phase IIWhat is a Web Service A web service is a network accessible interface to application functionality, built usin
Washington - CS - 444
End of XMLFebruary 19th, 2003FLWR (Flower) ExpressionsFOR . LET. WHERE. RETURN.XQueryFind book titles by the coauthors of Database Theory:FOR $x IN bib/book[title/text() = Database Theory]/author $y IN bib/book[author/text() = $x/text()]/titl
Washington - CS - 444
DMBS Internals IFebruary 24th, 2003What Should a DBMS Do? Store large amounts of data Process queries efficiently Allow multiple users to access the database concurrently and safely. Provide durability of the data. How will we do all this?
Washington - CS - 444
Storage and IndexingFebruary 26th, 2003 Lecture 19Storage and Indexing How do we store efficiently large amounts of data? The appropriate storage depends on what kind of accesses we expect to have to the data. We consider: primary storage of t
Washington - CS - 444
IndexingFebruary 28th, 2003 Lecture 20Review What is index? Compare with primary key Why do we need index? Alternative for data entry k* in index? Data record with key value k <k, rid of data record with search key value k> <k, list of rid
Washington - CS - 444
Query Execution3/3/3Where are we? File organizations: sorted, hashed, heaps. Indexes: hash index, B+-tree Indexes can be clustered or not. Data can be stored in the index or not. Hence, when we access a relation, we can either scan or go thr
Washington - CS - 444
Query OptimizationMarch 7th, 2003Query Optimization Process (simplified a bit) Parse the SQL query into a logical tree: identify distinct blocks (corresponding to nested subqueries or views). Query rewrite phase: apply algebraic transformatio
Washington - CS - 444
Query OptimizationMarch 10th, 2003Very Big Picture A query execution plan is a program. There are many of them. The optimizer is trying to chose a good one. Hence, the optimizer is reasoning about programs. Key: cost model, search space. Com
Washington - CS - 444
Query Optimization and PerspectivesMarch 12th, 2003Administration Exam next Wednesday, 2:30pm. Special office hours next week will be announced.Problem Given: a query R1 R2 Rn Assume we have a function cost() that gives us the cost of every
Washington - CS - 444
Computer Science & Engineering 444 Final Exam June 10, 2002 Closed book & notes 120 minutes 100 points total Name: _ StuID: _ Part 1 2 3 4 TotalScore
Washington - CS - 444
1. a) <wnyc> <piece id = "3"> <time>1:01</time> <title>Mad Rush</title> <composer>J.Sibelius</composer> <conductor>L.Bernstein</conductor> <soloist>A.Karis</soloist> </piece> <piece id = "4"> <time>1:47</time> <title>Andante</title> <composer>L.Beeth
Washington - CSE - 444
Computer Science & Engineering 444 Midterm May 8, 2002 Close book & notes 50 minutes 100 points total Name: _ StuID: _ 1. [25 points] a. [20 points] Cre
Washington - CSE - 444
1. a) Employees (EmployID, Lot) Hourly_Emps (EmployID, Hours_worked, Hours_wages) Contract_Emps (EmployID, ContractID) or ContractID as the key Company (DeptID, Name, Budget, CEOEmployID, Since) Or Company (DeptID, Name, Budget, CEOContractID, Since)
Washington - CSEP - 531
CSEP 590TU Sample Final Questions1. For each of the following questions answer true or false and JUSTIFY your answer. (a) If L is Turing recognizable then there is a Turing machine that generates L in lexicographic order. (b) If A is N P-complete an
Washington - CSEP - 531
Computational ComplexityClassify problems according to the amount of computational resources used by the best algorithms that solve them Recall:worst-case running time of an algorithm max # steps algorithm takes on any input of size n TIME(f
Washington - CS - 551
CSE 551Design Exercise #1 A Virtual Machine Monitor for the Internet First draft due: noon, Thursday, April 9, 2009 Final draft: 4:30pm, Thursday, April 16, 2009 An operating system, such as UNIX, provides several key pieces of functionality for its
Washington - CS - 551
Design Exercise #2 File Systems on Phase Change Memory First draft due: noon, Thursday, April 30, 2009 Final draft: 4:30pm, Thursday, May 7, 2009 The widespread deployment of lightweight portable devices has led to increasing interest in hardware tec
Washington - CS - 551
CSE 551Design Exercise #3 Robust, Highly Available Web Service First draft due: noon, Thursday, May 14, 2009 Final draft: 4:30pm, Thursday, May 21, 2009 In class, we have discussed various mechanisms to achieve robustness and high availability, such
Washington - CS - 551
CSE 551Problem Set #1 Due: 4:30pm, Thursday, June 4, 2009 1. Write pseudo-code in Java, Python, C+ or C, to implement reader-writer locks (covered in class), with strict FIFO queueing (readers can enter if no earlier writer is waiting; writers can e
Washington - CS - 373
CSE 373: Data Structures and Algorithms Course Information and SyllabusWinter 2007Logistics and Contact Information: See the course homepage for information about the course schedule, staff, office hours, mailing lists, discussion boards, etc.: www
Washington - CS - 373
CSE 373 Midterm 11/30/06Name _ Do not write your id number or any other confidential information on this page.There are 8 questions worth a total of 70 points. Please budget your time so you get to all of the questions, particularly some of the
Washington - CS - 373
CSE 373 Midterm 11/30/06Sample SolutionQuestion 1. (10 points) (a) Define what it means to say that a function f(n) is O(g(n). (i.e., give the mathematical definition as described in lecture and in the textbook.) Function f(n) is O(g(n) if ther
Washington - CS - 373
CSE 373 Midterm 22/27/06Name _ Do not write your id number or any other confidential information on this page.There are 8 questions worth a total of 60 points. Please budget your time so you get to all of the questions, particularly some of the
Washington - CS - 373
CSE 373 Midterm 22/27/06 Sample SolutionQuestion 1. (6 points) (a) What is the load factor of a hash table? (Give a definition.) The load factor is number of items in the table / size of the table (number of buckets)(b) What is a reasonable val
Washington - CS - 373
CSE 373 Final Exam3/14/06Name _ Do not write your id number or any other confidential information on this page.There are 10 questions worth a total of 92 points. Please budget your time so you get to all of the questions, particularly some of t
Washington - CS - 373
CSE 373 Final Exam3/14/06 Sample SolutionQuestion 1. (6 points) A priority queue is a data structure that supports storing a set of values, each of which has an associated key. Each key-value pair is an entry in the priority queue. The basic oper
Washington - CS - 373
Staff InstructorIntroductionCSE 373 Data Structures Winter 2007> Hal Perkins (perkins at cs.washington.edu) TA> Tian Sang (sang at cs.washington.edu) Email is particularly good for short questions, setting up appointments, topics not suitab
Washington - CS - 373
Mathematical Background Today, we will review:Mathematical BackgroundCSE 373 Data Structures> > > >Logs and exponents Series Recursion Motivation for Algorithm Analysis5 January 2007CSE 373 - Math Background2Powers of 2 Many of the n
Washington - CS - 373
AgendaCollections & ImplementaitonsInterfaces, Classes, Iterators, JavaDoc, and Testing CSE 373 Data Structures Winter 2007 Review of containers (ADTs) and implementations Running example list collection with two implementations: arrays and link