Free Essay

Comp

In:

Submitted By npesala
Words 2288
Pages 10
COMP101 – Problem Solving with Computing
Homework - WEEK 12 [30 points]

This is further review of some of the material from Chapter 6, some simple steps in coding using JavaScript and the repl.it website, and lectures from class.

No credit for answers that are copies or near verbatim transcripts – please use your own words[1] and document sources where appropriate.

Chapter 7

Answer the following questions:

1. JavaScript Debugging Exercises [1 point each, 5 points total]

The snippets of JavaScript below contain syntax errors and/or logic errors. Identify the errors and insert your corrected code.

a. function main()

{ var num1 = getNumber(); var num2 = getNumber(); } function getNumber() { var input = Number(prompt("Enter a number")); } main();

b. function main() { var total = 0;

for (var ctr = 0; ctr < 10; ctr++) { total = computeTotal(total); } } function computeTotal(total, ctr) { total = total + ctr; return total; } main();

c. function main() { var playerName1; var playerName2;

playerName1, playerName2 = getPlayerNames(); } function getPlayerNames() { var name1 = prompt("Enter the name of player1"); return name1;

var name2 = prompt("Enter the name of player2"); return name2; } main();

d. module main() { var ctr = 1; while (ctr <= 10) { console.log("The value of ctr is " + ctr); ctr = ctr + 1; } } main();

