Category Archives: Computer Science

Write a function with which you can calculate numerically the integral of a given real function with two limits a and b using the trapezoid rule. Modify fnExample4 to do this. 

Write a function with which you can calculate numerically the integral of a given real function with two limits a and b using the trapezoid rule. Modify fnExample4 to do this. Write a function with which you can calculate numerically the integral of a given real function with two limits a and b using Simpson’s rule and the trapezoid rule, where, on one hand, you rely on a comparison of the functions fnExample4.m and the solution from Problem 70 and, on the other, on the MATLAB functions quad and trapz. This function should have no return value, but all the results should be formatted with fprintf and displayed on the screen.

Give the message flow and log entries for the hierarchical 2PC protocol for this scenario. Indicate which log entries need to be immediately forced to the stable log.

Consider the following scenario. A transaction is initiated from a PC to make reservations for a vacation. The initiator communicates directly with a travel agency and a rental car company. The travel agency communicates with a travel wholesaler, which books two of the necessary flights (or flight legs) on the servers of the corresponding airlines, and also with two other airlines to book the rest of the necessary flights. All these steps belong to one distributed transaction, and all involved participants are able and willing to commit the transaction. The communication structure of this transaction is illustrated in Figure 19.12.

(a) Give the message flow and log entries for the hierarchical 2PC protocol for this scenario. Indicate which log entries need to be immediately forced to the stable….

How many variables will you declare in your program?

Mary Smith, a student, has borrowed $3,000 to help pay her college expenses. After setting up a budget, $85 was the maximum monthly payment she could afford to make on the loan. Develop a solution to calculate and print the interest, the principal, and the balance on the loan per month. Other information she would like to know is the number of years and months it will take to pay the loan back and the total interest she will pay during that period. The interest rate is 1% per month on the unpaid balance. Keep in mind these formulas: 1. interest normal = balance*interest rate 2. payment = balance – interest 3. new balance = balance – payment 1. How many variables will you declare in your program?….

Design and implement classes Driver (abstract class), Formula1Driver.

Description Your task is to create a Java program which simulates the manipulation of a Formula 1 racing car championship. For the GUI part you are NOT allowed to use drag and drop tools (such as those found in Netbeans, etc.) to create the graphical user interface for any part of this coursework! All graphical code should be manually written in Java Swing and no tool which generates code automatically should be used. Any submission which uses for any part of this assignment drag and drop tools will not receive any marks for these parts. Implement a class Formula1ChampionshipManager which extends interface ChampionshipManager. The Formula1ChampionshipManager class maintains a number of drivers and cars (constructors, i.e. manufacturer of the car) which compete in the Formula 1 car championship. Each….

Cisco Packet Tracer

Part 1 (Cisco Packet Tracer):

You, as a network engineer, have been asked to design a network to a startup company located in. The company consists of two floors, the first for employees and the second for the management. The number of devices on the first floor and the second floor are 13 and 8 respectively. Also, there is a servers’ room on the second floor that includes two servers.

The part 1 report should include the following:

1- Network Purpose and scope (Describe the network)

a. What purpose will your network serve?

b. What problems does it seek to fix?

c. What resources will you need

d. Establish an estimated project timeline

2- Chose a suitable network typology (Ring, Star, Bus, Mesh, etc)

a. Describe clearly the….

You are to write a program. Your program should: a. Request for a username and password to be inputted.

Apostle “Kojo Safo” popularly known as “KANTANKA (KTA)” is one of the renowned entrepreneurs in Ghana. He manufactures cars, agriculture light and heavy-duty machinery just to mention a few. His products have attracted many investors both local and foreign. However, sales of his manufactured cars in particular, have seen very little patronage in Ghana. The argument is that; the cars have not been properly tested but have been given the green light by the Driver and Vehicle Licensing Authority (DVLA) to be used in Ghana. Most of the cars on our roads today are accident cars imported from the western world. It is being debated that these imported cars contribute immensely to the high road accident cases in Ghana. The government has decided to charge 0.5 % tax….

SDX Alliance is a large company that sells computers, computer components, and software.

SDX Alliance is a large company that sells computers, computer components, and software. Ralph is hired as an entry-level software engineer at SDX Alliance. His first project was to assist in writing the code for SDX Alliance’s new hard disc controller. He had previously worked on a similar system interning at a start-up and had written a code which greatly enhanced the performance of their product. Ralph quietly re-uses this same code in the SDX Alliance product and does not think to tell anyone that he has used the code from his last job. His manager is thrilled with the speed improvements this code brings to the product.

Before the product is released, it has to undergo a four-month long quality assurance process review. During the review of….

In what situation can you advise Batho-IT Services to acquire its WIFI and Data services instead of developing them? Support your discussions with practical examples

Case study 1

The COVID-19 pandemic has increased greater demand for WIFI and Data services to aid working from home (remote working). The increase placed a huge pressure on Batho-IT Services to deliver quickly to its customers. Batho-IT Services has its operating office in Mmabatho, Mahikeng, providing WIFI and Data services for residence, individuals, and businesses (customers). To meet the growing demand for WIFI and Data services, Batho-IT Services is presented with alternatives like the Development (develop in-house) and Acquisition (purchase) of its key WIFI and Data hardware and software (application). You are the IT manager at Batho-IT Services, advise the management on the two alternatives:

Motivate the management on the benefits and challenges in the development of the key services in-house (three (3) benefits and three (3)….

Develop a codebook based on the themes you identify after reading the story.

This Discussion consists of three parts as well as the peer response.

Part 1: Utilize the web site Little Red Riding Hood to complete the following: https://americanliterature.com/childrens-stories/little-red-riding-hood

Develop a codebook based on the themes you identify after reading the story. You must have 5 to 7 themes. In your codebook, you need to have at least two examples from the story to support your code.

Part 2: Navigate to and apply your code to the story: The Three Little Pigs. https://americanliterature.com/childrens-stories/the-three-little-pigs

How well did the code work? What can you generalize about fairy tales based on your analysis of these two fairy tales?

Part 3: Provide a visual display of your findings based on both fairy tales and your codebook.

I am the program maintainer/demonstrator.

I am the program maintainer/demonstrator. According to my project role, I must do demonstration of project execution, (e.g., milestone reports, project tracking, etc.) and Evidence of effective use of version control system. I need to work on only Project 1: develop an IT software system to manage customers and allow them to book flights, manage flight reservations, seat selections, purchasing in-flight services such as food and drinks (check pg.4 of project description). I need 30%-50% of the work by 06/20/2021 (coming Wednesday), because it is just an initial submission. And then the rest of it by 14/10/2021 when the whole assignment is due. I have attached the program to help understand start with the task. I can also attach the WBS structure. Please let me know if you….