Assignment:
La Villa is a village in the Italian Alps. Given its enormous popularity among skiers its beds are always booked in the winter season and there are,

* On average, 1200 skiers in the village.
* On average the skiers stay for 10 days.

a. How many new skiers are arriving- on average- in La Villa every day?

1200 skiers in the village have been accumulated over a period of 10 days. So per day the rate of arrival is: 1200/10 = 120

b. A study done shows that :
* Skiers spend on average $50 per person on the first day. * Skiers spend on average $30 per person on each additional day in local restaurants. * The study also forecast that – due to increased hotel prices - the average stay for the 2003-2004 season will decrease to 5 days. * What will be the percentage change in revenues of local restaurants compared to last year when skiers stayed for 10 days. Assuming that hotels continue to be fully booked?

Answer:
* For 10 day stay
* Total Amount spent on the first day by 1200 Skiers is : * 1200 x 1 x $50 = 60000
* Total Amount spent on the each additional days(9 days left) by 1200 Skiers is : * 1200 x 9 x $30 = 324000

* For 5 day stay (2003-2004 season)
* Total Amount spent on the first day by 1200 Skiers is : * 1200 x 1 x $50 = 60000
* Total Amount spent on the each additional days(9 days left) by 1200 Skiers is : * 1200 x 4 x $30 = 144000
* Total amount spent by Skiers staying 10 Days over 10 days is 384000 * Total amount spent by Skiers staying 5 Days over 10 days is 408000 * Change in revenues of local restaurants compared to last year when skiers stayed for 10 days is 24000 * Percentage change = 6.25%

...
Short answers
5. What two things must you normally specify in a variable declaration?
You must specify the variable type and an identifier.
int n; // type - int, identifier - n
6. What value is stored in uninitialized variables?
is a variable that is declared but is not set to a definite known value before it is used.
Algorithm workbench
3. Write assignment statements that perform the following operations with the variables a, b, and c.
a. Adds 2 to a and stores the result in b
b. Multiplies b times 4 and stores the result in a
c. Divides a by 3.14 and stores the result in b
d. Subtracts 8 from b and stores the result in a
Assignment statements that perform operations with the variables a, b, and c* (*Actually none of these operations involves the variable c at all... is this an error, or a 'trick answer'?):
b = a + 2
a = b * 4
b = a / 3.14
a = b – 8
4. Assume the variables result, w, x, y, and z are all integers, and that w = 5, x = 4, y = 8, and z = 2. What value will be stored in result in each of the following statements?
a. Set result = x + y
b. Set result = z * 2
c. Set result = y / x
d. Set result = y – z
result = x++ - y;
Answer -4
result = 4 – 8 = -4
result = ++w + y;
Answer
w = w + 1 = 5 + 1 = 6
result = 6 + 8 = 14
5. Write a pseudocode statement that declares the variable cost so it can hold real numbers.
Declare Real price= 0.00
Display "the original price."
Input item original price
Display...

...[pic]
ASSIGNMENT SUBMISSION AND ASSESSMENT
_________________________________________________________________________
OUMM3203
PROFESSIONAL ETHICS
(PLEASE EDIT WHERE NECESSARY-THIS IS ONLY SUGGESTIONS FOR THE ASSIGNMENT’S GENERAL INSTRUCTIONS)
_________________________________________________________________________
INSTRUCTIONS TO STUDENTS
1. This assignment contains only ONE (1) question that is set in the language of the printed module for the course.
2. Answer in _______ or English.
3. Download the language version of the assignment template concerned from the MyVLE for preparation and submission of your assignment. Your assignment should be typed using 12 point Times New Roman font and 1.5 line spacing.
4. Your assignment should be between 2500 to 3000 words excluding references. The number of words should be shown at the end of your assignment. Do not copy the assignment question and instructions to your answer.
5. You must submit your assignment ON-LINE via the MyVLE. Refer to the portal for instructions on the procedures to submit your assignment on-line. You are advised to keep a copy of your submitted assignment for personal reference.
6. You can submit your assignment ONCE only in a SINGLE file.
7. Your assignment must be submitted between...