e. function main() { var stuName = prompt("Enter the name of your student"); var stuScore = Number(prompt("Enter the test score for the student"));

var output = displayOutput(stuScore, stuName); console.log(output); } function displayOutput(stuName, stuScore) { var output = "The student name is " + stuName + "."; var output = output + " The student score is “ + stuScore + "."; return output; } main();

2. JavaScript Code [3 points total]

Your instructor evaluated and provided feedback on your Raptor flowchart solution from Homework 11. You will be writing a JavaScript program using this evaluated solution. Please be sure to incorporate the corrections identified by your instructor as you proceed to use the JavaScript programming language to code and test the problem using the repl.it programming tool for JavaScript.

NOTE: You will be using snippets from JavaScript in order to code the Raptor flowchart from the previous assignment. You will not be required to learn any HTML in order to execute and try out your JavaScript snippet. Following are some important details about the JavaScript language that you will want to know before proceeding with this assignment:

As is noted above, we will be using a tool called repl.it to enter and test our JavaScript code snippets this week. It is recommended that you use the latest version of the Chrome browser for these labs. Please refer to last week’s homework assignment details if you have questions about how to maneuver in this tool.

Remember, your code should start with documentation. Document the first few lines of your program to include your name, the date, and a brief description of what the program does. You will need to create four (4) variables in the main part of the program: endProgram, playerOne, playerTwo and winnerName. You will then use a while loop and continue until the user has entered a 1 to end the program. Within the while loop, you will get the dice value for each of the users, making sure to print out the value for each within the rollDice() function. You will then output the winner based on the name returned from the rollDice() function. You will need to create three (3) functions for this program: getName() which will be called once for each of the two players, rollDice() and displayInfo(). The getName() function will simply prompt the user for each player’s name. The rollDice() function will call the Math.floor(Math.random()*6+1) function once for each player and print each out to the screen using the player’s names. It will then calculate which layer’s dice roll is higher or if there is a tie and set the winner’s name to that player’s name or ‘TIE’ if it is a tie and will return that value. Last is the displayInfo() function that will simply take as an argument the winner’s name and print that out. Last, you will prompt the user if he or she wishes to end the program. That will then end the program or continue back through the loop again.

When your code is complete and runs properly, simply highlight all code that appears in the left (white) portion of the editor window, then do a copy and paste here. Do the same for the terminal or output that appears in the black portion of the screen.

PASTE CODE HERE

PASTE OUTPUT RESULTS HERE

3. JavaScript Hand Trace Chart [2 points total]

PUT HAND TRACE CHART HERE [2 points] (Your Hand Trace Chart should include a column for each of the variables defined in the JavaScript code and a row for each line of code. Include an additional column to show output that is displayed to the user. Enter “Joe” for the name of the first player. Enter “Sam” for the name of the second player. Play once through assuming that Joe rolled a 4 and Sam rolled a 2. Play again, assuming Joe rolled a 4 and Sam rolled a 6. Play one last time assuming Joe rolled a 3 and Sam rolled a 3.

4. Short Answers [1 point each, 2 points total]

1. Give a description of the input validation loop process.

2. In this chapter you saw how a posttest loop can be used in input validation, as an alternative to the priming read followed by a pretest loop. Why is it typically not best to use a posttest loop approach?

5. Algorithms [1 point each, 5 points total]

1. Design an algorithm that prompts the user to enter a positive nonzero number and validates the input.

2. Design an algorithm that prompts the user to enter a number in the range of 1 through 100 and validates the input.

3. Design an algorithm that prompts the user to enter “yes” or “no” and validates the input (use a case-insensitive comparison).

4. Design an algorithm that prompts the user to enter a number that is greater than 99 and validates the input.

5. Design an algorithm that prompts the user to enter a secret word. The secret word should be at least 8 characters long. Validate the input.

6. Debugging Exercises [1 point each, 3 points total]

1. Why does the following pseudocode not perform as indicated in the comments?

// This program asks the user to enter a value between 1 and 10 validates the input. Declare Integer value

// Get a value from the user. Display “Enter a value between 1 and 10.” Input value

// Make sure the value is between 1 and 10. While value < 1 AND value > 10 Display “ERROR: The value must be between 1 and 10.” Display “Enter a value between 1 and 10.” Input value End While

2. Why does the following pseudocode not perform as indicated in the comments? // This program gets a dollar amount from the user and validates the input. Declare Real amount

// Get the amount from the user. Display “Enter a dollar amount.” Input amount

// Make sure the amount is not less than zero. If it is, get a new amount from the user. While amount < 0 Display “ERROR: The dollar amount cannot be less than zero.” Display “Enter a dollar amount.” End While

3. The following pseudocode works, but it performs a case-sensitive validation of the user’s input. How could the algorithm be improved so the user does not have to pay attention to capitalization when entering a name? // This program asks the user to enter a string and validates the input. Declare String choice

// Get the user’s response. Display “Cast your vote for chess team captain.” Display “Would you like to nominate Lisa or Tim?” Input choice

// Validate the input. While choice != “Lisa” AND choice != “Tiim” Display “Please enter Lisa or Tim.” Display “Cast your vote for chess team captain.” Display “Would you like to nominate Lisa or Tim?” Input choice End while

7. Pseudocode and RAPTOR Flowcharting Tool [10 points] [2]

Write the pseudocode and flowchart [3] using the RAPTOR Flowcharting Tool for the following program. The program is a follows:

Design and write a program that calculates and displays the number of minutes over the monthly contract minutes that a cell phone user incurred. The program should ask the user how many minutes were used during the month and how many minutes they were allowed. Validate the input as follows:

• The minimum minutes allowed should be at least 200, but not greater than 800. Validate input so that the minutes allowed are between 200 and 800. • The minutes used must be over 0. Validate input so that the user does not enter a negative value.

Once correct data is entered, the program should calculate the number of minutes over the minutes allowed. If minutes were not over, print a message that they were not over the limit. If minutes were over, for every minute over, a .20 fee should be added to the monthly contract rate of 74.99. Be sure not to add the .20 fee for minutes 1 to the number of minutes allowed, but rather just minutes over. Display the number of minutes used, minutes allowed, the number of minutes over, and the total due that month.

You should have the following functions and variables:

• A function that allows the user to enter in minutes allowed within the range of 200 and 800. (getAllowed) • A function that allows the user to enter in the minutes used greater than or equal to 0. (getUsed) • A function that calculates the minutes over. (calcOver) • A function that calculates the total due (calcTotalDue) • A function that prints a monthly use report (printData) • Variables: endProgram, minutesAllowed, minutesUsed, totalDue, minutesOver

a. Pseudocode (You will declare your variables and start a while loop that checks if the endProgram variable is “no” or not and validates the input. You will call getAllowed function to get the number of minutes allowed, validating the input as described above. You will call the getUsed function to get the number of minutes used, validating the input as described above. You will call the calcOver function that will return the total minutes over and call the calcTotalDue function that calculates the total due. Last, you will call the printData function that tell the user the minutes allowed, minutes used, minutes over and total due. ).

PUT PSEUDOCODE HERE

b. Flowchart (Your flowchart will start by declaring the variables needed and setting the endProgram to “no” initially. Next, in a loop you will check that the endProgram variable is set to either “yes” or “no” and validate the input and act accordingly. You will set your variables, call getAllowed, getUsed, calcOver, calcTotal and printData. Then you will ask the user if they wish to end the program or not. You will have subcharts or modules for the main, getAllowed, getUsed, calcOver, calcTotal and printData. You will validate the input in the getAllowed and getUsed modules using a pretest loop.)

PUT FLOWCHARTS HERE [4]

DELIVERABLES

One MS Word document and one RAPTOR file (named hw_w12.rap).

Put both files into a folder and zip them up before you use the Submit tool. For help or problems related to using Submit, please contact the Help Desk. Your program source file has to be named hw_w12.rap. Be sure the required identifying information (name, class, assignment numbers, etc.) are on all of your Word documents so that you can receive credit for your work.

1. A clearly organized document with the answers in order by number (there is no need to copy the questions back).

2. Your RAPTOR application file, named hw_w12.rap.

-----------------------
[1] This will apply to all assignments in this class.
[2] You should have plenty of experience doing flowcharts using RAPTOR in the previous homework assignments. To get additional help with functions in RAPTOR, please refer to the online assistance given within the RAPTOR program.
[3] (note that you will not be asked to produce an algorithm as part of this section going forward but you should still make sure you go through the necessary algorithm steps prior to beginning your pseudocode and flowchart).
[4] (include a copy of your flowchart here [do this by going to the file menu item in RAPTOR, then selecting the “Print to Clipboard” option … you must also have your Word file open and ready to paste into in order for it to work properly] and also submit it in a separate file called hw_w12.rap)

-----------------------
Coding in JavaScript

Please click on the JS_W12.pdf file attached to this container at the course for details on what you will need to know about the JavaScript programming language in order to complete this portion of the homework assignment for this week. Some additional online references on the language are listed below as well … all are free …

Eloquent JavaScript, 2nd edition (9781593275846) …Thoroughly updated and revised, Eloquent JavaScript, 2nd Edition shows you how to write effective JavaScript code. Click HERE for the link to get to this textbook on Safari … or HERE to get to it online …

JavaScript Pocket Reference, 3rd edition (9781449335977) …this book is an all-new excerpt of The Definitive Guide, collecting the essential parts of that hefty volume into this slim yet dense pocket reference. Click HERE for the link to get to this textbook on Safari …

Head First JavaScript Programming (9781449340131) …this book takes a light approach to earning JavaScript. It teaches you everything from JavaScript language fundamentals to advanced topics, including objects, functions, and the browser’s document object model. You won’t just be reading—you’ll be playing games, solving puzzles, pondering mysteries, and interacting with JavaScript in ways you never imagined.. … click HERE to view it on Safari …

Similar Documents

Premium Essay

Comp

.... Your employer, Welgreen Pharm, is a large manufacturer and distributor of generic, over-the-counter healthcare products. Its corporate campus consists of three buildings within two blocks of each other in the city of Chicago. Each building houses approximately 100 employees, including those in the following departments: Administration, Accounting, Research, Legal, Quality Control, Order Fulfillment, and Production. In addition, Welgreen Pharm owns a large distribution warehouse approximately four miles away from the headquarters. Until now, its networks have relied entirely on wired connections. The company’s CIO (chief information officer) decided long ago that she would wait until wireless technology “settled down” before investing in it. ⦁ What can you tell her about the wireless standards that might convince her that now is the time to adopt wireless technology? There are many advantages to wireless networks. Some advantages of a wireless network are convienece, mobility, ease of set up, the cheaper cost in the long run, and with the newest 802.11 standards the troughput could be just as good or even better than some ethernet connections without the hasstle of all the wires. ⦁ Also, what can you tell her to convince him that wireless networking could improve the company’s productivity? With the implication of a wireless network it opens up more options for employees such as the ability to use laptops and their smartphones to complete work so it can be...

Words: 283 - Pages: 2

Free Essay

Comp

...The establishment of an online community is widely held as the most important prerequisite for successful course completion and depends on an interaction between a peer group and a facilitator. Beaudoin reasoned that online students sometimes engage and learn even when not taking part in online discussions. The context of this study was an online course on web-based education for a Masters degree in computer-integrated education at the University of Pretoria. We used a mixed methodology approach to investigate how online activity and discussion postings relate to learning and course completion. We also investigated how student collaborative behaviour and integration into the community related to success. Although the quantitative indices measured showed highly significant differences between the stratifications of student performance, there were notable exceptions unexplained by the trends. The class harboured a well-functioning online learning community. We also uncovered the discontent students in the learning community felt for invisible students who were absent without reason from group assignments or who made shallow and insufficient contributions. Student online visibility and participation can take many forms, like read-only participants who skim over or deliberately harvest others’ discussions. Other students can be highly visible without contributing. Students who anticipate limited access due to poor connectivity, high costs or other reasons can manage...

Words: 315 - Pages: 2

Free Essay

Comp

...COMPUTER OGRANIZATION AND ASSEMBLY LANGUAGE (COAL) PROJECT: TOPIC: ECLIPSE THE UNIVERSITY OF LAHORE Submitted to: PROF KHURRA BAJWA Submitted by: 1. M.FAHAD SHAHZAD BCS02133518-G 2. IQRA ARSHAD BCS02133027-G 3. MALIKA ARIF BCS02133495-G 4. DANISH ADREES BCS02133042-G 5. ALI WARRAICH BCS021123133-G DEFINATION: 1. In computer programming, Eclipse is an integrated development environment (IDE). It contains a base workspace and an extensible plug-in system for customizing the environment. Written mostly in Java, Eclipse can be used to develop applications. By means of various plug-ins, Eclipse may also be used to develop applications in other programming languages: Ada, ABAP, C, C++, COBOL, Fortran, Haskell, JavaScript, Lasso, Lua, Natural, Perl,PHP, Prolog, Python, R, Ruby (including Ruby on Rails framework), Scala, Clojure, Groovy, Scheme, and Erlang. It can also be used to develop packages for the software Mathematica. 2. The Eclipse software development kit (SDK), which includes the Java development tools, is meant for Java developers. Users can extend its abilities by installing plug-ins written for the Eclipse Platform, such as development toolkits for other programming languages, and can write and contribute their own plug-in modules. ------------------------------------------------- ------------------------------------------------- History: Eclipse was inspired by the Smalltalk-based VisualAge family of integrated development...

Words: 2025 - Pages: 9

Free Essay

Comp

...Understanding the developmental milestones in infants and toddlers are important in many different ways. First and foremost, developmental milestones can be used as an example on how a child should be developing. Although all children will develop at different rates, the developmental milestones are still an example for the typical child. If a parent is aware of the developmental milestones their child should be reaching at a particular time, they can assure the best physical and mental health for their child. Also, if a child is not meeting the developmental milestones at a reasonable amount of time, this can serve as an early alert so that the parents can immediately get help. Knowing the developmental milestones are not only beneficial to the parents, but to doctors as well. If the doctors knows what a child should be doing, but aren’t able to do, then the doctor can take appropriate precautions in finding a cure for the child. Knowing the developmental milestones of a child can be helpful when attempting to teach a child as well. For example, a four month child would not be able sit down a read a book, because they are not to that stage yet. But, if a five year old child cannot sit down and read a book, the parent would then know that something might not be right. Sigmund Freud, Jean Piaget, and Erik Erikson all had different viewpoints on the developmental stages of children. Freud believed that a child’s personality developed while they were discovering the world in different...

Words: 308 - Pages: 2

Free Essay

Comp

...Dismissal without Cause (Ch. 14) (for 1% - must be handed in in person at beginning of next class (Nov. 30th ) Student Name: Hayley Rioux 1. Review the Honda Canada Inc., v. Keays case, plus discussion, found on pp. 455 - 458 of the textbook) 2. Summarize the facts of the case in 2 -3 sentences: Honda has redefined many aspects of the law of wrongful dismissal damages. These include determining reasonable notice, moral damages/aggravated damages, punitive damages, the duty to accommodate and the employers’ entitlement to deal with employees directly. 3. Identify the relevant issue: Keays had worked for Honda and was enrolled in the their disability program. Keays could miss work as long as he provided a doctor’s note. When the tone of the notes became more “cryptic” they had stopped accepting these notes. Keays was given set terms, and felt as if they were unfair, he was then terminated and Keays sued on grounds for wrongful dismissal. 4. The Supreme Court of Canada decision overturned several parts of the trial and Court of Appeal decisions. Describe three of the ways in which the Supreme Court of Canada’s decision differed from the decisions of the two lower courts: The duty to accommodate- They must monitor employees who are regularly absent from work. The employer must recognize the illness of the employee to see what specific accommodations that employee will need. Employees entitlement to deal with an employer directly- An employer can refuse to...

Words: 357 - Pages: 2

Premium Essay

Comp

...Project Purpose This is a comprehensive project that you will work on throughout the course. You will work in groups to solve a problem using the theories, formulas, and concepts from this class. Course Objectives Execute problem-solving actions appropriate to completing a variety of case study assignments. Apply critical reading to identify the meaning of information in a problem statement. Apply analytical and logical thinking to extract facts from a problem description and determine how they relate to one another and to the problem(s) to be solved. Provide symbolic, verbal, and graphical interpretations of statements in a problem description. Apply analytical tools for evaluating the causes and potential implications of a problem. Generate potential solutions to a problem and determine the best course of action with regard to effectiveness, efficiency, and mitigation of risks. Design methodology for implementing problem solution(s). Develop tools for evaluating implementation of problem solution. Required Resources Textbook ITT Tech Virtual Library Project Logistics Select ONE of the following three projects: A, B, or C. You may work individually or in a group. Because of the workload, working in groups is recommended. Working as an individual on this project is discouraged. Project Deliverables Four written reports Final report Project presentation (Unit 10) Each written report must have the following items: APA formatting, double-spaced...

Words: 1859 - Pages: 8

Free Essay

Comps

...Intelligence for the Twenty-First Century ALAN DUPONT Strategic discourse over the past decade has been dominated by a debate over the nature of future warfare and whether or not there is a ‘revolution in military affairs’ (RMA). Supporters contend that developments in military technology, especially precision guidance and high-speed data processing, in conjunction with advances in doctrine and strategy, will fundamentally transform the way in which future wars will be fought and privilege RMAcapable forces in the contest to achieve battlefield dominance.1 Sceptics, on the other hand, regard the RMA as being more evolutionary than revolutionary, and argue that many of the technical advances associated with the RMA do not necessarily presage a paradigm shift in warfare.2 However, all agree that timely, accurate and useable intelligence will be critical to the successful conduct of war in the twenty-first century, perhaps more so than in any previous era. It is surprising, therefore, how little academic attention has been devoted to the changes that are taking place in the technology, management and integration of the intelligence systems that will underpin any RMA. It is the contention of this article that the transformation of intelligence architectures, particularly in the West, is no less profound than that of the weapons, platforms and warfighting systems they are designed to support and enhance. Moreover, the cumulative weight of the changes in prospect will redefine the...

Words: 11896 - Pages: 48

Premium Essay

Comp

...Question 11 (3 points) Question 11 Unsaved The figure above shows the corresponding K-Map of the function F(X1,X2,X3). What is the expression corresponding to the minimum cost of F? Question 11 options: X1'X2'X3'+X1'X2X3'+X1X2'X3+X1X2X3 X1'X2'+X1X3 X1'X3'+X1X2 None of the above Save Question 12 (3 points) Question 12 Unsaved The figure above shows the K-map of a four variable f(A,B,C,D). What is true about f? Question 12 options: Only a sum-of-products expression gives the minimum solution. Only product-of-sums expression gives the minimum solution. Either a sum-of-products or a product- of-sums gives minimum cost expression. A minimum solution for F will have at least three terms with three literlas. Save Question 13 (3 points) Question 13 Unsaved In the K-Map of the figure above, which of the following is true? Question 13 options: a) There are 5 prime implicants and not all are essential b) There are two prime implicants of four squares and two prime implicants of two squares. c) All prime implicants are essential d) Both answers b) and c) are correct e) None of the above Save Question 14 (3 points) Question 14 Unsaved The function f(A,B,C,D) is given in minterm expression. Which of the options given corresponds to the minimum expression of f(A...

Words: 472 - Pages: 2

Premium Essay

Comps

...10 Qualitative Research Methods in Psychology Deborah Biggerstaff Warwick Medical School University of Warwick, Coventry UK 1. Introduction In the scientific community, and particularly in psychology and health, there has been an active and ongoing debate on the relative merits of adopting either quantitative or qualitative methods, especially when researching into human behaviour (Bowling, 2009; Oakley, 2000; Smith, 1995a, 1995b; Smith, 1998). In part, this debate formed a component of the development in the 1970s of our thinking about science. Andrew Pickering has described this movement as the “sociology of scientific knowledge” (SSK), where our scientific understanding, developing scientific ‘products’ and ‘know-how’, became identified as forming components in a wider engagement with society’s environmental and social context (Pickering, 1992, pp. 1). Since that time, the debate has continued so that today there is an increasing acceptance of the use of qualitative methods in the social sciences (Denzin & Lincoln, 2000; Morse, 1994; Punch, 2011; Robson, 2011) and health sciences (Bowling, 2009; Greenhalgh & Hurwitz, 1998; Murphy & Dingwall, 1998). The utility of qualitative methods has also been recognised in psychology. As Nollaig Frost (2011) observes, authors such as Carla Willig and Wendy Stainton Rogers consider qualitative psychology is much more accepted today and that it has moved from “the margins to the mainstream in psychology in the UK.” (Willig & Stainton...

Words: 16075 - Pages: 65

Premium Essay

Comp

...Q1) List a dozen above the line deductions and explain the rule regarding moving expenses. List 7 itemized deductions from schedule A. Above the line deductions: a) Educators expenses b) Certain business expenses of reservists, performing artists, etc. c) Health savings account deduction d) Moving expenses e) Deductible part of self-employment tax f) Self-employed SEP, SIMPLE, and qualified plans g) Self-employed health insurance deduction h) Penalty on early withdrawal of savings i) Alimony paid j) IRA deduction k) Student loan interest deduction l) Tuition and fees deduction m) Domestic production activities deduction n) Jury duty repayments Below the line deductions (itemized deductions): a) Medical and dental expenses b) Taxes paid c) Interest paid d) Gifts to charity e) Casualty and theft losses f) Job expenses and certain miscellaneous deductions g) Other miscellaneous deductions Moving expenses: 1) Deduction for job-related relocation 2) Moving expenses are deductible to arrive at AGI to the extent the expenses are not reimbursed or paid for by the taxpayer’s employer. a) If expenses exceed reimbursements only the qualified expenses in excess of the reimbursement are deductible. b) If reimbursements exceed expenses, the excess is included in income 3) Qualifications: a) The individual’s new principal place of work is at least 50 miles farther from the former...

