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 380 / 3837

4. Write a C program to simulate deposit/withdraw activities on a banking accoun
4. Write a C program to simulate deposit/withdraw activities on a banking account. (Hint: you might want to review Lab 3 slides.) (25 points) Declare the balance as a global varia…
4. Write a Circle class that has the following variables: • radius: a double • p
4. Write a Circle class that has the following variables: • radius: a double • pi: a double initialized with the value 3.1416 The class should have the following member functions:…
4. Write a Java FX program that asks the user for a given color below via a butt
4. Write a Java FX program that asks the user for a given color below via a button and displays a heart (medium sized) in the appropriate color and writes the emotional text in a …
4. Write a Java application that converts letters of the alphabet into their cor
4. Write a Java application that converts letters of the alphabet into their corresponding digits on the telephone. The application should let the user enter letters repeatedly un…
4. Write a JavaScript function to compute and return a person\'s score in the ga
4. Write a JavaScript function to compute and return a person's score in the game of 21. Your function must have this header function twentyOne (hand) The parameter hand is an arr…
4. Write a SELECT statement that returns four columns from the Sales.Order table
4. Write a SELECT statement that returns four columns from the Sales.Order table: orderid, custid, orderdate, and shipcountry. The orderdate is currently in the datetime format. C…
4. Write a SELECT statement that returns four columns: vendor_name, invoice_id,
4.Write a SELECT statement that returns four columns: vendor_name, invoice_id, invoice_sequence, and line_item_amt for each invoice that has more than one line item in the Invoice…
4. Write a SELECT statement that returns the InvoiceNumber and balance due for e
                                4. Write a SELECT statement that returns the InvoiceNumber and balance due for every invoice with a non-zero balance and an InvoiceDateDue that's  …
4. Write a complete C++ program that will prompt the user to input two integer n
4. Write a complete C++ program that will prompt the user to input two integer num Calculate the addition, subtraction, multiplication, quotient and remainder of the two numbers a…
4. Write a function called reverse_array. The function is passed 2 parameters: a
4. Write a function called reverse_array. The function is passed 2 parameters: an array of integers, and the length of the array. The function should reverse the order of the inte…
4. Write a function called rotateRight that takes an array of integers as an arg
                                                                                                                                                                                   …
