Documents Found!
As seen in
Less Work, Better Grades
Join
Course Hero
Access
best resources
Ace
your classes
Ace your courses with Course Hero!

Submit your homework question or assignment here:
352 Tutors are online
 
We are so confident that you will love our service, we will answer your first homework question for FREE!
*  Attach Assignment (optional):
 
Study Smarter, Score Higher
 
Document Content (unformatted)
Course Hero has millions of student submitted documents similar to the one below including study guides, homework solutions, papers, exam answer keys and textbook solutions.
(Database CSc460 Systems) Assignment 5 Solutions Fall 2007:14 Question 1 Express the following queries in relational algebra, domain relational calculus, and tuple relational calculus, using the relations handed out in homework 4 solution. Attempt to use the different relational operators that we have covered, including the derived operators, such as natural join, as much as possible. a. List the ID#s of all artifacts which are displayed in Room #10. Relational Algebra Artifact ID ( Room Number = 10 (Displayed In)) Tuple Relational Calculus {t.Artif act ID|Displayed In(t) t.Room N umber = 10} Domain Relational Calculus Rename the attributes for the relations used as follows. Displayed In(A, V, R) A = Artifact ID, V = Visitor Name, R = Room Number Is Owned By(V, A, P) P = Purchase Price Artifact(A, T, I, W, H, L) T = Title, I = Image, W = Width, H = Height, L = Length Style(S, A) S = Style Institution(C, N, V, E, G) C = City, N = Institution Name, E = Endowment, G = G or M Owner(V) {A| V, R(Displayed In(A, V, R) R = 10)} 1 CSc460 (Database Systems) Assignment 5 Solutions Fall 2007:14.2 b. List the name of all owners with artifacts in the expressionist style. Relational Algebra Visitor Name ( Style ="Expressionism" (Is Owned By TRC Style)) {t.V isitor N ame| s(Is Owned By(t) Style(s) s.Style = "Expressionism" t.Artif act ID = s.Artif act ID)} DRC {V | A, P (Is Owned By(V, A, P ) Style("Expressionism", A))} c. List all artifacts who are owned by those who display them. Relational Algebra Artifact ID (Displayed In TRC Is Owned By) {t.Artif act ID| s(Is Owned By(t) Displayed In(s) t.V isitor N ame = s.V isitor N ame t.Artif act ID = s.Artif act ID)} DRC {A| V, R(Displayed In(A, V, R) P (Is Owned By(V, A, P )))} d. List the room number(s) containing artifacts owned by the Guggenheim Museum in Bilbao and artifacts owned by the San Francisco MoMA along with the styles of these artifacts. Relational Algebra This query is so difficult because we have to make sure that the Guggenheim artifact is in the same room as the MoMA artifact, which can be done with an intersection or an equijoin (we use the latter), but then we have to get the style from each of these, which could be a different style. We use a self-join and a operator to differentiate the two Artifact IDs after the selfjoin. 2 CSc460 (Database Systems) Assignment 5 Solutions Fall 2007:14.3 1.d cont. Q1 = Institution Is Owned By Displayed In Q2 = Room Number, Artifact ID ( Institution Name ="Guggenheim"City ="Bilbao" (Q1 )) Q3 = Room Number, Artifact ID ( Institution Name ="MoMA"City ="San Francisco" (Q1 )) Q4 = Q2 Room Number = M.Room Number (M (Q3 )) Room Number, Style ( Room Number, Artifact ID (Q4 ) Style) Room Number, Style ( M.Room Number, Artifact ID (Q4 ) Style) TRC For such complex tuple relational calculus expressions, the names of the variables and how you break it up across lines really make a difference. As with the RA, we need two sets of variables for Institution, Displayed In, and Owned By. The G are the Guggenheim ones; the M are the MoMA ones. The Room Numbers should be identical, but the Artifact IDs won't be. The relational union is done using logical "or" in the TRC. Note that the parentheses around the "or" can't be omitted. Once you have the algebra for this query, the TRC isn't that hard: just a step-by-step translation. {DI G.Room N umber, S.Style | I G I M DI M OB G OB M ( Displayed In(DI G) Displayed In(DI M ) Style(S) Institution(I Institution(I G) M ) Is Owned By(OB G) Is Owned By(OB M ) I G.Institution N ame = "Guggenheim" I G.City = "Bilbao" I M.Institution N ame = "M oM A" I M.City = "San F rancisco" I G.V isitor N ame = OB G.V isitor N ame I M.V isitor N ame = OB M.V isitor N ame DI G.V isitor N ame = I G.V isitor N ame DI M.V isitor N ame = I M.V isitor N ame OB G.Artif act ID = DI G.Artif act ID OB M.Artif act ID = DI M.Artif act ID (S.Artif act ID = DI G.Artif act ID S.Artif act ID = DI M.Artif act ID) DI G.Room N umber = DI M.Room N umber)} DRC It turns out that the DRC is much shorter for this query, for a couple of reasons. First, the strings as constants works well, and there are four of them. Secondly, the equijoins are just reused variables. And thirdly, we use unprimed variables for the MoMA and primed for the Guggenheim. {R, S| V, E, G(Institution("San F rancisco", "M oM A", V, E, G) V , E , G (Institution("Bilbao", "Guggenheim", V , E , G ) P, P (Is Owned By(V, A, P ) Is Owned By(V , A , P ) Displayed In(A, V, R) Displayed In(A , V , R) (Style(S, A) Style(S, A ))))} 3 CSc460 (Database Systems) Assignment 5 Solutions Fall 2007:14.4 1.e. List the owners who do not display any artifacts. Relational Algebra This is a great opportunity for using the semi-join. Visitor Name (Owner) - Visitor Name (Is Owned By TRC Artifact ID (Displayed In)) {t.V isitor N ame|Owner(t) s, o(Displayed In(s) Is Owned By(o) s.Artif act ID = o.Artif atct ID t.V isitor N ame = s.V isitor N ame)} DRC {V |Owner(V ) A, R, V , P (Displayed In(A, V, R) Is Owned By(V , A, P ))} f. List the owners who display every single style. Relational Algebra The observant reader will note that the following expression doesn't involve the Owner relation. We could natural join this with Owner and then project out Visitor Name. However, in this particular case, that is not necessary, since Visitor Name is just a foreign key to Owner. Visitor Name, Style (Displayed In TRC Style) Style (Style) This is a direct translation with the following slight modification: "List the owners for which for every style, that owner displays an artifact of that style." Here we need the Owner relation because we need a tuple variable on the outside of the forall. We could have used another d variable with Displayed In(d ), though it wouldn't have matched the English as well. Note that s is needed in the "then" part because s just stands for style, not for a particular artifact. {o.V isitor N ame| Owner(o) s(Style(s) d s (Displayed In(d) Style(s ) s.Style = s .Style d.Artif act ID = s .Artif act ID d.V isitor N ame = o.V isitor N ame))} DRC Here again the DRC is shorter, in this case, just one line. Note that the A in the "if" part is different from the A in the "then" part. The first is an arbitrary artifact; we use that to get a style. The second A is a particular artifact displayed by the owner. {V |Owner(V ) S(( A(Style(S, A))) A R(Displayed In(A, V, R) Style(S, A)) )} 4 CSc460 (Database Systems) Assignment 5 Solutions Fall 2007:14.5 Question 2 Give a query in English on the UA CATS schema that cannot be expressed using the five basic relational algebra operators, and justify briefly. There are many possible answers. Here's one: "List the artifacts in ascending order of artifact id". This cannot be be expressed using the five basic relational algebra operators since all the schemas and instances of relations are sets, and, by definition, there is no notion of order in sets. 5
Textbooks related to the document above:
Find millions of documents here - Study Guides, Homework Solutions, Papers, Exam Answer Keys and more. Course Hero has millions of course related materials that will enable you to learn better, faster and get an A in all your courses.
Below is a small sample set of documents:

