Programming Homework Help

Tidewater Community College C Programming IPO Chart Program

 

1.

The principal of a local school wants a program that displays the average number of students per teacher at the school. The principal will enter the number of students enrolled and the number of teachers employed. Complete an IPO chart for this 

problem. Plan the algorithm using a flowchart. Also complete a desk-check table for your algorithm. For the first desk-check, use 1200 and 60 as the number of students and number of teachers, respectively. Then use 2500 and 100.  

1. Enter the number of students and teacher. 2. Calculate the average number of students per teacher by dividing the number of  students by the number of teachers. 3. Display the average number of students per teacher 

 5. Norbert Catering is famous for its roast beef sandwiches. The store’s owner wants a  program that he can use to estimate the number of pounds of roast beef a customer  should purchase, given the desired number of sandwiches and the amount of meat  per sandwich. Typically, one sandwich requires two to three ounces of meat, but  some customers prefer four or five ounces per sandwich. Complete an IPO chart for  this problem. Desk-check the algorithm using 50 as the number of sandwiches and 4  ounces as the amount of meat per sandwich. Then desk-check it using 224 and 2  ounces.

1. Enter the number of sandwiches and amounts of meat per sandwich in ounces. 2. Calculate the number of ounces of roast beef by multiplying the number of  sandwiches and amounts of meat per sandwich in ounces. 3. Calculate the number of pounds of roast beef a customer should purchase by  dividing by 16 the number of ounces of roast beef. 4. Display the number of pounds of roast beef a customer should purchase. 

8. Each time Tania visits the dentist, her dental insurance requires her to pay a $20 copay and 15% of the remaining charge. She wants a program that displays the total  amount she needs to pay, as well as the total amount the insurance should pay.  Complete an IPO chart for this problem. You can assume that the dental charge will  always be at least $20. Desk-check the algorithm using $110 as the dental charge.  Then desk-check it using your own data. 

1. Enter the dental charge. 2. Subtract $20 from the dental charge. 3. Multiplicate the rest of the dental charge by 0.15 4. Calculate the amount of money we need to pay by adding $20 to the rest of the  dental charge 5. Display the amount of money we need to pay 

Programming Homework Help

Service Oriented Systems Integration Design Solution Paper

 

1st. Provide a detailed description of systems integration problem for a specific organization. Integration problem and organization can be real or fictitious. The integration problem should be complex enough to warrant utilization of advanced service integration technologies. The problem must involve more than three applications and five interactions among them. Here are some integration problem examples from Enterprise Integration Patterns book:

View the Enterprise Integration Patterns Loan Broker System Management

View the Enterprise Integration Patterns Case Study: Bond Trading System

View the Enterprise Integration Patterns Solving Integration Problems using Patterns (see Widget-Gadget Corp example)

2nd

Provide preliminary analysis and design for the identified systems integration problem. This preliminary solution should contain a conceptual service-oriented architecture design, depicting different service components along with existing applications/systems and interactions among these components. Provide detailed description for each component and interaction. For example, provide details on the application modules involved within a service component and existing application/system; whether a service component is atomic service or composed services; details of messages and documents exchanged between components; application programing interface details; data exchange format details; user interface details; service client interface details; and utilizationof protocols and standards. Provide example scenarios and use cases to demonstrate the actual usage of your solution.

3rd.

Provide a detailed design solution and implementation plan for the identified systems integration problem. Discuss assumptions made to analyze the problem and design the solution. Justify your assumptions, design decisions, and solutions adopted. Justify why you made such decisions and why they make sense. Provide a detailed plan to implement a designed solution along with details of service-oriented frameworks, platforms, servers, orchestration engines, etc. Discuss the feasibility of the implementation plan. Provide recommended products that will be used for the implementation. Provide comparative feature set evaluation of similar products to justify your selection. Discuss shortcomings of the solution developed and how it could be improved.

Remember # 3 only implementation plan

Finally write a report regarding all parts following the rubric attached

Programming Homework Help

CMPSC 221 Pennsylvania State University Pizza Serving Calculator Program

 

Pizza Servings Calculator GUI Assignment

Write a GUI to calculate the number of servings that a circular pizza of a certain diameter will make. The GUI will have the following appearance:

Pizza Servings Calculator Initial

It must include the following features:

  • The frame title must say ‘Pizza Servings Calculator’.
  • A grid layout will be used for the GUI.
  • The JLabel title of the GUI will say ‘Pizza Servings Calculator’ and be in red and will be placed in grid slot 1.
  • A JLabel of ‘Enter the size of the pizza in inches: ‘ will be placed in grid slot 2 followed by a JTextField where the pizza size will be entered and have a width of 4.
  • A JButton will be placed in grid slot 3 and will contain ‘Calculate Servings’.
  • A JLabel, initially blank, will be placed in grid slot 4.