Words: 2216 - Pages: 9

Premium Essay

Comp

...EN1420-Composition 2 Unit 4 Assignment 1 Toulmin Analysis Question A: What is the claim? Is it explicitly stated, or did you have to infer it? Part 1: What is the Claim? The author refers to farming as a minority lifestyle, and believes that it is overrepresented in early childhood education. In short, we live in an advanced society, thus children should no longer be educated on the inner workings of farm life. Part 2: Is it explicitly stated, or did you have to infer it? No, I did not have to read between the lines discover the claim of the essay. The author was clear about the claim she made. Question B: What are some examples of support? The author uses a single episode of the television show “Blue’s Room” to support the claim. There was no other outside source to back up the author’s claim. Question C: What are the author’s warrants? Does the author supply backing for the warrants? If yes, how? Part 1: What are the author’s warrants? The author believes that educating children about farm life is a waste of time. She goes on to state that children would be better off educated on A.T.M.’s and ring tones. She then refers to a portion of the “Blue’s Room” farming episode as “shocking” in which a puppet demonstrates how to milk a cow. Part 2: Does the author supply backing for the warrants? No, she does not. The essay is filled with her opinions and supposition with no backing or proof. Question D: Do you share the author’s warrants? Do you have conflicting...

Words: 548 - Pages: 3