...PT1420 - Unit 5 Homework and Lab Assignment
Unit 5 Assignment 1: Homework
1.) Design an if-then statement that assigns 20 to the variable y and assigns 40 to the variable z if the variable x is greater than 100. (Simple if statement)
If x > 100 then
Y=20
Z=40
End if
2.) Design an if-then statement that assigns 0 to the variable b and assigns 1 to the variable c if variable a is less than 10. (Simple if statement)
3.) Design an if-then-else statement that assigns 0 to variable b if variable a is less than 10, otherwise it should assign 99 to variable b. (Alternative if statement)
If a < 10 then
B = 0
Else
B = 99
End f
4.) The symbols >, <, and == are all Relational operators.
5.) The if-then statement is an example of a conditioal structure.
6.) The Selection structure is based on boolean logic.
7.) The if-else statement is know as a dual alternative decision structure.
8.) A nested if statement is used to ask multiple questions before deciding what processing path to take.
True False
*****************************************************************
Unit 5 Labs
1.) Lab 5.1: Evaluating Conditions with Relational Operators.
Critical Review
A relational operator determines whether a specific relationship exists between two values.
Relational operators
Operator
Meaning
Boolean Expression
>
Greater than
X > Y
<
Less than
X < Y
>=
Greater than or equal to
X >= Y
<=
Less than...

...India is known for its flamboyance and glamour, something that certainly transfers over to Indian Cinema. Released in 2007 throughout the world, Om Shanti Om was a tremendously successful film both in India and abroad. Even in the United States, it was greatly popular while only opening in a select amount of theaters. Directed by Farah Khan and produced by Gauri khan, Om Shanti Om served as a parody on many of the quintessential stereotypes of Indian cinema. It was not a hostile film, as most of the stars being parodied actually appear in the film itself. It served to pay tribute and respect to the “Bollywood Greats” that laid the foundation for modern Indian cinema. Om Shanti Om is an excellent melodramatic-comedy that plays on all of the stereotypes we love to hate about Bollywood.
Om Shanti Om starts out by introducing the main character, Om Prakash Makhija (Shahrukh Khan), a struggling actor in Bombay during the 1970’s film boom. He and his friend Pappu (Shreyas Talpade) both are aspiring to become big stars in Bollywood. Pappu, knowing that Om is very much in love with the accress Shanti Priya (Deepika Padukone), swindles his way into getting tickets for her new movie Dreamy Girl. The movie turns out to just be scenes from old movies, combined and re-marketed as a new one. Never-the-less, Om is overwhelmed by the...

...
Chartered Management Institute Approved Centre
Level 5 Extended Diploma in Management and Leadership
Written Assessment – 5
Unit 5001V1
Instruction Sheet
Assignment: Unit 5001V1 – Personal development as a manager and leader
Level: 5
Lecturer: Ian Laing
Date of Issue: 13th May 2015
Date Due In: 26th June 2015
Format: Word Document submitted to:
ianlaing@ihlassociates.karoo.co.uk
Assessment Outline
Candidates are to write an essay of between 2500 and 3000 words excluding appendices about how to improve their own management and leadership skills and competencies to help meet your performance objectives. You should also write about how you develop effective working relationships to help you deal with a variety of situations in the workplace which will require you to support and promote staff welfare.
Your essay should be based on research, investigation and analysis which you have carried out yourself making sure that you acknowledge sources and include appropriate references, bibliography and appendices in support of your investigation and argument.
The essay should answer the following questions demonstrating your knowledge and understanding of the topics covered by this unit.
1. Identify the importance of continual self-development in achieving organisation objectives. Also assess your current skills and competencies against...