To execute the GUI, enter a pizza size in the JTextField and click the Calculate Servings button. The Calculate Servings button handler will then execute and calculate the number of servings and display it as shown in the following image:

Pizza Servings Calculator Final

The number of servings will be calculate using the following formula:

servings = (size / 8)**2

and displayed to two decimal places. You can use the Double.parseDouble(textField.getText() ) to get the string value from the JTextField and parse it to a double. This formula assumes that an 8 inch pie makes 1 serving. Based on the area of an 8″ pie as one serving, the number of servings will vary with the ratio of the radius of the new pie to the 8″ pie squared. Therefore, a 16″ pie would give you a ratio of 16/8 or 2 squared which is 4 servings.

Line 2 of the GUI contains two GUI components but each cell of a grid can only contain one component. This is where JPanels come in for GUI design. A JPanel is a container that simply holds other components, so we can use a JPanel as the component for line 2. We can create a JPanel by using a statement like:
private JPanel line2 = new JPanel();
Then we can add components to it with statements like:
line2.add(variable that represents your JLabel for Enter the size of the pizza…);
Then we can add line2 to the grid layout in slot 2.

To set the layout of the frame to a 4 line grid layout, you would use a setLayout statement such as:
setLayout(new GridLayout(4,1));

Once the servings have been calculated, they are displayed in the JLabel in grid slot 4 as shown.

Set the size of your GUI to (350, 300). This should give it the appearance as shown above. Your class that represents the GUI should extend JFrame.

Do not use the NetBeans GUI generator for this project.




Rubrics

Frame

a. Title set to ‘Pizza Servings Calculator’ (5)

b. Size set to (350, 300). (5)

Title Label

a. Text set to ‘Pizza Servings Calculator’ (2)

b. Text color set to red. (5)

c. Positioned in grid slot 1 (5)

d. Title is centered. (5)

Enter Pizza size Prompt Label

a. Text set to ‘Enter the size of the pizza in inches: ‘. (3)

b. Positioned in grid slot 2. (5)

Pizza size TextField

a. 4 columns wide. (5)

b. Positioned in grid slot 2. (5)

Convert Button

a. Text set to ‘Calculate Servings’. (5)

b. Has a handler that implements ActionListener (5)

c. Calculates the proper number of servings (10)

d. Handler gets added to JFrame as ActionListener. (5)

e. Positioned in grid slot 3. (5)

Number of servings Label

a. Text initially set to blank. (5)

b. On conversion, displays the number of servings to 2 decimal places. (10)

c. Positioned in grid slot 4. (5)

Grid line 2

a. Use a JPanel to create line 2. (5)

Programming Homework Help

Davenport University Graphs Breadth First Search Programming Project

 

In this assignment, you will design the AddNode and AddEdge methods for the supplied graph data structure.The AddNode and AddEdge methods are to support the construction of undirected (bi-directional) graphs.That is if node A is connected to node B then node B is also connected to node A.

In addition to the AddNode and AddEdge methods, create a method called BreadthFirstSearch that accepts a starting node and performs a Breadth First Search of the graph.The algorithm for the breadth first traversal is provided below.

  • Add a node to the queue (starting node)
  • While the queue is not empty, dequeue a node
  • Add all unvisited nodes of the dequeued node from step 2 and add them to queue 4. End While

Demonstrate your methods by creating the graph depicted in Figure 1 below and running the Breadth First Search on the graph using 0 as the starting node.

Figure 1

You may use C++ or C#, to implement this program as long as the following requirements are met.

A C++ or C# project must be created using Visual Studio 2019. The entire project must be submitted as a single ZIP file that contains the project folder, source code, and documentation.

Programming Homework Help

UC R Worksheet

 

#INSTRUCTIONS

#Type the codes for each question

#Include answers to ALL questions in the script as a comment (with a #).

#Questions with a * next to it will ALSO require you to input the answer in Canvas.

#Lastly, upload this R script AND input the corresponding answers to Canvas.

#If you are missing codes or answers in this script, points will be deducted.

#Download and call each package from library

install.packages(“openintro”)

install.packages(“dplyr”)

install.packages(“ggplot2”)

library(openintro)

library(dplyr)

library(ggplot2)

#Run data and view the name of variables

data(acs12)

names(acs12)

#The data is named “acs12”

View(acs12)

###CONFIDENCE INTERVALS

###EXAMPLE, solve the problems using this guideline###

#1. Construct a 95% CI for the average commute time for Americans (the variable we’re looking at is caled “time_to_work”)

#What is the interval for the average commute time? What does this mean?

#The average commute time is 24.4, 27.6 minutes. This means that we can be 95% confident that the average commute time is between these values.

t.test(acs12$time_to_work)

