Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Web development and programming

191828 questions • Page 337 / 3837

2. Write a program that calculates 1 + 3 + 5 + 7 + … + 99 (40 pts) (on slides pa
2. Write a program that calculates 1 + 3 + 5 + 7 + … + 99 (40 pts) (on slides page 56) a. By using for loop b. By using while loop c. By using do-while loop 3. Ask the user to ent…
2. Write a program that computes and displays the charges for a patient\'s hospi
2. Write a program that computes and displays the charges for a patient's hospital stay. First, the program should ask if the patient was admitted as an in patient out-patient if …
2. Write a program that generates random factors. The user should enter a three
2. Write a program that generates random factors. The user should enter a three digit number. Then the program should generate 4 numbers that are factors of that number (excluding…
2. Write a program that implements the algorithm to find the smallest number in
2. Write a program that implements the algorithm to find the smallest number in a list of numbers. The program should continue to read numbers from the keyboard until a value of 0…
2. Write a program that reads each line in a file, reverses its lines, and write
2. Write a program that reads each line in a file, reverses its lines, and writes them to another file. For example, the previous file lamb.txt contains the lines Mary had a littl…
2. Write a program that reads in an integer and breaks it into a sequence of ind
2. Write a program that reads in an integer and breaks it into a sequence of individual digits in reverse order. For example, the input 16384 is displayed as 4 8 3 6 1 You may ass…
2. Write a program that reads in ten whole numbers and outputs the sum and avera
2. Write a program that reads in ten whole numbers and outputs the sum and average of all the numbers greater than or equal to zero (i.e. all positive numbers or 0) Note, if no po…
2. Write a program that reads students’ names followed by their test scores. The
2. Write a program that reads students’ names followed by their test scores. The program should output each student’s name followed by the test scores and the relevant grade. It s…
2. Write a program that will be used to experiment with methods of the String cl
2. Write a program that will be used to experiment with methods of the String class. In this program, defin the following Strings using the identifier names below and include the …
2. Write a program that will calculate the log base 2 of an integer using the In
2. Write a program that will calculate the log base 2 of an integer using the Intel BSR instruction. The BSR instruction has the format BSR register, data The instruction finds th…
2. Write a program that will simulate a Gas station cash register where the item
2. Write a program that will simulate a Gas station cash register where the items being sold is limited to the following: (1) Diesel (2) Unleaded Gasoline (3) Premium Gasoline (4)…
2. Write a program to determine the letter grade for a student based on the tota
2. Write a program to determine the letter grade for a student based on the totals marks the student received. Your program should prompt the student to enter the marks received, …
2. Write a program to find the approximation of In(10) using the following formu
2. Write a program to find the approximation of In(10) using the following formula for m terms: collo Indl 0)2(9/10- whe where n-1, 2, m Prompt the user to enter the number of ter…
2. Write a program to read a file and write it back to another file converted to
2. Write a program to read a file and write it back to another file converted to Pig Latin The rules for piglatin are: 1. In words that begin with consonants, the initial consonan…
2. Write a program to sort an array of integers of size n in ascending/increasin
2. Write a program to sort an array of integers of size n in ascending/increasing order of values. Test the program on the following set of input values: 4, 67, -2, 0, 489, 23, -1…
2. Write a program, using a switch statement, that prompts the user to enter the
2. Write a program, using a switch statement, that prompts the user to enter the day of the week, and prints out their schedule according to the following, Note: You may wish to u…
2. Write a recursive method called Multiplication0 that takes one int parameter
2. Write a recursive method called Multiplication0 that takes one int parameter and returns the product of the numbers up to n. [Multiplication(n)-1 2*3 *....*n-l*n] 3. Write a re…
2. Write a recursive procedure that calculates and returns the factorial of a nu
2. Write a recursive procedure that calculates and returns the factorial of a number. The number must be passed on through the stack. Then write a complete program to test your pr…
2. Write a script that calculates the common factors between 18 and 54. To find
2. Write a script that calculates the common factors between 18 and 54. To find a common factor, you can use the modulo operator (%) to check whether a number can be evenly divide…
2. Write a script that creates and calls a stored procedure named test. This pro
2. Write a script that creates and calls a stored procedure named test. This procedure should include these statements coded as a transaction: (Two Screenshots: Script and Execute…
2. Write a search engine script in MATLAB. Your script should take as inputs a t
2. Write a search engine script in MATLAB. Your script should take as inputs a term-document matrix A, a query vector, and a tolerance. The output of your script must repeat the q…
2. Write a segment of code to do the following: Copy data from register R4 of ba
2. Write a segment of code to do the following: Copy data from register R4 of bank3 into registerR1 of bank1. Save the value 25H in the accumulator then copy it into location 12H …
2. Write a simple UDP iterative server and client to convert a given DNS name (f
2. Write a simple UDP iterative server and client to convert a given DNS name (for example, www.google.com) into its IP address(es). The client will read the DNS name as a string …
2. Write a sub that examines each region\'s quarterly sales fluctuation. For eac
2. Write a sub that examines each region's quarterly sales fluctuation. For each region, if the sales increase consecutively for 3 quarters, color the regeion label green; if the …
2. Write an SQL query to answer the following question: Which instructors are qu
2. Write an SQL query to answer the following question: Which instructors are qualified to teach ISM 3113? 3. Write an SQL query to answer the following question: Is any instructo…
2. Write an elementary calculator in which the main program reads two integer in
2. Write an elementary calculator in which the main program reads two integer inputs and the operation(+,-,*,/) between them and passes that information to a function (calc) to pe…
2. Write an exception class named InvalidTestScore. Modify the TestScores class
2. Write an exception class  named InvalidTestScore. Modify the TestScores class you wrote in Exercise 1 so that it throws an InvalidTestScore exception if any of the test scores …
2. Write down the extended regular expression for following questions E.g. Socia
2. Write down the extended regular expression for following questions E.g. Social security number in the format of 999-99-9999. Answer: [0-9]{3}-[0-9]{2}-[0-9]{4} (10 points, each…
2. Write down the extended regular expression for following questions E.g. Socia
2. Write down the extended regular expression for following questions E.g. Social security number in the format of 999-99-9999. Answer: [0-9]{3}-[0-9]{2}-[0-9]{4}                 …
2. Write down the extended regular expression for following questions Eg. Social
2. Write down the extended regular expression for following questions Eg. Social security number in the format of 999-99-9999. Answer: [0-93)-[0-9112)-[0-9114) 1) 1) Valid date fo…
2. Write down the extended regular expression for following questions. E.g. Soci
2. Write down the extended regular expression for following questions. E.g. Social security number in the format of 999-99-9999. Answer: [0-9]{3}-[0-9]{2}-[0-9]{4} 1) Valid URL be…
2. Write down the extended regular expression for following questions. E.g. Soci
2. Write down the extended regular expression for following questions. E.g. Social security number in the format of 999-99-9999 Answer: [0-9113-10-9112)-[0-9114) 1) Valid URL begi…
2. Write email3.cpp from email3-algorithm.txt Email addresses consist of the cha
2. Write email3.cpp from email3-algorithm.txt Email addresses consist of the characters A-Z, a-z, 0-9, underscore, dot, hyphen, and plus. Also, they must have exactly one '@' foll…
2. Write email4.cpp from email4-algorithm.txt This program should have a list to
2. Write email4.cpp from email4-algorithm.txt This program should have a list to store valid, non-duplicate email addresses. It should prompt the user for the input and output fil…
2. Write functions push() and pop() for the Java implementation of an integer st
2. Write functions push() and pop() for the Java implementation of an integer stack outlined below. The stack is implemented as a singly linked list with a top Node reference. Fun…
2. Write how to express *nix owner permissions of r-x in binary. (Remember that
2. Write how to express *nix owner permissions of r-x in binary. (Remember that the - symbol means the permission isn’t granted.) What’s the octal representation of the binary num…
2. Write small pieces of matlab code to determine machine round-off on your comp
2. Write small pieces of matlab code to determine machine round-off on your computer (to the nearest order of magnitude) b. a. the largest number that matlab can handle on your co…
2. Write the VideoList class to hold objects of the class VideoNode. This class
2. Write the VideoList class to hold objects of the class VideoNode. This class should define: • Two instance variables head and size. The default constructor of the class is: pub…
2. Write the appropriate Java statement to match the description in each of the
2. Write the appropriate Java statement to match the description in each of the following comments: // declare an integer variable for the cost of an item // declare a double vari…
2. Write the appropriate Java statement to match the description in each of the
2. Write the appropriate Java statement to match the description in each of the following comments: // declare an integer variable for the cost of an item // declare a double vari…
2. Write the definition of the function moveNthFront() that takes as a parameter
2. Write the definition of the function moveNthFront() that takes as a parameter a positive integer n. Throw and catch the exception if entered not integer or not positive number.…
2. You are a member of the user interface team. You are responsible for designin
2. You are a member of the user interface team. You are responsible for designing and implementing forms that collect information about users of the system (e.g., first name, last…
2. You are an electrical engineer performing tests on electric car batteries. Yo
2. You are an electrical engineer performing tests on electric car batteries. You need to know how long the experiment has been running in seconds. For the purposes of this assign…
2. You are analyzing a dataset, PolyData.mat, that contains stress-related hormo
2. You are analyzing a dataset, PolyData.mat, that contains stress-related hormone data (1st row) as a function of time (2nd row) a. Use MATLAB to fit separate 3 th 20th. and 37th…
2. You are designing a can shaped as a right circular cylinder with a capac- ity
2. You are designing a can shaped as a right circular cylinder with a capac- ity of 2 liters. You want to choose dimensions that minimize the surface area of the can. If r represe…
2. You are given classes Employee and SalariedEmployee (the ones from your Lab 6
2. You are given classes Employee and SalariedEmployee (the ones from your Lab 6). The classes create a hierarchy where the abstract class Employee is a super class for the Salari…
2. You are given the following information. A function with prototype void decod
2. You are given the following information. A function with prototype void decodel (int *xp, int *yp, int *zp) is compiled into assembly code shown below (Note that function setup…
2. You are going to create a matrix calculator. In your calculator you should be
2. You are going to create a matrix calculator. In your calculator you should be able to Add, Subtract and Multiply two 3x3 matrices together. You will need three functions for yo…
2. You are spending your summer working at wonderful Funtime Resorts and Money S
2. You are spending your summer working at wonderful Funtime Resorts and Money Sink, s with hours of entertaining rides, games, and gical place that provides your guest a ma excus…
2. You are the proprietor of a digital forensics business, and you are called by
2. You are the proprietor of a digital forensics business, and you are called by a chemical processing company. They have had an incident where someone has broken into their netwo…