...
Week 2 Assignment
Yasir Shakoor
Intermediate Algebra MAT222
Professor Perez
09/01/2014
For our Week 2 assignment, in Intermediate Algebra, we were asked to solve the problem number 68 on page 539 of Elementary and Intermediate Algebra. aside from completing the problem, we were also asked to write a two to three page paper while including the five given vocabulary words for the week. Please see the problem below:
Shipping restrictions. The accompanying graph shows all of the possibilities for the number of refrigerators and the number of TVs that will fit into an 18-wheeler.
a)
Write an inequality to describe this region.
b)
Will the truck hold 71 refrigerators and 118 TVs?
c)
Will the truck hold 51 refrigerators and 176 TVs?
Kindly consider the five given vocabulary words:
Solid line
Dashed line
Parallel
Linear inequality
Test point
In order to solve the problem, we need to be aware that the formula to solve any linear equation is y=mx+b. with the said, we can say that we have our y- intercept which is 330. (The ordered pair 0,330 demonstrates that the y coordinate is 330). Since we have our y- intercept, we will now discover what our slope is. The formula to determine any slope of a line is
m=y1- y2
x1-x2
M= 330-0
0-100
After performing division and simplifying, we have found that the slope of our line is -3.
a) Write an inequality to describe this region.
The inequality to...

...Proportions
Tara Lint
MAT 222 Week 1 Assignment
Instructor: James Segala
August 18, 2013
Solving Proportions
Proportions exist in the real world. For example, in finding out the price of a unit, or the population of a specific species. The first problem that we are working with states that “. Bear population. To estimate the size of the bear population on the Keweenaw Peninsula, conservationists captured, tagged, and released 50 bears. One year later, a random sample of 100 bears included only 2 tagged bears.What is the conservationist’s estimate of the size of the
bear population?(Dugolpolski, 2012)
In reading over the “Bear Population” #56 on page 437 (Dugolpolski, 2012), the concept of proportions allow the assumption that the ratio of originally tagged bears to the whole population is equal to the ratio of recaptured tagged bears to the size of the sample. The estimated solution, variables will be defined and rules for solving proportions are used.
The ratio of originally tagged bears to the whole population is 50/x.
The ratio of recaptured tagged bears to the sample size is 2/100.
50=2 This is the proportion set up and ready to solve. This is the step where we will cross multiply.
x 100 at this point. The extremes are 100 and 50. The means are x and 2
100(50)=2x
50002=2x2 Divide both sides by 2
X=2500 The bear population of Keweenaw Peninsula is estimated to be around 2500.
For the second problem of this...

...conEcon345 Money and Banking Assignment 1
Zhongli Sui (Bill) 31438104
a). What is YTM(i) for bond A and B? which one is highest?
Bond A: 1000 = 1001+i + 901+i2 + 80(1+i)3 + 70(1+i)4 + 60(1+i)5 + 600(1+i)5
i(A) = 0
Bond B: 1000 = 1001+i + 1001+i2 + 100(1+i)3 + 100(1+i)4 + 40(1+i)5 + 400(1+i)5
i(B) = - 0.04419415
Bond A has higher yield than Bond B. ( 0 > -0.044195)
b). Suppose i=0.05 for both bond A and B, which bond has higher price?
Bond A:
P = 1001+0.05 + 901+0.052 + 80(1+0.05)3 + 70(1+0.05)4 + 60(1+0.05)5 + 600(1+0.05)5 = $820.69
Bond B:
P = 1001+0.05 + 1001+0.052 + 100(1+0.05)3 + 100(1+0.05)4 + 40(1+0.05)5 + 400(1+0.05)5 = $699.35
c). Is there an identical i that i(t)=i(t+1)=i(t+2)=… that makes bond price for A and B identical?
1001+i + 901+i2 + 80(1+i)3 + 70(1+i)4 + 60(1+i)5 + 600(1+i)5
= 1001+i + 1001+i2 + 100(1+i)3 + 100(1+i)4 + 40(1+i)5 + 400(1+i)5
When i = 100%, both bond A and bond B have price equal to $107.50
Which bond is more risky?
If all the information is correct, bond A is more risky in year 1 to 4, and bond B is more risky at year 5 due to the CEO resign....