CREATE TABLE IF NOT EXISTS students (
student_id INT NOT NULL AUTO_INCREMENT,
first_name VARCHAR(16),
last_name VARCHAR(24),
birthday DATE,
street_address VARCHAR(128),
city VARCHAR(32),
PRIMARY KEY (student_id));
INSERT INTO students
(first_name, last_name, birthday, street_address, city) VALUES
('John','Jones','2000-12-17','250 Pines Blvd.','Pembroke Pines'),
('Mark','Bacon','2000-04-12','1270 Walnut St.','Prarie Bluff'),
('Bill','Carlson','1999-07-06','250 Pines Blvd.','Pembroke Pines'),
('Jean','Carlson','1999-07-06','250 Pines Blvd.','Pembroke Pines'),
('Leonard','Cook','2000-09-14','8046 Maple St.','Highland Park'),
('William','Markham','1999-07-06','1600 Sylvan Ln.','Lake Forest'),
('Sam','Cook','1998-10-13','8046 Maple St.','Highland Park'),
('Fred','Williams','1999-07-08','722 Oack Knoll','Arlington'),
('Sally','Fillmore','2000-03-25','1215 Carrington St.','Decatur'),
('Mary','Jones','1999-11-13','1940 Grant St.','Denver'),
('Phyllis','Jones','1999-11-13','1940 Grant St.','Denver');
In: Computer Science
IN C LANGUAGE
You decide you want to build a skate park in your backyard, so you need to buy a lot of concrete. The good news is, you can get a discount when you buy in bulk. The price of concrete for different grades of concrete per cubic yard is as follows:
Write a program that calculates the price of an order of concrete when given the grade and quantity.
Notes
Examples
What grade of concrete (low/cheap, high/expensive)? low How many cubic yards of concrete? 75 The cost is $7500
The answer to the example above is calculated from 75 * $100 (low grade, less than 200 cubic yards) = $7500
What grade of concrete (low/cheap, high/expensive)? cheap How many cubic yards of concrete? 75 The cost is $7500
What grade of concrete (low/cheap, high/expensive)? high How many cubic yards of concrete? 75 The cost is $11250
What grade of concrete (low/cheap, high/expensive)? expensive How many cubic yards of concrete? 75 The cost is $11250
In: Computer Science
[PLEASE ANSWER IN EXCEL TEMPLATE BELOW (A/B ON SEPARATE PAGES) AND SHOW FORMULAS/SOLVER INFO]
La Quinta Inn is staffing its receptionists in its biggest hotel in San Antonio. Receptionists work 6-hour shifts at the hotel lobby. There are two types of receptionists: those who speak English as a first language and those who are fully bilingual (English and Spanish). The requirements for the number of receptionists depend on the customer arrivals during various hours. The Inn believes that the need for receptionists between the hours of 7 A.M. and 10 P.M. are as follows:
| 7am to 10am | 10am to 1pm | 1pm to 4pm | 4pm to 7pm | 7pm to 10pm | |
| Receptionist Needed | 4 | 12 | 8 | 12 | 8 |
Receptionists begin work either at 7 A.M., 10 A.M., 1 P.M., or 4 P.M. At least half of the receptionists needed in any time period should speak English as the first language. Further, at least one-quarter of the receptionists needed in any time period should be fully bilingual.
A) How many and what type of receptionists should be hired for each shift to meet the language and staffing requirements, so that the total number of receptionists is minimized?
B) What is the optimal hiring plan from a cost perspective if English-speaking receptionists are paid $30 per hour and bilingual receptionists are paid $35 per hour?
| English starts at 7 | English starts at 10 | English starts at 1 | English starts at 4 | Bilingual starts at 7 | Bilingual starts at 10 | Bilingual starts at 1 | Bilingual starts at 4 | ||||
| Number assigned | |||||||||||
| Objective coeff | |||||||||||
| Constraints | |||||||||||
| 7am-10am needs | |||||||||||
| 10am-1pm needs | |||||||||||
| 1pm-4pm needs | |||||||||||
| 4pm-7pm needs | |||||||||||
| 7pm-10pm needs | |||||||||||
| 7am-10am English | |||||||||||
| 10am-1pm English | |||||||||||
| 1pm-4pm English | |||||||||||
| 4pm-7pm English | |||||||||||
| 7pm-10pm English | |||||||||||
| 7am-10am Bilingual | |||||||||||
| 10am-1pm Bilingual | |||||||||||
| 1pm-4pm Bilingual | |||||||||||
| 4pm-7pm Bilingual | |||||||||||
| 7pm-10pm Bilingual | |||||||||||
| LHS | Sign | RHS | |||||||||
| The optimal objective value is 24. |
In: Finance
Sailplanes use updrafts to stay aloft for hours at a time. Near one particular airfield, a stone quarry (with very dark rocks) surrounded by a wooden area provides a particularly regular source for updrafts on hot days. With your knowledge of heat transfer, explain the processes that create the updraft
In: Mechanical Engineering
What happens to the light [energy] after it enters an eye and hits the rods and cones? I presume the energy becomes electrical, and it must be near 100% perfect, else our eyes would heat up? Or am I missing something?
The motivation of this question is solar panel technology.
In: Physics
Briefly discuss the main difference between the valence bond and molecular orbital treatments of electronic states in molecules. Which is a better representation of molecules with all bond lengths at their equilibrium separation? And which is better when one or more bond lengths are stretched near their dissociation limit? Explain.
In: Chemistry
For each of the following, would a score of X = 85 be considered a central score (near the middle of the distribution) or an extreme score (far out in the tail of the distribution)? µ =75 and σ = 15 µ =80 and σ = 2 µ =90 and σ = 20 µ =93 and σ = 3
In: Statistics and Probability
What are the main characteristics of born global firms? Evaluate the drivers of market globalization that have allowed born global firms such as Instagram to internationalize at, or near, their founding. What advantages do you think a young company can gain by entering international markets soon after their founding?
In: Economics
Experiences with a school-age child whose family is at or near the poverty level. How did poverty impact their life? Include examples of strengths within the child and family, or relationships and resources available to them outside of the family that may have helped them overcome some of the obstacles to their success.
In: Psychology
Matulis, Inc., a calendar year C corporation, owns a single asset with a basis of $325,000 and a fair market value of $800,000. Matulis holds a positive E & P balance. The entity elects S corporation status for 2020 and then sells the asset. Compute the corporate-level built-in gains tax that must be paid by Matulis.
In: Accounting