Explain equalization,neutralization,proportioning and volume reduction with examples and in details.(50marks)
Need own answer and no internet answers r else i il downvote nd report to chegg.Even a single is wrong i il downvote.its 50marks question so no short answer minimum 10page answer required and own answer r else i il downvote.
Note:Minimum 10page answer and no plagarism r else i il downvote and report to chegg.Minimum 10 to 15page answer required r else dnt attempt.strictly no internet answer n no plagarism.
its 50marks question so i il stricly review nd report
In: Computer Science
With respect to a general multitasking system
What mechanism allows operating system routines to get more control of the CPU than user tasks?
What are the two states a task can be in while waiting for control of the CPU?
In: Computer Science
Exercise3
Given the following classes:
The Holiday class has:
The TravelAgent class has:
(RunTravelAgent.java
public class RunTravelAgent { public static void main(String[] args) { Holiday h1 = new Holiday("Bermuda", 2, 800); Holiday h2 = new Holiday("Hull", 14, 8); Holiday h3 = new Holiday("Los Angeles", 12, 2100); TravelAgent t1 = new TravelAgent("CheapAsChips", "MA99 1CU"); t1.addHoliday(h1); t1.addHoliday(h2); t1.addHoliday(h3); TravelAgent t2 = new TravelAgent("Shoe String Tours", "CO33 2DX"); System.out.println(t1); System.out.printf("h3 Duration=%s days & Cost=$%s\n", h3.getDuration(), h3.getCost()); System.out.printf("t2 %s %s\n", t2.getName(), t2.getPostcode()); } }
)
Implement these two classes. You are supplied with a test file called RunTravelAgent.java which should produce this output:
CheapAsChips at MA99 1CU
Holiday{destination=Bermuda, duration=2 days, cost=$800}
Holiday{destination=Hull, duration=14 days, cost=$8}
Holiday{destination=Los Angeles, duration=12 days, cost=$2100}
h3 Duration=$12 & Cost =$2100
t2 Shoe String Tours CO33 2DX
In: Computer Science
Two players find themselves in a legal battle over a patent. The patent is worth 20 for each player, so the winner would receive 20 and the loser 0. Given the norms of the country they are in, it is common to bribe the judge of a case. Each player can secretly oer a bribe of 0, 9 or 20, and the one whose bribe is the largest is awarded the patent. If both choose not to bribe, or if the bribes are the same amount, then each has an equal chance of being awarded the patent. (If a player decides to bribe then the judge pockets it regardless of who gets the patent).
(a) Derive the game matrix.
(b) Is the game dominance solvable? If so, findnd the strategy prole surviving IDSDS.
(c) Now consider the case in which the allowed bribe amounts are instead 0, 9 and 15. Is the game dominance solvable? Find the best responses of each player to each of the pure strategies of the opponent.
In: Computer Science
(Can you answer my question by explaining, I mean that step by step. I don't want a short answer. Be sure to I like it if you write step by step
For Design and Analysis of the Algorithme lecture)
Peak Finding
Implement the 2-D peak finder mentioned and explain the asymptotic complexity of the algorithm.
In: Computer Science
Write a java program to read a string from the keyboard, and count number of digits, letters, and whitespaces on the entered string. You should name this project as Lab5B.
This program asks user to enter string which contains following characters: letters or digits, or whitespaces. The length of the string should be more than 8. You should use nextLine() method to read string from keyboard.
You need to extract each character, and check whether the character is a letter or digit or whitespace.
You can access character at a specific index using charAt() method. Once you have extracted the character, you can test the extracted character using character test methods.
You can look at google/web search to check the methods (isDigit, isLetter, and isSpaceChar) available to test a character. Use the syntax properly in your code.
Once you found a match, simply increase the value of the counter by 1. You need 3
separate counters to count letters, digits, and spaces.
In this program, you do not need to worry about uppercase or lowercase letter.
Sample Output 1
Enter the string: EEEEEEE RRR LLLLLL UUUUUUUUUU Number of spaces: 3 Number of letters: 26 Number of digits: 0
In: Computer Science
# Finds and returns only the even elements in the list u. # find_evens([1, 2, 3, 4] returns [2, 4] # find_evens([1, 2, 3, 4, 5, 6, 7, 8, 9, 10] returns [2, 4, 6, 8, 10] # u = [1, 2, 3, 4] v = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] def find_evens(u): return None # Replace this with your implementation
print('Testing find_evens') print(' find_evens(u): ' + str(find_evens(u))) print(' find_evens(v): ' + str(find_evens(v))) print()
Making code using recursion function
In Python
In: Computer Science
explain industrial wastewater treatment,strength reduction,suggested treatment methods and with diagram.(50marks)
Need own answer and no internet answers r else i il downvote nd report to chegg.Even a single is wrong i il downvote.its 50marks question so no short answer minimum 10page answer required and own answer r else i il downvote.
Note:Minimum 10page answer and no plagarism r else i il downvote and report to chegg.Minimum 10 to 15page answer required r else dnt attempt.strictly no internet answer n no plagarism.
its 50marks question so i il stricly review nd report
In: Computer Science
Paula and Danny want to plant evergreen trees along the back side of their yard. They do not want to have an excessive number of trees. Write a program that prompts the user to input the following:
The length of the yard.
The radius of a fully grown tree.
The required space between fully grown trees.
The program outputs the number of trees that can be planted in the yard and the total space that will be occupied by the fully grown trees.
In: Computer Science
1.What are the THREE (3) types of CSS?
a) Internal, External and Online Style Sheets
b) Embedded, Outsider and Inline Style Sheets
c) Embedded, Linking and Inline Style Sheets
2. The width, src and border are examples of an ______. *
a) entity
b) element
c) attribute
d) operation
d) Internal, External and Inline Style Sheets
3. Which of the following codes best represents inserting image from folder named images?
a) <p>Image:</p> <img src="/chrome/images.gif" alt="Google Chrome" width="33" height="32" />
b) <p>Image:</p><img src="file://images/chrome.gif" alt="Google Chrome" width="33" height="32" />
c) <p>Image:</p><img src="/images/chrome.gif" alt="Google Chrome" width="33" height="32" />
d) <p>Image:</p><img src="folder: images image file name: chrome.gif" alt="Google Chrome" width="33" height="32" />
4.Which of the following is the CORRECT HTML tag to start JavaScript?
a) <script>
b) <js>
c) <javascript>
d) <scripting>
5. How can you add a comment in JavaScript? *
a) <!--This is a comment-->
b) //This is a comment
c) "This is a comment"
d) <--! This is a comment -->
6. Select the correct HTML statement in referring to an external style sheet.
a) <link rel="stylesheet" type="text/css" href="mystyle.css">
b) <stylesheet>mystyle.css</stylesheet>
c) <style src="mystyle.css">
d) <link rel=”style" type="text/css" href="mystyle.css">
In: Computer Science
Make pesodocode of this code.
void loadData()
{
char line[MAX_LENGTH];
const char * delimiter = ",\n";
FILE * fp;
fp = fopen("patients.txt", "r");
char c;
if (fp == NULL)
{
printf("file not found");
return;
}
while (fp != NULL)
{
if (fgets(line, MAX_LENGTH - 1, fp) == NULL)
break;
if (line[1] == '\0')
break;
patients[patientCount].id = atoi(strtok(line, delimiter));
strcpy(patients[patientCount].name, strtok(NULL, delimiter));
patients[patientCount].age = atoi(strtok(NULL, delimiter));
patients[patientCount].annualClaim = strtok(NULL, delimiter);
patients[patientCount].plan = atoi(strtok(NULL, delimiter));
strcpy(patients[patientCount].contactNum, strtok(NULL,
delimiter));
strcpy(patients[patientCount].address, strtok(NULL,
delimiter));
strcpy(line, "\0");
patientCount++;
}
fclose(fp);
fp = fopen("claims.txt", "r");
int claimCount = 0;
while (fp != NULL)
{
if (fgets(line, MAX_LENGTH - 1, fp) == NULL)
break;
if (line == "\n")
break;
claims[claimCount].id = atoi(strtok(line, delimiter));
claims[claimCount].claimedYear = atoi(strtok(NULL,
delimiter));
claims[claimCount].amountClaimed = atoi(strtok(NULL,
delimiter));
claims[claimCount].remaininigAmount = atoi(strtok(NULL,
delimiter));
strcpy(line, "\0");
claimCount++;
}
fclose(fp);
}
int menu()
int ch;
do {
system("cls");
printf("Select one of the below option to continue\n");
printf("1-Insurence Plan Subscription\n");
printf("2-Claim Processing\n");
printf("3-Accounts Information\n");
printf("4-Searching Functionalities\n");
printf("5-Exit\n");
scanf("%d", & ch);
} while (ch > 5 || ch < 1);
return ch;
}
int main()
{
int ch;
loadData();
do {
ch = menu();
if (ch == 1)
subscribe();
else if (ch == 2)
claimProcess();
else if (ch == 3)
accountInfo();
else if (ch == 4)
searchingFunctionalities();
else
break;
} while (ch != 5);
system("pause");
return 0;
}
In: Computer Science
NoSQL databases can store relationship data—they just store it differently than relational databases do. How would you describe the differences between a relational database and a NoSQL database? What do you see as the business advantages that a NoSQL database has over a relational database?
In: Computer Science
Describe an aspect of your everyday life that has been touched by Big Data and/or Business Intelligence Systems. Be sure to include your thoughts on the advantages or challenges you feel Big Data poses for modern data driven businesses.
In: Computer Science
In: Computer Science
Question 1: Car Dealership Scenario. Complete parts A – D based on the database specifications listed below.
Database Specification
Parts A - D
Queries: Write and run SQL queries for the following questions. Use the minimum number of tables required for each query.
In: Computer Science