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:
Waterloo - PSYCH - 101
Antisocial RelationsModule 581Social RelationsSocial psychology teaches us how we relate to one another from prejudice, aggression and conflict to attraction, altruism and peacemaking.2PrejudiceSimply called, "prejudgment," a prejudice is an unjust
Waterloo - PSYCH - 101
Prosocial RelationsModule 591Psychology of Attraction1. Proximity: Geographic nearness is a powerful predictor of friendship. Repeated exposure to novel stimuli increases their attraction (mere exposure effect).A rare white penguin born in zoo was ac
Waterloo - PSYCH - 101
Final Review Module 1 Match the type of psychologist with a description of their work. a. counseling h. b. clinical i. c. psychiatric j. d. school k. e. educational l. f. developmental m. g. experimental n. 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14.h
Waterloo - PSYCH - 101
CS 240 Module 0 Administrative InformationDouglas R. StinsonDavid R. Cheriton School of Computer Science University of WaterlooFall 20111 / 46PersonnelDr. Douglas Stinson office: DC 3522 phone: x35590 email: dstinson@uwaterloo.ca Lectures: 02:30-03
Waterloo - PSYCH - 101
CS 240 Module 1 Introduction and Analysis of AlgorithmsDouglas R. StinsonDavid R. Cheriton School of Computer Science University of WaterlooFall 20118 / 46Course Objectives: What is This Course About?In a nutshell, the objective of the course is to
Waterloo - PSYCH - 101
Stacks and QueuesStack A stack is an ADT consisting of a collection of items with operations Push and Pop. Items are removed in LIFO (last-in first-out) order. Queue A queue is an ADT consisting of a collection of items with operations Enqueue and Dequeu
Waterloo - PSYCH - 101
QuickSort (review)In QuickSort, we are given an array A of n items. First, we choose an element as the pivot and Partition the array so all elements preceding the pivot are less than the pivot, and all elements following the pivot are greater than the pi
Waterloo - PSYCH - 101
Dictionary ADTA dictionary is an ADT consisting of a collection of items with operations Insert, Delete and Search (this operation may also be named Find). We search for items by the value of their keys. Typically, items may contain additional satellite
Waterloo - PSYCH - 101
Key-indexed SearchSuppose that the items in a dictionary all have keys that are elements of a small universe U, e.g., U = cfw_0, . . . , M - 1. Then we can store the item with key value k in T [k], where T is an array (sometimes called a table) of length
Waterloo - PSYCH - 101
Self-organizing SearchWe consider a list of n distinct items, say 1, 2, . . . , n, stored in an array A. Items are accessed according to some fixed probability distribution: Pr[i is accessed] = pi , 1 i n. Every access of an item is an independent event.
Waterloo - PSYCH - 101
Radix Trees (Tries)Suppose we have data items whose keys are binary strings, not necessarily of the same length. We can organize our data into a dictionary using a binary tree based on bitwise comparisons of strings. This data structure is called a radix
Capitol College - MBA - MBA 620
PROBLEM 2-42 1. a. Total prime costs: Direct material. Direct labor: Wages. Fringe benefits. Total prime costs. 485,000 95,000 $2,680,000 $2,100,000b.Total manufacturing overhead: Depreciation on factory building. Indirect labor: wages. Production super
Capitol College - MBA - MBA 620
PROBLEM 2-44 (15 MINUTES) 1. Regular hours: 40 $12. Overtime hours: 8 $16. Total cost of wages. 2. a. Direct labor: 38 $12. b. Manufacturing overhead (idle time): 1 $12. c. Manufacturing overhead (overtime premium): 8 ($16 $12). d. Manufacturing overhead
Capitol College - CHEMISTRY - CH 120
Objective: The objective of this lab is to receive two unknown pieces of metal and determine the identity of each. This was to be done by calculating the densities of each in two ways, then compare it to the density chart. By doing this, one should be abl
Capitol College - CHEMISTRY - CH 120
Objective: In this experiment, one will determine the density of liquid water. Once this density and its change with temperature are known, one can use this information to find out what volume should be occupied by a known mass of water at a given tempera
Capitol College - CHEMISTRY - CH 120
OBJECTIVE The objective of this lab was to study the kinds of compounds that form hydrates. From this lab one should be able to determine the percentage of hydrate water lost by an unknown compound upon heating. From this one may be able to calculate the
Capitol College - COMPUTER - CS 220
Capitol College CS220 - Database Management Assignment # 7 SQL Assignment # 3 1. Write a query to display the current date. Label the column Date. SQL> select sysdate "Date" from dual; 2. Display the employee number, name, salary, and salary increase by 1
Capitol College - COMPUTER - CS 220
Capitol College CS220 - Database Management Assignment # 6 SQL Assignment # 21. Create a query to display the name and salary of employees earning more than $2850. Save your SQL statement to a file named p2ql.sql. Run your query. SQL> SELECT ename,sal 2
Capitol College - COMPUTER - CS 220
Capitol College CS220 - Database Management Assignment # 8 SQL Assignment # 4 1.Write a query to display the name, department number, and department name for all employees. Select e.ename, e.deptno, d.dname from emp e, dept d Where e.deptno = d.deptno; 2.
Capitol College - COMPUTER - CS 220
David Carothers CS-220 10/29/07 Assignment #7 SQL assignment #3 (Microsoft Word made a lot of the columns crooked) 1. input: select sysdate as "Date" from dual; Date -22-OCT-07 2. input: select empno, ename, sal, round(sal*1.15,0) as "New Salary" from emp
Capitol College - COMPUTER - CS 220
David Carothers CS-220 11/5/07 Assignment #8 SQL Assignment #4 1. select emp.ename, emp.deptno, dept.deptno from emp, dept 2. select job from emp where deptno LIKE 30 3. Select e.ename , d.dname, d.loc from emp e, dept d where e.deptno = d.deptno and e.co
Capitol College - COMPUTER - CS 220
David Carothers Capitol College CS220 Database Management EXAM 2 1. DESC SALGRADEName Null? Type - - -GRADE NUMBER LOSAL NUMBER HISAL NUMBERSELECT * FROM SALGRADEGRADE LOSAL HISAL - - -1 700 1200 2 1201 1400 3 1401 2000 4 2001 3000 5 3001 99992. selec
Capitol College - COMPUTER - CS 220
David Carothers Capitol College CS-220 Database Management Final Exam 1. SELECT ENAME, HIREDATE FROM EMP WHERE DEPTNO = (SELECT DEPTNO FROM EMP WHERE ENAME = 'BLAKE') AND ENAME != 'BLAKE' 2. SELECT EMPNO, ENAME FROM EMP WHERE SAL > (SELECT AVG(SAL) FROM E
Capitol College - COMPUTER - CS 230
David Carothers CS 230 E01 9/12/07 1. Mark the following statements as true or false. a. The lifecycle of software refers to the phrases from the point the software was conceived until it is retired. T b. The three fundamental stages of software are devel
Capitol College - COMPUTER - CS 230
David Carothers CS 230 E01 9/26/07 Exercises 2. Draw a class hierarchy in which several classes are derived from a single base class. Base Class Derived ClassExponet (math.pow) Math Round (math.round) Square Root (math.sqrt) 3. Suppose that a class emplo
Capitol College - COMPUTER - CS 230
David Carothers 10/3/07 CS 230 Homework #3 3. What is the output of the following code: Int x; Int y; Int *p = &x; Int *q = &y; *p = 35; *q = 98; *p = *q; Cout < x < "_" < y < endl; Cout < *p < "_" < *q < endl; Output: 98_98 98_98 4. What is the output of
Capitol College - COMPUTER - CS 230
David Carothers CS 230 10/9/07 Exercises Homework #4 1. What are the three main components of the STL? a. Containers b. Iterators c. Algorithms 2. What is the difference between an STL container and an STL iterator? a. While both are class templates, cont
Capitol College - COMPUTER - CS 230
David Carothers CS 230 10/16/07 Homework # 5 Excercises 2. What is the output of the following code? a. cout<list-> info; b. cout<A->info; c. cout<B->link->info; d. cout<list->link->link->info; 5. Add the function splitAt to split a linked list at a node
Capitol College - COMPUTER - CS 230
David Carothers CS 230 10/24/07 Homework # 6 Excercises 2. What is a base case? The case in which the solution is given directly. 3. What is a recursive case? The case in which the base class is derived from. Also known as the general case. 7. Consider th
Capitol College - COMPUTER - CS 230
David Carothers CS 230 11/7/07 Homework # 7 Excercises 5. Write the equivalent infix expressions for the following postfix expressions. a. a b * c + a*b+c b. a b + c d - * (a+b)*(c-d) c. a b c- d * (a-b) c) * d 8. Write the definition of the function temp
Capitol College - COMPUTER - CS 230
David Carothers CS 230 11/7/07 Homework # 8 Excercises
Capitol College - COMPUTER - cs 418
CS-418 Homework 1 - Key Professor: Van Horn Pp. 26-27 1.1 What are the two main purposes of an operating system? o efficient use of resources o protection o ease of use 1.3 What is the main advantage of multiprogramming? o more efficient use of CPU keeps
Capitol College - COMPUTER - cs 418
CS-418 Operating Systems Professor: Van Horn Homework 2 Chapters 3 & 4 Pp. 147 - 149 o 5.1 Provide two examples of multithreading that improve performance over a single-threaded process. o 5.3 What are two differences between user-level threads and kernel
Capitol College - COMPUTER - cs 418
Professor: Van HornCS-418 Homework 3 1. What are the four requirements for deadlock? 2. Explain why the graph on Slide 11 in the Chapter PowerPoint file represents a deadlock.3. Explain why the graph on Slide 12 is not a deadlock even though there is a
Capitol College - COMPUTER - cs 418
CS-418 Operating Systems Professor: Van Horn Homework 4 1. Given the following memory configuration (with shaded areas assigned to running processes) 100 KB 500 KB 200 KB 300KB 600 KB Assume that arriving processes (in order) are 212KB, 417KB, 112KB, and
Capitol College - COMPUTER - cs 418
CS-418 Operating Systems Professor: Van Horn Homework 5: Virtual Memory Page Replacement Simulation Assignment: Write a simulation of a virtual memory manager that can manage frames using a FIFO, Optimal, or LRU algorithm. Your simulator will read a file
Capitol College - COMPUTER - cs 418
Professor: Van Horn CS-418 Operating Systems Homework # 6 Disk I/O Scheduler Simulation Assignment: Write a simulation of disk scheduler that can service disk I/O requests using FIFO, SSTF, and Scan algorithms. Your simulator will read a file named "IOReq
Capitol College - COMPUTER - cs 418
CS-418 Operating Systems Professor: Van Horn Homework 4 Write a Simulator (in C+ or Java) that implements the Banker's Algorithm The Banker will read two files, resources.txt and processes.txt. (Note: be sure to use these exact filenames and assume that t
Capitol College - COMPUTER - cs 418
CS-410 Operating Systems Security Professor: J. Anderson Homework 3 Date due: Monday, September 20 Write a Round Robin Scheduler Using either C+ or Java, write a Round Robin scheduler. The scheduler will read a process ID and CPU time for 10 processes fro
Capitol College - HUMANITIES - HU 331
Chapter 1: Two Dimensional Art 1. Which of the following is a painting medium that is transparent and must be worked wet? a. Oil b. Watercolor c. Gouache d. Tempera 2. Oils, perhaps the most popular of the painting media, were developed near the end of wh
Capitol College - HUMANITIES - HU 331
Chapter 2: Sculpture 1. All sculpture is three-dimensional. a. True b. False 2. Freestanding sculptural works are called which of the following? a. Linear b. Sculptural c. Full round d. Relief 3. Sculpture designed to be seen from one side only is called
Capitol College - HUMANITIES - HU 331
Chapter 3: Architecture 1. Which of the following is not a structural system? a. Post-and-lintel b. Cantilever c. Arch d. Suspension Which of the following is a structural system that consists of horizontal beams and vertical supports? a. Post-and-lintel
Capitol College - HUMANITIES - HU 331
Chapter 4: Music and Opera 1. Which of the following would be defined as a polyphonic composition based on one main theme or subject? a. Sonata b. Concerto c. Fugue d. Cantata 2. Which of the following would be defined as a composition for solo instrument
Capitol College - HUMANITIES - HU 331
Chapter 5: Theatre 1. In the theatre, types of plays such as tragedies and comedies, are called which of the following? a. Conventions b. Genres c. Dynamics d. None of the above The characteristics of tragedy have not changed from the 5th century B.C.E. t
Capitol College - HUMANITIES - HU 331
Chapter 6: Cinema 1. Which of the following is the basic picture unit of a film? a. Reel b. Shot c. Frame d. Cut Of the following, which type of film attempts to record actuality using primarily a sociological or journalistic approach? a. Absolute film b.
Capitol College - HUMANITIES - HU 331
Chapter 7: Dance 1. Dance appears to have sprung from which of the following human needs? a. Religious needs b. Psychological needs c. Aesthetic needs d. None of the above A body of group dances performed to traditional music is called which of the follow
Capitol College - HUMANITIES - HU 331
Chapter 8: Literature 1. A novel whose subject matter comprises the adventures of a rogue is called which of the following? a. Manners b. Gothic c. Historical d. Picaresque A novel whose subject matter comprises finely detailed observations of the customs
Capitol College - HUMANITIES - HU 331
Chapter 9: Ancient Approaches 1. The earliest known sculpture dates from the period of approximately what date? a. b. c. d. 2. 50,000 B.C.E. 45,000 B.C.E. 40,000 B.C.E. 30,000 B.C.E.Venus figures have been found in which of the following locations? a. b.
Capitol College - HUMANITIES - HU 331
Chapter 10: Pre-Modern WorldCheck 1 & 171. Fifth-century Athenian painting of the Classical style demonstrates which of the following? a. Naturalism b. Emotionalism c. Formal design d. 2. All of the aboveCPolyclitus's canon refers to what? a. A weapon
Capitol College - HUMANITIES - HU 331
Chapter 11 1. Which of the following represents a fundamental quality of Renaissance painting? a. Frenetic composition b. Deep space c. Open composition d. All of the above Masaccio's The Tribute Money puts each character in the archaic linear stance. a.
Capitol College - HUMANITIES - HU 331
Chapter 12: Age of Industry 1. In comparing the works of Hokusai and Hiroshige, both artists make use of deep space through linear perspective. a. True b. False The Kota tribe guardian figure exhibits which of the following characteristics? a. Anatomical
Capitol College - HUMANITIES - HU 331
Chapter 13: Modern, Post-Modern, Pluralistic World 1. According to the text, the terms pluralism and ethnocentrism are synonymous. a. True b. False According to Paula Gunn Allen, most Native Americans suffer from "land sickness." a. True b. False For the
Capitol College - HUMANITIES - HU 331
Sheet1B C B D A A B B C D D C A DRYPOINT B C < CH1 B C D A A B A C B C D B A A B A C D B B C B A B < CH2 D A C B C B A C B C D A B C C C D C D A A B A B B C C C B C < CH3 C B A B C C A C C A A D D D C B B B C B B C C C < CH4 B B D C D B B D A B B B A A B
UC Davis - EEC - 180A
UNIVERSITY OF CALIFORNIA-DAVIS DEPARTMENT OF ELECTRICAL & COMPUTER ENGINEERING EEC180A-DIGITAL SYSTEMS IFALL 2010EXAM ISTUDENT INFORMATIONName ID NumberINSTRUCTIONSThe exam is closed book and notes. A single double-sided cheat sheet is allowed. Prin
UC Davis - EEC - 180A
UNIVERSITY OF CALIFORNIA-DAVIS DEPARTMENT OF ELECTRICAL & COMPUTER ENGINEERING EEC180A-DIGITAL SYSTEMS IFALL 2010EXAM ISTUDENT INFORMATIONName ID Number Hussain Al-Asaad xxx-xx-xxxxINSTRUCTIONSThe exam is closed book and notes. A single double-sided
UC Davis - EEC - 180A
UNIVERSITY OF CALIFORNIA-DAVIS DEPARTMENT OF ELECTRICAL & COMPUTER ENGINEERING EEC180A-DIGITAL SYSTEMS IFALL 2010EXAM IISTUDENT INFORMATIONName ID NumberINSTRUCTIONSThe exam is closed book and notes. A single double-sided cheat sheet is allowed. Pri
UC Davis - EEC - 180A
UNIVERSITY OF CALIFORNIA-DAVIS DEPARTMENT OF ELECTRICAL & COMPUTER ENGINEERING EEC180A-DIGITAL SYSTEMS IFALL 2010EXAM IISTUDENT INFORMATIONName ID Number Hussain Al-Asaad xxx-xx-xxxxINSTRUCTIONSThe exam is closed book and notes. A single double-side
UC Davis - EEC - 180A
UNIVERSITY OF CALIFORNIA-DAVIS DEPARTMENT OF ELECTRICAL & COMPUTER ENGINEERING EEC180A-DIGITAL SYSTEMS IWINTER 2011EXAM ISTUDENT INFORMATIONName ID NumberINSTRUCTIONSThe exam is closed book and notes. A single double-sided cheat sheet is allowed. Pr
UC Davis - EEC - 180A
UNIVERSITY OF CALIFORNIA-DAVIS DEPARTMENT OF ELECTRICAL & COMPUTER ENGINEERING EEC180A-DIGITAL SYSTEMS IWINTER 2011EXAM ISTUDENT INFORMATIONName ID Number Hussain Al-Asaad xxx-xx-xxxxINSTRUCTIONSThe exam is closed book and notes. A single double-sid
UC Davis - EEC - 180A
UNIVERSITY OF CALIFORNIA-DAVIS DEPARTMENT OF ELECTRICAL & COMPUTER ENGINEERING EEC180A-DIGITAL SYSTEMS IWINTER 2011EXAM IISTUDENT INFORMATIONName ID NumberINSTRUCTIONSThe exam is closed book and notes. A single double-sided cheat sheet is allowed. P
UC Davis - EEC - 180A
UNIVERSITY OF CALIFORNIA-DAVIS DEPARTMENT OF ELECTRICAL & COMPUTER ENGINEERING EEC180A-DIGITAL SYSTEMS IWINTER 2011EXAM IISTUDENT INFORMATIONName ID Number Hussain Al-Asaad xxx-xx-xxxxINSTRUCTIONSThe exam is closed book and notes. A single double-si