Questions
Create an ER diagram for the requirements below. - Parts have a unique number, name, and...

Create an ER diagram for the requirements below.
- Parts have a unique number, name, and production year.

- Car company has a unique number, name and country information

-Automakers make multiple cars.
It has a serial number and a name.
but, There can be no more than two companies making one car.

-Parts are used in many cars. When a part is used in a car, Save the part usage date and quantity information.

In: Computer Science

Java problem Implement class Course containing: String name, enumeration Type (Foundamental, Specialization, Discipline), enumeration Stream (English,...

Java problem

Implement class Course containing: String name, enumeration Type (Foundamental, Specialization, Discipline), enumeration Stream (English, French, German), int creditPoints.

 Class Contract has an array of courses with methods addCourse(Course), deleteCourse(type, stream, name) sort(), display().

 Courses are sorted by stream, type, name.

 If 2 courses are equal raise a custom exception in method sort().

 Make Contract implement Storable.

In: Computer Science

Programming C: Write a program for a Rolodex of contact information (e.g., name, phone number, email)...

Programming C: Write a program for a Rolodex of contact information (e.g., name, phone number, email) implemented as a linked list. The program will ask the user to enter a new contact information, retrieve/print a person’s contact information, and to delete a person. It will maintain the linked list in alphabetical order by last name. It will also allow the user to search for a person’s contact information by last name. Assume that all last names are unique.

In: Computer Science

Write an assembly language program that prints your first name in the output. Use immediate addressing...

Write an assembly language program that prints your first name in the output.

  • Use immediate addressing with a hexadecimal constant to designate the operand of CHARO for each letter of your name.
  • Comment each line except STOP and END.
  • Cut and paste the Assembler Listing into your document and paste a screen shot of the Output area of the Pep8.

Use the name "Kevin" as example

Assembler Listing

Screen Shot of Output area of the Pep8 program

In: Computer Science

Construction Documents 1. What is included in a Bid Package for a construction project? 2. Name...

Construction Documents

1. What is included in a Bid Package for a construction project?

2. Name and explain the three different stages of construction projects development.

3. Name and explain the three different stages of Architectural Design process for construction projects.

4. Name ten (10) different drawings in a set of drawing for a construction project.

5. What is Title Block and what type of information you can find in a Title Block?  


In: Civil Engineering

Write a program that will calculate the cost of installing fiber optic cable at a cost...

Write a program that will calculate the cost of installing fiber optic cable at a cost of .87 per ft for a company. Your program should display the company name and the total cost.

  1. Display a welcome message for your program.
  2. Get the company name from the user
  3. Get the number of feet of fiber optic to be installed from the user
  4. Multiply the total cost as the number of feet times .87.
  5. Display the calculated information and company name.

In: Computer Science

Q1: Let’s say our research question we want to find the average (mean) wage among all...

Q1:

Let’s say our research question we want to find the average (mean) wage among all workers in the United States. Let’s say (and this is obviously not a very good method) we go around UC and stop 500 people and ask them what their wage is and calculate the mean wage.

  • What is our population?
  • What is our sample?
  • What is the parameter?
  • What is the statistic?
  • What are some problems with our sampling method?

Q2:

Identify the scale of measurement: nominal, ordinal, interval, ratio

  • Zip codes
  • Stock prices
  • Item size (small, medium, large)
  • Income of households, measured in dollars
  • Educational level, recorded as (High School, some college, college graduate)
  • Test score (0-100), measuring score on first statistics exam
  • Test score (0-100), measuring overall knowledge of statistics
  • A video game was previewed to a group of 30 teenagers. The teens were asked to rate the quality of the graphics.

Q3

A paper manufacturer in Country A sells much of its paper in Country B. The manufacturer is paid in Country​ B's dollars, but pays its employees in Country​ A's dollars. The manufacturer is interested in the fluctuating exchange rate between these two currencies. Each trading day in 2005 the exchange rate fluctuated by several basis points.​ (A basis point is 1/100 of a​ percent.) A year of data is collected.

  • Identify whether the data are cross sectional or a time series.
  • Give a name to each variable and indicate if the variable is​ categorical, ordinal, or numerical​ (if a variable is​ numerical, include its units if​ possible)
  • List any concerns that you might have for the accuracy of the data. Select all that apply.
  1. The recorded exchange rates might not be accurate for 2005.
  2. The fluctuations of the exchange rate in 2005 might not be typical of other years.
  3. The exchange rate is dependent on the country in which the data is recorded.
  4. There are no concerns regarding the accuracy of the data.

Q4: A bakery is trying to decide what makes a loaf a bread sell. There are three locations of this bakery and they gather data at all three locations. They measure the volume of the loaf and whether or not it has nuts in it. They then time how long it takes the loaf to sell. What are the cases? (unit of observation) List the variables and the scale of measurement

Q5:

  • Why is the median not an acceptable measure for nominal data?

  • Why is the mean not an acceptable measure for ordinal data?

  • In a strongly skewed distribution, would you prefer the mean or the median?

Q6:

Clara asked twenty-one people what their favorite number is. Please calculate the most complex yet appropriate measure of central tendency for the following data:

7, 3, 0, 7, 8, 2, 1, 2, 7, 6, 10, 6, 7, 1, 10, 0, 6, 8, 10, 3, 1

In: Economics

HIMT 345 Homework 06: Iteration Overview: Examine PyCharm’s “Introduction to Python” samples for Loops. Use PyCharm...

HIMT 345
Homework 06: Iteration
Overview: Examine PyCharm’s “Introduction to Python” samples for Loops. Use PyCharm to work along with a worked exercise from Chapter 5. Use two different looping strategies for different purposes.
Prior Task Completion:
1. Read Chapter 05.
2. View Chapter 05’s video notes.
3. As you view the video, work along with each code sample in PyCharm using the Ch 5 Iteration PPT Code Samples.zip.
Important: Do not skip the process of following along with the videos. It is a very important part of the learning process!
Specifics: PyCharm’s “Introduction to Python” project contains several examples of iterations or looping (see list at right). Follow the instructions to complete them. (Not handed in.)
Use PyCharm to work along with the video solution for Exercise 5.1 from the textbook. Type in the statements and execute the program as is done in the video. [Create a project and save your work as “Worked_Exercise_5.1”. It will prove valuable for part a below.] (Not handed in.)
Create a new PyCharm project called “Hwk06_”. Create two new python files within that project called “Hwk06a_” and “Hwk06b_”.
Part (a): Let’s write the code to prompt the user for (an integer) blood-sugar reading (BSR) and print a warning message if it is over 500. Also, print the message “>> Invalid input” if the user enters a non-integer, such as a float or a string.
Having completed Worked_Exercise_5.1 above you should use that code as the basis for this problem.
Use this sample interaction to demonstrate your code:
Enter a BSR: 155
Enter a BSR: string input
>> Invalid input
Enter a BSR: 522
** Warning! Blood sugar reading over 500: 522
Enter a BSR: 485
Enter a BSR: 578
** Warning! Blood sugar reading over 500: 578
Enter a BSR: 210
Enter a BSR: 330.6
>> Invalid input
Enter a BSR: 519
** Warning! Blood sugar reading over 500: 519
Part (b)
Create a list of BSRs as follows:
blood_sugar_readings = [155, 190, 522, 485, 578, 210, 130, 519]
Use a for-loop to iterate through the list in order to find the highest and lowest BSR values. Note that finding the maximum and minimum values of a list using a for-loop is shown in Section 5.7.2 of the textbook on p. 62-3. (Note that since we are ‘hard-coding’ the list, we may assume the data is valid, i.e., it has been previously checked.)
HINT: as is done in the textbook, while developing the code, add a print statement as the last line of the for-loop writing out the current BSR value, the smallest, and the largest. Then when your code is running correctly, you can comment out that line (but leave it in the code-base).
After looping through the list, print the highest and lowest BSR values.
What to hand in:
Take screen snips of the Run window for Parts (a) and (b). Use the snipping tool on the console portion of the screen – but including the header bar and the file name.
Copy the snips into a Word document (filename Hwk06_YourLastName_ScreenSnips.doc) with your name and date in the upper right hand corner.
Upload the Word doc and the Python program files Hwk06a_YourLastName.py and Hwk06b_YourLastName.py to the appropriate assignment in the LMS. Three files total.
NOTE: As was described in the previous assignment, each Python file you create should be documented with (minimally) the following three lines at the top of each
file:
# Filename: Hwk06_YourLastName.py
# Author:    < your name>
# Date Created: 2017/09/05
# Purpose: < brief descriptions>

In: Computer Science

Imagine you are the orbital engineer for the first NASA spaceshot to Ceres, the largest...

Imagine you are the orbital engineer for the first NASA space shot to Ceres, the largest known asteroid. Ceres’s nearly circular orbit around the sun has a radius of R = 2.77 AU. After being launched from the earth, the probe will initially be in a circular orbit around the sun with the same radius (r_{c} = 1.0 AU) and the same orbital speed (|\vec{v}_{c}| = 6.28 AU/y) as the earth’s orbit. The probe’s rocket engines will then fire briefly to increase the probe’s speed to that speed |\vec{v}_{c}| needed to put the probe into an elliptical orbit whose initial (and minimum) distance from the sun is r_{c} = 1.0 AU and whose final (and largest) distance from the sun is R = 2.77 AU (this is a Hohmann transfer orbit).(a) How long will it take the probe to get from the earth to Ceres in such an orbit? (b) What is the speed |\vec{v}_{c}| that the probe has to have just after firing its engines to be inserted into this orbit? (Assume the duration of the boost is short enough that its distance from the sun is still nearly r_{c} just after the engines have been fired.)

In: Physics

2. A spacecraft of initial mass M (including the mass of the fuel) is at rest...

2. A spacecraft of initial mass M (including the mass of the fuel) is at rest in the solar system, preparing to disembark on a grand mission to Alpha Centauri. Its engines work by combining matter and antimatter and directing the hard gamma rays that result out the spacecraft’s rear. The engines fire for a brief time, bringing the ship’s speed to v = 0.95 with respect to the solar system. a) What is the rest mass m of the ship after the engines have fired, expressed as a fraction of M? [Hint: Treat the gamma-ray exhaust as a giant photon.] b) Once the ship reaches Alpha Centauri, it must decelerate to a stop by firing its engines again. What will the ship’s total initial mass M have to be if the ship’s empty mass is m0 when it comes to a stop at Alpha Centauri? (Express your result as a multiple of m0, and treat the exhaust when stopping as another giant photon.) c) What would the ratio be in order to make a round trip? This means accelerating to v = 0.95, traveling to Alpha Centauri, coming to a stop, then accelerating back to v = 0.95, travelling back to Earth and finally coming to a stop again, all without refuelling.

In: Physics