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

Browse D

Alphabetical listing with fast deep pagination.
30085 items • Page 136 / 602

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
Define a class named TimeSpan. A TimeSpan object stores a span of time in hours
Define a class named TimeSpan. A TimeSpan object stores a span of time in hours and minutes (for example, the time span between 8:00am and 10:30am is 2 hours, 30 minutes). Each Ti…
Define a class named TimeSpan. A TimeSpan object stores a span of time in hours
Define a class named TimeSpan. A TimeSpan object stores a span of time in hours and minutes (for example, the time span between 8:00am and 10:30am is 2 hours, 30 minutes). Each Ti…
Define a class named Treadmill that contains the appropriate data members and me
Define a class named Treadmill that contains the appropriate data members and methods. The class should have data members (what should they each be?) for: Speed (0 - 12 MPH) Incli…
Define a class named circle. The class should have one private member, radius (d
Define a class named circle. The class should have one private member, radius (double). The class should have a constructor that accepts one argument. The constructor argument sho…
Define a class named student with four member variables: 3 strings for student I
Define a class named student with four member variables: 3 strings for student ID, First Name, and Last name. Write necessary accessor and mutator functions. Also, write a default…
Define a class of Students with the following properties and actions: a string n
Define a class of Students with the following properties and actions: a string name, an integer age, a Boolean variable indicating whether or not the student is an IT major, a cha…
Define a class of Students with the following properties and actions: a string n
Define a class of Students with the following properties and actions: a string name, an integer age, a Boolean variable indicating whether or not the student is an IT major, a cha…
Define a class of rational numbers. A rational number is a number that can be re
Define a class of rational numbers. A rational number is a number that can be represented as a quotient of two integers. For example, 1/2, 3/4, 64/2 , and so forth are all rationa…
Define a class of vectors. Let us start with an implementation in which each ins
Define a class of vectors. Let us start with an implementation in which each instance of this class has three real-valued fields: the three coordinates x1, x2, and x3 of the vecto…
Define a class template for an AVL tree. Create an object of such tree. Create a
Define a class template for an AVL tree. Create an object of such tree. Create a menu where you can insert, delete, and find elements. The menu must also include a print function …
Define a class to model an abstract circle. A circle is defined by the value of
Define a class to model an abstract circle. A circle is defined by the value of its radius. Your class should have one instance variable of type double. The name of the class is C…
Define a class to model an abstract circle. A circle is defined by the value of
Define a class to model an abstract circle. A circle is defined by the value of its radius. Your class should have one instance variable of type double. The name of the class is C…
Define a class to model an abstract circle. A circle is defined by the value of
Define a class to model an abstract circle. A circle is defined by the value of its radius. Your class should have one instance variable of type double. The name of the class is C…
Define a class to model digital media. Sound, images, text and video are all ava
Define a class to model digital media. Sound, images, text and video are all available in digital format for use on a computer system. The class DigitalMedia is a generalization o…
Define a class to represent circle. Data members should include radius, circumfe
Define a class to represent circle. Data members should include radius, circumference, area. Member functions should allow the following: A constructor to initialize its data memb…
Define a class type \"Quadrilateral\" that represents general 2-dimensional shap
Define a class type "Quadrilateral" that represents general 2-dimensional shapes having four sides (for example: rectangle, square, trapezoid, etc). You can determine a four-sided…
Define a class using Test Driven Development that models a rational number. A ra
Define a class using Test Driven Development that models a rational number. A rational number is a number that can be represented as the quotient of two integers. For example, ½, …
Define a class which has a constructor, a member variable, two member functions,
Define a class which has a constructor, a member variable, two member functions, and a destructor. The member variable is an interger pointer. In the constructor, use this pointer…
Define a class whose objects are records on animal species. The class will have
Define a class whose objects are records on animal species. The class will have instance variables for the species name, population, and growth rate. The growth rate is a percenta…
Define a class with the following properties. a) Class name : movie b) Private v
Define a class with the following properties. a) Class name : movie b) Private variables should store two movie names and years of release. c) Define a function to set the names a…
Define a class, float_seq , to encapsulate a sequence {V} of samples using float
Define a class, float_seq, to encapsulate a sequence {V} of samples using float precision. Sequences are to be fully initialised with their data on creation. Provide (member?) fun…
Define a class, float_seq , to encapsulate a sequence {V} of samples using float
Define a class, float_seq, to encapsulate a sequence {V} of samples using float precision. Sequences are to be fully initialised with their data on creation. Provide (member?) fun…
Define a complete Java class named Name that represents a person’s name. This cl
Define a complete Java class named Name that represents a person’s name. This class should contain 3 instance variables: one for the person’s first name, one for the last name, an…
Define a complex class so that the following program can use it with correct res
Define a complex class so that the following program can use it with correct results: #include <iostream> using namespace std; #include "complex0.h" // to avoid confusion wi…
Define a connected component of an undirected graph to be a subgraph where every
Define a connected component of an undirected graph to be a subgraph where every pair of vertices are reachable from each other by traversing through one or more edges within the …
Define a function CalculatePyramidVolume with inputs baseLength, baseWidth, and
Define a function CalculatePyramidVolume with inputs baseLength, baseWidth, and pyramidHeight. The function returns pyramidVolume, the volume of a pyramid with a rectangular base.…
Define a function bool canMakeInRange( int nums[], int length, int min, int max)
Define a function bool canMakeInRange(int nums[], int length, int min,int max); that returns true if the values in some subset of nums add up to a total in range [min, max], and f…
Define a function bool search(int nums[], int length, int target, int & first, i
Define a function bool search(int nums[], int length, int target, int & first, int & last) that sets first and last to the indexes of the first and last occurences of targ…
Define a function called check_num that… • Has two parameters that are integers,
Define a function called check_num that… • Has two parameters that are integers, which are not guaranteed to be in any particular order. • Prompts the user to enter an integer. (Y…
Define a function called hypotenuse that calculates the length of the hypotenuse
Define a function called hypotenuse that calculates the length of the hypotenuse of a right triangle when the other two sides are given. use this function in a program to determin…
Define a function called hypotenuse that calculates the length of the hypotenuse
Define a function called hypotenuse that calculates the length of the hypotenuse of a right triangle when the other two sides are given. The function should take two arguments of …
Define a function called hypotenuse that calculates the length of the hypotenuse
Define a function called hypotenuse that calculates the length of the hypotenuse of a right triangle when the other two sides are given. The function should take two arguments of …
Define a function called hypotenuse that calculates the length of the hypotenuse
Define a function called hypotenuse that calculates the length of the hypotenuse of a right triangle when the other two sides are given. The function should take two arguments of …
Define a function called hypotenuse that calculates the length of the hypotenuse
Define a function called hypotenuse that calculates the length of the hypotenuse of a right triangle when the other two sides are given. The function should take two arguments of …
Define a function furlongs to feet Given a distance fur in furlongs, returns a d
Define a function furlongs to feet Given a distance fur in furlongs, returns a distance ft in feet 1 furlong is equivalent to 660 feet (or 1/8th mile) # Your function definition g…
Define a function hypotenuse (a, b) which returns the length of the hypotenuse c
Define a function hypotenuse (a, b) which returns the length of the hypotenuse c, if the other two sides have lengths a and b. Recall that the perimeter of a triangle is the sum o…
Define a function in each with two argument parameter input and output. Reads a
Define a function in each with two argument parameter input and output. Reads a file from input file and gives output to output file. Make sure for output, each char will be in ne…
Define a function int baseTwelveToDecimal(char t[]) that returns the decimal num
Define a function int baseTwelveToDecimal(char t[]) that returns the decimal number corresponding to the base12 number t. For example if t is "AB85" then baseTwelveToDecimal(t) wi…
Define a function length that expects a singly linked structure (the head of the
Define a function length that expects a singly linked structure (the head of the structure) as an argument. The function returns the number of items (nodes) in the structure. Defi…
Define a function myRange. This function should behave like Python’s standard
Define a function myRange. This function should behave like Python’s standard range function, with the required and optional arguments, but should return a list. Do not use the …
Define a function named countOccurs that takes a list and an atom as parameters.
Define a function named countOccurs that takes a list and an atom as parameters. The function should return the number of times the atom occurs in the list. For example: count occ…
Define a function named insert that takes an integer atom and a sorted list as p
Define a function named insert that takes an integer atom and a sorted list as parameters. The function should return a list with the integer in the correct position in the sorted…
Define a function named locateLargest() that finds the location of the largest e
Define a function named locateLargest() that finds the location of the largest element in a two-dimensional array of type  double . void locateLargest(const double arr[][4], int l…
Define a function named maxDistToCenter that takes 2 arguments as input: a singl
Define a function named maxDistToCenter that takes 2 arguments as input: a single point, called the center, and a list of other points. The first line of the function should look …
Define a function named q1() that accepts one integer (n) as a parameter and use
Define a function named q1() that accepts one integer (n) as a parameter and uses List comprehension to create and return a List containing a sequence of n randomly selected chara…
Define a function named remove that takes an integer atom and a list as paramete
Define a function named remove that takes an integer atom and a list as parameters (the list does not need to be sorted). The function should return a list with the integer remove…
Define a function named tax_version2 which accepts an argument for income and re
Define a function named tax_version2 which accepts an argument for income and returns the tax on that income assuming different tax brackets. The tax brackets (and rates) are: rat…
Define a function primesFrom: int -> int list that takes a positive number and r
Define a function primesFrom: int -> int list that takes a positive number and returns the list of all prime numbers less than or equal to that number. While such a function ca…
Define a function sentenceCapitalizer that has one parameter of type string. The
Define a function sentenceCapitalizer that has one parameter of type string. The function returns a copy of the string with the first character of each sentence capitalized. The f…
Define a function single : \'a list list -> \'a list which takes in input a list
Define a function single : 'a list list -> 'a list which takes in input a list of lists and gives back the list consisting of all the elements, in the same order in which they …