Premium Essay

Comp

...lts and Discussion The heart of a laboratory report is the presentation of the results and the discussion of those results. In some formats, "Results" and "Discussion" appear as separate sections. However, P.B. Medawar [1979] makes a strong case that the two should appear together, particularly when you have many results to present (otherwise, the audience is faced with a "dump" of information that is impossible to synthesize). Much here depends upon your experiment and the purpose of your laboratory report. Therefore, pay attention to what your laboratory instructor requests. Also, use your judgment. For instance, combine these sections when the discussion of your first result is needed to understand your second result, but separate these sections when it is useful to discuss the results as a whole after all results are reported. In discussing the results, you should not only analyze the results, but also discuss the implications of those results. Moreover, pay attention to the errors that existed in the experiment, both where they originated and what their significance is for interpreting the reliability of conclusions. One important way to present numerical results is to show them in graphs. Sample Results and Discussion This section analyses the results of the experiment. The experiment went as expected with no unusual events that would have introduced error. The voltages as measured for the pressure and temperature transducers appear in Table A-1 of the Appendix...

Words: 562 - Pages: 3

Premium Essay

Comp

...Organizational Objectives and Total Compensation in Different Markets Juan Holguin University of Phoenix HRM/324, Total Compensation. September, 14 2015 Rebekah Benson Human resources (HR) consultant. The factors that will have an effect on the organization are particularly the federal contractor. The areas of compensation are well regulated it, and they have established controls parameters that will have a final effect in the organization production. The McNamara service contract Act requires contractors that have contracts over $2500 to pay more than the prevailing wage (United States Department of Labor, 2009). In contrast, all contractors that aren’t part of the Federal Reserve will have a fair payment over the minimum wage, adding over time and benefits. As we all know, it is necessary to name the Davis Bacon Act as the one that would have an effect over the contractor legislation. Davis Bacon Act would have an effect on contracts of repair and alteration on public buildings and places that belong to the city. As the Act has been applied to the contractor, the organization will be forced to adjust its compensation, having to safety secure each individual by making sure the wages keeps over the base paid, and the benefits will remain active as the organization makes sure every employee have the same treatment. (Department of Labor, 2009). Davis-Bacon will ensure every employee gets corporate benefits, as they keep the employee...

