Pycharm
Complete the Place class that has the following attributes for place(name, country, priority and visited status) and the methods:
__init__
__str__
two methods to mark the place as unvisited\visited
Then in complete a list of Place objects in Places_Features class and the following methods.
load_places (from txt file into Place objects in the list)
save_places (from place list into output list)
add_place (add a place in the place list)
input.txt
Lima,Peru,3,n
Auckland,New Zealand,1,v
Rome,Italy,12,n
Can make the main.py give the following output
Output
* Lima in Peru priority 3
* Rome in Italy priority 12
Auckland in New Zealand priority 1
3 places. You still want to visit 2 places
In: Computer Science
A red blood cell is placed into each of the following solutions. Indicate whether crenation, hemolysis, or neither will occur.
Solution A: 3.61{\rm \\%} (m/v) NaCl
Solution B: 4.16{\rm \\%} (m/v) glucose
Solution C: distilled H2O
Solution D: 7.79{\rm \\%} (m/v) glucose
Solution E: 5.0% (m/v) glucose and 0.9% (m/v) NaCl
Drag each solution to the appropriate bin.
In: Chemistry
Upriver Parts manufactures two products, V-1 and V-2, at its
River Plant. Selected data for an average month for the two
products follow.
| V-1 | V-2 | |||||
| Units produced | 10,000 | 1,000 | ||||
| Direct materials cost per unit | $ | 2 | $ | 4 | ||
| Machine hours per unit | 1 | 2 | ||||
| Production runs per month | 80 | 40 | ||||
Production at the plant is automated and any labor cost is included
in overhead. Data on manufacturing overhead at the plant
follow.
| Machine depreciation | $ | 51,000 | |
| Setup labor | 24,000 | ||
| Material handling | 15,600 | ||
| Total | $ | 90,600 | |
Required:
a. Compute the unit costs for the two products
V-1 and V-2 using the current costing system at Upriver (using
machine hours as the allocation basis). (Do not round
intermediate calculations. Round your answers to 2 decimal
places.)
b. Compute the unit costs for the two products V-1
and V-2 using the proposed ABC system at Upriver. (Do not
round intermediate calculations. Round your answers to 2 decimal
places.)
Unit Cost
V-1 V-2
a.Using current costing system
b.Using proposed ABC system
In: Accounting
1. Prove by contraction that
L = {0^x 1^y 0^x+y | x >= 1 and y >=1} is not Regular.
Must use the Pumping Lemma.
[ HINT: Describe the language in English first. Use example 3 from the lecture notes ]
a) Choose one S from L where S is longer than N
(Describe S in terms of N and M)
S = **??**
b) List all places v can be in S: (i.e. all possible uvw mappings)
(Note: v has to be in the first N chars)
v has to be where? ?**?
c) For each possible place for v in #2 above, is there is a way to repeat/skip v to make it
go out of the language L?
Thus, there was no way to break S into uvw and repeat or skip v
as much as we want. We found a counter example S that does not satisfy Pumping Lemma.
d) Conclusion about L: ?**?
In: Computer Science
Describe the experiment that tests the potential benefit of mimicry (mimicking a venomous species). State the hypothesis correctly, describe the experiment, explain the results, and state the conclusion.
In: Biology
| A | The slit width is halved. |
| B | The distance between the slits and the screen is halved. |
| C | The slit width is doubled. |
| D | A green, rather than red, light source is used. |
| E | The experiment is conducted in a water-filled tank. |
| F | The distance between the slits and the screen is doubled. |
In: Physics
Assume that you have been asked to design an experiment for the marketing department of a major automotive company. They would like to know what color(s) are most appealing to 18-24 year olds who purchase new trucks.
Design an appropriate experiment, and then submit a short (< 3 pages) Technical Memo presenting your proposal.
At a minimum, your memo should include:
• A clear objective statement for your experiment
• Procedure for collecting data
• Methodology for analyzing the data
• Proposed method for presenting the data and drawing conclusions
• Estimated cost of the experiment, including equipment and labor
In: Statistics and Probability
Dieting is common in our society and everyone wants a piece of the action. So many diets are available to choose from if someone wants to change their health; e.g., lose weight. Often times, diets are promoted with claims of great success.
Choose a particular diet and analyze it in terms of scientific evidence, or lack thereof. Then, design a controlled experiment to test a hypothesis based on this diet. The experiment must include multiple individuals within a control and experimental group. Specify how you will measure the outcome of the experiment identifying both the independent and dependent variables. Describe the potential outcomes of the experiment in terms of supporting the hypothesis.
In: Anatomy and Physiology
At the end of the CD triaxial pressure experiment on a normal consolidated clay, the sample was defeated along a plane of 570. When another sample with the same properties was tested in the CU experiment, the pore pressure in the defeat was measured as 85 kPa. According to the cell pressures (63) 200 kPa in both experiments; a) At the end of the A = CD experiment, find the effective internal friction angle and the difference in prime stress. b) At the end of B = CU experiment, find the total angle of internal friction and angle of defeat plane. c) In the C = CU test, find the shear strength in the plane of failure.
In: Civil Engineering
A certain chemistry instructor felt that there were some "dry-labbers" in the chemistry course. ["Dry-labbers" think they know the answer to a lab experiment, and give their expected answer without doing the experiment--which isn't fair to the others in the lab!] So, all students in the lab were asked to determine the boiling point of pure water contained in a flask labeled "pure water." The "pure water" was actually a very concentrated calcium dichloride solution. Three students were caught not actually doing the experiment and given F's for their experiment. Explain how the chemistry instructor was able to catch the dishonest "dry-labbers."
In: Chemistry