Questions
write code data structure using  c language You will build a system to manage patients’ data in...

write code data structure using  c language

You will build a system to manage patients’ data in a hospital. The hospital patient management system stores specific information in the form of health record to keep track of the patients’ data. Your program should read the information from a file called “patients.txt” that should be on the following format

: Patient Name#Gender#Date of admission#Date of birth #Illness#Address (City)#Blood type

Your program should be able to do the following tasks: Options: 1. Read data: read the data of the patients from the file.

2. Create linked list: create a linked list.

3. Sort data: use Radix sort to sort the data based on the patients’ names.

4. Add patient: add a new patient.

5. Update patient: update patient’s information.

6. Delete patient: soft delete (explained below).

7. Search for patients a. Name b. Date of birth

8. List patients a. All patients b. Category (i.e., illness) c. City d. Discharged (Patients who were deleted from the system)

9. Export medical report: export XML file following medial health record standards.

10. Exit: exit from the system and store the information back to the file.

you are not allowed to use the String library functions.

In: Computer Science

Write a case study of array used in scientific calculations and perform any one of the...

Write a case study of array used in scientific calculations and perform any one of the scientific calculation using array.

write it for me please.
i need the answer

In: Computer Science

What questions would you ask of this business owner to determine the strategy for developing the...


What questions would you ask of this business owner to determine the strategy for developing the application?

How would you conceive the project in terms of stages based on the life-cycle of ASP.NET?

What are the immeidate challenges to this project's success?

In: Computer Science

Think a Number Bob and Alice play a game in which Bob gives Alice a challenge...

Think a Number Bob and Alice play a game in which Bob gives Alice a challenge to think of any number M between 1 to N. Bob then tells Alice a number X. Alice has to confirm whether X is greater or smaller than number M or equal to number M. This continues till Bob finds the number correctly. Your task is to find the maximum number of attempts Bob needs to guess the number thought of by Alice

In: Computer Science

Give a research paper on below topic "Does digital economy leads to sustainable use of our...

Give a research paper on below topic "Does digital economy leads to sustainable use of our resources ?" [ This is a research paper for master level please provide the detail i need atlease 85 marks out of 100]

In: Computer Science