4. Write a function for c++ that accepts a word as an input argument (type strin
4. Write a function for c++ that accepts a word as an input argument (type string) and generates several different scrambles of the word. (Output to the screen.) The input word ca…
4. Write a java program using methods that reads a given text file outputs the t
4. Write a java program using methods that reads a given text file outputs the text as is, and prints the number of lines and the number of times each letter appears in the text, …
4. Write a program named ArrayTester that must do the following: Prompt for and
4. Write a program named ArrayTester that must do the following: Prompt for and read in ten integers. Store them in an array named numbers (use a for loop to do this). Use one enh…
4. Write a program that creates an array of 100 string objects. Fill the array b
4. Write a program that creates an array of 100 string objects. Fill the array by having your program open a (text) file and read one line of the file into each string until you h…
4. Write a program that creates an array of 100 string objects. Fill the array b
4. Write a program that creates an array of 100 string objects. Fill the array by having your program open a (text) file and read one line of the file into each string until you h…
4. Write a program that open a file named short.txt. The program should the prin
4. Write a program that open a file named short.txt. The program should the print Short to the console if all of the words have less than 6 letters; otherwise, Not short should be…
4. Write a program that scores a blackjack hand. In blackjack, a player receives
4. Write a program that scores a blackjack hand. In blackjack, a player receives from two to five cards. The cards 2 through 10 are scored as 2 through 10 points each. The face ca…
4. Write a program that sets up a base class Sailor containing protected data fo
4. Write a program that sets up a base class Sailor containing protected data for name, rank, and serial number. There should be two constructor functions: one is empty and the ot…
4. Write a program which will use the following functions: a) void Function GetS
4. Write a program which will use the following functions: a) void Function GetScore that will read four different user inputs: testl, test2, midterm and final and use them as ref…
4. Write a sentence-fragment answer for each question (except e) about this tabl
4. Write a sentence-fragment answer for each question (except e) about this table: The table: IngredientOrder The schema: IngredientOrder ( ingredient, vendor, quantity, vendorPho…
4. Write a stack class using an array (from the heap to implement What is a \"st
4. Write a stack class using an array (from the heap to implement What is a "stack"? We saw the run-time stack in class. It is a data structure that allows us to push" an element …
4. Write an F# function remove: int-> ilist-> ilist which, given an integer x an
4. Write an F# function remove: int-> ilist-> ilist which, given an integer x and a list l, "removes" all the occurrences of x from l, that is, returns a list containing (in…
4. Write an algorithm in pseudo code to insert one element in a singly linked li
4. Write an algorithm in pseudo code to insert one element in a singly linked list before a given element. Your algorithm will print the original list, request the user to put in …
4. Write an app. that has a class named Laptop w/ attributes named laptopMake (e
4. Write an app. that has a class named Laptop w/ attributes named laptopMake (e.g. Dell, HP), laptopRAM, and serialNumber, and also getters and setters for each of these fields (…
4. Write an assembly program that calculates the value of the following polynomi
4. Write an assembly program that calculates the value of the following polynomial, assuming signed integers x and y are stored in registers r0 and r1 respectively, using as few m…
4. Write below programs. a. Using a do-while statement, write a C program to acc
4. Write below programs. a. Using a do-while statement, write a C program to accept a grade. The program should request a grade continuously as long as a valid grade is entered. A…
4. Write the Java code for a method of the BinarySearchTree class -Comparable sm
4. Write the Java code for a method of the BinarySearchTree class -Comparable smallest() that returns the smallest element of a tree. Add comments to the code explaining the steps…
4. Write the definition of a void function that takes as input two parameters of
4. Write the definition of a void function that takes as input two parameters of type int, say sum and testScore. The function updates the value of sum by adding the value of test…
4. Write the lines of code that will generate what is requested in each part. As
4. Write the lines of code that will generate what is requested in each part. Assume using space std;, that all necessary headers are provided, and abide by good coding name pract…
4. You are analyzing membrane potential Cardiac Action Potential data, such as t
4. You are analyzing membrane potential Cardiac Action Potential data, such as the cardiac action potential data shown on the right. You want to write a Matlab program to determin…
4. You are part of a team working on a large program. The source code for this p
4. You are part of a team working on a large program. The source code for this program is kept in the directory cs252/Assignments/commandsAsst/project After a certain amount of de…
4. You are to use the algorithm for Winograd\'s Method given on Handout #5 to mu
4. You are to use the algorithm for Winograd's Method given on Handout #5 to multiply the following two matrices: a. Give the contents of the the CF and RF arrays. b. For each res…
4. You found an exciting summer job for five weeks. It pays, $15.50 per hour. Su
4. You found an exciting summer job for five weeks. It pays, $15.50 per hour. Suppose that the total tax you pay on your summer job income is 14% (we wish). After paying the taxes…
4. You have a set of coins. Each coin i has value vi . Your goal is to find a se
4. You have a set of coins. Each coin i has value vi . Your goal is to find a set of coins with total value exactly equal to V . You can use only one copy of each coin. Design a d…
4. You have just developed a new glucose sensor for people to monitor their bloo
4. You have just developed a new glucose sensor for people to monitor their blood sugar and test for diabetes. The definitions of "normal", "impaired glucose tolerance" (also call…
4. You have n files with data on your hard drive, files have sizes m? GB,.. mn G
4. You have n files with data on your hard drive, files have sizes m? GB,.. mn GB. You want to save them on clouds for backup. You have accounts on K file hosting services. On eac…
4. You have n files with data on your hard drive, files have sizes m? GB. GB. Yo
4. You have n files with data on your hard drive, files have sizes m? GB. GB. You want to save them on clouds for backup. You have accounts on K file hosting services. On each of …
4. You have n files with data on your hard drive, files have sizes m? GB....mn G
4. You have n files with data on your hard drive, files have sizes m? GB....mn GB. You want to save them on clouds for backup. You have accounts on K file hosting services. On eac…
4. You just started working for a company that is implementing a set of procedur
4. You just started working for a company that is implementing a set of procedures to operate on a data structure where 4 signed bytes are packed into a 32-bit unsigned. Bytes wit…
4. Your grade point average (GPA) is calculated by dividing the total amount of
4. Your grade point average (GPA) is calculated by dividing the total amount of grade points earned by the total amount of credit hours attempted. Your grade point average may ran…
4. [10 marks] You have N items for sale, numbered from1 to N. Alice is willing t
4. [10 marks] You have N items for sale, numbered from1 to N. Alice is willing to pay ai] > 0 dollars for item i, and Bob is willing to pay bli] >0 dollars for te. Alice is …
4. [10 pts, 5 pts for each part of the analysis (tsetup and thold constraint) Su
4. [10 pts, 5 pts for each part of the analysis (tsetup and thold constraint) Suppose you add registers to the 16-bit prefix adder from the book, as indicated by the blue rectangl…
4. [10] In a rectangular field of size m by n squares there is Dan, Larry and Su
4. [10] In a rectangular field of size m by n squares there is Dan, Larry and Sushant. They are playing a game called "Catch Larry" which has the following rule: Each of Larry, Da…
4. [15 points.] A 1 GHz processor needs to read 1000 bytes of data (one byte at
4. [15 points.] A 1 GHz processor needs to read 1000 bytes of data (one byte at a time) from an IO device. The IO device supplies 1 byte of data in 0.02ms. The processor takes 100…
4. [15 points/ Consider the following procedure (Procl(G)) whose input is an und
4. [15 points/ Consider the following procedure (Procl(G)) whose input is an undirected graph G. Edges of G are represented by an adjacency LIST. procedure Proc1(G) 1 Q.Init) 2 fo…
4. [15 pts Bonus] Please show a \"C\" function, called like \"int timethis \"myd
4. [15 pts Bonus] Please show a "C" function, called like "int timethis "mydir",testprog")" that changes directory to the "mydir" subdirectory, and then runs (or tries to run), th…
4. [2 points] The following problems all involve three distinct classes, A, B, a
4. [2 points] The following problems all involve three distinct classes, A, B, and C a. Suppose that the following code compiles and runs without any exceptions. What can you say …
4. [2 points] The following problems all involve three distinct classes, A, B, a
4. [2 points] The following problems all involve three distinct classes, A, B, and C a. Suppose that the following code compiles and runs without any exceptions. What can you say …
4. [2+4+4+4]Consider the search space below, where S is the start node and G1 an
4. [2+4+4+4]Consider the search space below, where S is the start node and G1 and G2 satisfy the goal test. Arcs are labeled with the cost of traversing them and the estimated cos…