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

Browse W

Alphabetical listing with fast deep pagination.
66619 items • Page 1004 / 1333

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
Write a function called va1 that takes as input an integer array g1 and its leng
Write a function called va1 that takes as input an integer array g1 and its length m1, and returns true if the number of even elements in the array is more than 5. Test your code …
Write a function called winmax that receives a vector of real numbers as the fir
Write a function called winmax that receives a vector of real numbers as the first input argument, and a scalar representing the window size as the second input argument. The func…
Write a function called year2016 that returns a row-vector of struct-s whose ele
Write a function called year2016 that returns a row-vector of struct-s whose elements correspond to the days of a month in 2016 as specified by the input argument. If the input is…
Write a function called ‘ ReplaceLetterWithAsterisk’ that takes two arguments as
Write a function called ‘ReplaceLetterWithAsterisk’ that takes two arguments as inputs. Use the MIPS calling convention; use $a registers to pass the arguments to your function. T…
Write a function called, revense(), to return a copy of the input string but wit
Write a function called, revense(), to return a copy of the input string but with characters in reverse order. string reverse(const strings s); //Returns a copy of but with charac…
Write a function called: def bars(pic): which makes every 20 th column and row i
Write a function called: def bars(pic): which makes every 20th column and row in pic black. Do not return a picture. The function can be used with any picture. Here is the result …
Write a function check_all_equal(int[ ] array) that: Takes as input array of int
Write a function check_all_equal(int[ ] array) that: Takes as input array of integers. The array can have any length. If the array length is 0, the function returns Boolean value …
Write a function concatenate_files(filename1, filename2,new_filename) that conca
Write a function concatenate_files(filename1, filename2,new_filename) that concatenates the text from two source files such that the text from the file named by argument filename2…
Write a function convertF(F) that accepts temperature in degrees F and computers
Write a function convertF(F) that accepts temperature in degrees F and computers the corresponding value in degrees C. The relationship between the two is given as: T_c = 5/9(T_F …
Write a function copystr(char *p1, char *p2, int m) that takes two strings and o
Write a function copystr(char *p1, char *p2, int m) that takes two strings and one integer as arguments. It will copy from the mth character of p1 to its end to p2. The main funct…
Write a function countAlphaChars to count the number of alphabetic characters ar
Write a function countAlphaChars to count the number of alphabetic characters are in a string. You will receive an input parameter of type string called str and you should return …
Write a function countFrequency(char sentence, int \"letterFrequency) to count h
Write a function countFrequency(char sentence, int "letterFrequency) to count how many times each of the 26 letters is used in a sentence passed as the first argument to the funct…
Write a function count_clear (state) that takes a state of the cargo terminal, a
Write a function count_clear (state) that takes a state of the cargo terminal, and returns an integer count of the number of containers in the given state that are currently clear…
Write a function createCDTable(cds) that again takes an array of CD structures,
Write a function createCDTable(cds) that again takes an array of CD structures, opens a file and saves a table listing of your CDs for Artist Title and Price. Here are 9 examples …
Write a function create_dictionary(filename) that takes a string representing th
Write a function create_dictionary(filename) that takes a string representing the name of a text file, and that returns a dictionary of key-value pairs in which: each key is a wor…
Write a function cycle (input_list) that performs an \"in-place\" cycling of the
Write a function cycle (input_list) that performs an "in-place" cycling of the elements of a list, moving each element one position earlier in the list. Here "in place" means the …
Write a function dayName that consumes a parameter, day, containing the numerica
Write a function dayName that consumes a parameter, day, containing the numerical value of a day in April 2012. Your function should return the name of that day as a string. For e…
Write a function dayNumber that returns the day number of the year (1 to 366) in
Write a function dayNumber that returns the day number of the year (1 to 366) in a year for a date that is provided as input data. your function should accept the month (1 through…
Write a function dayNumber that returns the day number of the year (1 to 366) in
Write a function dayNumber that returns the day number of the year (1 to 366) in a year for a date that is provided as input data. your function should accept the month (1 through…
Write a function dayNumber that returns the day number of the year (1 to 366) in
Write a function dayNumber that returns the day number of the year (1 to 366) in a year for a date that is provided as input data. your function should accept the month (1 through…
Write a function dayNumber that returns the day number of the year (1 to 366) in
Write a function dayNumber that returns the day number of the year (1 to 366) in a year for a date that is provided as input data. your function should accept the month (1 through…
Write a function day_of_year(month, day, year) that returns the day of the year
Write a function day_of_year(month, day, year) that returns the day of the year (an integer between 1 and 366) specified by the three augments.
Write a function day_of_year(month, day, year) that returns the day of the year
Write a function day_of_year(month, day, year) that returns the day of the year (an integer between 1 and 366) specified by the three augments. What is wrong with this: #include &…
Write a function decipher(s) that takes as input an arbitrary string s that has
Write a function decipher(s) that takes as input an arbitrary string s that has already been enciphered by having its characters “rotated” by some amount (possibly 0). decipher sh…
Write a function def countVowels(string) that returns a count of all vowels in t
Write a function def countVowels(string) that returns a count of all vowels in the string string. Vowels are the letters a, e, i, o, and u, and their uppercase variants. Write a f…
Write a function def show_table(table): Given table as a list of lists of string
Write a function def show_table(table): Given table as a list of lists of strings, create and return a formatted string representing the 2D table. Follow these requirements (examp…
Write a function definition called add. It takes a 1000 element integer array an
Write a function definition called add. It takes a 1000 element integer array and an integer n as its parameters. It adds n to each element of the array. add does not return a val…
Write a function definition for a function called Bonus that takes one argument
Write a function definition for a function called Bonus that takes one argument of type double the regular salary of an employee and returns a double, the new salary with the bonu…
Write a function definition of the function sort_dates. This function takes as a
Write a function definition of the function sort_dates. This function takes as an argument the dates array. Your function should sort the elements of the dates array in chronologi…
Write a function definition, max_absolute , that takes as arguments 0 or more nu
Write a function definition, max_absolute, that takes as arguments 0 or more numbers, and returns the number with the highest absolute value. If no numbers are specified, the func…
Write a function definition, max_absolute, that takes as argument 0 or more numb
Write a function definition, max_absolute, that takes as argument 0 or more numbers, and returns the number with the highest absolute value. If no numbers are specified, the funct…
Write a function deleteAtPositionN () for a singly-linked list that has the foll
Write a function deleteAtPositionN () for a singly-linked list that has the following declaration and precondition: int deleteAtPositionN (struct node **pHead, int n, int *pData):…
Write a function dispense_bills( ) in C programming. The function determines the
Write a function dispense_bills( ) in C programming. The function determines the minimum number of bills to dispense given a withdrawal amount. The possible bills dispensed includ…
Write a function dispense_bills(). The function determines the minimum number of
Write a function dispense_bills(). The function determines the minimum number of bills to dispense given a withdrawal amount. The possible bills dispensed include: 50's, 20's, 10'…
Write a function doubles() that takes as a list of integers as a parameter and p
Write a function doubles() that takes as a list of integers as a parameter and prints the values in the list, one per line, that are exactly twice the previous value in the list. …
Write a function encrypt that takes two strings \"s1\" and \"s2\" and an integer
Write a function encrypt that takes two strings "s1" and "s2" and an integer "shift" as parameters. Your function encrypts s1 and stores it in s2. The encryption is done by shifti…
Write a function encrypt that takes two strings \"s1\" and \"s2\" and an integer
Write a function encrypt that takes two strings "s1" and "s2" and an integer "shift" as parameters. Your function encrypts s1 and stores it in s2. The encryption is done by shifti…
Write a function fctx that takes a list of strings, named aList, as argument and
Write a function fctx that takes a list of strings, named aList, as argument and returns a new list containing all the elements of aList capitalized. print(ex1(['pace','FISH','Duc…
Write a function file called mixing ratio.m that calculates the mixing ratio for
Write a function file called mixing ratio.m that calculates the mixing ratio for air as described in Appendix B * There should be 2 inputs to mixing ratio.m: temperature T and pre…
Write a function file named “credit.m” which takes midterm, final, and homework
Write a function file named “credit.m” which takes midterm, final, and homework scores as input arguments and display credit A-F according to the following rules: Total score: mid…
Write a function file that accepts a cell array of any size. Determine the numbe
Write a function file that accepts a cell array of any size. Determine the number of numbers (including the numbers in a vector) and the number of letters (including the letters i…
Write a function file that accepts the coefficients a, b, c (for the quadratic e
Write a function file that accepts the coefficients a, b, c (for the quadratic equation). Set up a code that evaluates b^2 - 4ac to determine if it will return a real value. If b^…
Write a function file that accepts the coefficients a, b, c (for the quadratic e
Write a function file that accepts the coefficients a, b, c (for the quadratic equation). Set up a code that evaluates b^2 - 4ac to determine if it will return a real value. If b^…
Write a function file that uses a newton Raphson algorithm to calculate the root
Write a function file that uses a newton Raphson algorithm to calculate the roots of function. Your input arguments should be the function, its derivative, and the range over whic…
Write a function file, f. m, to define the following system of equations. dx/dt
Write a function file, f. m, to define the following system of equations. dx/dt = x + 3y dy/dt = 2x-y Use the variable names t. z, and zprime for the independent variable, the dep…
Write a function find items in_file The function will have 2 parameters, a file_
Write a function find items in_file The function will have 2 parameters, a file_name, and an integer number The file contains an item and number of item separated by bar''in each …
Write a function findMaxDiff() that takes a two-dimensional list of positive int
Write a function findMaxDiff() that takes a two-dimensional list of positive integers as a parameter. It prints the index of the row with the maximum difference between elements a…
Write a function find_2D_max that finds the maximum element in a 2 - dimensional
Write a function find_2D_max that finds the maximum element in a 2 - dimensional array and returns its indices. Your functions should take one input argument, a 2 - D array and re…
Write a function fixed-point_iteration that inputs a function g, an initial gues
Write a function fixed-point_iteration that inputs a function g, an initial guess ro, an error tolerance tol, and a maximum number of iterations N, and approximates a fixed point …
Write a function floodMap(...) which takes three arguments, a two dimensional ar
Write a function floodMap(...) which takes three arguments, a two dimensional array of doubles indicating the height of the terrain at a particular point in space (assume that the…