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 1009 / 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 reformat-date that takes a string argument containing a date in
Write a function reformat-date that takes a string argument containing a date in one format it and returns the date in another format. Specifically, it converts an argument like 1…
Write a function remove_vowels which takes one input string s, and returns a new
Write a function remove_vowels which takes one input string s, and returns a new string new_str, that contains string s with all the vowels removed. For example: >>>print…
Write a function repeat_word_count(text, n) that takes a string text and a posit
Write a function repeat_word_count(text, n) that takes a string text and a positive integer n, converts text into a list of words based on simple whitespace separation (with no re…
Write a function ret=excel_columnaverage(filename,column) that takes an Excel fi
Write a function ret=excel_columnaverage(filename,column) that takes an Excel file's name, and a column id (or name) and returns the average of the numbers in that column. If colu…
Write a function roman_to_int(char c) which converts a Roman numeral (upper or l
   Write a function roman_to_int(char c) which converts a Roman numeral (upper or lower case) to decimal, i.e., roman_to_int('I') ==> 1 roman_to_int('V') ==> 5 roman_to_int(…
Write a function scan(num_string) IN LUA that reads in a single character at a t
Write a function scan(num_string) IN LUA that reads in a single character at a time, and when it reaches end of the string, reports whether it has read in a decimal, octal, or hex…
Write a function score(file, student, hwk) that opens the file with name file (u
Write a function score(file, student, hwk) that opens the file with name file (use scores.csv, this is how excel file looks http://oi65.tinypic.com/25ja3rm.jpg). The function then…
Write a function search() that receives an array of char type, its size and anot
Write a function search() that receives an array of char type, its size and another character, finds the location (the subscript value) of the character in the array that matches …
Write a function secondLst() that takes a two-dimensional list as a parameter an
Write a function secondLst() that takes a two-dimensional list as a parameter and returns a new list containing all of the integers found in the list. The list can contain any typ…
Write a function sequence that takes 3 arguments low, high, and stride, all assu
Write a function sequence that takes 3 arguments low, high, and stride, all assumed to be numbers. Further assume stride is positive. sequenceproduces a list of numbers from low t…
Write a function shop () that takes the following arguments, in this order 1. ti
Write a function shop () that takes the following arguments, in this order 1. tilename: a file that you will need to input. The file contains many lines of grocery items and their…
Write a function slope(x1, y1, x2, y2) that returns the slope of the line throug
Write a function slope(x1, y1, x2, y2) that returns the slope of the line through the points (x1, y1) and (x2, y2). Then use this function in a function called intercept(x1, y1, x…
Write a function sop(ns, ps) which takes a group of tuples ns (i.e. [(a1,n1),...
Write a function sop(ns, ps) which takes a group of tuples ns (i.e. [(a1,n1),...,(ak,nk)]) as its first argument, and a list of one or more primes ps (i.e., of the form [p1,...,pm…
Write a function sortWords (array) mat does Mu- following: Takes as an input a c
Write a function sortWords (array) mat does Mu- following: Takes as an input a cell array of .strings consisting of letters only. Returns a cell array with all the strings in alph…
Write a function sort_records (csv f1lename, new f1lename) that sorts the record
Write a function sort_records (csv f1lename, new f1lename) that sorts the records of a CSV file and writes the results as a new CSV file. The first column of the CSV file will be …
Write a function square() that takes an integer and return its square, and a fun
Write a function square() that takes an integer and return its square, and a function cube() that takes an integer and return its cube. Use your square() and cube() functions to w…
Write a function subroutine called tax that takes a single argument grossIncome
Write a function subroutine called tax that takes a single argument grossIncome of type Currency. It should calculate the tax on any income using the following tax schedule: (1) i…
Write a function sum.populations ) that takes five arguments, in this order: l.
Write a function sum.populations ) that takes five arguments, in this order: l. which-continent: one of the following strings: , Africa, , , Americas, , , Asia , , ?? rope, or Oce…
Write a function swap that takes as arguments two pointers to integers. This fun
Write a function swap that takes as arguments two pointers to integers. This function should swap the values pointed to by the pointers passed to the function. So, if there were t…
Write a function that accepts a password string “WasillaDogSleddingRulz” and per
Write a function that accepts a password string “WasillaDogSleddingRulz” and perform a (very) weak encryption: For each character in the string, change the character to some other…
Write a function that accepts a password string “WasillaDogSleddingRulz” and per
Write a function that accepts a password string “WasillaDogSleddingRulz” and perform a (very) weak encryption: For each character in the string, change the character to some other…
Write a function that accepts a pointer to a C-string as an argument and calcula
Write a function that accepts a pointer to a C-string as an argument and calculates the number of words contained in the string as well as the number of letters in the string. Com…
Write a function that accepts a pointer to a C-string as an argument and calcula
Write a function that accepts a pointer to a C-string as an argument and calculates the number of words contained in the string as well as the number of letters in the string. Com…
Write a function that accepts a pointer to a C-string as an argument and display
Write a function that accepts a pointer to a C-string as an argument and displays its contents backward. For instance, if the string argument is ‘Gravity’ the function should disp…
Write a function that accepts a pointer to a C-string as an argument and returns
Write a function that accepts a pointer to a C-string as an argument and returns the number of words contained in the string. Write another function that accepts a pointer to a C-…
Write a function that accepts a pointer to a C-string as its argument. The funct
Write a function that accepts a pointer to a C-string as its argument. The function should count the number of vowels appearing in the string and return that number. Write another…
Write a function that accepts a product code as an input string in the form XXX-
Write a function that accepts a product code as an input string in the form XXX-YYY and validates it as follows: (1) The string length should be exactly 7 characters. (2) The firs…
Write a function that accepts a string as its only input. Print the string in re
Write a function that accepts a string as its only input. Print the string in reverse order without using any built-in reversal function.                   rev(“hello”) > > …
Write a function that accepts a variable number input values and returns the sor
Write a function that accepts a variable number input values and returns the sorted values as an array. The function will be called for example like this. B = msort(2, 4, 1, 5) an…
Write a function that accepts a variable number of input values and returns the
Write a function that accepts a variable number of input values and returns the sorted values as an array. The function will be called, for example, like this: b = msort(2,1,4,3) …
Write a function that accepts an 8 by 8 array of characters that represents a ma
Write a function that accepts an 8 by 8 array of characters that represents a maze. Each position can contain either an X or a blank. Starting at position (0,1), list any path thr…
Write a function that accepts an array of integers and the array\'s size as argu
Write a function that accepts an array of integers and the array's size as arguments. The function should create a copy of the array, except that the values should be reversed in …
Write a function that accepts an array of integers and the array\'s size as argu
Write a function that accepts an array of integers and the array's size as arguments. The function should create a copy of the array, except that the values should be reversed in …
Write a function that accepts an array of integers and the array\'s size as argu
Write a function that accepts an array of integers and the array's size as arguments. The function should create a copy of the array, except that the values should be reversed in …
Write a function that accepts an input vector of integer exam scores and outputs
Write a function that accepts an input vector of integer exam scores and outputs a two column cell array with the same number of rows as the input vector. Each cell in the first c…
Write a function that accepts an int array and the array\'s size as arguments. T
Write a function that accepts an int array and the array's size as arguments. The function should create a new array that is one element larger than the argument array. The first …
Write a function that accepts an int array and the arrays size as arguments. The
Write a function that accepts an int array and the arrays size as arguments. The function should create a new array that is one element larger than the argument array. The first e…
Write a function that accepts an int array and the arrays size as arguments. The
Write a function that accepts an int array and the arrays size as arguments. The function should create a new array that is one element larger than the argument array. The first e…
Write a function that accepts an int array and the arrays size as arguments. The
Write a function that accepts an int array and the arrays size as arguments. The function should create a new array that is one element larger than the argument array. The first e…
Write a function that accepts arguments as the following: - an array of integers
Write a function that accepts arguments as the following: - an array of integers - an integer that indicates the number of elements in the array. the function should determine the…
Write a function that accepts one parameter and test to see if the input paramet
Write a function that accepts one parameter and test to see if the input parameter to the function is a legitimate java identifier. Write a class which has two methods: •legitimat…
Write a function that accepts random numbers as input. Implement binary search t
Write a function that accepts random numbers as input. Implement binary search to find a particular number in the list. The function should return the position of the number in th…
Write a function that accepts temperature in degrees Fahrenheit (degree F) and c
Write a function that accepts temperature in degrees Fahrenheit (degree F) and computes the corresponding value in degree Celsius (degree C). The relation between the two is T deg…
Write a function that accepts variable number of arguments Write a function that
Write a function that accepts variable number of arguments Write a function that returns multiple arguments Use fprintf (or sprintf) for formated output to the screen Review physi…
Write a function that analyzes how many times the characters \'a\' to \'z\' occu
Write a function that analyzes how many times the characters 'a' to 'z' occur in a file, and writes those counts, as well as their frequencies, to a specified output file. functio…
Write a function that calculates the annual cost of commuting to work for an arr
Write a function that calculates the annual cost of commuting to work for an array of five distances. The function should take as arguments an array that contains the distances, t…
Write a function that calculates the arithmetic mean (average), geometric mean,
Write a function that calculates the arithmetic mean (average), geometric mean, rms ( root mean square) average and harmonic mean of a set of numbers. For a set of numbers x1,x2,x…
Write a function that calculates the grade point average (GPA) on a scale of 0 t
Write a function that calculates the grade point average (GPA) on a scale of 0 to 4, where A = 4, B = 3, C = 2, D = 1, and F = 0. One input is a list whose elements arc letter gra…
Write a function that calculates the result of an arithmetic expression involvin
Write a function that calculates the result of an arithmetic expression involving scalars, where the arithmetic expression is given as a character string (e.g., '2*30+5*4'). The o…
Write a function that can be useful for future programs (like the next problem)
Write a function that can be useful for future programs (like the next problem) which rounds any POSITIVE floating point value to the nearest integer. The function should "round u…