Arizona >> CS >> 460 (Fall, 2009)
CSc460 (Database Systems) Assignment 8 Fall 2007:16 Handed out: Thursday November 1, 2007 Due: Thursday November 15, 2007 (turnin on lectura by 11:59pm) 1 Overview For this assignment you are asked to develop a UA CATS application using Oracle ...
Arizona >> CS >> 460 (Fall, 2009)
CSc 460 (Database Systems) Webreg Conceptual Schema FaI1 2007:8 \\ Deg\\ G , . s t\\ ,\") Lsr.c.-) 1.s-s(.) - !:*-) ( c\\- c<t\\-r 9- (- \ -.( \\ /\' (> / t r-,f ) I!\". (or { ...
Arizona >> CS >> 460 (Fall, 2009)
t03o01 (1/1) t03o01: The SuppliersPartsProjects Database (from C.J. Dates An Introduction to Database Systems) Schema: S P J SPJ S# P# J# S# Sname Pname Jname P# J# Status Color City Qty City Weight City Values: S S# S1 S2 S3 S4 S5 P# P1 P2 P3 P4 ...
Arizona >> CS >> 460 (Fall, 2009)
Assignment Class Prepared by Homework #1 CSc 460, Database Systems Amit Shrestha 1. Exercise 1.12. Cite some examples of integrity constraints that you think should hold on the database shown in Figure 1.2. There are numerous : Every record in GRA...
Arizona >> CS >> 460 (Fall, 2009)
t08n01 (1/1) t08n01: PostgreSQL API #1: ecpg (Embedded SQL) 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 #include <stdio.h> #include <string.h> EXEC SQL include sql...
Arizona >> CS >> 460 (Fall, 2009)
t02o01: Sparse and Dense Primary Indices University Eau Claire Green Bay La Crosse Madison Milwaukee Oshkosh Parkside Platteville River Falls Stevens Point Stout Superior Whitewater RID University Eau Claire Green Bay La Crosse Madison Milwaukee O...
Arizona >> CS >> 460 (Fall, 2009)
CSc 460 (Database Design) Visitor_Name (1,n) CREATES (1,m) UA CATS: EER Schema Style Title Artifact_ID# Fall 2007: 8 ARTIFACT Dimensions Image VISITOR Width Height Length (0,m) (0,1) (0,n) COMMISSIONS (0,p) O Comm. Price Gender DoB IS_OWNED _BY ...
Arizona >> CS >> 460 (Fall, 2009)
CSc460 (Database Systems) Assignment 9 Fall 2007:18 Handed out: Thursday November 15, 2007 Due: Thursday December 6, 2007 (turnin on lectura by 11:59pm) 1 Overview Your assignment is to create a subset of the UA CATS web application. You are to...
Arizona >> CS >> 460 (Fall, 2009)
Functional Dependencies Assessment Wayne Sun December 11, 2003 1. Armstrongs Axioms (Use chart in back) Use Armstrongs Axioms to prove the Armstrong Rules: a. If XY and YWZ then XWZ b. If XY and XZ then XZ c. If XYZ then XY and XZ 2. Consider the re...
Arizona >> CS >> 460 (Fall, 2009)
CSc 460 (Database Design) INFORMATION Fall 2007:1 COURSE Section 1 (3:30-4:45pm T TH) The course will be held in Gould-Simpson 906. DESCRIPTION 460. Database Design (3). This is a broad coverage course whose primary purpo...
Arizona >> CS >> 460 (Fall, 2009)
CSc 460 (Database Systems) Assignment 2 Solutions Fall 2007:5 5. Name four relationships each between *two* tables of the database shown in Figure 1.2 (p.8) in the text book (Database Systems Fifth Edition). The database in Fig...
Arizona >> CS >> 460 (Fall, 2009)
CSc 460 (Database Systems) Assignment #1 Fall 2007:3 Handed out: Tuesday, August 21, 2007 Due: Tuesday, August 28, 2007 Write a two-page (single- or double-spaced) essay on some behind-the-scenes use of database techn...
Arizona >> CS >> 460 (Fall, 2009)
1. Enter an artifact 2. Enter an institution 3. Print artifact with specific ID 4. Print institutions and what artifacts they own Q. Quit the program Enter 1-4 or Q to Quit: 1. Enter an artifact 2. Enter an institution 3. Print artifact with specific...
Arizona >> CS >> 460 (Fall, 2009)
CSc 460 (Database Systems) Assignment 4 Solutions Fall 2007:11 1. Map the EER schema of the UA CATS system into tables, and indicate the primary key and foreign keys. Use the following format to write your tables: Relation(Attr...
Arizona >> CS >> 460 (Fall, 2009)
1. Enter an artifact 2. Enter an institution 3. Print artifact with specific ID 4. Print institutions and what artifacts they own Q. Quit the program Enter 1-4 or Q to Quit: Enter artifact ID: Enter title: Enter image: Enter width: Enter height: ...
Arizona >> CS >> 460 (Fall, 2009)
1 12345 Raft of the Medusa ./medusa.jpg 8 193.3 282.3 3 12345 Q...
Arizona >> CS >> 352 (Fall, 2008)
Final Version August 26, 2008 CSc 352 Systems Programming and UNIX Final Version Fall 2008, Tuesday-Thursday, 5:00 - 6:15 p.m. Description: Programming in C, including single and multi-dimensional arrays, lists, stacks, queues, trees, and bit ma...
Arizona >> CS >> 352 (Fall, 2008)
Pointer Review Starting address Base type Pointer Arithmetic and Arrays Stanley Yao Computer Science Department University of Arizona void * * operator Size of the value Size of the pointer Size of the value Csc352-Summer03, Stanley Yao 2 Pointer...
Arizona >> CS >> 352 (Fall, 2008)
Cs352 Homework #9 C-shell scripts, awk and a bit signales April 25, 2004 Due Time: 29/4/04 (9:00PM). Submission in pairs is NOT allowed. Turnin ID: cs352 assg9 Turnin Files: indent.awk lines summation check hw 1. Create an awk le, called indent.awk...
Arizona >> CS >> 352 (Fall, 2008)
Numbers in Computers Analog .vs. digital Digital numbers break-downs Bit Operations Stanley Yao Computer Science Department University of Arizona Number Byte Bit Word: length is decided by the register size On lectura (32-bit Machine): 1 word= 4 b...
Arizona >> CS >> 352 (Fall, 2008)
Why we need structure? Each student: ID, name, major, year Data structure for each student is compound Structure char *name; int major; int year; BAD IDEAR 4 pieces of ...
Arizona >> CS >> 352 (Fall, 2008)
Outline OS Basics Shell Basics Process I/O, Redirection & Pipe Unix Basics Stanley Yao Computer Science Department University of Arizona Csc352-Summer03, Stanley Yao 2 What is Operating System? People Word processor Web browser etc. Compilers She...
Arizona >> CS >> 352 (Fall, 2008)
Process Memory Layout malloc(): Dynamic Memory Management Stanley Yao Computer Science Department University of Arizona Heap meets stack? Access the unused space? low Code Data BSS Heap unused Write protected Stack high Csc352-Summer03, Stanley...
Arizona >> CS >> 352 (Fall, 2008)
Stream A logical model to simplify and unify the complicated I/O behaviors Analogy: unify various device and resource with the same interface files Stream Stream is a sequence of lines A line is a sequence of characters ending with newline C I/O St...
Arizona >> CS >> 352 (Fall, 2008)
{ u t P P y T R R T h h wR u X Q @hQ\'hD\'E@h@Dd1Uuvt16y yhfxQvRhvSTxhDQHwqSBxuyxPYhDhs6d@q hhq 1h)\'1De1\'4\'f\'Difq4w3\'zfxfSq)zueQ@xSPh evzTwQcHlrlvuvt16yfUSTchDqH)3SuUhSTy\'g T u h h P w u P u u t R R y P q q pq `G Go rro ...
Arizona >> CS >> 352 (Fall, 2008)
Problems There is a very complicated computation that takes a very very long time, in order to let the user know the program is working hard on the computation instead of hanging, we want to print a . on the screen every second while doing the comput...
Arizona >> CS >> 352 (Fall, 2008)
! \"# $ % ! * ) # \' \' ( ) # + ,- ./ :; ; 4 ! \"# $ % > -0 A ? 2) @ F ) 2 -) D # B 0C F F ) ) 2 2 EEE E E E EE E EEEE E E E E E F ) F ) 2 F 2 )...
Arizona >> CS >> 352 (Fall, 2008)
y h 75) 7)\' 75) B B wo1bu j6(b23dwq g 0(82fDb \' 1 1 A \' 1 ) u \' 1 h) \' 1 p \' 1 A \' (o0q\'8% XC5(3eC5R(C5iA2 qh8(wl3XC5oA(bFi\'8ijq%b23Xqd&F3r`3t1R3\'ChXlD`(d(bFi5!2C\'j(30bD2) \' B%5 \' 1 1 hn ...
Arizona >> CS >> 352 (Fall, 2008)
! \" # \" # % ! % ( , , ./ ( \" 1 31 * 02 4 + 5 *6 5 8 , 7 6 6 65 5 9 * + + * + ) : 1 31 * ( + 02 4 ; \" 1 31 * 02 4 # ( + ; \" 1 31 * + 02 4 ; \" 1 31 * ( 02 4 + ; \" 1 31 * # + 02 4 ; \" 1 31 * # 02 4 # + ; \" 1 3 1 * #+ 02 4 ; \" 1 31 ...
Arizona >> CS >> 352 (Fall, 2008)
s tiHmjh(hxUVXHVfVrtg8rdyf}V9rxirz8iHmjh(hxe ` ` ep cm` e zm cl m} Xk w ` ` ` m u l pXk h h sm e e } } pm ` u c pmw pXk h e l `w ijk(rfcDPfsViVjwxtu2 VDX(uj`Vr9xik(fkfpr9eVwxfurUPfsViVjwHmrikDVda k q ` u e sm e e } ` u u m 6jsi2Vwrk5Drg...
Arizona >> CS >> 352 (Fall, 2008)
Difficulty A large C project 30 source directories 50 files in each directory on average Make / Makefile Stanley Yao Computer Science Department University of Arizona Difficulty 1: Please compile all the files in all the directory and then link all...
Arizona >> CS >> 352 (Fall, 2008)
First problem Point location and Persistent Data structures Alon Efrat Computer Science Department University of Arizona Given a subdivision of the plane into triangles, create a data structure, such that given a query point, we can find in which tr...
Arizona >> CS >> 352 (Fall, 2008)
Alias alias name commands Give another name to a command or command sequence Why? Make your commonly used command sequences short and convenient to use alias disk du -sk /net/sal/home/yao/ Advanced C Shell Stanley Yao Computer Science Department Uni...
Arizona >> CS >> 352 (Fall, 2008)
Command Line Arguments Functions have arguments Caller specify arguments when calling the function main() function also have arguments Who specifies arguments for main()? Examples: Most UNIX tools take command line arguments cp r dir1 dir2 Csc352-Sum...
Arizona >> CS >> 352 (Fall, 2008)
! \" ! \" % ! ! $ \' $ ! #$ ! #$ ! $ $ 9 $ \'! ) ! ! ; ) : : ; ; ) ! )\' 7 ; \" : > \" ?> = > 9 ?> > > > > 8...
Arizona >> CS >> 352 (Fall, 2008)
\" $ # $ # # * % *. % / ) / 0# \" 1 % . % # 2 3 0 4 5 7# 6 #8 1 4 9 6 5 ) \' ( ! \" # # ; 4 4 # , ; # # # , # ; # 4 4 \' ( # * 5 6 1 ) , , 4 1 # %) < # %) % = < 3 # % ) % # % ) % # %) % # % 3 ...
Arizona >> CS >> 352 (Fall, 2008)
Cs352 Homework #11 Optional tries visualization May 21, 2004 Due Time: 6/21 (9:00PM). Name your le tt ptrie.c. Submission in pairs is allowed and encouraged. The problem is to show how a trie is changing, while it changes. The output, i.e. command...
Arizona >> CS >> 352 (Fall, 2008)
A E GyRBT(TG7Eu(w(ttDyuEEuGBRDBBDRR t D(DTB QvBtR{BBuEv E bk(BT(7BTE7 t EtEtu 3 \' x(b%0(bh n \' yd \' h h `r la a a \' h y h h WA \' yd \' h 1 H 72pR4%7G(b4cy7vux97(4%G7&Rxxhxbn`7s3 \'a \'l 1 \'g 3%...
Arizona >> CS >> 352 (Fall, 2008)
CSc 352 Assignment 0 Version 1.1 January 15th, 2008 Assignment 0: emacs vs. vi, csh vs. ksh Complete assignment due: Tuesday January 29th, 1:59 p.m. Problem 1 (20 points): Java and command-line arguments. For this problem, you are to parse the UN...
Arizona >> CS >> 352 (Fall, 2008)
The object of this assignment is to familiarize yourself with recursion, executing UNIX commands from another program, system calls, using the file manipulation facilites of C, Makefiles, HashTables, dynamic memory allocation, more modules, makefil...
Arizona >> CS >> 352 (Fall, 2008)
The object of this assignment is to familiarize yourself with HashTables, dynamic memory allocation, more modules, makefiles and valgrind. (Son of \"There are still no donuts to be counted for this assignment\") The assignment is due April 1st at 11:...
Arizona >> CS >> 352 (Fall, 2008)
The object of this assignment is to familiarize yourself with some of the basics of C: scanf, printf, for loops, case statements, if statements and counting donuts. The assignment is due February 7th at 1:59 pm. The assignment will be turned in ...
Arizona >> CS >> 433 (Fall, 2009)
aowx7ax7H) rvoVw)gqacSUYrVgiqUvaUbQxwpFwaUVUfacVRivg ` g Qs v TV p d T Sds b Q S pl e db d ` vcvCUeufHTfH`f`v%afHdcVfUdSwoqTUIdHfUvfabdqHc`Cu v Q d m v ` u V d QT m `s d S e l` v T d Q ` v` S Qb d 6 866 uI9uwG T SsdsV H...
Arizona >> CS >> 433 (Fall, 2009)
Syllabus and directions for the nal exam The material includes almost all the subjects discussed in class, since the discussion about z-bu er algorithm for nding occlusions between objects. 1. Accumulation bu er. 2. lighting a Ambient re ection b Di ...
Arizona >> CS >> 433 (Fall, 2009)
4Q rb yr w qa\"tr d i f htwU1UP\"6 DU38i1 $ r w V n 4 G b 0 Y 4 b G 7 % G V V FcYaatFE3Tya18HUi 3Q i4 g 1UIhI`| 7 CY GG i 7 C2b2 7 CE% 4 ( SY 7% Y A 74 (4 h 2 Y CE b b 8...
Arizona >> CS >> 433 (Fall, 2009)
Ue@f e g \"!h ! g e $f!e e 7 008 ` 06 7A 7 06 5 2A69( ` 5 2 2 2 P P 5 1$(FUb233!(Uy3BAU2@0F@U8y318s@U83$0FF6 5$8Dd1U$2FU`2yAFVy30FVUPF@8FSWFDAy1U(1W1c(FFFC3FyAd8@U4@FcQ1F$5U27 2A6 7 7 E P( 7 C0 P 5 6 X 5 2 ( b P 5 8 0 E C 29 76 ( C ( (...
Arizona >> CS >> 433 (Fall, 2009)
HOMEWORK #4 This assignment may be done in teams of two. Due Thu 11/13, 2008 by 11:59PM. mobile like the one The turnin name is cs433_hw4. The objective of this assignment is to articulate a hierarchical model using a scenegraph and to explore a si...
Arizona >> CS >> 433 (Fall, 2009)
HOMEWORK #1 Abstract. This exercise explores a fundamental process in computer graphics: how we construct 2D images, consisting of discrete pixels, from a 3D scene. For this assignment, you\'ll to write a program that animates a plate rotating around ...
Arizona >> CS >> 433 (Fall, 2009)
COMPUTER GRAPHICS: HOMEWORK #6 DUE 10/12/08 1. An Introduction to the Programmable GPU. The programmable GPU is a very powerful and versatile tool for creating realistic graphical environments in realtime. In this assignment, you will be upgrading t...
Arizona >> CS >> 433 (Fall, 2009)
HOMEWORK #3 This assignment may be done in teams of two. Due October 25, 2008 by 11:59PM. This assignment is a continuation of hw1 and hw2, but with more reliance on the 3D rendering capabilities of OpenGL, including the Z-buer, transformations with ...
Arizona >> CS >> 433 (Fall, 2009)
The Rendering Equation Photorealistic Rendering We\'ll investigate some theoretic that\'s important to the study of photorealistic rendering techniques. Today\'s topics: The Rendering Equation Radiance, Irradiance The Bi-directional Reflectance D...
Arizona >> CS >> 433 (Fall, 2009)
HOMEWORK #2 This assignment may be done in teams of two. Due October 7, 2008 by 11:59PM. The turnin name is cs433_hw2. This homework is a continuation of hw1, with a few major changes. (1) Use perceptive projection, rather than orthographic. Choose ...
Arizona >> CS >> 433 (Fall, 2009)
Computer Graphics Illumination Models & Shading Shading The Physics 2 Local vs. Global Illumination Models Local model direct and local interaction of each object with the light. Global model: interactions and exchange of light energy between dif...
Arizona >> CS >> 433 (Fall, 2009)
Computer Graphics COMPUTER GRAPHICS Winter 2008 Introduction Teaching Staff Lecturer: Alon Efrat Slides courtesy of Kobus Barnard Chraig Gotsman Mon 12:30-14:30 Contact info: Gould-Simpson, Tel: 626-8047, Mon 14:30-15:30 alon@cs.technion.ac.i...
Arizona >> CS >> 433 (Fall, 2009)
Ray Casting p For multiple light sources: I = I a k a + I p k d ( N L p ) + k s ( R p V ) n p ( ) Image precision algorithm For each pixel cast a ray r into the world Find intersection point p of r with with closest surface. Find color of...
Arizona >> CS >> 433 (Fall, 2009)
Hierarchical modeling Consider constructing a complex 2d drawing: e.g. an animation showing the plan view of a building, where the doors swing open and shut. Options: Floor Hierarchical modeling Floor Hierarchical modeling Floor Corridoor Adjoin...
Arizona >> CS >> 433 (Fall, 2009)
Quadtrees Alon Efrat Computer Science Department University of Arizona QuadTrees 11 0 1 1. A hierarchical representation of an image. 2. Consider a black/white picture stored on an 2h 2h grid. 3. Each node v corresponds to a region R(v) of the ima...
Arizona >> CS >> 433 (Fall, 2009)
Cs445/Cs545 Materials for the midterm The slides, which you can find on the course webpage, contain most of the material. 1. Transformations (translations, rotations etc) in 2D and 3D, homogenous coordinates. Approximations to rotations. Arbitrary r...
Arizona >> CS >> 433 (Fall, 2009)
v a s ppn !(yyyo y!1# pp x d qs h ~! h %! ~) Y hx) e 3kdpr 2 c W w v m n q P v s m l r 1dji e c a ` v c e r mY Y r v s n e iW w v c e v e l q dbW jp(kddIbdj11pr e W r q r e a W w r q i ...
Arizona >> CS >> 436 (Spring, 2006)
Assignment 0: Worth 5% of the Project Grade Due: Monday, January 28th at 3:59 pm (just before class) To turnin your digital pictures from lectura, type % turnin 436assignment0 takeapart.jpg setup.jpg play.jpg Exactly one person from each gr...
Arizona >> CS >> 345 (Fall, 2008)
Following is the main-method to our test-driver, along with descriptions of what each of the tests performs. If you have any questions, please email mlehew@cs.arizona.edu. Good luck! :) public static void main(String[] args) { / Empty and S...
Arizona >> CS >> 525 (Fall, 2009)
Testing Phase1 Router FILES: the following files should present in the working directory - test1.pl the testing script - Makefile and source code - topoXX the topology file assigned to you. XX is the topology number. - rtable the regular...
Arizona >> CS >> 525 (Fall, 2009)
Pee-Wee OSPF Protocol Details Protocol Overview: PWOSPF is a greatly simplified link state routing protocol based on OSPFv2 (rfc 1247). Like OSPFv2, routers participating in a PWOSPF topology periodically broadcast HELLO packets to discover ...
Arizona >> CS >> 525 (Fall, 2009)
Testing Phase1 Router Attention: * Your router will be tested on a topology different from your assignment. Make sure that * you don\'t hard code anything about your topology in the source code. * Your router will be compiled and tested on departme...
Arizona >> CS >> 525 (Fall, 2009)
Testing Phase2 Router * Your router will be tested on a topology with different IP addresses. Make sure that * you don\'t hard code anything about your topology in the source code. * Your router will be compiled and run on department linux machines ...
Arizona >> CS >> 436 (Spring, 2006)
Assignment 6: Second Phase of Implementation and Integration Worth Rest of the grade: Everything will be turned in to the repository. Due May 7th at 11:59. NO EXTENSION. At the start of class on April 7th, we will spend classtime trying out the ...
Arizona >> ISTA >> 6 (Fall, 2009)
MANAGEMENT OF ORGANIC MATTER AND NUTRIENT REGENERATION IN POND BOTTOMS THROUGH POLYCULTURE Yang Yi1, James S. Diana2 and C. Kwei Lin1 Aquaculture and Aquatic Resources Management School of Environment, Resources and Development Asian Institute of Tec...
Arizona >> ISTA >> 6 (Fall, 2009)
Brackishwater Culture of Tilapia in the Philippines: An Assessment Rafael D. Guerrero III Philippine Council for Aquatic and Marine Research and Development Los Baos, Laguna 4030 Luzviminda A. Guerrero Aquatic Biosystems Bay, Laguna 4030 Outline ! I...
Arizona >> ISTA >> 6 (Fall, 2009)
ACUTE TOXICITY OF ETHANOLIC EXTRACT OF Derris elliptica ROOTS TO Oreochromis niloticus FINGERLINGS M. O. Akinbulumo, O. A. Fagbenro and E. A. Fasakin Department of Fisheries, Federal University of Technology, PMB 704 Akure, Nigeria Abstract Replica...
Arizona >> ISTA >> 6 (Fall, 2009)
32 El-Seify M.A., Desouky,A.Y. & Bazh,Eman Parasitology Department, Kafr ElSheikh, Tanta University, Egypt. Introduction 1. Fish is considered as a source of protein. 2. Fish production is greatly affected with parasitic infection. 3....
What are you waiting for?