How an isolated workspace is provided by docker to keep applications on the same host or cluster isolated from one another? Give a proper answer.
In: Computer Science
Question 1 (20pts):
Create a dictionary of the form {“Jordan”: “Basketball”, “Federer”: “Tennis”, “Ronaldo”: “Football”} and perform the following actions
Question 2 (15pts):
List1 = [3, 4, 5, 20, 5]
List2 = [4, 9, 6, 2, 10].
Using list comprehensions, print the output if you multiply the i-th element of each list
Question 3 (15pts):¶
Dic1 = {"John":10, "Joe":15}
Question 4 (15pts):
Write a user defined function to find the highest of the three numbers: 30, 10 and 20. The highest number should be printed. Note: The function has to be user defined.
With a given integral number n, write a program to generate a dictionary that contains key value pairs such as i: 2^i, and i takes values between 1 and n (both included). Then print the dictionary.
Suppose the following input is supplied to the program:
4
Then, the output should be:
{1: 2, 2: 4, 3: 8, 4: 16}
Question 5 (20pts):
Using list comprehensions, print all the values between 1 and 10 that are divisible by 2. The output should be [2, 4, 6, 8].
By using list comprehension, please write a program to print the list after removing the value 24 in [12,24,35,24,88,120,155].
Question 6 (15pts):
Remove the last value in [12,24,35,24,88,120,155] consecutively and print the removed value in each removal.
In: Computer Science
Objective
This assignment examines the importance of the cost of quality to an organization. Through this, we will gain a better understanding of how we can measure the cost of quality in an organization and what benefits can be gained from the cost of quality.
Scenario
This is a true story that dominates the global media in 2019/20 and shook an established and trusted company to its core. More details are easily available online but the following summary was taken from Wikipedia.
The Story
Boeing is a major airline manufacturer. The introduction of it’s new Boeing 737 Max plan resulted in 346 deaths.
The Challenge
In March 2019, aviation authorities around the world grounded the Boeing 737 Max passenger aircraft after two new airplanes crashed within five months of each other, killing all 346 people aboard. After the first accident, Lion air Flight 610 on October 29, 2018, investigators determined that the MAX's new Maneuvering Characteristics Augmentation System (MCAS), which was omitted from flight manuals and crew training, automatically and repeatedly forced the aircraft to nosedive.
The Response
In April 2019, Boeing admitted that MCAS played a role in both accidents. In October, the Indonesian authorities concluded that problems with airplane design, certification, maintenance, and flight crew actions contributed to the Lion Air accident. In November 2019, the FAA revoked Boeing's authority to issue airworthiness certificates for individual MAX airplanes. In December 2019, the U.S. House of Representatives criticized the FAA and Boeing for their inaction despite known risks.
in December 2019, Boeing ousted its CEO over mismanagement of the crisis. Airlines canceled 183 orders for the MAX in 2019. In January 2020, Boeing halted production until regulators clear the airliner to fly again. Boeing revealed derogatory messages between its employees, sent during certification, about the MAX design, FAA regulation, and Lion Air's request for flight simulator training. Boeing estimated the grounding and production suspension will result in an additional $6.3 billion to produce the aircraft, reducing the margin of the 737 program in the future, with $18.4 billion in total future losses arising from the grounding.
Deliverables
Analyze the above scenario using the 4 Costs of Quality given below:
Your detailed analysis and report should reflect:
In: Operations Management
Discuss some of the technological advances that have come as a result of 'hacking.' Given such advances, discuss your view on the idea that some level of 'hacking' current technologies is a necessity.
In: Psychology
using java Design a class named Triangle that extends GeometricObject. The class contains: • Three double data fields named side1, side2, and side3 to denote three sides of a triangle. • A no-arg constructor that creates a default triangle with default values 1.0. • A constructor that creates a triangle with the specified side1, side2, and side3. In a triangle, the sum of any two sides is greater than the other side. The Triangle class must adhere to this rule and throw an IllegalTriangleException object if a triangle is created with sides that violate the rule • The accessor methods for all three data fields. • A method named getArea() that returns the area of this triangle. • A method named getPerimeter() that returns the perimeter of this triangle. • A method named toString() that returns a string description for the triangle. Write a test program that prompts the user to enter three sides of the triangle, a color, and a Boolean value to indicate whether the triangle is filled. The program should create a Triangle object with these sides and set the color and filled properties using the input. The program should display the area, perimeter, color, and true or false to indicate whether it is filled or not.
In: Computer Science
What mutual funds would you recommend for a 22 year old college graduate who just landed their first real career job? They are making 35,000 dollars a year. They are able to invest 100 dollars every month into their 401K plan. They will retire at age 70. They are young and they are not frightened of risk. They have 48 years to invest. What would you suggest for them? Be very specific in your recommendations.
In: Finance
international business
When evaluating which foreign markets to serve, a company must consider certain variables that influence the location-specific costs and benefits of serving those markets. Identify several of the most important variables to consider and the implications of each on potential profitability.
In: Operations Management
1.What are the zones of the earth’s interior? (Start from the surface and identify the different layers all the way to the center. Include a description of the asthenosphere.
2.What is an earthquake? What causes them?
3.Name and describe the different types of earthquake waves (what material will they travel through; what kind of wave motion is involved).
4.How is the epicenter location determined?
5.When we hear on the news that an earthquake has a magnitude of 7, what does this mean? What scale is being used? How does the scale work? What information is needed for the calculations?
6.Around the world, where do most earthquakes occur? Why in these locations?
7.What are the main factors that determine the amount of building destruction caused by an earthquake?
In: Psychology
A proton and an alpha particle are momentarily at rest at a distance r from each other. They then begin to move apart. Find the speed of the proton by the time the distance between the proton and the alpha particle doubles.
Both particles are positively charged. The charge and the mass of the proton are, respectively, e andm. The charge and the mass of the alpha particle are, respectively, 2e and 4m.
A- Find the speed of the proton (vf)p by the time the distance between the particles doubles.
Express your answer in terms of some or all of the quantities e, m, r, and ?0.
B- The best way to check whether your result from Part A is correct is to check that it has the correct units. Which of the following expressions, where C stands for coulombs, N for newtons, kg for kilograms, and m for meters, represents the correct SI units for the expression found in part B?
In: Physics
To what extent do you think competition led to the Volkswagen scandal?
In: Operations Management
In: Operations Management
Engineers are testing company fleet vehicle fuel economy (miles per gallon) performance by using different types of fuel. One vehicle of each size is tested. Does this sample provide sufficient evidence to conclude that there is a significant difference in treatment means? |
87 Octane | 89 Octane | 91 Octane | Ethanol 5% | Ethanol 10% | |
Compact | 32.0 | 29.1 | 20.3 | 30.8 | 27.7 |
Mid-Size | 18.1 | 19.7 | 18.9 | 19.9 | 27.7 |
Full-Size | 27.0 | 27.2 | 20.9 | 31.4 | 31.7 |
SUV | 22.2 | 19.1 | 21.1 | 18.4 | 31.7 |
(a) | Choose the correct statement. |
|
(b) | Fill in the boxes. (Round your SS values to 3 decimal places, F values to 2 decimal places, and other answers to 4 decimal places.) |
Two-Factor ANOVA | |||||
Source | SS | df | MS | F | p-value |
Treatments (Vehicle Size) | |||||
Blocks (Fuel Type) | |||||
Error | |||||
Total | |||||
Group | Mean | n | Std. Dev |
87 Octane | |||
89 Octane | |||
91 Octane | |||
Ethanol 5% | |||
Ethanol 10% | |||
Compact | |||
Mid-Size | |||
Full-Size | |||
SUV | |||
Total | |||
(c) | Choose the correct statement. Use α = 0.05. |
|
(d) | Which fuel types show a significant difference in average fuel economy? Use the Tukey simultaneous comparisons at α = 0.05. |
|
In: Math
Method 1: Use the Student's t distribution with
d.f. = n − 1.
This is the method used in the text. It is widely employed in
statistical studies. Also, most statistical software packages use
this method.
Method 2: When n ≥ 30, use the sample standard
deviation s as an estimate for σ, and then use
the standard normal distribution.
This method is based on the fact that for large samples, s
is a fairly good approximation for σ. Also, for large
n, the critical values for the Student's t
distribution approach those of the standard normal
distribution.
(d) Now consider a sample size of 71. Compute 90%, 95%, and 99% confidence intervals for μ using Method 1 with a Student's t distribution. Round endpoints to two digits after the decimal.
90% | 95% | 99% | |
lower limit | |||
upper limit |
(e) Compute 90%, 95%, and 99% confidence intervals for μ
using Method 2 with the standard normal distribution. Use
s as an estimate for σ. Round endpoints to two
digits after the decimal.
90% | 95% | 99% | |
lower limit | |||
upper limit |
In: Math
SCENARIO:
You are a salesperson(s) for a gadgets manufacturer.
Your company develops items for college student dorms.
You have an appointment with the General Manager of the Fanshawe College Campus Store
Product -Keurig K Mini Plus Single Serve Coffee Maker
Determine which of the 4 Sales Presentation Methods you will use: (refer to page 467 at end of text)
1.Memorized (canned)
2.Formula (persuasive selling)
3.Interactive need-satisfaction
4.Problem Solving
Write which method is used and 1-2 (400-500 words) paragraphs outline the Sales Presentation you will use.
Note: You must include the actual wording
you would say/pitch to the Fanshawe Store Manager.
Sales Objections are the reasons that prospects (customers) give for not wanting to buy.
List 2 anticipated Sales Objections the Fanshawe Store Manager may have and how you will overcome the sales objection
In: Operations Management
Rectangle Class in C++
Create a Rectangle class that has two data members: length_ and width_. Create the corresponding accessor and mutator functions to access and change both data members.
Create a member function area that returns the area of the Rectangle object. Finally, create a function longest_rectangle that accepts two Rectangle objects as parameters and returns the Rectangle object with the longer length.
Write the Rectangle class and the longest_rectangle function prototype in rectangle.hpp. Take note that longest_rectangle is not a member function of the Rectangle class. Provide the function's implementation in rectangle.cpp.
Complete main.cpp according to the comments provided in the file.
Sample Output:
Rectangle 1 Please enter the length: 2 Please enter the width: 3 Rectangle 1 created with length 2 and width 3 The area of Rectangle 1 is: 6 Rectangle 2 Please enter the length: 4 Please enter the width: 5 Rectangle 2 created with length 4 and width 5 The area of Rectangle 2 is: 20 The longest rectangle has a length of 4, a width of 5, and an area of 20.
Submission checklist
In: Computer Science