7 Pages

The Scope of Variables

Course: CS 314, Spring 2012
School: Rutgers
Rating:
 
 
 
 
 

Word Count: 1942

Document Preview

Scope The of Variables Almost every programming language has: 1. constructs for introducing a new variable x, and 2. scoping rules for determining which uses of the variable name x in the rest of the program refer to this variable. If the same name x is used for several different variables, a programmer can resolve which variable is really meant by a particular use of the name x. For example, in Java a loop header...

Register Now

Unformatted Document Excerpt

Coursehero >> New Jersey >> Rutgers >> CS 314

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.
Scope The of Variables Almost every programming language has: 1. constructs for introducing a new variable x, and 2. scoping rules for determining which uses of the variable name x in the rest of the program refer to this variable. If the same name x is used for several different variables, a programmer can resolve which variable is really meant by a particular use of the name x. For example, in Java a loop header may introduce a new loop variable and its scope: for (int i = 0; i < NumOfElements; i++) ... ; The scope of the variable i is the program text following the = all the way to the end of the loop body. If the loop contains a break construct and if the loop is followed by some statement like System.out.println("the index where we stopped searching is " + i); then we know from the scoping rules for Java that the program is almost certainly erroneous. Since the use of i in the invocation of println does not refer to the variable i that was introduced as the loop variable, the reference to variable i in the print statement either is illegal or refers to a variable with a scope that encloses the loop and the subsequent print statement. Note: We analyzed the preceding program fragment with a rough understanding of its execution semantics but with a precise understanding of the scoping rules. These scoping rules are crucial for building a good mental execution model. Other examples of scoping constructs in Java and C++ include class definitions, method definitions, parameter declarations, and sequences of statements (tails of blocks). Exercise: Describe what scope each of the preceding constructs establish in Java. Free and Bound Scope For pedagogic purposes, we introduce the language LC modeling a core functional subset of Scheme. It is called LC because the language is essentially the lambda-calculus invented by mathematician Alonzo Church in the 1930's. In fact, LC consists of the (untyped) lambda-calculus augmented by natural numbers (constants) and the binary operator +. It has the following syntax: M :== x | n | (lambda (x) M) | (M M) | (+ M M) where x is a variable (any alphanumeric identifier beginning with a letter other lambda) and n is an integer number ...,-2, -1, 0, 1, 2, ... On the right hand side of the our definition, each occurence of M represents an independent choice of an expression in our recursively defined set of strings/trees. Our definition of the syntax of LC is ambiguous in the sense that we haven't made it clear whether we a defininig a set of strings of a set of trees. In fact, we interpret the definition both ways. Technically, it defines a set of strings, but the strategic inclusion of parentheses (as in Scheme) means that every string has a obvious unique parse. Hence, we can think of each alternative on the right hand of the definition as a distinct tree construction. Using LC, we can show how to define the notion of free and bound occurrences of program variables rigorously. This specification will serve two purposes: it will make the concepts free, bound, and scope more concrete for a small, simple language; it will show how to use English to define concepts rigorously. If we interpret LC as a sub-language of Scheme, it contains only one binding construct: lambda-expressions. In (lambda (a-variable) an-expression) a-variable is introduced as a new, unique variable whose scope is the body anexpression of the lambda-expression (with the exception of possible "holes", which we describe in a moment). We have included parentheses around the parameter of a lambda expression (a-variable in the example above) to make LC syntax consistent with Scheme syntax. One way to determine the scope of variable binding constructs is to define when some variable occurs free in some expression. By specifying where a variable occurs free and how this relation is affected by the various constructs, we also define the scope of variable definitions. Here is the definition for LC. Definition (Free occurrence of a variable in LC): Let x,y range over the elements of Var. Let M, N range over the elements of Exp. Then x occurs free in: y if x = y; (lambda (y) M) if x != y and x occurs free in M. (M N) if it occurs free either in M or in N. The relation x occurs free in y is the least relation on LC expressions satisfying the preceding constraints. If x occurs free in M, then some specific occurrence of x in M can be identified as a "free occurrence". In fact, we could adapt the preceding definition to define the related notion "occurrence k of x is free in M", but the details are tedious because we must label each occurrence of x with a unique index k, or alternatively, we must uniquely identify each occurrence by a path from the root in the abstract syntax tree for M. An occurrence of variable x is bound in M iff it is not free in M. The most blatant form of bound occurrence is the second component of a lambda-expression. This form of variable occurrence is called the binding occurrence for the variable. Each distinct variable obviously has one binding occurrence; if x occurs twice as the second component of a lambda-expression, it is the name of two distinct variables. Note that the definition of the "occurs free" and "free occurence" relations are inductive over expressions precisely because the definition of Exp is itself inductive. Exercise: Formulate the notion of bound occurrence explicitly as an inductively defined function in Scheme or method in Java. The definitions of free and bound implicitly determine the notion of a scope in LC expressions. Clearly, a lambda expression opens a new scope; or, to put it differently, the scope of the binding occurrence x in (lambda (x) M) is that textual region of M where x might occur free. Exercise: Devise an expression in which x occurs both free and bound.. Static Distance Representation Given a variable occurrence it is natural for a programmer to ask where the binding occurrence This is. may tell him whether or not some nearby variable occurrence is related, or it may help him to determine something about the value that it stands for. Consider the expression (lambda (z) (lambda (x) ((lambda (x) (z (z (z x)))) x))) The two occurrences of x in the fragment ... x)))) x) are unrelated (the first corresponds to the third lambda, and the second corresponds to the second lambda), but only the binding occurrences for the two can tell them apart. For a human being, a representation that includes arrows from bound occurrences to binding occurrences is clearly preferable. We can approximate such graphical representations of programs by replacing variable occurrences with numbers that indicate how far away in the surrounding context the binding construct is. The above expression would translate into (lambda (z) (lambda (x) ((lambda (x) (3 (3 (3 1)))) 1))) Note that the index "1" refers to a different lambda in each case. Indeed, since the parameters in lambda's are now superfluous, we can omit them completely: (lambda (lambda ((lambda (3 (3 (3 1)))) 1))) This representation is often called either the static distance representation of the term or the "deBruijn (de BRAWN) notation" for the term. deBruijn is a Dutch mathematician who recognized the theoretical advantages of the notation in the context of idealized programming language called the lambda-calculus, which was invented by Alonzo Church in the 1930's. LC is a slight extension of the lambda-calculus. Although the static distance representation is not particularly helpful for people, it is valuable for compilers and interpreters. We could specify the process that replaces variable occurrences with static distances in English along the lines of the above definitions. Instead, we write a program that performs the translation. First, recall the abstract representation of the set of LC expressions is given by the equation: E ::= Num | Var | (lambda Var E) | (E E) The corresponding abstract representation for the set of LC expression in deBruijn (static distance) form is E ::= Num | VarRef | (lambda E) | (E E) where VarRef is a "tagged" integer indicating a variable reference rather than an integer constant. In Scheme, we can implement the translation from conventional abstract syntax to static distance abstract syntax as follows: ;; conventional abstract syntax (define-struct var (symbol)) (define-struct const (number)) (define-struct proc (var body)) (define-struct app (rator rand)) ;; Expr ::= (make-var S) | (make-const N) | (make-proc Var Expr)) | (make-app Expr Expr) ;; where S is the set of symbols and N is the set of numbers ;; constructor for static distance (sd) abstract syntax (define-struct sdvar (index)) (define-struct sdproc (body)) ;; SD-Expr ::= (make-var I) | (make-const N) | (make-sdproc SD-Expr) | (make-app SD-Expr SD-Expr) ;; where I is the set of positive numbers and N is the set of numbers (define sd (lambda (an-ar binding-vars) (cond ((var? an-ar) (make-sdvar (sdlookup (var-name an-ar) binding-vars))) ((const? an-ar) an-ar) ((proc? an-ar) (make-sdproc (sd (proc-body an-ar) (cons (proc-var an-ar) bindingvars)))) (else (make-app (sd (app-rator an-ar) binding-vars) (sd (app-rand an-ar) binding-vars)))))) where (define sdlookup (lambda (a-var vars) (cond ((null? vars) (error 'sdlookup "free occurrence of ~s" a-var)) (else (if (eq? (car vars) a-var) 1 (add1 (sdlookup a-var (cdr vars)))))))) Variables are replaced by their static distance coordinate, which is determined by looking up how deep in the list of binding vars it occurs. If the list does not contain the variable, we signal an error. Constants do not need to be translated. Applications are traversed and re-constructed. We can test sd by applying it to the result of parsing some surface syntax and the empty list. Exercise: What should the output of this be? (sd (parse '(lambda (z) (lambda (x) ((lambda (x) (z (z (z x)))) x)))) null) (The empty list of variables indicates that we consider this to be the complete program with no further context.) Supplementary Material on OCaml The same code can be written in O'Caml as follows: type exp = Con of | Var of | Lam of | App of int string string * exp exp * exp Intutively, the abstract syntax for the de Bruijn representation would be: D ::= Num | #Num | (lambda D) | (D D) In OCaml, this can be implemented by the datatype: type debruijn = Cn of int | Vr of int | Lm of debruijn | Ap of debruijn * debruijn In OCaml, it is easy to implement the translation back and forth between these different representations: exception Err of string;; (* Conversion from "exp" to "debruijn" *) (* An environment mapping string names to indices (implemented as a function) *) (* The initial (empty) environment *) let en0 x = raise (Err "Unknown variable during De Bruijn conversion") (* Extending the environment with a new name *) let debExt env s = fun y -> if y=s then 0 else (env y)+1;; (* The translation *) let rec debIt e env = match e with Con i -> Cn i | Var s -> Vr (env s) | App (e1,e2) -> Ap (debIt e1 env, debIt e2 env) | Lam (s,e) -> Lm (debIt e (debExt env s)) open Printf;; let i = ref 0;; let gensym x = let s = x^(sprintf "%i" (!i)) in i:=(!i)+1; s;; let deb e = debIt e en0;; let expExt env s = fun y -> if y=0 then s else (env (y-1));; let rec expIt e env = match e with Cn i -> Con i | Vr n -> Var (env n) | Ap (e1,e2) -> App (expIt e1 env, expIt e2 env) | Lm (e) -> let s = gensym "v" in Lam (s,expIt e (expExt env s)) let ne0 x = raise (Err "Unknown variable during Expresion conversion") let exp e = expIt e ne0;; (* Example term *) let term = App (Lam ("x", Var"x"), Lam ("y", Var "y"));; let dterm = deb term (* = Ap (Lm (Vr 0), Lm (Vr 0)) *) let eterm = exp dterm (* = App (Lam ("v1", Var "v1"), Lam ("v0", Var "v0")) *)
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:

Rutgers - CS - 314
The Structure of EnvironmentsIn Algol-like languages like Pascal, Algol W, and C/C+, all of theenvironments that exist at any point during a computation can becollectively represented using a stack. This representation forenvironments is particularly
Rutgers - CS - 314
The Y CombinatorWe want to devise a -expression (a program in LC) that computes theleast-fixed point of any function mapping some set of data values S toitself. In simple cases, we can let S be the natural numbers or theintegers. One of the most surpr
NYU - ECON - ECON UA 2
Ch. 2-Problem of scarcity-Allocation of resources, PPF graph-Increasing opportunity cost: the more something we produce the greater the cost ofproducing even more of it.-No free lunch resources were used to produce it. Society pays an opportunity cos
NYU - ECON - ECON UA 2
Chapter 3:Markets- market distinction between Macroeconomic markets (Broad markets), andMicroeconomic markets (more narrowly defined markets)Aggregation: combining distinct things into a single wholeCircular Flow: simple model. Shows how goods, resour
NYU - ECON - ECON UA 2
Ch. 10 question 13:A single priced monopolist faces p=20-8qMc= q^2Find the optimal quantity and price. (MR=MC)20-8q=q^20=(q-2)(q+10)q=2,-10optimal quantity= 2Oligopoly:Strategic interaction: impossible to use the MR=MC approach-Firm has to antic
NYU - ECON - ECON UA 2
Price Floors and Ceilings:How may the government enforce the price floor of $50?-Law: low cost to the government, but creates a black market-Subsidies: lowers cost, decrease price, shifts supply curve-Buy excess supply: Costly to the government, no bl
NYU - POLITICS - VA 53.0700
POL-UA 700International PoliticsHistorical trajectories in international relationsProf. Bernd BeberDepartment of PoliticsNew York UniversityJanuary 25, 2012BeberInternational PoliticsA dangerous world?Chinas unprecedented military buildup shows
NYU - POLITICS - VA 53.0700
POL-UA 700International PoliticsThe Scientic MethodProf. Bernd BeberDepartment of PoliticsNew York UniversityJanuary 30, 2010BeberInternational PoliticsKey conclusions from last lectureModern sovereign states emerged throughwarfareStability, u
NYU - POLITICS - VA 53.0700
POL-UA 700International PoliticsClassic Theories of International RelationsProf. Bernd BeberDepartment of PoliticsNew York UniversityFebruary 1, 2012BeberInternational PoliticsAn important reminderLecture notes are incompleteTests are based on
NYU - POLITICS - VA 53.0700
POL-UA 700International Politics:Strategic Interaction andRational ChoiceProf. Bernd BeberDepartment of PoliticsNew York UniversityFebruary 6, 2012BeberInternational PoliticsSource: The Washington Post, February 2, 2011BeberInternational Polit
NYU - POLITICS - VA 53.0700
POL-UA 700International Politics:Extensive-form games andsubgame-perfectionProf. Bernd BeberDepartment of PoliticsNew York UniversityFebruary 22, 2011BeberInternational PoliticsBefore we continue with extensive-form games . . .BeberInternation
NYU - POLITICS - VA 53.0700
POL-UA 700International Politics:Uncertainty and games ofincomplete informationProf. Bernd BeberDepartment of PoliticsNew York UniversityFebruary 27, 2012BeberInternational PoliticsUltimatum gameASplit a dollarBAcceptRejectAs share, Bs sha
NYU - POLITICS - VA 53.0700
POL-UA 700International Politics:Review sessionProf. Bernd BeberDepartment of PoliticsNew York UniversityMarch 5, 2012BeberInternational PoliticsSubgame-perfect equilibriumDLeftRightCCNoYesNoAYesDA1, 7, 2YesLeftNoRightYesNoA0
NYU - POLITICS - VA 53.0700
POL-UA 700International Politics:Domestic politics andinternational relationsProf. Bernd BeberDepartment of PoliticsNew York UniversityMarch 19, 2012BeberInternational PoliticsSo far . . .Weve focused on strategic choices given somepreferences
NYU - POLITICS - VA 53.0700
POL-UA 700International Politics:Domestic politics andinternational relationsProf. Bernd BeberDepartment of PoliticsNew York UniversityMarch 21, 2012BeberInternational PoliticsLessons from last timeHow do we move from individual preferences to
NYU - POLITICS - VA 53.0700
POL-UA 700International Politics:Choosing War (II)Prof. Bernd BeberDepartment of PoliticsNew York UniversityMarch 26, 2012BeberInternational PoliticsWhen is peace at hand?A peaceful solution usually exists if the followingholds:Fighting is cos
NYU - POLITICS - VA 53.0700
POL-UA 700International Politics:Choosing War (III)Prof. Bernd BeberDepartment of PoliticsNew York UniversityMarch 28, 2012BeberInternational PoliticsCrisis gameANegotiateAttackBNegotiateBRetaliateCapitulate3, 2 (war)Attack4, 1 (conces
NYU - POLITICS - VA 53.0700
V53.0700: International PoliticsProf. Bernd BeberStudent name:Midterm exam, 9 March 2011This is a closed-book exam. You are not allowed to use any aids, i.e. no books, notes, computers, cellphones, calculators, etc. Please write legibly and succinctl
NYU - POLITICS - VA 53.0700
V53.0700: International PoliticsProf. Bernd BeberStudent name:Midterm exam, 9 March 2011This is a closed-book exam. You are not allowed to use any aids, i.e. no books, notes, computers, cellphones, calculators, etc. Please write legibly and succinctl
NYU - POLITICS - VA 53.0700
NYU - POLITICS - VA 53.0700
1/25-The number of interstate wars have declined since the cold war.-Interstate conflicts are more deadly than intrastate conflicts-Sentiment towards war has changed-Sovereignty: A distinctive way of arranging the contacts and relations of politicalc
NYU - POLITICS - VA 53.0700
Nash Equilibrium: An equilibrium where no one will deviate from their strategy.Methods to find Nash E: elimination of dominated strategies-Itereted elimination of strictly dominated strategies, and wealy dominated strategies-Cell-By-Cell inspection*Wh
NYU - POLITICS - VA 53.0700
Assignment 4This assignment has six questionsFirst Part: Simultaneous games with mixed strategiesQ1: Does the following game have:BLeftUp2,14,2DownARight3,20,1a. 0 pure strategy Nash equilibrium and 1 mixed strategy Nash equilibriumb. 1 pur
NYU - MAP - MAP UA 306
Brain &amp; Behavior: HW2 EcholocationProf SuzukiDue: November 10th @ 11AMYour goal here is to design and conduct an experiment aimed at understanding echolocation inhuman subjects. Work in groups of two or three (not more!) to design and collect the data
NYU - MAP - MAP UA 306
Brain and BehaviorFall 2011V55.0306Instructor: Prof. Wendy SuzukiLecture 17: PsychopathologyNov 28, 2011PhobiasPost-traumatic stress disorderPanic disordersGeneralized Anxiety DisorderObsessive Compulsive DisorderParanoid StatesEmotional Compo
NYU - MAP - MAP UA 306
Brain and BehaviorFall 2011V55.0306Instructor: Prof. Wendy SuzukiLecture 20: Executive Functions and thePrefrontal cortexDec 7, 2011Phineas GageThe skull of Phineas Gage (1823-1860)Phineas Gage (1823-1860)Result: Gage was no longerGage.Major f
NYU - MAP - MAP UA 306
Brain and BehaviorFall 2011V55.0306Instructor: Prof. Wendy SuzukiLecture 21: Language and HemisphericSpecializationDec 13, 2011Goldman-Rakic, Funahashi, BruceDirectional Delay ActivityShakespeareHemingwayPlathAustin19 The Development and Evol
NYU - MAP - MAP UA 306
Brain and BehaviorFall 2011V55.0306Instructor: Prof. Wendy SuzukiLecture 16: EmotionsNov 23, 2011History of the Study ofEmotionWilliam James Wrote What is an Emotion? (1884) Asked Do we run from a bear becausewe are afraid or are we afraid beca
NYU - MAP - MAP UA 306
Brain and BehaviorFall 2011V55.0306Instructor: Prof. Wendy SuzukiLecture 18: Learning and Memory:Cellular Properties; Putting it all togetherNov. 30, 2011H.M., an Unforgettable Amnesiac, Dies at 82 (Dec 4, 2008)Henry MolaisonFigure 17.1 Brain Tis
NYU - MAP - MAP UA 306
Brain and BehaviorFall 2011V55.0306Instructor: Prof. Wendy SuzukiLecture 18: Learning and Memory:Cellular Properties; Putting it all togetherNov. 30, 2011H.M., an Unforgettable Amnesiac, Dies at 82 (Dec 4, 2008)Henry MolaisonFigure 17.1 Brain Tis
NYU - MAP - MAP UA 306
Brain and BehaviorFall 2011V55.0306Instructor: Prof. Wendy SuzukiLecture 22: The Neurobiology of LoveDec 14, 2011Example Question 1: A patient presents with suspected bilateraldamage to the hippocampus and theamygdala. Describe the behavioralexp
NYU - MAP - MAP UA 306
Brain and BehaviorFall 2011V55.0306Instructor: Prof. Wendy SuzukiLecture 19: Modulating Memory: ExerciseDec 5, 201118 The Nervous System May Form and Store Memories inVarious WaysHebbs law: Synapses grow stronger when thepresynaptic neuron repeat
NYU - MAP - MAP UA 306
Brain and BehaviorFall 2011V55.0306Instructor: Prof. Wendy SuzukiLecture 19: Modulating Memory: ExerciseDec 5, 201118 The Nervous System May Form and Store Memories inVarious WaysHebbs law: Synapses grow stronger when thepresynaptic neuron repeat
NYU - MAP - MAP UA 306
Nat Sci - Nov 28, 2011Lecture 17: Psychiatric disordersemotions are the bases of neuropsychiatric disordersmany focus of fearfear conditioning with animals (hearing tone and electricity at the same time)unconditioned stimulus - shock; fear response;
NYU - MAP - MAP UA 306
topographyhowthereceptivefieldsareorganizedcomparedtoitsorganizationinthe brain(?)prefrontalcortexworkingmemoryreceptivefieldslarger=worseacquityprefrontalcortexnecessaryinrememberingwherethingsare(workingmemory)and Wisconsincardsortedtask(symbolscan
Washington State - MUS - 262
BritishInvasionTimingwasimportant(1964)PresidentKennedywasshotTheBritishresurrectedthemusicweignoredEnglandsJamesDeancounterpartTeddyBoysSkiffleMusicAtamebrandofpopfolkmusicandtraditionaljazz(takenfromtheNewOrleansstyle)MusicwaspopularinEnglandinthe
Washington State - MUS - 262
MUS 262 Quiz #2 Study GuideTRUE &amp; FALSEMick Jagger has always been known for his distinctive voice and his attraction to thegruff, eloquent directness of black music. He has been described as a white personsigning black songs and flaunting it. His voi
Washington State - MUS - 262
Music2629/17/2010DoowopEmphasizesmelodyaboverhythmReflectedtheincreasecommercialpossibilitiesforblackmusicThenameDoowopdidnotcomeuntilthe1970sStargroups:theplatters,thecoasters,thedriftersGrewoutofurbansettings(mainlyeastcoast)ManyonehitwondersDo
Washington State - MUS - 262
Music262Rocket88JackieBrenston&amp;IkeTurnerCelebratedtheautomobileFirstR&amp;RrecordbymanyhistoriansSixtyminutemanBillyWard&amp;hisDominos(1951)FirstR&amp;RhittocrossoverpopchartsFirstdoubleentendrehitFirstmillionsellerbyR&amp;BgroupHoundDogBigMammaThortonTalksabou
Washington State - MUS - 262
Music262Rocket88JackieBrenston&amp;IkeTurnerCelebratedtheautomobileFirstR&amp;RrecordbymanyhistoriansSixtyminutemanBillyWard&amp;hisDominos(1951)FirstR&amp;RhittocrossoverpopchartsFirstdoubleentendrehitFirstmillionsellerbyR&amp;BgroupHoundDogBigMammaThortonTalksabou
Washington State - MUS - 262
HistoryofRockandRoll08/11/201023:36:00RobertJohnsonKingoftheMississippiDeltaBlues CrossroadbluescoveredbycreamClassicBlues FoundedinNewOrleansbyBessieSmithBoogieWoogiePiano Hadfasterrhythmthatstraitenedoutthroughoutthesongo PeteJohnsonCountryWest
Boise State - CHEM - 309
Boise State - CHEM - 309
Boise State - CHEM - 309
Which of the following is not an ester?1.25%2.O25%25%25%OOO4.3.OOOO1234All lactams can be classified asamides and vice versa.1. True2. False50%150%2Determine the IUPAC name for the followingmolecule.20%O20%20%2320%20%
Boise State - CHEM - 309
What is the predominant enol form of the followingmolecule?OO20%1.20%20%2320%20%2.OH OHOH OH3.OH O4.OH O5.none of these isfavored overthe others145Which of the following will occur when the followingoptically active compound is
Boise State - MGMT - 301
1Theory Xthe assumption that employees dislike work, are lazy, avoid responsibility, and must be coerced to work.2Theory Yemployees are creative, enjoy work, seek responsibility, and can exercise self-direction3Hygiene factorsfactors that eliminat
Boise State - MGMT - 301
Finance 301 Exam 1 Study Guide:Chapter 1Financial managementconcerns with the acquisition, financing, and management of assetswith some overall goal in mind3 major area=investment, financing, asset managementInvestment decision Most important decisi
Boise State - MGMT - 301
1Components of Macroenvironment1. Social Values (Managing)2. Law and Politics (Legislation and rules)3. Demographics4. Technology (pace and change/acceptance of technology)5. Economy2Components of Competitive Environment1. Substitutes2. Rivals3
Boise State - MGMT - 301
1Communication process1. Sender (encode)2. Reciever (decode)3. Message4. Channel5. Feedback2One-way communicationCommunication where there is no feedback3Perception of communicated idea depends upon.1. Education level2. Experience4Common pr
Boise State - MGMT - 301
1Human Resource Management (HRM)the process of attracting, developing, and maintaining a quality word force2Human Capitalthe economic value of peoples' abilities, knowledge, expereince, ideas, energies, and commitments#1 ASSET To develop in a compan
Boise State - MGMT - 301
TheInfluenceProcess1) What are the uses of power?Intercede, Talent, Budget, Agenda, and Access2) T/F Sources of Legitimate Power are Values, Position, and DesignationTrue3) Contrast the Agent and the Target.The Agent is the party who exercises the i
Boise State - MGMT - 301
1Communicationthe transmission of information and meaning from one party to another.2Communication ModelsSenderReceiverMessageChannelFeedbackPerception3Sender (Communication Models)participates in encoding4Encodingtranslating ideas into a
Boise State - MGMT - 301
1new producta product new to the world2new product strategyplan that links the new product development process with the objective of the marketing department3screeningFirst filter in the product development process. This eliminates ideas that aren
Boise State - MGMT - 301
Management 200 Introductory Financial Accounting Spring 2010Krannert School of Management - Purdue UniversitySolutions to class assignment for February 17, 2010Problem 5-11 Comparison of Inventory Costing Methods Periodic System1.a. Weighted average
Boise State - MGMT - 301
1StrategyAn action managers take to attain a goal of an organization2Competitive advantageAdvantage obtained when a firm outperforms its rivals.3Distinctive competencyA unique strength that rivals lack.4Sustainable competitive advantageA distin
Boise State - MGMT - 301
1GroupTwo or more interacting and interdependent individuals who come together to acheive specific goals.2Forming stagethe first stage of group development in which people join the group and then define the group's purpose,structure and leadership3
Boise State - MGMT - 301
1what is financethe mgmt of money2in what 3 ways does finance involve the mgmt of money1 raising money2 investing money3 overseeing finanical resources3the three primary ares aof finance are1 corporate finance2 insitutions and markets3 investm
Boise State - MGMT - 301
1Shareholder Value ApproachFavors strategies that enhance company's cash-flow generating ability2Principle 6: re enemiesTransaction costs, taxes, and inflation are your enemiesTransaction costs come in many different formsYOur enemies can greatly r
Boise State - MGMT - 301
1Unsecured Debt- Debt not tied to any item of property Ex. Credit cards, medical bills, utilities If collection effort fails an unsecured creditor may sue the debtor to get court judgement for theamt due. If still not pmt: writ or execution, garnish
Rutgers - BIO 101 - 101
Acid-Base ChemistryWaterpHDefinitions of Acids and BasesSaltsAcid-Base CharacterAcid-Base TitrationsWaterWe typically talk about acid-base reactions in aqueous-phase environments - that is, in thepresence of water. The most fundamental acid-base
Rutgers - BIO 101 - 101
3/14/121. The way of the program How to Think Like a Computer Scientist: Learning with Python v2nd Editi1. Th e wa y o f t h e pr o gr a mThe goal of this book is to teach you to think like a computer scientist. This way of thinking combinessome of th