#*2. Construct a 95% CI for the average income and explain your results. The variable is called “income”

#*3. Construct a 95% CI for the average hours worked and explain your results. This variable is called “hrs_work”

#*4. Construct a 95% CI for the average age and explain your results. This variable is called “age”

### T-Tests HYPOTHESIS TESTS

###REMEMBER we REJECT the Ho if the p-value is LESS than alpha of 0.05

###EXAMPLE BELOW, solve the problems using this question

#5. Assume the average commute time of Americans is thought to be 26 min.

#Write the null hypothesis and the conclusion

#***This is a two-sided test, meaning we are not looking at greater or less than

#Ho: average commute = 26

#Ha: average commute NOT equal to 26

t.test(acs12$time_to_work, mu=26, alternative = “two.sided”)

#The p-value is 1 which is GREATER than alpha of 0.05. Therefore we FAIL TO REJECT the HO. The average commute is equal to 26

# *6. Assume that the average age is thought to be GREATER than 30.

#Write the null hypothesis and the conclusion

#*** This is a one-sided test, we are looking at GREATER than 30 as the alternative

#Ho:

#Ha:

# P-value and conclusion:

# *7. Assume that the average age is thought to be LESS than 50.

#Write the null hypothesis and the conclusion

#*** This is a one-sided test, we are looking at LESS than 50 as the alternative

#Ho:

#Ha:

# P-value and conclusion:

# *8. Assume that the average age is thought to be EQUAL TO 30.

#Write the null hypothesis and the conclusion

#*** This is a two-sided test, we are looking at “two.sided” as the alternative

#Ho:

#Ha:

# P-value and conclusion:

Programming Homework Help

GMU Legal Regulatory and Compliance Concerns Invest in IT Reflection

 

I’m working on a software development multi-part question and need an explanation and answer to help me learn.

reflection 

how the knowledge, skills, or theories of this course have been applied, or could be applied, in a practical manner to your current work environment. If you are not currently working, share times when you have or could observe these theories and knowledge could be applied to an employment opportunity in your field of study. 

Programming Homework Help

CSCI 2521 Columbus State Community College Case Insensitive Strings Lab Report

 

Hello I could use help getting the code to select a random word from the array. The code is working fine other than that. The game should select a random word from the array. The game should also support case-insensitivity when comparing the guessed word with the randomly selected word. Case insensitive means uppercase and lowercase characters should be treated equally. For example, ‘A’ is equal to ‘a’. We will discuss how to randomize an integer value and how to support case-insensitive strings with code examples provided for both It is expected that you use functions and you should have at least one class to wrap the values for the result indicating the cats and cougars from the resulting guess I am using visual studio 2019 and on a budget

Programming Homework Help

University of Illinois at Chicago City Light Investment Analysis Plan

 

Write an Analysis Plan for City Light Venture Capital Firm that articulates the data and business problems and how you plan on addressing them.

Choose one(1) Business Problem to assess:

Identifying US-based companies that fit the City Light Investment Thesis – Safety & Care, Education, Environment

Predicting Likelihood & Timing of Next Fundraising Rounds.

Predicting Whether a Company will be Ultimately Acquired or enter into the phase of an Initial Public Offering.

Website: https://citylight.vc/

You should come up with the Analysis section using this format:

  1. Formulate a business or domain question/problem.
  2. Identify, gather, cleanse, and prepare the data available to answer the question.
  3. Analyze the data.
    • Descriptive analytics
    • Predictive analytics
    • Prescriptive analytics
  4. Make conclusions and write recommendations. 

Programming Homework Help

Austin Community College Create a Program Code Computer Programming Exercises

 

The header should be at the beginning of each program.

No magic numbers.

Also, please provide outputs as screenshots? DOC file

For the name use Yasir Alkaradi instead of Mo_ali1

Teacher’s instructions:

7-1. Total Sales

Start
to finish. The actual code is very simple. It’s all the items around that program that are the pain. Since you have been programming for a
number of weeks, you should have a number of blocks of code that you can reuse. That’s a really big hint.

Before you start programming, you are going to have to design the program. Some things you are going to have to handle are:

  1. The days of the week, how do you want the user to spell them, input them? Remember, exact spelling is never a good idea.
  2. How
    many days in the week?. Before you say 7, what if the store only works
    6 days? Should you care? Just assume the user will input the proper number of days. If so, how do you let the program know there are no more days going to be input?
  3. The output has to be properly aligned.

You will give me three items for grading:

  1. A list of the assumptions/requirements you used for the program. This can be a .txt or .docx.
  2. Your program, like normal.
  3. Your output, like normal.

7-7. Driver’s License Exam

Program
is easy but requires some design effort to make it easy. Send the normal things for grading: the program and the output

P.S. we worked together few days ago so you know the system.