Programming & Computer Science Answers

C++ 9913
Python 5288
Java | JSP | JSF 3611
C 1680
C# 1362
Computer Networks 989
Algorithms 652
Databases | SQL | Oracle | MS Access 641
HTML/JavaScript Web Application 588
Other 537
Visual Basic 358
Assembler 209
Software Engineering 202
AJAX | JavaScript | HTML | PHP 166
MatLAB 150
MatLAB | Mathematica | MathCAD | Maple 124
Action Script | Flash | Flex | ColdFusion 112
UNIX/Linux Programming 89
Web Development 73
Excel 36
ASP | ASP.NET 23
Delphi | Pascal 21
Perl 16
Prolog 9
Functional Programming 9
MathCAD 5
Wolfram Mathematica 4
WPF 4
Ruby | Ruby on Rails 3
NodeJS Web Application 2

Questions answered by Experts: 26 876

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search

batchCodes,



testsDone, positiveResults) to your source code.



2. Invoke the testsDoneInWeek() method to determine the



number of tests that was done in week 2 of month 3.



3. Display an appropriate message with the number of tests done



in this week.



4. Invoke the highestPercentage() method to determine the



month and week with the highest percentage of positive cases.



a. You must first invoke the percentagePositives() method



to generate a double array with the percentages of



positive cases per week.



b. This is one of the arguments needed for invoking the



percentagePositives() method.



5. Display an appropriate message with the indication of which



batch had the highest percentage positive cases.



highestPercentage(String[], double[]) The method receives as parameters the batch codes array as well as the ar

Create a program like simsimi program with at least 10-20 questions, the program would interact with the user some important details about the user.

During the time of the Coronavirus pandemic, the Lancet Laboratories had to do many COVID‐19 tests.



The details of these test is captures on a weekly basis for 4 months and stored in 3 parallel arrays as can be seen



below. String[] batchCodes = {"M1W1", "M1W2", "M1W3", "M1W4",



"M2W1", "M2W2", "M2W3", "M2W4",



"M3W1", "M3W2", "M3W3", "M3W4",



"M4W1", "M4W2", "M4W3", "M4W4"};



int[] testsDone = {467, 587, 987, 787, 878, 888, 936, 1002, 1005, 768, 887, 963, 789, 1008, 888, 687};



int[] positiveResults = {23, 87, 88, 99, 87, 105, 222, 138, 333, 258, 408, 444, 259, 236, 408, 258};



Follow the UML class diagram (Table 1.1) and description table (Table 1.2) and complete the TheTestStats application.



TheTestStats



+ main(String[]): void



+ testsDoneInWeek(String[], int[], int, int): int



+ percentagePositives(int[], int[]): double[]



+ highestPercentage(String[], double[]): String

Write a Python program that asks the user to enter an integer (X), then:


Determines if X is prime or not

If X is not prime, compute and print the factors of that integer X

Evaluate and print the equation Y=8X²+ 1, for X values from -5 to 5 using the range function and for loop


Suppose you get appointed in a company under HR department. You have assigned a file “Employee.dat” which contains information of all employees joined in year 2000 in binary format. Your manager assigned you two tasks. A) Search a specific employee information with respect to its sequence number in file. B) Add more employee’s data in the same file at the end(as many as the manager would want to) write the code to complete both tasks in your main() function. You don't need to create the Employee structure, suppose the structure employee is already created with data members and set get functions.

write code in c++


Write a shell script to determine if an input number is a palindrome or not.


monica has cooked n dishes and collected the data on the level of satisfaction for all the dishes from a guest. the guest returns an array, where the ith element of the array is the liking level of the ith dish. also, the time taken to cook the ith dish is i. like-to-time coefficient of a dish is calculated by multiplying the time taken to cook food with its liking level, i.e., input 2[i]. totally like-to-time coefficient is calculated by summing up all individual coefficients of dishes. you want the total like-to-time coefficient to be maximum. you can also remove some dishes, in which case, a new coefficient is calculated using the left dishes. find the maximum sum of all possible like-to-time coefficients.​

Given an array A of N integers and two integers X and Y, find the number of integers in the array that are both less than or equal to X and divisible by Y.


Create a program in C/C++ for Shortest Job First (SJF) Scheduling for the following processes that are in ready queue at 0 timestamp



Process CPU Burst Time


P1 1


P2 4


P3 2


P4 10


P5 7



Create a function Swap using templates, your function should have the following prototype

void swap (t x, t y)

This function should display the swapped values out of the two values being passed, in your main function create variables of different types, integer and character and check what your function returns for each different variable type. 


LATEST TUTORIALS
APPROVED BY CLIENTS