Words: 548 - Pages: 3

Premium Essay

Comp

...CHAPTER 1 – STRATEGIC MANAGEMENT STRATEGY Strategy: formulation of organizational missions, goals, objectives and actions plans (how the organization intends to achieve its goals Mintzberg’s 5 P’s of Strategy: i. Plan: intended course of action a firm has selected to deal with a situation ii. Purpose: consistent stream of action that sometimes are the result of a deliberate plan and sometimes the result of emergent actions based on reactions to environmental changes or shifting of assumptions iii. Ploy: specific manoeuvre at the tactical level with a short time horizon iv. Position: the location of an organization relative to its competitors and other environmental factors v. Perspective: gestalt or personality of the organization HR Planning Notebook 1.1 – Description of Strategy Strategy: declaration of intent (considered as both plan and purpose) Strategic Intent: tangible corporate goal; point of view about the competitive positions a company hopes to build over a decade Strategy Formulation: entire process of conceptualizing the mission of an organization, identifying the strategy, and developing long-range performance goals Strategy Implementation: activities that ees and managers of an organization undertake to enact the strategic plan and achieve the performance goals Objectives: the end, the goals Plans: product of strategy, the means to the end Strategic Plan: written statement that outlines the future goals of an organization...

Words: 19138 - Pages: 77

Free Essay

Comp

...Tamara Perez-Davis 9957 Otterburn St Las Vegas, NV 89178 January 8, 2014 Mr. Daniel Post Editor Sunset Times P.O. Box 1235 Las Vegas, NV 89163 Dear Mr. Post: I am writing this letter to express some concern about my community and hopefully some insight as to how we can fix the epidemic of health and issues in our local community. Health promotion programs often lack a clearly specified theoretical foundation or are based on narrowly conceived conceptual models. For example, lifestyle modification programs typically emphasize individually focused behavior change strategies, while neglecting the environmental underpinnings of health and illness (Stokols, 1994). The ecological approach focuses on the population-level and individual level determinants of health and intervention. It has also been said that a population can achieve long-term health improvements when people become involved in their community and work together to effect change (Hanson, 1998-89). After looking at the Kaiser Permanente Community Health Initiative video it opened up my eyes. The video showed how certain communities are using a technology called Photovoice. It helps different members of the community show others what is happening there with hopefulness that it will get the messages reached out to others. It really helps by showing the legislatures and congressmen in their area what is going on in the communities around them. It’s a great tool that can promote safety and awareness...

Words: 929 - Pages: 4