Web development and programming
191828 questions • Page 353 / 3837
3. (20 points) Sequence S1: T1 R(X), T2:WCX). T2:W(Y), T3:W(). T1:W(). T1:Commit
3. (20 points) Sequence S1: T1 R(X), T2:WCX). T2:W(Y), T3:W(). T1:W(). T1:Commit, T2:Commit, T3:Commit Sequence S2: T1 R(X). T2:W(Y). T2:W(X), T3:W(Y). T1:W). T1:Commit, T2:Commit…
3. (20 points) Web Caching Consider the following network, where hosts in an ins
3. (20 points) Web Caching Consider the following network, where hosts in an institutional network can download files from both remote origin servers and a local proxy cache. orig…
3. (20 points) a. A host in an organization has an IP address of 158.78.118.108
3. (20 points) a. A host in an organization has an IP address of 158.78.118.108 with a network mask of "/20" What is the network address of the subnet that this IP address belongs…
3. (20 pts) B-Spline. Code in MATLAB the B-Spline defined by the points in Probl
3. (20 pts) B-Spline. Code in MATLAB the B-Spline defined by the points in Problem 1. Plot and print the provided points and the B-Spline on one figure. 4. (20 pts) Monomial least…
3. (20 pts) B-Spline. Code in MATLAB the B-Spline defined by the points in Probl
3. (20 pts) B-Spline. Code in MATLAB the B-Spline defined by the points in Problem 1. Plot and print the provided points and the B-Spline on one figure. 4. (20 pts) Monomial least…
3. (20 pts) Consider this C-like code. The program begins execution in main whic
3. (20 pts) Consider this C-like code. The program begins execution in main which will create a stack frame and allo- cate local variables and a in the stack at offsets of 0, and …
3. (20 pts) For the 2D continuous pollutant model assume the decay rate depends
3. (20 pts) For the 2D continuous pollutant model assume the decay rate depends on the spatial coordinates (z,y), ie, A(z,y) (a) Derive the corresponding finite difference model t…
3. (20 pts) Multiplication Table A multiplication table (shown below) is a tool
3. (20 pts) Multiplication Table A multiplication table (shown below) is a tool commonly used by children in elementary school to help them learn to multiply numbers. The top row …
3. (20 pts) What is changed if the method Thread.yield() is added between lines
3. (20 pts) What is changed if the method Thread.yield() is added between lines 23 and 24? Explain. 1 public class TaskThreadDemo { 2 public static void main (String args []) {…
3. (20 pts) What is the output of the fouowing program Show all your work. Draw
3. (20 pts) What is the output of the fouowing program Show all your work. Draw the contents of the array and pay attention to the formatting of the output. ainclude Katdio.h> …
3. (20 pts) With a sly wink, Dumbledore says his real goal was actually to calcu
3. (20 pts) With a sly wink, Dumbledore says his real goal was actually to calculate and return the largest value in the matrix B, that is, the largest subarray sum in A Butting i…
3. (20pt) Recall the stack ADT. Followings are the important things from its int
3. (20pt) Recall the stack ADT. Followings are the important things from its interface stack.h #ifndefstackh - - define _stack h #include "genlb.h" typedef void *stackElementT typ…
3. (21 points) Write a method that calculates and returns the value of an invest
3. (21 points) Write a method that calculates and returns the value of an investment after a number of years, assuming that interest is compounded only at the end of each year. Yo…
3. (22 pts) Matrix of temperatures: Write a C++ program to repeat problem 4 from
3. (22 pts) Matrix of temperatures: Write a C++ program to repeat problem 4 from the Chapter 7 homework as follows: Use a single 2D array with 3 columns and 19 rows for the temper…
3. (24 points) Compare the following schemes for obtaining Bob\'s public key, in
3. (24 points) Compare the following schemes for obtaining Bob's public key, in terms of bandwidth and computation efficiency, security, flexibility, and any other criteria you ca…
3. (24 pts) Consider a subroutine swap that takes two parameters and simply swap
3. (24 pts) Consider a subroutine swap that takes two parameters and simply swaps their values. For example, after calling swap (X, Y), X should have the original value of Y and Y…
3. (25 points) Let A[1..] be an array of n distinct numbers. If i A, the pair (i
3. (25 points) Let A[1..] be an array of n distinct numbers. If i A, the pair (i,j) is called an inversion of A. (a) List all the inversions of the array(2,3, 8,6, l). b) What arr…
3. (28 points) Class Design (1) (17 points) Define a class called Box. Your clas
3. (28 points) Class Design (1) (17 points) Define a class called Box. Your class will have member variables of type int to represent the width, length, and height of a box. The c…
3. (3 pts) Determine which MIPS assembly instruction(s) if any, that we discusse
3. (3 pts) Determine which MIPS assembly instruction(s) if any, that we discussed in class (R-format (including add, sub, or, and, nor, slt), lw, sw, beq, j) will not work correct…
3. (30 points) Consider an ordered (sorted) array A of size n and the following
3. (30 points) Consider an ordered (sorted) array A of size n and the following ternary search algorithm for finding the index such that Ali-K. Divide the array into three parts. …
3. (30 pts) The following partial code is a bounded-buffer monitor in which the
3. (30 pts) The following partial code is a bounded-buffer monitor in which the buffers are embedded within the monitor (with two condition variables). Assume any condition variab…
3. (35 Points) Write a function madlibs() that takes in 4 parameters. A list of
3. (35 Points) Write a function madlibs() that takes in 4 parameters. A list of nouns, a list of verbs a list of adjectives and some text. The text will have NNN for a place to in…
3. (4 points) Write a Binary_Search_Tree member function sum that returns the su
3. (4 points) Write a Binary_Search_Tree member function sum that returns the sum of the items in its tree. Assume that a default constructor and operator+ are defined for the ite…
3. (4 pts) Every guide receives their first review 6 months after their hire dat
3. (4 pts) Every guide receives their first review 6 months after their hire date. List the guide's last name, first name, hire date and his/her first review date. Use FIRST REVIE…
3. (40 Points) Structures Program Suppose you have a portable weather station th
3. (40 Points) Structures Program Suppose you have a portable weather station that can measure the following: Temperature (degrees Celsius)Wind Speed (miles per hour)Barometric P…
3. (40 points) In this question, you are asked to design a FSM to control a vend
3. (40 points) In this question, you are asked to design a FSM to control a vending machine. The vending machine accepts zero or one coin in each clock cycle. It sells a single pr…
3. (40) Write a program that will use the following function prototypes: int rea
3. (40) Write a program that will use the following function prototypes: int readData(double data]): ask user for number of points, read in points and return number of points doub…
3. (4pt) Recall the DFS_print (graphT *g, int v); that traverses a graph in a de
3. (4pt) Recall the DFS_print (graphT *g, int v); that traverses a graph in a depth- first-search manner. Suppose it is already implemented and ready to use. Now develop a functio…
3. (5 points) Intelligence is the ability to: a) Live perpetually d) Pose proble
3. (5 points) Intelligence is the ability to: a) Live perpetually d) Pose problems (5 points) Machine intelligence became available because of which one of these? Which 3 out of t…
3. (5 points) Write an assembly program to test if the MSB in the register al is
3. (5 points) Write an assembly program to test if the MSB in the register al is set: If it is set, then divide the content of al by 4 using the appropriate shift instruction and …
3. (5 points) Write an assembly program to test if the MSB in the register al is
3. (5 points) Write an assembly program to test if the MSB in the register al is set: - If it is set, then divide the content of al by 8 using the appropriate shift instruction an…
3. (50 points) The following C statements updates an element of Array num. int n
3. (50 points) The following C statements updates an element of Array num. int num[10], a-2, b-3; if (a - b) num[4] - num[41 a; else num[4]- a + b; Let us assume registers t holds…
3. (50 points) The following C statements updates an element of Array num. int n
3. (50 points) The following C statements updates an element of Array num. int num[10], a-2, b-3 if (a b) num[4]num[4] + ai else num[4] - a + b, Let us assume registers t1 holds t…
3. (50 points) We talked about several different sorting algorithms in class. Fo
3. (50 points) We talked about several different sorting algorithms in class. For this question, you will write a function that receives any row vector as ingut arxumens andoTE: T…
3. (6 pts) As indicated at http://www.flymemphis.com/parking. Memphis Internatio
3. (6 pts) As indicated at http://www.flymemphis.com/parking. Memphis International Airport uses the following pricing schedule for their short-term parking fees: Time First 30 mi…
3. (6) Given a network of 138.226.178.128/26, how many subnets of 12 addresses e
3. (6) Given a network of 138.226.178.128/26, how many subnets of 12 addresses each can be created in this network? Choose the maximum possible number. a. 1 b. 2 c. 4 d. 8 answer:…
3. (60)Hashtable with Quadratic Probing. Implement a simple hashtable using quad
3. (60)Hashtable with Quadratic Probing. Implement a simple hashtable using quadratic probing for collision resolution. Both the keys and values are integers, assuming greater tha…
3. (8 marks) A computer\'s memory holds programs 1 through n, where each program
3. (8 marks) A computer's memory holds programs 1 through n, where each program occupies consecutive memory locations and no two programs overlap. Program i begins at address ai f…
3. (8pts) One of your friends tried to set up a wireless LAN at home but his lap
3. (8pts) One of your friends tried to set up a wireless LAN at home but his laptop was not able to access Internet and asked for your help. Please write your answer clearly and n…
3. (9 points) Convert the following numbers as indicated. Include a sentence of
3. (9 points) Convert the following numbers as indicated. Include a sentence of explanation about how you’re doing the conversion. For full credit, the explanation must be a gramm…
3. (9 points) In computations over multiple processors, the load of a processor
3. (9 points) In computations over multiple processors, the load of a processor is the sum of the times of all loads assigned to that processor. To balance the computation, the go…
3. (Constructor 15 Points) We declare the following class, where the constructor
3. (Constructor 15 Points) We declare the following class, where the constructors are missing. Please add the following three constructors in the rectangle class and implement the…
3. (Dasgupta et a. question 2.23(a) An array A1.. has a majority element if more
3. (Dasgupta et a. question 2.23(a) An array A1.. has a majority element if more than half of its entries are the same. Given an array, the problem is to design an algorithm to fi…
3. (Email Security) Download and install a freeware PGP, then generate a pair of
3. (Email Security) Download and install a freeware PGP, then generate a pair of public and private keys, send the grader your public key generated by email. Then generate another…
3. (From Problem 8-1 in the Textbook.) The simple edit distance algorithm assign
3. (From Problem 8-1 in the Textbook.) The simple edit distance algorithm assigns a cost of I to an insertion and to a deletion. But another type of edit is to transpose (or swap)…
3. (Memory Game A common memory matching game played by young children is to sta
3. (Memory Game A common memory matching game played by young children is to start with a deck of cards that contain identical pairs. For example, given six cards in the deck, two…
3. (OSPercentage java) A software company uses the computers with three operatin
3. (OSPercentage java) A software company uses the computers with three operating systems: Mac, Linux, and Windows Write a program that prompts the user to enter the number comput…
3. (Pizza) (30 points) Create a C# static function named PizzaCost that calculat
3. (Pizza) (30 points) Create a C# static function named PizzaCost that calculates the cost of a pizza. It has 4 parameters representing the size of the pizza (either small, mediu…
3. (TCO 10) For readability, all statements inside a loop body should be (Points
3. (TCO 10) For readability, all statements inside a loop body should be (Points : 5) indented the same distance as the loop control statement. indented by one additional tab stop…
3. (TCO 4) A derived class (Points : 4) can never access public members of a bas
3. (TCO 4) A derived class (Points : 4) can never access public members of a base class. can directly access public members of a base class. cannot change the…
Subject
Web development and programming
Use Browse or pick another subject.