43 Pages

Lecture10

Course: CS 446, Fall 2008
School: Nevada
Rating:
 
 
 
 
 

Word Count: 2885

Document Preview

10 Chapter Lecture 6: Process Synchronization Modified from Silberschatz, Galvin and Gagne & Stallings Chapter 6: Process Synchronization s Background s The Critical-Section Problem s Petersons Solution s Synchronization Hardware s Semaphores s Classic Problems of Synchronization s Monitors s Synchronization Examples s Atomic Transactions CS 446/646 Principles of Computer Operating Systems 2...

Register Now

Unformatted Document Excerpt

Coursehero >> Nevada >> Nevada >> CS 446

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.
10 Chapter Lecture 6: Process Synchronization Modified from Silberschatz, Galvin and Gagne & Stallings Chapter 6: Process Synchronization s Background s The Critical-Section Problem s Petersons Solution s Synchronization Hardware s Semaphores s Classic Problems of Synchronization s Monitors s Synchronization Examples s Atomic Transactions CS 446/646 Principles of Computer Operating Systems 2 Objectives s To introduce the critical-section problem, q whose solutions can be used to ensure the consistency of shared data s To present both software and hardware solutions of the critical-section problem s To introduce the concept of an atomic transaction q describe mechanisms to ensure atomicity CS 446/646 Principles of Computer Operating Systems 3 Background s Concurrent access to shared data may result in data inconsistency concurrency is a fundamental part of O/S design concurrency includes communication among processes/threads sharing of, and competition for system resources cooperative processing of shared data synchronization of process/thread activities organized CPU scheduling solving deadlock and starvation problems s Maintaining data consistency requires mechanisms to ensure the orderly execution of cooperating processes CS 446/646 Principles of Computer Operating Systems 4 Process Interaction & Concurrency Concurrency can be viewed at different levels: Software view Hardware view multiprogramming interaction between multiple processes running on one CPU (pseudo-parallelism) multithreading interaction between multiple threads running in one process multiprocessors interaction between multiple CPUs running multiple processes/threads (real parallelism) multicomputers interaction between multiple computers running distributed processes/threads the principles of concurrency are basically the same in all of these categories CS 446/646 Principles of Computer Operating Systems 5 Process Interaction & Concurrency Whether processes or threads: three basic interactions rocesses unaware of each other they must use shared resources independently, without interfering, and leave them intact for the others rocesses indirectly aware of each other they work on common data and build some result together via the data P 1 P 2 resource P 1 P 2 data rocesses directly aware of each other they cooperate by communicating, e.g., exchanging messages P 1 messages P 2 CS 446/646 Principles of Computer Operating Systems 6 Race Condition Insignificant race condition in the shopping scenario there is a race condition if the outcome depends on the order of the execution Molay, B. (2002) Understanding Unix/Linux Programming (1st Edition). > ./multi_shopping grabbing the salad... grabbing the milk... grabbing the apples... grabbing the butter... grabbing the cheese... > > ./multi_shopping grabbing the milk... grabbing the butter... grabbing the salad... grabbing the cheese... grabbing the apples... > Multithreaded shopping diagram and possible outputs CS 446/646 Principles of Computer Operating Systems 7 Race Condition Insignificant race condition in the shopping scenario the outcome depends on the CPU scheduling or interleaving of the threads (separately, each thread always does the same thing) a al d a l pp es > ./multi_shopping grabbing the salad... grabbing the milk... grabbing the apples... grabbing the butter... grabbing the cheese... > > ./multi_shopping grabbing the milk... grabbing the butter... grabbing the salad... grabbing the cheese... grabbing the apples... > A B s CPU l mi k b d la t ut er c ap e pl s e he se A B sa CPU l mi k bu e tt r ch s ee e CS 446/646 Principles of Computer Operating Systems 8 Race Condition Insignificant race condition in the shopping scenario the CPU switches from one process/thread to another, possibly on the basis of a preemptive clock mechanism a al d a l pp es > ./multi_shopping grabbing the salad... grabbing the milk... grabbing the apples... grabbing the butter... grabbing the cheese... > A B s CPU l mi k b t ut er c e he se salad milk apples butter cheese thread A thread B Thread view expanded in real execution time CS 446/646 Principles of Computer Operating Systems 9 Race Condition Significant race conditions in I/O & variable sharing char chin, chout; void echo() { do { 1 chin = getchar(); 2 chout = chin; 3 putchar(chout); } while (...); } > ./echo Hello world! Hello world! Single-threaded echo A B char chin, chout; void echo() { do { 4 chin = getchar(); 5 chout = chin; 6 putchar(chout); } while (...); } > ./echo Hello world! Hello world! Multithreaded echo (lucky) 10 lucky CPU scheduling CS 446/646 Principles of Computer Operating Systems Race Condition Significant race conditions in I/O & variable sharing char chin, chout; void echo() { do { 1 chin = getchar(); 5 chout = chin; 6 putchar(chout); } while (...); } > ./echo Hello world! Hello world! Single-threaded echo A B char chin, chout; void echo() { do { 2 chin = getchar(); 3 chout = chin; 4 putchar(chout); } while (...); } > ./echo Hello world! ee.... Multithreaded echo (unlucky) 11 unlucky CPU scheduling CS 446/646 Principles of Computer Operating Systems Race Condition Significant race conditions in I/O & variable sharing void echo() { char chin, chout; do { 1 chin = getchar(); 5 chout = chin; 6 putchar(chout); } while (...); } > ./echo Hello world! Hello world! Single-threaded echo void echo() { char chin, chout; B do { 2 chin = getchar(); 3 chout = chin; 4 putchar(chout); } while (...); } > ./echo Hello world! eH.... Multithreaded echo (unlucky) 12 changed to local variables A unlucky CPU scheduling CS 446/646 Principles of Computer Operating Systems Race Condition Significant race conditions in I/O & variable sharing in this case, replacing the global variables with local variables did not solve the problem we actually had two race conditions here: one race condition in the shared variables and the order of value assignment another race condition in the shared output stream: which thread is going to write to output first this race persisted even after making the variables local to each thread generally, problematic race conditions may occur whenever resources and/or data are shared by processes unaware of each other or processes indirectly aware of each other 13 CS 446/646 Principles of Computer Operating Systems Producer / Consumer Problem while(true){ /*Produceanitem*/ while(true){ while(in==out) while(((in=(in+1)%BUFFERSIZE) ;//donothingnothing toconsume ==out) ;/*donothingnofree //removeanitem fromthebuffer buffers*/ buffer[in]=item; in=(in+1)%BUFFERSIZE; item=buffer[out]; out=(out+1)%BUFFER SIZE; } } s Suppose that we wanted to provide a solution to the consumer-producer returnitem; problem that fills all the buffers. q We can do so by having an integer count that keeps track of the number of full buffers. Initially, count is set to 0. incremented by the producer after it produces a new buffer, decremented by the consumer after it consumes a buffer. q http://gaia.ecs.csus.edu/~zhangd/oscal/ProducerConsumer/ProducerConsum CS 446/646 Principles of Computer Operating Systems 14 Producer / Consumer while (true) { /* produce an item and put in nextProduced */ while (count == BUFFER_SIZE) ; // do nothing buffer [in] = nextProduced; in = (in + 1) % BUFFER_SIZE; count++; } while (true) { while (count == 0) ; // do nothing nextConsumed = buffer[out]; out = (out + 1) % BUFFER_SIZE; count--; /* consume the item in nextConsumed } CS 446/646 Principles of Computer Operating Systems 15 Race Condition s count++ could be implemented as register1 = count register1 = register1 + 1 count = register1 s count-- could be implemented as register2 = count register2 = register2 - 1 count = register2 s Consider this execution interleaving with count = 5 initially: S0: producer execute register1 = count {register1 = 5} S1: producer execute register1 = register1 + 1 {register1 = 6} S2: consumer execute register2 = count {register2 = 5} S3: consumer execute register2 = register2 - 1 {register2 = 4} S4: producer execute count = register1 {count = 6 } S5: consumer execute count = register2 {count = 4} CS 446/646 Principles of Computer Operating Systems 16 Race Condition How to avoid race conditions? find a way to keep the instructions together this means actually. . . reverting from too much interleaving and going back to indivisible/atomic blocks of execution!! chin='H' chin='e' chout='e' putchar('e') putchar('e') thread A thread B (a) too much interleaving may create race conditions chin='H' putchar('H') chin='e' chout='e' putchar('e') (b) keeping indivisible blocks of execution avoids race conditions thread A thread B CS 446/646 Principles of Computer Operating Systems 17 Critical Regions The indivisible execution blocks are critical regions a critical region is a section of code that may be executed by only one process or thread at a time A B common critical region although it is not necessarily the same region of memory or section of program in both processes A B As critical region Bs critical region but physically different or not, what matters is that these regions cannot be interleaved or executed in parallel (pseudo or real) 18 CS 446/646 Principles of Computer Operating Systems Critical Regions We need mutual exclusion from critical regions critical regions can be protected from concurrent access by padding them with entrance and exit gates o a thread must try to check in, then it must check out void echo() { B char chin, chout; do { enter critical region? chin = getchar(); chout = chin; putchar(chout); exit critical region } while (...); } void echo() { char chin, chout; do { enter critical chin region? = getchar(); chout = chin; putchar(chout); exit critical region } while (...); } A CS 446/646 Principles of Computer Operating Systems 19 Critical Section do { entry section critical section exit session remainder section } while (TRUE); CS 446/646 Principles of Computer Operating Systems 20 MutualExclusion Desired effect: mutual exclusion from the critical region 1. 2. 3. thread A reaches the gate to the critical region (CR) before B thread A enters CR first, preventing B from entering (B is waiting or is blocked) thread A exits CR; thread B can now enter thread B enters CR 21 A B A B A B A B critical region HOW is this achieved?? 1. CS 446/646 Principles of Computer Operating Systems Solution to Critical-Section Problem 1. Mutual Exclusion o If process Pi is executing in its critical section, o then no other processes can be executing in their critical sections 2. Progress o If no process is executing in its critical section and there exist some processes that wish to enter their critical section, o then the selection of the processes that will enter the critical section next cannot be postponed indefinitely 3. Bounded Waiting o A bound must exist on the number of times that other processes are allowed to enter their critical sections after a process has made a request to enter its critical section and before that request is granted Assume that each process executes at a nonzero speed No assumption concerning relative speed of the N processes CS 446/646 Principles of Computer Operating Systems 22 Petersons Solution s Two process solution s Assume that the LOAD and STORE instructions are atomic; q that is, cannot be interrupted. s The two processes share two variables: q q int turn; Boolean flag[2] s The variable turn indicates whose turn it is to enter the critical section. s The flag array is used to indicate if a process is ready to enter the critical section. q flag[i] = true implies that process Pi is ready! CS 446/646 Principles of Computer Operating Systems 23 Algorithm for Process Pi do { flag[i] = TRUE; turn = j; while (flag[j] && turn == j); critical section flag[i] = FALSE; remainder section } while (TRUE); CS 446/646 Principles of Computer Operating Systems 24 Petersons Solution A and B each have their own lock; an extra toggle is also masking either lock 2. A arrives first, sets its lock, pushes the mask to the other lock and may enter 3. then, B also sets its lock & pushes the mask, but must wait until As lock is reset 4. A exits the CR and resets its lock; B may 25 CS 446/646 Principles of Computer Operating Systems 1. A B A B A B A B critical region Petersons Solution A and B each have their own lock; an extra toggle is also masking either lock 2.1 A is interrupted between setting the lock & pushing the mask; B sets its lock 2.2 now, both A and B race to push the mask: whoever does it last will allow the other one inside CR mutual exclusion CS 446/646 Principles of Computer Operating Systems 1. A B A B A B pushed last, allowing A critical region A B pushed last, allowing B 26 Synchronization Hardware s Uniprocessors could disable interrupts q q q Currently running code would execute without preemption what guarantees that the user process is going to ever exit the critical region? meanwhile, the CPU cannot interleave any other task even unrelated to this race condition q q Generally too inefficient on multiprocessor systems Operating systems using this not broadly scalable s Modern machines provide special atomic hardware instructions Atomic = non-interruptable q q Either test memory word and set value Or swap contents of two memory words CS 446/646 Principles of Computer Operating Systems 27 Solution to Critical-section Problem Using Locks Manysystemsprovidehardwaresupportforcriticalsectioncode do { acquire lock critical section release lock remainder section } while (TRUE); CS 446/646 Principles of Computer Operating Systems 28 Atomic lock thread A reaches CR and finds the lock at 0 and sets it in one shot, then enters 1.1 even if B comes right behind A, it will find that the lock is already at 1 1. thread A exits CR, then resets lock to 0 1. A B A B A B A B critical region thread B finds the lock at 0 and sets it to 1 in one shot, just before 29 CS 446/646 Principles of Computer Operating Systems 1. TestAndSet Instruction s Definition: boolean TestAndSet (boolean *target) { boolean rv = *target; *target = TRUE; return rv: } CS 446/646 Principles of Computer Operating Systems 30 Solution using TestAndSet s Shared boolean variable lock., initialized to false. s Solution: do { while ( TestAndSet (&lock )) ; // do nothing // critical section lock = FALSE; // } while (TRUE); CS 446/646 Principles of Computer Operating Systems 31 remainder section Swap Instruction s Definition: void Swap (boolean *a, boolean *b) { boolean temp = *a; *a = *b; *b = temp: } CS 446/646 Principles of Computer Operating Systems 32 Solution using Swap s Shared Boolean variable lock initialized to FALSE; q Each process has a local Boolean variable key do { key = TRUE; while ( key == TRUE) Swap (&lock, &key ); // critical section s Solution: lock = FALSE; // } while (TRUE); CS 446/646 Principles of Computer Operating Systems 33 remainder section Bounded-waiting Mutual Exclusion with TestandSet() do { waiting[i] = TRUE; key = TRUE; while (waiting[i] && key) key = TestAndSet(&lock); waiting[i] = FALSE; // critical section j = (i + 1) % n; while ((j != i) && !waiting[j]) j = (j + 1) % n; if (j == i) lock = FALSE; else waiting[j] = FALSE; // remainder section } while (TRUE); CS 446/646 Principles of Computer Operating Systems 34 Semaphore s Synchronization tool that does not require busy waiting q Semaphore S integer variable s Two standard operations modify S: wait() and signal() q Less complicated s Can only be accessed via two indivisible (atomic) operations q wait (S) { while S <= 0 ; // no-op S--; } q signal (S) { S++; } CS 446/646 Principles of Computer Operating Systems 35 Semaphore as General Synchronization Tool s Counting semaphore q integer value can range over an unrestricted domain s Binary semaphore q q integer value can range only between 0 and 1; can be simpler to implement Also known as mutex locks s s Can implement a counting semaphore S as a binary semaphore Provides mutual exclusion Semaphore mutex; do { wait (mutex); // Critical Section signal (mutex); // remainder section } while (TRUE); // initialized to 1 CS 446/646 Principles of Computer Operating Systems 36 Binary Semaphore signal signal signal signal signal . . . value = 1 (off) no queue value = 0 (on) no queue value = 0 1 in queue value = 0 2 in queue value = 0 3 in queue wait wait wait wait CS 446/646 Principles of Computer Operating Systems 37 Counting Semaphore signal 0 0 signal 0 signal 0 signal 0 . . . value = +2 no queue value = +1 no queue value = 0 no queue value = 1 1 in queue value = 2 2 in queue wait wait wait wait CS 446/646 Principles of Computer Operating Systems 38 Semaphore Implementation s Must guarantee that no two processes can execute wait () and signal () on the same semaphore at the same time s Thus, implementation becomes the critical section problem where the wait and signal code are placed in the critical section. q Could now have busy waiting in critical section implementation But implementation code is short Little busy waiting if critical section rarely occupied s Note that applications may spend lots of time in critical sections and therefore this is not a good solution. CS 446/646 Principles of Computer Operating Systems 39 Busy waiting in busy waiting, the PC is always looping (increment & jump back) it can be preemptively interrupted but will loop again tightly whenever rescheduled tight polling when blocked, the processs PC stalls after executing a yield call either the process is only timed out, thus it is Ready to loopand-yield again sparse polling or it is truly Blocked and put in event queue condition waiting CS 446/646 Principles of Computer Operating Systems 40 dispatch timeout Read y Runnin g event occurs (unblock) event wait (block) Block ed dispatch Ready Running voluntary timeout event occurs (unblock) voluntary event wait (block) Blocked Semaphore Implementation with no Busy waiting s With each semaphore there is an associated waiting queue. q Each entry in a waiting queue has two data items: value (of type integer) pointer to next record in the list s Two operations: q Block place the process invoking the operation on the appropriate waiting queue. remove one of processes in the waiting queue and place it in the ready queue. q wakeup CS 446/646 Principles of Computer Operating Systems 41 Semaphore Implementation with no Busy waiting s Implementation of wait: wait(semaphore *S) { S->value--; if (S->value < 0) { add this process to S->list; block(); } } s Implementation of signal: signal(semaphore *S) { S->value++; if (S->value <= 0) { remove a process P from S->list; wakeup(P); } } CS 446/646 Principles of Computer Operating Systems 42 Deadlock and Starvation s Deadlock two or more processes are waiting indefinitely for an event that can be caused by only one of the waiting processes s Let S and Q be two semaphores initialized to 1 P0 wait (S); wait (Q); . . signal (S); signal (Q); P1 wait (Q); wait (S); . . signal (Q); signal (S); s Starvation indefinite blocking. q A process may never be removed from the semaphore queue in which it is suspended s Priority Inversion - Scheduling problem when lower-priority process holds a lock needed by higher-priority process CS 446/646 Principles of Computer Operating Systems 43
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:

Penn State - MIS - 538
E.W. SteinLecture NotesPenn StateSELECTING PROBLEMS FOR EXPERT SYSTEMSSelecting a Problem for Expert System DevelopmentSelecting an ES Problem Area Strategic Considerations- Competitive Advantage - Core Competence2 Tactical Concerns-
Penn State - MIS - 538
E.W. SteinLecture NotesPenn StateKnowledge AquisitionKnowledge AcquisitionImpressions of Knowledge Acquisition More an art than science Can be parsed into distinct phases &quot;Naive behavioral approach&quot;2What is Knowledge Acquisition? Tr
Penn State - MIS - 538
E.W. SteinLecture NotesPenn StateIdentifying ExpertiseHow would you identify experts?2Identifying Expertise After selection of the problem area Key question: Who knows what? Ad hoc &quot;Proving&quot; expertise through a performance metric Ba
Penn State - MIS - 538
E.W. SteinLecture NotesPenn StateValidation2Phases to ValidationValidation Phase I- Really is justification Phase II- Functional validation - K-base validation Phase III- Performance validationPhase I: JustificationTechnical,
Penn State - MGMT - 501
E.W. SteinLecture NotesPenn State&quot;Motivation&quot;Motivation and Performance2Motivation Job Performance = Motivation * Ability * Environment- Ability = skills, knowledges - Environment = workplace, technology, tools - Motivation = ?4Per
Penn State - MIS - 538
E.W. SteinLecture NotesPenn StateKnowledge RepresentationKnowledge Representation Q1: How can we map human knowledge? Q2: How can we convert our maps to machine readable form?Types of Knowledge34Deep Knowledge Derived from formal c
Penn State - MIS - 538
E.W. SteinLecture NotesPenn StateUncertaintyUncertainty in Expert SystemsPart I: Defining UncertaintyWhat is Certainty/Uncertainty? Likelihood of relationships between variables- e.g., A-&gt;B - e.g, courses of action and outcomes34L
Penn State - MIS - 597
2Software Development and TestingDevelopment Scenario#1You come up a great idea for software You mark your ideas down You start up Visual Basic You create working prototype in few weeks You test it out on a few relatives. They don't understand s
Penn State - MIS - 597
2The Value Triad (fig)PricesCustomerProductApplication34What are Prices?A measure of value A negotiation An assessment of the market Bounded by costsEquationsProfits = Revenues - Costs Revenues = Price * Quantity56P-Q Rela
Penn State - MIS - 597
Software Packaging, Protection, and SupportIssuesLegal Protection Documentation Install pack Support and maintenanceLegal ProtectionCopyrights Trademarks Patents Trade secrets AgreementsCopyrightsName the applicationPick something short and
Penn State - MIS - 531
E.W. SteinLecture NotesPenn StateCompetitition, Strategy and IT in a Postindustrial World2Part I: Informational Needs of Organizations in a PostIndustrial WorldPostIndustrial World Information rich jobs- US labor statistics Knowledge w
Penn State - MIS - 597
E.W. SteinLecture NotesPenn StateS/W Entrepreneurship Software MarketAnalyzing the Software Market and IndustryMarket vs. Industry Analysis Market Analysis- Identification of potential customers, their needs and preferences2 Industry
Penn State - MIS - 597
E.W. SteinLecture NotesPenn StateS/W Entrepreneurship Introduction2Overview of EntrepreneurshipDefinition Entrepreneurship is creating and building something of value from practically nothing (Timmons 1994: 7) It is a human creative act
Penn State - MIS - 597
Role of CommunicationPr and AdvertisingPR and Advertising depend on it Pre-condition for sales Many modes.Communication: The Exchange of Information26Media TypesLetters, fax, e-mail Telephone Web site Video conference Face to face7Me
Penn State - MIS - 597
Business Plan for My CompanyMyCompany Month 2001Prepared by Name phoneContext Regulatory, market conditions, etc. Examples: Opportunities thus exist.Purpose of Plan Identify opportunities provided . Audience: Contents: The Market The Bu
Nevada - GRAD - 701
Excellence in Teaching Program Instructional Development Program GRAD 701 Orientation, Fall Semester 2005August 22-24, 2005 William Raggio Building (WRB)Monday, August 22, 200511:00-11:45 11:45-12:15 Registration Welcome from Barbara J. Millis, D
Penn State - CZW - 5032
Chu WuEducation: The Pennsylvania State University, Smeal College of Business, University Park, PA 2007-present Objective major: Actuarial Science Expected graduate Date: May 2011 High School: Arcadia High School, Arcadia, CA, Class of 2007 GPA 3.95
Penn State - LUR - 113
Ethnic Identities, Language, and Economic Outcomes Among Dominicans in a New Destination nLeif Jensen, The Pennsylvania State University Jeffrey H. Cohen, The Ohio State University Almeida Jacqueline Toribio, The Pennsylvania State University Gordon
Penn State - MATH - 231
Penn State - MUH - 164
Multicultural Resource Center's (MRC)Graduate Assistantship Job DescriptionWith supervision and training from the MRC director and professional staff, the GA will provide academic counseling and other support services designed to enhance the reten
Michigan - EECS - 591
Traffic Engineering for ISP NetworksJennifer RexfordInternet and Networking Systems AT&amp;T Labs - Research; Florham Park, NJhttp:/www.research.att.com/~jrexJoint work with Anja Feldmann, Albert Greenberg, Carsten Lund, Nick Reingold, and Fred Tr
Penn State - BUB - 1986
Sheet1 STATE COLLEGE, PENNSYLVANIA DAILY WEATHER SUMMARY - Latest Complete Day [1200 UT - 1200 UT] -10/27/86High Temperature Low Temperature Mean Temperature Rain or Liquid Equivalent Snow and/or Ice Pellets Snow Depth: ::53 Rank (1=Warmest,
Penn State - BUB - 1937
Sheet1 STATE COLLEGE, PENNSYLVANIA DAILY WEATHER SUMMARY - Latest Complete Day [Midnight - Midnight LT] -03/03/37High Temperature Low Temperature Mean Temperature Rain or Liquid Equivalent Snow and/or Ice Pellets Snow Depth46 Rank (1=Warmest, 42=
Penn State - BUB - 1975
Sheet1 STATE COLLEGE, PENNSYLVANIA DAILY WEATHER SUMMARY - Latest Complete Day [1200 UT - 1200 UT] -10/29/75High Temperature Low Temperature Mean Temperature Rain or Liquid Equivalent Snow and/or Ice Pellets Snow Depth: ::71 Rank (1=Warmest,
Penn State - BUB - 1967
Sheet1 STATE COLLEGE, PENNSYLVANIA DAILY WEATHER SUMMARY - Latest Complete Day [1200 UT - 1200 UT] -02/21/67High Temperature Low Temperature Mean Temperature Rain or Liquid Equivalent Snow and/or Ice Pellets Snow Depth34 Rank (1=Warmest, 72=Colde
Penn State - BUB - 1954
Sheet1 STATE COLLEGE, PENNSYLVANIA DAILY WEATHER SUMMARY - Latest Complete Day [Midnight - Midnight LT] -03/11/54High Temperature Low Temperature Mean Temperature Rain or Liquid Equivalent Snow and/or Ice Pellets Snow Depth: ::44 Rank (1=Warm
Nevada - APEC - 202
APEC 202 FinalReview (2)UNR APEC 202 Spring 08 M. Kobayashi1Final Exam: 5/12 12 2 pm 12-2 Bring pencils and an eraser No calculator N cheat sheet No h t h t Multiple choice Problems with drawing and calculations Essay type problemsUNR
Nevada - GEOLOGY - 100
GEOL 100 Earthquakes, Volcanoes and Natural DisastersTHE EARTH'S SOLAR SYSTEM ENVIRONMENT THE SUN, ASTEROIDS, AND COMETS Jim Taranik Lecture 7Age of Sun: 4.6 by in present state Diameter: 108 times diameter of Earth Volume: 1.3 million times Eart
Nevada - GEOLOGY - 100
GEOL100 Earthquakes, Volcanoes and Natural DisastersEnergy Resources II Oil and Gas Jim Taranik Lecture 39From: Earth Lab, Exploring the Earth Sciences, Owen/Pirie/Draper, Brooks/Cole, 2001Sources and Uses of Energy in Quads, or Quadrillion Bri
Penn State - MATH - 141
Math 141 More Integration PracticeFor each of the following integrals, decide what method to use. After you've made your educated guesses, go back and try them out. 1) 3) 5) 7) 9) tan x dx cos4 x 9 - 4t2 dt t2 ln x dx x 2t3 + 2t + 1 dx t(t2 + 1)2
Penn State - ERC - 5006
610 Beaver Hall Penn State University University Park, PA 16802508 887 2265 erc5006@psu.eduEmily ChangarisObjective Experience Interested in Working for a local caf downtown 1998-2004 Babysitter Grafton MassachusettsBabysat a wide range of c
Penn State - STAT - 501
Stat 501, F. Chiaromonte Lecture #8 Data set: BEARS.MTW In the minitab example data sets (for description, get into the help option and search for &quot;Data Set Description&quot;). Wild bears were anesthetized, and their bodies were measured and weighed. One
Penn State - STAT - 501
Stat 501, F. Chiaromonte Lecture #4Simple Regression modeling: For example, investigating the dependence of Y: monthly sales of a product, on X: monthly expenditure in advertizing, lagged by 1 month Note: this could be a bi-variate time series (obs
Nevada - CS - 302
CS 302 Data Structures Spring 2009 - Dr. George Bebis Programming Assignment 1Due date: 2/17/2009In this assignment, you will write C+ code to read, write, and manipulate images. The objectives are the following: Familiarize yourself with reading/
Penn State - INF - 585
INF 585 Logic for Computer Science Spring 2005, Lecture NotesDale Miller January 17, 2005Chapter 1IntroductionThe following is a listing of the slides used for the first meeting of this class.1.1The syntax of logical formulas Logical cons
Nevada - ECON - 102
CHAPTER 16 Monopolistic Competition and Product DifferentiationThe Meaning of Monopolistic CompetitionMonopolistic competition is a market structure in which there are many competing producers in an industry, each producer sells a differentiated p
Nevada - ECON - 461
EC 461 Chinese Economy Midterm ExamOctober 21, 2002 Professor ParkerAnswer four of the following five essay questions in a large, clean blue book. Put your name on the front cover, but not inside. Each essay question is worth 25%. If you answer
Nevada - ECON - 102
ECON 102 Principles of Microeconomics Professor Elliott Parker Spring 2006 Midterm Exam 1NAMEPart I (60%) - Multiple Choice: Use a scantron to mark the single best answer the following questions (2% each). 1. We have to make choices because: A)
Nevada - ECON - 102
How much time should you spend studying for your Microeconomics Exam?Assume you have ten hours per week to spend on two courses, ECON 102 and CH 203.CHAPTER 7 Making Decisions with Marginal AnalysisThe opportunity cost of one hour of studying fo
Nevada - ECON - 305
ECON 305 - Comparative Economic Systems First Midterm Exam with KEYSeptember 27, 2007 Professor ParkerRead All Instructions Carefully. Use a blue book. Be sure to put your name on the blue book cover, but not inside it. You are responsible for ma
Nevada - ECON - 461
ECON 461 Chinese Economy Final ExamMay 6, 2004 Professor ParkerWrite essays on the following five questions, making sure that you address each part of the question in your essay. The quality of your writing matters! (20% each). 1. Explain the pr
Nevada - MGT - 423
Courage: The ability to step forward through fearCourage means accepting responsibility Courage often means nonconformity Courage means pushing beyond the comfort zone Courage means asking for what you want and saying what you think Courage means fi
Nevada - BUSINESS - 496
Strategic Moves and TacticsSun Tzu: To win one hundred victories in one hundred battles is not the acme of skill. To subdue the enemy without fighting is the acme of skill.Defined: A strategic move is designed to alter the beliefs and acti
Nevada - MGT - 423
Chapter 15Designing and Leading a Learning Organization1Ex. 15.1 Leadership EvolutionStableEra 2 Rational Management Behavior theories Contingency theories Setting: Vertical hierarchy, bureaucracy Management functions Era 1 Great Man Leadersh
Nevada - BADM - 720
How a Marine Lost His Command In Race to BaghdadCol. Joe Dowdy's 'Tempo' Displeased Superiors; Balance of Mission, Men General's Call Name: 'Chaos'By CHRISTOPHER COOPERStaff Reporter of THE WALL STREET JOURNALApril 5, 2004; Page A1Two weeks in
Nevada - RECO - 100
Chapter 6Elasticity, Consumer Surplus, and Producer SurplusMcGrawHill/Irwin Copyright 2009 by The McGrawHill Companies, Inc. All rights reserved.Chapter Objectives Price elasticity of demand The total revenue test Price elasticity
Nevada - CS - 365
Set TheoryRosen 6th ed., 2.1-2.21Introduction to Set Theory A set is a structure, representing an unordered collection (group, plurality) of zero or more distinct (different) objects. Set theory deals with operations between, relations among,
Michigan - MEAM - 501
Midterm Examination ME501 February 24, 2000 Name_Noboru Kikuchi_1. Consider a boundary value problem-d 2u = f in dx 2(0, L )with boundary conditionu (0) = u ( L ) = 0 ,where L is the length of the interval where the differential equation
Penn State - MATH - 597
1.6. Vector Fields (continued) 1.6.2. The divergence of a vector eld. Recall div A = Recall Gauss Theorem: div A dV =V VA1 A2 A3 + + = ( new notation ) x1 x1 x3 A.A n dS.Dividing the equation by the volume V and taking the limit V 0 so tha
Penn State - STAT - 501
Stat 501, F. Chiaromonte Practice for Test #2The data set contains salary and other information for N=44 salaried employees at the Technitron company. In particular, our analysis concerns Name Salary Yrs Em Educ Gender Count 46 46 46 46N 44 44 44
Nevada - OF - 0612
Potential Resources Associated with Proposed Roadless Areas in Nevada (Second Edition) NBMG Open-File Report 06-12 Plate 15Plate 15 - Restricted lands. Areas in gray indicate lands that have various Federal restrictions to mining. Areas in purple a
Nevada - B - 111
NEVADA BUREAU OF MINES AND GEOLOGYB'560000mEBULLETIN 111, Gold Deposits of the Carlin Trend, PLATE 2A56111617'11616'56256311615'56411614' Qal Qal56556611613'Tmc Drcsm Drcsl Drcsl73 57 64 35 67 Tmc 75 21 88 53567RO ED1
Nevada - B - 113
APPENDIX 2: SAMPLE LOCATIONS AND DESCRIPTIONSSample locations, descriptions, and select petrographic descriptions for those samples collected and analyzed for elemental/isotopic geochemistry. Representative samples were point counted using a Swift P
Nevada - CS - 679
Dataset Editing Techniques: A Comparative StudyNidal Zeidat, Sujing Wang, and Christoph F. EickDepartment of Computer Science, University of Houston Houston, Texas, USA {nzeidat, sujingwa, ceick}@cs.uh.eduAbstract. Editing techniques remove examp
Penn State - IE - 550
Lean Manufacturing - An OverviewDr. Richard A. Wysk rwysk@psu.edu http:/www.engr.psu.edu/cimFall 2008Broad Agenda Overview of Lean Manufacturing Lean according to R. Wysk Set-up reduction and rapid response production systems Changing in orde
Penn State - CHEM - 408
CHEM 408 Sp062/8/2006Solutions to Assignment #4 Getting Started with HyperChem1. This first exercise is meant to familiarize you with the different methods for visualizing molecules available in HyperChem. (a) Create a molecule of n-butane in
Penn State - STAT - 200
Problems 1. At the beginning of this semester, two measurements of head circumference were made on each student in Stat 200. We want to know if we get, on the average, the same mean on the second measurement as we do on the first. Given below are som
Nevada - M - 182
~Spring 2005 Math 182 Exam 2B.jName: s: ~-C o~If you cannot complete a problem (perhaps because you forgot a formula) but you think you know how, pleaEe describe, Correct methods will receive partial credits, I, Determine whether each stateme
Penn State - STAT - 100
Topics - histogram and shapes - percentiles and their meaning - frequency curves: basically the connecting of the tops of the rectangles in a histogram - shapes are frequency curves are interpreted similarly to those of histogram - bell shaped or sym
Michigan - VERSION - 574
D0 Preshower Detector Off-Line Calibration Database Eric Myers University of Michigan Homer A. Neal University of Michigan Zhong-Min Wang SUNY Stony BrookOff-line calibration database: storage and retrieval of &quot;calibration constants&quot; collected d
Penn State - BCM - 159
Brandon McKeeAE Senior Thesis 2007 Ambridge Area High SchoolConstruction ManagementLEED &amp; GREEN BUILDING GROUP PROJECTNames: _ _ _ _ Date: _Objective: In groups of 2-4 students, create a plan to spread awareness of green building and LEED to