18 Pages

final_exam_review_spring02

Course: CS 111, Fall 2009
School: Wellesley
Rating:
 
 
 
 
 

Word Count: 4535

Document Preview

College Wellesley CS111 Computer Programming and Problem Solving Spring 2002 FINAL EXAM REVIEW PROBLEMS The CS111 final exam is a self-scheduled exam held during the normal final exam period. It is an open book exam: you may refer to any books, notes, and assignments. You may not talk to other people about the exam before or after taking it, nor may you use a computer during the exam. Here is a list of topics...

Register Now

Unformatted Document Excerpt

Coursehero >> Massachusetts >> Wellesley >> CS 111

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.

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.
College Wellesley CS111 Computer Programming and Problem Solving Spring 2002 FINAL EXAM REVIEW PROBLEMS The CS111 final exam is a self-scheduled exam held during the normal final exam period. It is an open book exam: you may refer to any books, notes, and assignments. You may not talk to other people about the exam before or after taking it, nor may you use a computer during the exam. Here is a list of topics covered by the course that may be tested on the final exam: problem solving patterns: divide/conquer/glue, recursion, iteration (tail recursion, loops); abstraction: method abstraction, data abstraction, abstraction barriers/contracts/APIs. modularity: constructing programs out of mix and match parts (e.g. generators, mappers, filters, accumulators) that use standard interfaces (lists, arrays, vectors). control structures: sequencing, method invocation, conditionals (if/else), loops (while, for), return. data structures: objects, lists, arrays, vectors. models: execution diagrams, invocation trees, object diagrams, box-and-pointerdiagrams, inheritance hierarchies. Java methods: declaration vs. invocation; parameter declaration and use; formal vs. actual parameters; scope of parameter names; void vs. non-void return types; using return to return result; invocation model (create a frame in Java execution model). Java class declarations: instance variables, class (static) variables; constructor methods, instance methods, class (static) methods; inheritance; abstract classes and methods. Java statements: local variable declarations, method invocations, assignments, if/else conditionals, while loops, for loops, return; security keywords (public, protected, private) Java expressions: literals (numbers, booleans, characters, strings), variable references (instance variables [e.g., foo.x], array subscripts [e.g., foo[i]], this, super), constructor method invocations (new), non-void method invocations, primitive operator applications (arithmetic, relational, logical). microworlds: BuggleWorld, TurtleWorld, PictureWorld, ListWorld, Java Graphics, AnimationWorld. Below are some problems intended to help you review material for the final exam. The problems do not cover all of the topics listed above, so you should also review your notes and assignments. The problems range in difficulty. Some problems are from previous final exams. Others (with some rewriting) could be turned into reasonable final exam problems. Others are too long or complex for a final exam problem, but review material that is covered on the exam. The problems are not in any particular order, so you should not feel compelled to do them in order. Rather, you should first work on those problems that cover material in which you think you need the most practice. To help you decide which problems to work on, each problem lists the concepts that the problem covers. Solutions to some problems will be presented during the review session. Solutions to most problems will be posted on-line by Monday, May 13. 1 ____________________________________________________________________________ Problem 1: Sales Statistics (Data Abstraction, Arrays, Lists, Objects, Object Diagrams) The management of the Decelerate Clothing Store (specializing in "clothes that slow you down") wants to track certain statistics about customer purchases. In particular, they want to track the amount of each purchase and whether it was made with cash or credit card. Later, they want to be able to calculate statistics based on this information, such as the largest cash purchase amount, the average amount of a credit card purchase, and the percentage of credit card purchases. The management has hired Abby Stracksen of Simplistic Statistics to implement a Java program for tracking the purchase information and calculating the desired statistics. Abby begins by designing a contract for a History class that maintains a history of customer purchase: Contract for the History Class Constructor method for the History class public History (int maxEntries); Returns a new History object that can store up to maxEntries purchase entries. Instance methods for the History class public void add (int amount, boolean cash); Adds a new purchase entry to this history: amount is the amount of the purchase; cash value true indicates a cash purchase, cash value false indicates a credit card purchase. An attempt to add an entry is ignored if maxEntries entries have been stored. public int size (); Returns the number of entries in this history. public int min (boolean cash); Returns the minimum amount of a purchase made with the given cash value. I.e. if cash is true, return the minimum purchase made with cash, otherwise return the minimum purchase made with credit card. If there are no purchases with the given cash value, returns the largest integer. public int max (boolean cash); Returns the maximum amount of a purchase made with the given cash value. If there are no purchases with the given cash value, returns the smallest integer. public int average (boolean cash); Returns the average amount of a purchase made with the given cash value. If there are no purchases with the given cash value, returns 0. public int number (boolean cash); Returns the number of purchases made with the given cash value. public double percentage (boolean cash); Returns the percentage (by number of purchases) of all purchases made with the given cash value. Returns 0 if there have been no purchases. 2 Abby has also defined the contract for a Purchase class that models an individual purchase: Contract for the Purchase class: Constructor method for the Purchase class public Purchase (int amount, boolean cash); Returns a new Purchase object that with amount amount and cash/credit mode cash. cash value true indicates a cash purchase, cash value false indicates a credit card A purchase. Instance methods for the Purchase class public int getAmount (); Returns the amount of this purchase. public void setAmount (int newAmount); Sets the amount of this purchase to be newAmount. public boolean getCash (); Returns the cash/credit mode of this purchase. public void setCash (boolean newCash); Set the cash/credit mode of this purchase to be newCash. Abby's co-worker Emil P. Mentor has begun to implement Abby's contract. Here is his implementation of the Purchase class: public class Purchase { // Instance Variables private int amount; private boolean cash; // Constructor Method public Purchase (int i, boolean b) { amount = i; cash = b; } // Instance Methods public int getAmount () { return amount; } public void setAmount (int newAmount) { amount = newAmount; } public boolean getCash () { return cash; } public void setCash (boolean newCash) { cash = newCash; } } 3 Emil also started to implement the History class, but was called away on a business trip. Here's how far he got: public class History { // Instance Variables: private Purchase [ ] purchases; private int size; // Constructor Method: public History (int maxEntries) { purchases = new Purchase[maxEntries]; size = 0; } // Instance Methods: public void add (int amount, boolean cash) { if (size < purchases.length) { purchases[size] = new Purchase(amount, cash); size = size + 1; } } // I still need to finish the other methods! - Emil } Part a. Based on Emil's implementation, draw an object diagram that shows the result of executing the following statements. Your diagram should include the local variable h and all objects that are accessible from h via some sequence of pointers. History h = new History(5); h.add(82, false); // credit purchase h.add(53, true); // cash purchase h.add(178, false); // credit purchase Part b. Finish Emil's implementation by fleshing out the missing instance methods from his History class. Part c. Your colleague Bud Lojack believes that Emil could also have written the constructor method for Purchase in either of the two ways below: public Purchase (int amount, boolean cash) { amount = amount; cash = cash; } public Purchase (int a, boolean c) { int amount = a; int cash = c; } Is Bud right? Explain. 4 Part d. On his desk, Emil left the following notes about alternative implementations of the Purchase class: Many ways to implement Purchase instance. E.g. 1) As an array of two integers. Slot 0 = amount; Slot 1 = cash (use 0 for false, 1 for true). 2) As an integer list with two elements. First element = amount; second = cash (use 0 for false, 1 for true) 3) As a single positive/negative integer. Amount is the absolute value. Positive indicates cash; negative indicates credit. 4) As a single positive integer n. Amount = n / 2; cash = n % 2, where 0 is false, 1 is true. Based on Emil's notes, provide four alternative implementations of the Purchase class that all satisfy the Purchase contract. Part e. Bud Lojack thinks that Emil should have made the amount and cash instance variables of the Purchase class public rather than private. Explain to Bud why this is a bad idea. Part f. Emil returns from his trip, and says that he had an epiphany about an alternative representation of History instances that does not involve Purchase objects. Instead, Emil thinks a history instance can be implemented as an object with three instance variables: 1. The maxEntries integer. 2. An integer list cashes holding the amounts of the cash purchases. 3. An integer list credits holding the amounts of the credit purchases. i. Repeat part (a) using this representation of the History class. ii. Write an alternative implementation of the History class based on this representation. Part g. The implementations of the History class considered above are only two of many possible implementations. What are some other implementations? For each implementation you can think of, draw an object diagram of the example from part (a). 5 ________________________________________________________________________________ Problem 2: List Partitioning (Iteration, Recursion, Lists) The following partition() method takes an integer named pivot and a list of integers named L and partitions the list into two lists: 1.All the elements in L less than or equal to pivot. 2.All the elements in L greater than pivot. The two resulting lists are returned as an array containing two integer lists. All IntList operations are prefixed with "IL." public static IntList [] partition (int pivot, IntList L) { return partitionTail(pivot, L, IL.empty(), IL.empty()); } public static IntList [] partitionTail (int pivot, IntList list, IntList lesses, IntList greaters) { if (IL.isEmpty(list)) { return twoLists(lesses, greaters); } else if (IL.head(list) <= pivot) return partitionTail(pivot, IL.tail(list), IL.prepend(IL.head(list), lesses), greaters); } else { return partitionTail(pivot, IL.tail(list), lesses, IL.prepend(IL.head(list), greaters)); } } // Auxiliary method used by partitionTail() that glues two lists into an array. public static IntList [] twoLists (IntList L1, IntList L2) { IntList [] result = new IntList [2]; result[0] = L1; result[1] = L2; return result; } 6 Part a. The partitionTail() method is a tail recursive method that specifies an iteration in four state variables named pivot, list, lesses, and greaters. Any iteration can be characterized by how the values of the state variables change over time. Below is a table with four columns, one for each state variable of the iteration described by partitionTail(). Each row represents the values of the parameters to a particular invocation of partitionTail(). pivot list lesses greaters Suppose that the list A has the printed representation [7,2,3,5,8,6]. Fill in the above table to show the parameters passed to successive calls to partitionTail() in the computation that begins with the invocation partition(5, A). You have been provided with more rows than you need, so some rows should remain empty when you are done. Part b. It is possible to express any iteration as a while loop. Give a complete definition of a class method partitionWhile() that behaves just like the above partition() method except that it uses a while loop rather than tail recursion to express the iteration of partitionTail(). Part c. In the above partition() method, elements in the two returned lists are in a relative order opposite to their relative order in the original lists. For instance, partitioning the list [1,4,8,3,6,7,5,2] about the pivot 5 yields the lists [2,5,3,4,1] and [7,6,8]. Suppose that we want the elements of the resulting lists to have the same relative order as in the original list. If we are provided with a list reversal method reverse(), we can easily accomplish this by reversing the two lists before putting them into the result array. That is, we can change the line return twoLists(lesses, greaters); within partitionTail() to be return twoLists(reverse(lesses), reverse(greaters)); An alternative to using reverse() to achieve this behavior is to write partition() as a non-tail recursive method. Flesh out the following skeleton of partitionNotTail() which partitions the elements of a list about the pivot but maintains the relative order of the elements in the resulting lists: public static IntList [] partitionNonTail (int pivot, IntList L) { if (isEmpty(L)) { return twoLists(IL.empty(), IL.empty()); } else { IntList [] subresult = partitionNonTail(pivot, IL.tail(L)); // flesh out the missing code here ... } } 7 Part d. An important use of the partition() method is a sorting algorithm known as quicksort. Here is the idea behind quicksort: To sort the elements of a list, partition the elements of the tail of the list around its head into result lists that we'll call lesses and greaters. Then result of sorting the whole list can be obtained by appending the result of sorting lesses to the result of prepending the head of the list to the result of sorting greaters. For example, if the initial list is [5,2,8,3,6,7,1,4], then partitioning the tail of the list around the head (5) yields: lesses = [4,1,3,2] greaters = [7,6,8] By wishful thinking, sorting lesses will yield [1,2,3,4] and sorting greaters will yield [6,7,8]. The result of sorting the original list is the result of appending [1,2,3,4] to the result of prepending 5 to [6,7,8]. Flesh out a method public static IntList quicksort (IntList L) that uses this idea to sort the elements of a list. You may use IL.append() to append two lists. 8 ________________________________________________________________________________ Problem 3: Squares (Recursion, Iteration, TurtleWorld, BuggleWorld, PictureWorld, Java Graphics) Below are four parts that implement a similar problem in four different microwolds that we have studied. In all parts, you should write any auxiliary methods that simplify the definition of the requested method. Part a. Write the following instance method for a SquareTurtle subclass of Turtle: public void squares (int n, int len) Draws n adjacent squares, the first of which has side length len, and the rest of which have a side length that is one half the side length of the previous square. After drawing the squares, the position and heading of the turtle should be the same as it was before drawing the squares. For instance, sara if is a SquareTurtle facing EAST, then sara.squares(5, 240) should draw the following picture and return sara to the same position and heading. 240 120 60 30 15 Part b. Write an instance method for a SquareBuggle subclass as Buggle that has the same interface as the squares() method from Part a in which each square of side length len is drawn as a len by len square of grid cells filled with bagels. 9 Part c. Write the following PictureWorld method: public Picture squares (int n, Color c1, Color c2) Returns a picture with n adjacent squares sitting at the bottom of the frame. The leftmost square should fill the lower left quadrant of the frame. Each subsequent square should be one-half the size of the square to its left. The colors of the squares should alternate between c1 and c2 from left to right. Assume that public Picture patch (Color c) returns a rectangular picture with color c that fills whole frame. Part d. Write the following instance method squares() for a SquareCanvas subclass of Canvas. public void squares (Graphics g, int n, int len, Color c1, Color c2) Draws in this canvas a picture with n adjacent colored squares as shown below. The leftmost square has side length len and an upper left corner at (0,0). Each successive square has a side length that is half the side length of the square to its left. The colors of the squares should alternate between c1 and c2 from left to right. (0,0) 10 ________________________________________________________________________________ Problem 4: Greatest Common Divisor (Iteration) Wyla Lupe has been experimenting with ways to calculate the greatest common divisor (GCD) of two integers. The GCD of two integers A and B is the largest integer that evenly divides into both A and B. For example, the GCD of 30 and 18 is 6, the GCD of 28 and 16 is 4, and the GCD of 17 and 11 is 1. A clever algorithm for computing GCDs was developed by Euclid in 300 B.C. (In fact, it is considered by many to be the oldest non-trivial algorithm!) Wyla has expressed Euclid's algorithm in Java as the following tail recursive GCDTail method. (You do not have to understand why the algorithm works!) public static int GCDTail(int A, int B) { if (B == 0) { return A; } else { return GCDTail(B, A % B); } } Recall that A % B (pronounced " A mod B") calculates the remainder of A divided by B. For example, 10%3 is 1, 10%4 is 2, 10%5 is 0, and 10%6 is 4. Part a In the following table, show the sequence of values that the parameters A and B take on in the iterative calculation of GCDTail(95,60). Important: You have been provided with more rows than you need, so some rows should remain empty when you are done. A B Part b . In the following GCDWhile code skeleton, implement an alternative version of Euclid's GCD algorithm that uses a while loop to express the same iteration that is expressed by Wyla's GCDTail method. You may wish to introduce one or more local variables. public static int GCDWhile (int A, int B) { // Flesh out this skeleton } Part c. Would it be easy to re-express Wyla's GCDTail program as a for loop? Briefly explain your answer. 11 ________________________________________________________________________________ Problem 5: Array Reversal (Arrays, Iteration) Part a. Implement the following copyReverse() method on integer arrays: public static int [] copyReverse (int [] a); Returns a new array that has the same length as a and all the elements of a in reverse order. For example, suppose that p is the following array: 0 p 17 1 -3 2 42 3 11 4 14 Then executing the statement int [] q = copyReverse (p) gives rise to the following diagram: 0 p 17 0 q 14 1 -3 1 11 2 42 2 42 3 11 3 -3 4 14 4 17 Part b. Implement the following reverse() method on integer arrays: public static void reverse (int [] a); Modifies a so that its elements are in the reverse of their original order. You should not create any intermediate arrays. For example, suppose that p is the following array: 0 r 17 1 -3 2 42 3 11 4 14 Then executing the statement reverse (r) changes the diagram to be: 0 r 14 1 11 2 42 3 -3 4 17 12 ________________________________________________________________________________ Problem 6: Inversions (Arrays, Iteration, Lists) In an integer array A, an inversion is defined to be a pair of indices (i, j) such that i < j and A[i] > A[j]. For instance, the following array s has five inversions: (0, 1), (0, 4), (2, 3), (2, 4), and (3, 4). 0 s 36 1 17 2 51 3 42 4 23 Part a. Implement the following method: public static int countInversions (int [] a); Returns the number of inversions in a. For instance, countInversions(s) should return 5. Part b. Implement the following method: public static ObjectList listInversions (int [] a); Returns a list of all the inversions in a. Each inversion (i, j) should be represented as a Point instance whose x field is i and y field is j. The order of inversions in the resulting list is immaterial. For instance, System.out.println(listInversions(s)) might (among many possible orderings) display: [java.awt.Point[x=3,y=4], java.awt.Point[x=2,y=4], java.awt.Point[x=2,y=3], java.awt.Point[x=0,y=4],java.awt.Point[x=0,y=1]] ________________________________________________________________________________ Problem 7: Inheritance (Inheritance) Consider the following five simple classes class A { public int m1() public int m2() public int m3() } class B extends A public int m1() public int m3() } class C extends B public int m2() } {return 1;} {return m3();} {return 2;} { {return m2();} {return 3;} { {return 4;} class D extends A { public int m1() {return super.m2();} public int m3() {return 5;} } class E extends D { public int m2() {return 6;} } What is printed in the stdout window when the following statements are executed? System.out.println((new System.out.println((new System.out.println((new System.out.println((new System.out.println((new A()).m1()); B()).m1()); C()).m1()); D()).m1()); E()).m1()); 13 ________________________________________________________________________________ Problem 8: Converting Betweeen Different Forms of Iteration (Lists, Arrays, Iteration) We saw in class that iterations could be expressed as tail recursions, while loops, and for loops. Each of the following parts contains a method that uses one of these forms of iteration. For each part, write two equivalent methods that use the other two forms of iteration. Part a. public static int weightedSum (IntList L) { return weightedSumTail (L, 1, 0); } public static int weightedSumTail (IntList L, int index, int total) { if (isEmpty(L)) { return total; } else { return weightedSumTail(tail(L), index + 1, (index*head(L)) + total); } } Part b. public static boolean isMember (int n, int [] a) { int i = a.length - 1; while ((i >= 0) && (a[i] != n)) { i = i - 1; } return (i >= 0); // Will only be true if n is in a. } Part c. public static void partialSum (int [] a) { int sum = 0; for (int i = 0; i < a.length; i++) { sum = sum + a[i]; a[i] = sum; } } Part d. public static void squiggle (Graphics g, int x1, int y1, int x2, int y2) { if ((x1 > 0) || (y1 > 0) || (x2 > 0) || (y2 > 0)) { g.drawLine(x1, y1, x2, y2); squiggle(g, x2, y2, y1/4, x1*2); } } ________________________________________________________________________________ Problem 9: Converting Betweeen Arrays and Lists (Lists, Arrays, Iteration) Implement the following two methods for converting between lists and arrays of integers: public static int [] listToArray (IntList L); Returns an array of integers whose length is the same as the length of L and whose elements, from low to high index, are in the same order as the elements of L. public static IntList arrayToList (int [] a); Returns a list of integers whose length is the same as the length of a and whose elements are in the same order as the elements of a (from low to high index). 14 ________________________________________________________________________________ Problem 10: Iterative List Reversal (Invocation Trees, Recursion, Iteration, Lists,) In class we studied the following recursive method for reversing a list: public static IntList reverse (IntList L) { if (isEmpty(L)) { return empty(); } else { return postpend(reverse(tail(L)), head(L)); } } public static IntList postpend (IntList L, int n) { if (isEmpty(L)) { return prepend(n, empty()); } else { return prepend(head(L), postpend(tail(L), n)); } } This is not an efficient way to reverse a list. Each call to postpend() creates a new list whose length is one more than the length of its first argument. Furthermore, postpend() is called once for each element in the list being reversed. As a consequence, lots of intermediate list nodes are created that do not appear in the final result. Part a. Assume that A is the list whose printed representation is [1,2,3,4]. Assuming that reverse() is implemented as shown above, draw an invocation treeand object diagram (i.e. box-and-pointer list representations) for the invocation reverse(A). Your tree should have one node for each call to reverse() and one node for each call to postpend()...

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:

Tulsa - MA - 7243
11.1 Program FilesPrograms in MatlabMatlab was introduced as an interactive environment in a previous chapter. However, Matlab can also interpret a block of statements that has been stored in a file. These files are known as M-files and are identified
Washington University in St. Louis - CIS - 788
QoS/Policy/Constraint Based RoutingWei Sun, wsun@cse.ohio-state.eduAbstract:This is a survey paper on Quality-of-Service(QoS) based routing. In this paper, we first introduce the concept of Quality-of-Service and its background. Second, we discuss the
Texas El Paso - SCIENCE - 0608
College of ScienceBell Hall 100 747-5536 The University of Texas at El Paso El Paso, Texas 79968-0509Updates:Bachelor of Science Degree PlanPhysics - Applied Concentration - Mathematics MinorMinimum Requirements (120/37)RevisedNameAddressDateMaj
Temple - DHILL - 001
GNU OctaveA high-level interactive language for numerical computations Edition 3 for Octave version 2.1.x February 1997John W. EatonCopyright c 1996, 1997 John W. Eaton. This is the third edition of the Octave documentation, and is consistent with vers
IUPUI - STAT - 521
Data Mining with R:learning by case studiesLuis Torgo LIACC-FEP, University of Porto R. Campo Alegre, 823 - 4150 Porto, Portugal email: ltorgo@liacc.up.pt http:/www.liacc.up.pt/ltorgo May 22, 2003PrefaceThe main goal of this book is to introduce the r
UMass (Amherst) - MU - 309
Some Music from Terezin (Theresienstadt) A whole generation of Europe's leading Jewish musicians had their careers-and their lives-cut short by the holocaust. Some few escaped to America: Arnold Schoenberg, Jaromir Weinberger, Erich Korngold, Bernard Herm
UMass (Amherst) - ECE - 697
UMKC - CS - 471
Oracle8Error MessagesRelease 8.0.4December 1997 Part No. A58312-01Oracle8 Error Messages Part No. A58312-01 Release 8.0.4 Copyright 1997, Oracle Corporation. All rights reserved. Printed in the U.S.A Contributors: Yitzik Brenman, Sandy Dreskin, Jeff H
UVA - ARH - 3604
Compton Site Finding Aid 18CV279Introduction The Compton Site (18CV279) is a mid-17th-century tobacco plantation located near the mouth of the Patuxent River at Solomons in Calvert County, Maryland. The traces of at least five earthfast structures and po
Lake County - LIR - 545
Employee Diversity Training Doesn't Work | TIMETime.comCNN.comFree ArchiveSunday, April 29, 2007HOMEU.S.WORLDBLOGSBUSINESS &amp; TECHHEALTH &amp; SCIENCEENTERTAINMENTPHOTOSMAGAZINESPECIALSEmployee Diversity Training Doesn't WorkThursday, Apr. 26, 2007 By L
University of Toronto - PEOPLE - 2505
%!PS-Adobe-2.0 %Title: A triple knot at 3 %Creator: MapleV %DocumentFonts: /Helvetica %Pages: 1 %BoundingBox: -100 -100 3399 2549 %EndComments % (actual BBox: 0 0 3299 2449) 20 dict begin gsave /m cfw_moveto def /l cfw_lineto def /C cfw_setrgbcolor def /G
Texas A&M - MEDIA - 4404
Plant Molecular Biology Reporter 15: 246254, 1997. c 1997 Kluwer Academic Publishers. Printed in Belgium.246ProtocolsA Simple Method for Identifying Plant/T-DNA Junction Sequences Resulting from Agrobacterium-mediated DNA TransformationYuanxiang Zhou,
University of Toronto - PEOPLE - 2505
%!PS-Adobe-2.0 %Title: Uniform cubic B-spline vs cubic Catmull Rom %Creator: MapleV %DocumentFonts: /Helvetica %Pages: 1 %BoundingBox: -100 -100 3399 2549 %EndComments % (actual BBox: 0 0 3299 2449) 20 dict begin gsave /m cfw_moveto def /l cfw_lineto def
University of Toronto - PEOPLE - 2505
%!PS-Adobe-2.0 %Title: Uniform Quadratic B-Spline %Creator: MapleV %DocumentFonts: /Helvetica %Pages: 1 %BoundingBox: -100 -100 3399 2549 %EndComments % (actual BBox: 0 0 3299 2449) 20 dict begin gsave /m cfw_moveto def /l cfw_lineto def /C cfw_setrgbcolo
University of Toronto - PEOPLE - 2505
%!PS-Adobe-2.0 %Title: Optimal Cubic Bezier Approximation to Circle %Creator: MapleV %DocumentFonts: /Helvetica %Pages: 1 %BoundingBox: -100 -100 3399 2549 %EndComments % (actual BBox: 0 0 3299 2449) 20 dict begin gsave /m cfw_moveto def /l cfw_lineto def
University of Toronto - PEOPLE - 2505
%!PS-Adobe-2.0 %Title: Linear, Lagrange and Bezier forms %Creator: MapleV %DocumentFonts: /Helvetica %Pages: 1 %BoundingBox: -100 -100 3399 2549 %EndComments % (actual BBox: 0 0 3299 2449) 20 dict begin gsave /m cfw_moveto def /l cfw_lineto def /C cfw_set
University of Toronto - PEOPLE - 2505
%!PS-Adobe-2.0 %Title: 7th-Degree Bezier and Piecewise Linear Forms %Creator: MapleV %DocumentFonts: /Helvetica %Pages: 1 %BoundingBox: -100 -100 3399 2549 %EndComments % (actual BBox: 0 0 3299 2449) 20 dict begin gsave /m cfw_moveto def /l cfw_lineto def
University of Toronto - PEOPLE - 260
%!PS-Adobe-1.0 %Creator: cousteau.dgp:elf (Eugene Fiume,CSRI,SF4306B,5472,G,) %Title: stdin (ditroff) %CreationDate: Wed Jan 4 15:01:38 1995 %EndComments % Start of psdit.pro - prolog for ditroff translator % Copyright (c) 1985,1987 Adobe Systems Incorpor
University of Toronto - PEOPLE - 108
%!PS-Adobe-2.0 %Title: Maple plot %Creator: MapleV %DocumentFonts: /Courier %Pages: 1 %BoundingBox: 50 30 450 420 %EndComments % (actual BBox: 0 0 3299 2449) 20 dict begin gsave /m cfw_moveto def /l cfw_lineto def /C cfw_setrgbcolor def /G cfw_setgray def
University of Toronto - PEOPLE - 108
%!PS-Adobe-2.0 %Creator: gnuplot %DocumentFonts: Helvetica %BoundingBox: 50 50 554 770 %Pages: (atend) %EndComments /gnudict 40 dict def gnudict begin /Color false def /gnulinewidth 5.000 def /vshift -53 def /dl cfw_10 mul def /hpt 31.5 def /vpt 31.5 def
University of Toronto - ECE - 334
8SOLUTIONS2.1 = Cox 3.9 8.85 1014 W W = (350 ) L 8 L 100 10 2.5 2W 2 = 120 A / V L V gs = 5Ids (mA)1.5 1Vgs = 4Vgs = 30.5 0 0 1 2Vgs = 2 V gs = 13Vds452.2In (a), the transistor sees V gs = V DD and V ds = VDS . The current isI DS 1 =
Texas A&M - M - 308
Math 308Differential EquationsSummer 1999Quiz 10B 1. Solve the Initial Value problem y +2y + 5 = 16et y(0) = 2 y (0) = -2using the Laplace transform. Answer: Take the Laplace transform of both sides of the equation, and call Y (s) := Lcfw_y(s). Lcfw_y
Bowling Green - CS - 3320
Chapter 2 Unix Utilities for non-programmersGraham Glass and King Ables, UNIX for Programmers and Users Users, Third Edition, Pearson Prentice Hall, 2003. Original Notes by Raj Sunderraman Converted to presentation and updated by Michael Weeks8/20/2008
Michigan Flint - H - 305
HCR 305 INTRODUCTIONKristine A. Mulhorn, PhD, MHSAWhat is Health Policy? POLICY Def: POLICY CYCLE: Getting problems to the gov't Agenda setting Policy formulation and legitimation Modifications or terminationHealth Policy Environment (p. 1 of 2)Cons
Washington University in St. Louis - CSE - 574
IEEE 802.21 Media Independent Handover (MIH)Raj Jain Professor of Computer Science and Engineering Washington University in Saint Louis Saint Louis, MO 63130 Audio/Video recordings of this lecture are available at: http:/www.cse.wustl.edu/~jain/cse574-08
University of Texas at Dallas - KXW - 016500
Local Recovery Solutions from Multi-Link Failures in MPLS-TE Networks with Probable Failure PatternsAndrea Fumagalli, Marco Tacca, Kai WuOptical Networking Advanced Research (OpNeAR) Laboratory Erik Jonsson School of Engineering and Computer Science The
IUPUI - CS - 240
Department of Computer and Information Science, School of Science, IUPUIProgram Control using Java - Boolean ExpressionsDale Roberts, Lecturer Computer Science, IUPUI E-mail: droberts@cs.iupui.eduDale Roberts5.8 Logical OperatorsLogical operatorsAll
Hudson VCC - NR - 143
Allegheny - BIO - 330
Maryland - WEEK - 131
1 % 1 i i wii 'wipi i# 4ii ii3w q '8r0hQw c %'iwi wi wiivwwwi 4ii ii3w % 1 i g2 f f e % % iiwvwv'iw ! b7d@i Qw c % % % 2 1 b0'w3 n)s7hF % c4 @ 1 i p 8 h @ea W U V X W V &amp; S D (4 9 W 22 &amp; 4 D &amp; F R D A &amp; 0 ( &amp; F &amp; 9 7 R 9 W 9 A R S D 9 R &amp; &amp; T QQ`YQ&quot;
CUNY Baruch - HUP - 104
Aaron J Hudson HUP104 Dr. Chaffee March 6th, 2007Thinking Critically (TPW p. 220)1) Those who have morals believe we do owe it to others and ourselves who are less fortunate. It is a blessing to be able to do things that many people take for granted.
Idaho - AGECON - 415
200 6 Idaho Livestock Costs and Returns EstimateEBB-CC1-06Cow-Calf 250 CowSummer on Private Range Winter Feeding NecessaryRobert L. Smathers, James A. Church, C. Wilson Gray, and Neil R. RimbeyBackground and AssumptionsEconomic costs are used in the
Duke - CPS - 182
http:/chronicle.com/free/v55/i23/23a01901.htm From the issue dated February 13, 2009New Rules Will Push Colleges to Rethink Tactics Against Student PiratesBy SARA LIPKAColleges are about to be told how to fight piracy. They have deployed various tactic
UMass (Amherst) - BIOEP - 540
BioEpi540WRegression and CorrelationPage 1 of 43Topic 9 Regression and CorrelationTopic1. 2. 3. 4. 5. 6. 7. 8.Definition of the Linear Regression Model . Estimation . The Analysis of Variance Table . Assumptions for the Straight Line Regression . Hy
UMKC - WEB - 1990
KYLINERJFK Cuts LDsses; Improves OperationNuOlher SlalIOll h;r, changed lb mIlChiI!&gt;Ne. Yon.&quot;)John f. KellnW) huemalion:ll All'POl1lhl~ ~ear Oper.uion.~ .ell' C(llI!&gt;Olidllcd mlo Tcmllo.1] h\c. fccdcrnightlo fur mlcm:lliuna]lU\lll') .ere reduce(l. co
Holy Cross College - ABSTRACTAL - 0708
I t ) 0( 3@ C 7) @ E @ 0B C 3 D@ 0E @ ( @ E @ (myxV 6S03 9 E ) &amp; C ) w 3) t7( 3@ C 0) @ E @ 0B C 3 DC @ 0E @ ( @ E @ ( pmmDh!xP1 C C Upx @ ) E ) &amp; ) w V X q o ) @ Fe C U0(m( 3@ C C (60) H ( C C m ey#5 C U @ F C 63 6Ayw E k! V ) E8 t) 5 k! S B X q o E
Iowa State - NR - 24935
FARM AND HOME NEWS CHARLIE BAIER, Iowa State University Howard County Extension Education DirectorFOR THE WEEK OF January 23, 2006Extension Council Officers Tom Schwartzhoff, Lime Springs was elected chairman of Howard County Extension Council at the Ja
Iowa State - NR - 98195
Evaluation Form Template-4th-12th Gradespage 1 of 5http:/www.exnet.iastate.edu/Pages/y4h/evaluation/2008 Southwest Iowa Junior 4-H Camp4-H Youth ProgramEvaluation FormWe are interested in what you learned by being involved in 4-H. Section I Life Ski
UMass (Amherst) - CS - 520
CMPSCI520 13 Middleware, ArchitectureOctober 15, 200813 Middleware, Layers, Architecture Readings Gustavo Alonso, Fabio Casati, Harumi Kuno, Vijay Machiraju, Web Services Concepts, Architectures and Applications Springer Verlag 2004 Schmidt, D. C. and
ASU - EEE - 533
EEE 533: Semiconductor Device and Process Simulation Spring 2001 Introduction to Silvaco ATLAS Tool Part - 2 Instructor: Dragica VasileskaDepartment of Electrical Engineering Arizona State UniversityEEE 533 Semiconductor Device and Process Simulation(B
UC Davis - EEC - 274
Characterising the Use of a Campus Wireless NetworkDavid Schwab and Rick BuntDepartment of Computer Science University of Saskatchewan Saskatoon, SK S7N 5A9 Canada cfw_das515, bunt@cs.usask.caAbstract-We present the results of an analysis of the usage
Stanford - RSTN - 1025
US District Court Civil Docket as of 12/26/2007 Retrieved from the court on Wednesday, January 16, 2008U.S. District Court California Northern District (San Francisco) CIVIL DOCKET FOR CASE #: 3:02-cv-03581Pasparage et al v. Riverstone Networks Inc. et
Purdue - AAE - 364
1Root Locus DesignOpen loop pole and zero locations dictate the shape of the root locus. The plant transfer function is given hence we can change it. However, by placing the poles and zeros of the controller we can modify the shape of the root locus. In
Concordia Chicago - NU - 471
C. Kennedy Ling 471Northwestern University Fall 2003The semantics of nominal referenceMass, count, singular, plural1 1.1 Some relevant facts and questions Interpretive issuesWhat sort of thing could be the argument of the predicates number few and to
Texas A&M - CS - 662
CPSC-662 Distributed ComputingJava/DSMDSM Case Study I: Java/DSM A Platform for Heterogeneous ComputingW. Yu, A. Cox Department of Computer Science Rice University July, 1997Java/DSM: Introduction DSM (as opposed to, e.g., message passing) allows to
UVA - CS - 200
Lecture 1: IntroductionCS200: Computer Science University of Virginia Computer ScienceDavid Evanshttp:/www.cs.virginia.edu/~evansMenu What Is Computer Science? Why Computer Science is Not Engineering First Main Theme: Recursive Definitions Course Mec
Georgia Tech - CS - 6456
User Interface Software ToolsBrad A. Myers August 1994 CMU-CS-94-182School of Computer Science Carnegie Mellon University Pittsburgh, PA 15213 Also appears as Human-Computer Interaction Institute Technical Report CMU-HCII-94-107This report supersedes C
Dallas - PDFS - 200702
2 URANUSFeb. 2007Straight from UranUS! UTD releases SSNs to counter information leakDo you recognize your number? say administratorsRICHARDSON (AMP) In the wake of recent revelations that more than 35,000 students and faculty have had their personal i
Calvin - STU - 102
4NatioNal &amp; World NeWsC himesFebruary 15, 2008Aborigines accept apology, attempt at racial reconciliationrates of jailing, unemployment and illiteracy. Their life expectancy is 17 years shorter than Aborigines organized breakother Australians. fast b
Oregon - DOCS - 232
ARTICLESSIDNEY P. OTTEMThe General Adjudication of the Yakima River: Tributaries for the Twenty-First Century and a Changing ClimateI. II. The Yakima River: What It Is and What It Does . 279 Formation and Procedure of the Adjudication . 285 A. Jurisdic
Old Dominion - CS - 1671
Copyright 2005, Scott LeuteneggerChapter 3: Bouncing Gargoyles: Branching Control StructuresSo now we can make a ball move across the screen, and in last chapters exercises you learned how to move the ball up or down as well as left or right. But the an
Yale - CS - 445
Predictability of Vegetation Growth Conditions based on Climatic ConditionsInvestigating the variation in bimonthly Normalized Difference Vegetation Index (NDVI) as surrogates for green biomass accumulation and monthly climatic conditions, I try to predi
Universitat de Valencia - PE - 148
Palaeontologia Electronicahttp:/palaeo-electronica.orgA REVIEW OF THE POST-MORTEM DISPERSAL OF CEPHALOPOD SHELLS Richard A. ReymentABSTRACT Among invertebrates, the distribution of chambered cephalopods constitutes a special case owing to their potenti
NYU - C - 150002
Solution to Problem Set 10 Foundations of Financial Markets Prof. Lasse H. Pedersen 1. The option price tree is: t=0 t=1 t=2 10 9.52 6.80 4.76 0 This is seen as follows: (a) If the stock price is 144 or 108 at maturity, then the option is worth 10. If the
RPI - BIOL - 4540
Bioinformatics 1 - lecture 15Simple language model TMHMM Clustering sequence proles, motifs HMMSTR, grammatical structure in protein sequencesA Markov chain made of wordsSequence dataThe dog bit the mailman. The mailman kicked the dog back.Markov mod
Purdue - EE - 557
ECE 557 Homework #1 AnswersSeptember 17, 20041. Consider the diode fabrication process described in the laboratory manual. a) List the masks that are used, in order. b) Make a cross-sectional sketch of a diode region and an MOS capacitor as it would app
UMass (Amherst) - BMAT - 211
Perspective Sections from the southwestGuest houseMain houseSite DesignStrategic Plan for envelope designHeat Loss Component BudgetMain HouseR VALUES Wall R Value Floor R Value Window R Value Sloped Ceiling R Value Slab edge ELEMENT Wall Wall below
University of Texas at Dallas - RKM - 4320
OUR LADY OF THE LAKE UNIVERSITY SCHOOL OF BUSINESS COURSE OUTLINE COURSE NUMBER: ELCM 4320 TITLE: Computer &amp; Telecommunications SecurityCATALOG DESCRIPTION: The impact of audit and security requirements on the design of information systems and telecommun
UMass (Amherst) - BIOEP - 540
HT 37 A possible environmental determinant of lung function in children is the amount of cigarette smoking in the home. To study this question 2 groups of children were studied. Group 1 consisted of 23 nonsmoking children aged 5-9 both of whose parents sm
NYU - TP - 431
Reading Group10/28/20051 Dean Mark 2 Karantounias Tasos 3 Halket Jonathan 4 Tsyrennikov Victor 5 Pignatti Matteo 6 Liao Wei 7 Wang Peng 8 Favilukis Jack 9 Palazzo Dino 10 BarbosaFIlho Fernando 11 Nie Jun 12 Ruta Guido 13 Lambert Frederic 14 Piskorski To