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

Browse G

Alphabetical listing with fast deep pagination.
13318 items • Page 105 / 267

All 0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Given an N-by-N maze (like the one created in the previous exercise), write a pr
Given an N-by-N maze (like the one created in the previous exercise), write a program to find a path from the start cell (1, 1) to the finish cell (N, N), if it exists. To find a …
Given an N-by-N maze (like the one created in the previous exercise), write a pr
Given an N-by-N maze (like the one created in the previous exercise), write a program to find a path from the start cell (1, 1) to the finish cell (N, N), if it exists. To find a …
Given an RGB color scheme where an individual color in the full bitmap uses 5 bi
Given an RGB color scheme where an individual color in the full bitmap uses 5 bits for the Red component, 4 bits for the Green component, and 6 bits for the Blue component: sideno…
Given an abstract Shape class. Implement 2 concrete classes named Rectangle and
Given an abstract Shape class. Implement 2 concrete classes named Rectangle and Circle. Create new rectangle and circle objects and sort them into an Array List. Now filter the ar…
Given an accounts receivable turnover of 10 and annual credit sales of S900,000,
Given an accounts receivable turnover of 10 and annual credit sales of S900,000, the average collection period is 40.56 days 90 days 18.25 days 36.50 days Siskiyou, Inc. has total…
Given an algorithm that determines if there is a pair of duplicate entries in th
Given an algorithm that determines if there is a pair of duplicate entries in the sequence. Input: a1, a2,...,an           n, the length of the sequence. Output: "Yes" if there is…
Given an algorithm that solves a problem in three phases. The first phase takes
Given an algorithm that solves a problem in three phases. The first phase takes O(100n) to input the data of size n. The second phase takes O(n log n) to process the data. The thi…
Given an algorithm whose performance is represented by the function: f(n) = n^2l
Given an algorithm whose performance is represented by the function: f(n) = n^2lg(n^2) + 2n^1 a. Give a brief description of characteristics of a problem where usch performance mi…
Given an algorithm whose worst-case running time is f(n) = 2^n (ie 2 raised to t
Given an algorithm whose worst-case running time is f(n) = 2^n (ie 2 raised to the nth power), and given that the amount of data is n = 1,000. How long would it take this algorith…
Given an amount of RAM (in megabytes) that is provided by the user, write a prog
Given an amount of RAM (in megabytes) that is provided by the user, write a program that utilizes the stack or queue concept where the program allocates space used by the applicat…
Given an analog signal x(t) = 10 cos(11000 pit) + 5 sin(15000 pi t), for t>=0 sa
Given an analog signal x(t) = 10 cos(11000 pit) + 5 sin(15000 pi t), for t>=0 sampled at a rate of 8000 Hz. Sketch the spectrum of the original signal and the sampled signal fr…
Given an annual interest rate of 7.00 percent, how much is $1, 700 today equival
Given an annual interest rate of 7.00 percent, how much is $1, 700 today equivalent to in 10 years? In 6 months? In 18 months? Given an annual interest rate of 5.00 percent, how m…
Given an application which is 80% parallelizable and a single-core system is suf
Given an application which is 80% parallelizable and a single-core system is sufficient for the application, how much dynamic power savings will be from a quad-core system whose o…
Given an arbitrary cipher text file, you need to write a C++ program to find the
Given an arbitrary cipher text file, you need to write a C++ program to find the value of the shift, and decrypt the cipher text to plaintext. You must NOT hard code the plain tex…
Given an arbitrary ransom note, consisting of 15 20 words and several magazines,
Given an arbitrary ransom note, consisting of 15 20 words and several magazines, write a function that will return a true, if the ransom note can be constructed from the words in …
Given an arbitrary ransom note, consisting of 15 20 words and several magazines,
Given an arbitrary ransom note, consisting of 15 20 words and several magazines, write a function that will return a true, if the ransom note can be constructed from the words in …
Given an array A of N integers, write a function addc(A, N, c) that adds c to ev
Given an array A of N integers, write a function addc(A, N, c) that adds c to every element of A. This is a void function, i.e. the function does not return a value but instead si…
Given an array A of n numbers, consider the problem of returning the i largest e
Given an array A of n numbers, consider the problem of returning the i largest elements of A in sorted order. For each of the following algorithms, give estimates for the worst-ca…
Given an array A of numbers of length n (indexed starting at 0), verify that the
Given an array A of numbers of length n (indexed starting at 0), verify that the following pseudocode program returns the index of the smallest element in the array. Answer should…
Given an array A of objects with key values, we can do the following two stepts
Given an array A of objects with key values, we can do the following two stepts to make all comparison-based sorting algoritms stable while sorting this array. -Reconstruct the ar…
Given an array A of predicted prices for bitcoin, you are asked to buy bitcoin a
Given an array A of predicted prices for bitcoin, you are asked to buy bitcoin at some time i and sell it at a future time j > i, such that both A[j] > A[i] and the correspo…
Given an array A storing m integer values and an array B storing n integer value
Given an array A storing m integer values and an array B storing n integer values, write in pseudocode an algorithm subarray(A, B, m, n) that returns the value true if A is a sub-…
Given an array A[1..n] and a key x, n = 3^k>= 1. If Pr(xeA) = 3 8 and, if x is i
Given an array A[1..n] and a key x, n = 3^k>= 1. If Pr(xeA) = 3 8 and, if x is in A, the probability that x is in the first third of the array is three times more likely for x …
Given an array S of n integers, are there elements a, b, c in S such that a + b
Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? write a function to Find all unique triplets in the array which gives the sum of zero. Not…
Given an array S of n integers, are there elements a, b, c in S such that a + b
Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? write a function to Find all unique triplets in the array which gives the sum of zero. Not…
Given an array a. declared to contain 34 elements, write an expression that refe
Given an array a. declared to contain 34 elements, write an expression that refers to the last element of the array. Assume that the array art has been declared In addition, assum…
Given an array a={5, 10, 15, 20}, write a C++code to build a linklist with the v
Given an array a={5, 10, 15, 20}, write a C++code to build a linklist with the values come from array a. Thenusing the recursive method to print the list in reverse order.Which me…
Given an array containing the sequence 1, 5, 29, 45, 67, 76, 92, 104, 187, 234 (
Given an array containing the sequence 1, 5, 29, 45, 67, 76, 92, 104, 187, 234 (in that order) state each comparison made in finding the number 234 using linear search. (For examp…
Given an array containing the sequence 1,5,29,45,67,76,92,104,187,234 (in that o
Given an array containing the sequence 1,5,29,45,67,76,92,104,187,234 (in that order) 1. state each comparison made in finding the number 234 using linearsearch. (For example, 234…
Given an array of N elements with each element between 1 and N, write a Java pro
Given an array of N elements with each element between 1 and N, write a Java program to determine whether there are any duplicates. You must prompt the user for the array elements…
Given an array of N integers, can you find the sum of its elements? The first li
Given an array of N integers, can you find the sum of its elements? The first line contains an integer, N, denoting the size of the array. The second line contains N space-separat…
Given an array of Student type and size 10. Read data from a file to initialize
Given an array of Student type and size 10. Read data from a file to initialize the array. Create a linked list for the elements in the array. The order of the linked list should …
Given an array of integers containing values in the range 1 to 6, inclusive, ret
Given an array of integers containing values in the range 1 to 6, inclusive, return an array of size 6 containing a count of the number of times each of the six values occur. For …
Given an array of integers, find the closest pair, that is, two elements with th
Given an array of integers, find the closest pair, that is, two elements with the smallest distance between their values. For example, in the following array { 3, 4, 9, 7, 5, 1}, …
Given an array of integers. Find a mountain top element in it. An array element
Given an array of integers. Find a mountain top element in it. An array element is moutain top element if it is NOT smaller than its neighbors.ie if an element is greater than its…
Given an array of integers. Now you need to implement four functions. a) add(int
Given an array of integers. Now you need to implement four functions. a) add(int arr[]) - should add integer 2 to each element of the array. b) subtract(int arr[]) - should subtra…
Given an array of ints, is it possible to choose a group of some of the ints, su
Given an array of ints, is it possible to choose a group of some of the ints, such that the group sums to the given target with this additional constraint: If a value in the array…
Given an array of length 7 containing integers from 1 to 10,determine if it cont
Given an array of length 7 containing integers from 1 to 10,determine if it contains any duplicates. Write a program that readsthe 7 integer numbers and store them in the array. T…
Given an array of n integers named elements, we can perform several steps on the
Given an array of n integers named elements, we can perform several steps on the array. In each step, we choose an elementsi from the array and delete it to earn elementsi points;…
Given an array of strings, write a function mostFrequentStrings(String[] in) usi
Given an array of strings, write a function mostFrequentStrings(String[] in) using your implementation of Class HashtableChaining that computes the frequency of each string and re…
Given an array of unsorted positive and negative values of size N. For example [
Given an array of unsorted positive and negative values of size N. For example [10, 20, -5, -15, 11, -4, -30, 25, …]. We need to find the two indexes i, and j where the sum of the…
Given an array s of n integers design an algorithm to find out whether there exi
Given an array s of n integers design an algorithm to find out whether there exists a pair of integers in s whose sum is equal to a given integer x
Given an array temps of double s, containing temperature data, compute the avera
Given an array temps of double s, containing temperature data, compute the average temperature. Store the average in a variable called avgTemp . Besides temps and avgTemp , you ma…
Given an array, A, that contains datasize number of values: Write C++ code segme
Given an array, A, that contains datasize number of values: Write C++ code segments to do each of the following: 1. Search the array for a particular value. Assign a boolean value…
Given an array, A, that contains datasize number of values: Write C++ code segme
Given an array, A, that contains datasize number of values: Write C++ code segments to do each of the following: 1. Search the array for a particular value. Assign a boolean value…
Given an article such as this one at nytimes.com ( http://www.nytimes.com/2015/0
Given an article such as this one at nytimes.com ( http://www.nytimes.com/2015/03/01/books/review/kazuo-ishiguros-the-buried-giant.html?ref=books&_r=0 ), design an algorithm t…
Given an article such as this one at nytimes.com, design an algorithm to find th
Given an article such as this one at nytimes.com, design an algorithm to find the most frequently co-occurring word-pair in this article. Two words are said to co-occur if they ap…
Given an article such as this one at nytimes.com, design an algorithm to find th
Given an article such as this one at nytimes.com, design an algorithm to find the most frequently co-occurring word-pair in this article. Two words are said to co-occur if they ap…
Given an article, design an algorithm in pseudo code to find the top 150 most fr
Given an article, design an algorithm in pseudo code to find the top 150 most frequently co-occurring word-pairs in the article. Two words are said to co-occur if they appear in t…
Given an article, design an algorithm in pseudo code to find the top 150 most fr
Given an article, design an algorithm in pseudo code to find the top 150 most frequently co-occurring word-pairs in the article. Two words are said to co-occur if they appear in t…