Import the northwind database and write sql statements for the following: List all supplier ids (no...

Import the northwind database and write sql statements for the following:

  1. List all supplier ids (no duplicates) for all products.
  2. List the product name and supplier id for all products that cost more than $20.
  3. List all products whose names start with letter "c" and are not discontinued.
  4. List each country name and the number of suppliers located in the country.
  5. List all supplier names, the number of products that each supplier provides (this column should be named as NumOfProducts), and the average price for the products provided by the same supplier (this column should be named as AvgPrice).
  6. Find all suppliers' name, city, and country for those who provide non-discontinued products.
  7. List all supplier names who provide at least two different products.
  8. Add a new product record to the products table. You must provide values for the following fields in the new product record: ProductID, productName, SupplierID, and CategoryID.
  9. Increase the reorder level by 20% and reduce the prices by 10% for all products
  10. Delete discontinued products.

In: Computer Science

6.40 LAB: Warm up: Text analyzer & modifier (1) Prompt the user to enter a string...

6.40 LAB: Warm up: Text analyzer & modifier (1) Prompt the user to enter a string of their choosing. Output the string. (1 pt) Ex: Enter a sentence or phrase: The only thing we have to fear is fear itself. You entered: The only thing we have to fear is fear itself. (2) Complete the GetNumOfCharacters() function, which returns the number of characters in the user's string. We encourage you to use a for loop in this function. (2 pts) (3) In main(), call the GetNumOfCharacters() function and then output the returned result. (1 pt) (4) Implement the OutputWithoutWhitespace() function. OutputWithoutWhitespace() outputs the string's characters except for whitespace (spaces, tabs). Note: A tab is '\t'. Call the OutputWithoutWhitespace() function in main(). (2 pts) Ex: Enter a sentence or phrase: The only thing we have to fear is fear itself. You entered: The only thing we have to fear is fear itself. Number of characters: 46 String with no whitespace: Theonlythingwehavetofearisfearitself.

In C++ Please

layout given

#include <iostream>

#include <string>

using namespace std;

//Returns the number of characters in usrStr

int GetNumOfCharacters(const string usrStr) {

/* Type your code here. */

}

int main() {

/* Type your code here. */

return 0;

}

In: Computer Science

Describe the major steps for a CPU to execute a procedure call. Specify when BL and...

Describe the major steps for a CPU to execute a procedure call. Specify when BL and BR instructions will be executed, respectively.

Explain how inline function can improve the software performance, and when it should be used.

In: Computer Science

Implement the following function in the PyDev module functions.py and test it from a PyDev module...

Implement the following function in the PyDev module functions.py and test it from a PyDev module named :

def is_divisible(n, i, j):
    """
    -------------------------------------------------------
    Determines if n is evenly divisible by both i and j.
    Use: result = is_divisible(n, i, j)
    -------------------------------------------------------
    Parameters:
        n - the number to check for divisibility (int)
        i - one of the values to divide n by (int)
        j - another value to divide n by (int)
    Returns:
        result - True if n is evenly divisible by both
            i and j, False otherwise (boolean)
    ------------------------------------------------------
    """

Sample testing:

Enter number to check for divisibility: 15
Enter first value to divide by: 3
Enter second value to divide by: 5

15 is evenly divisible by 3 and 5.
Enter number to check for divisibility: 16
Enter first value to divide by: 4
Enter second value to divide by: 3

16 is not evenly divisible by 4 and 3.

In: Computer Science

Implement the following function in the PyDev module functions.py and test it from a PyDev module...

Implement the following function in the PyDev module functions.py and test it from a PyDev module named :

def wind_speed(speed):
    """
    -------------------------------------------------------
    description
    Use: category = wind_speed(speed)
    -------------------------------------------------------
    Parameters:
        speed - wind speed in km/hr (int >= 0)
    Returns:
        category - description of wind speed (str)
    ------------------------------------------------------
    """

Wind speeds are categorized as:

Wind speed (km/h) Category
< 39 Breeze
39 - 61 Strong Wind
62 - 88 Gale Winds
89 - 117 Whole Gale
> 117 Hurricane

The function should return 'unknown' for a negative wind speed.

Sample testing:

Wind speed (km/h): 95
Category: Whole Gale

In: Computer Science

Implement the following function in the PyDev module functions.py and test it from a PyDev module...

Implement the following function in the PyDev module functions.py and test it from a PyDev module named :

def fast_food():
    """
    -------------------------------------------------------
    Food order function.
    Asks user for their order and if they want a combo, and if
    necessary, what is the side order for the combo:
    Prices:
        Burger: $6.00
        Wings: $8.00
        Fries combo: add $1.50
        Salad combo: add $2.00
    Use: price = fast_food()
    -------------------------------------------------------
    Returns:
        price - the price of one meal (float)
    -------------------------------------------------------
    """

Sample testing:

Order B - burger or W - wings: B
Make it a combo? (Y/N): N
Price: $6.00

Order B - burger or W - wings: W
Make it a combo? (Y/N): Y
Add F - fries or S - salad: F
Price: $9.50

In: Computer Science

The program will first prompt the user for a range of numbers. Then the game will...

The program will first prompt the user for a range of numbers. Then the game will generate a random number in that range. The program will then allow the user to guess 3 times. Each time the person takes a guess, if it is not the number then the game should tell them to guess higher or lower. They only get 3 guesses. If they have not guessed the number in three tries then the game should tell them the computer won and thank you for playing and ask them if they would like to play again. If the user wins then the game should congratulate them and ask them if they would like to play again. Each time the program repeats you should store the random number generated into an array. When the program is done the program should display the all of the random numbers back to the user.

In java language

In: Computer Science

The use of graphics and animation to inform, entertain and educate

The use of graphics and animation to inform, entertain and educate

In: Computer Science

MTN operating on a frequency of 2.3MHz aim at achieving 15Mbps of data throughput with a...

MTN operating on a frequency of 2.3MHz aim at achieving 15Mbps of data throughput with a successful receiver interpreting an incoming signal to noise (S/N)dB = 12, 18, 25. Calculate the maximum bite rate of each S/N without using calculator explain the tradeoff factor, compare your results with the calculator results, which of this is enough for 4G which aim at achieving 14 Mbps and why?

In: Computer Science

Give a recurrence relation to find the length of the longest monotonically increasing subsequent of a...

Give a recurrence relation to find the length of the longest monotonically increasing subsequent of a array. Give the recursive algorithm based on the recurrence relation and explain the time complexity of this algorithm.

In: Computer Science