Explore BrainMass
Share

Algorithms

Microsoft Excel Worksheet Function

Select the worksheet function that will return the largest number in a specified range of cells, the function should ignore text and logical values. Select the worksheet function that will return the smallest number (including numbers, logical values, and text,) in a specified range of cells These are the functions to pic

ASP Page

Write an ASP page that has a form taking a user's name as input. Store this name in a permanent cookie that expires in 4 days, and whenever the page is opened again, default the name field to the cookie's content.

Display Grade from Test Score

This program completes a Loop Until Counter = 10 START Declare Counter, Num as integer Write "Please enter a number" INPUT Num FOR Counter = 0 Step 1 To 10 Write Num * Counter End FOR Write "Enter your Test Score and Your Grade will be Displayed" FOR STOP 1. List variables. Declare Counter, Num as integer 2.

Communication Networks Problem

1) SONET ring with four stations. Suppose tributaries established between each pair of stations to produce logical topology. Find capacity required in each hop of SONET ring in following three cases assuming first ring is unidirectional and then that ring is bidirectional a) Traffic between each pair of stations is STS-1 2

Converting hexadecimal numbers

1. Consider the following hexadecimal number C0A00000 H a. Assuming this number was read as a real number (IEEE Floating Point Standard 754), what would be equivalent decimal? Please show all the steps that you used to convert the number. b. If this number were to be interpreted as a signed integer, what would be its decimal

Communication Networks

Hi I'm stuck on 2 questions. I've looked through the examples in the text book, but cannot apply them to the questions. Any assistance on how to approach these questions would be appreciated. 1) Analog tv signal is low-pass signal with bandwidth of 4 MHz. What bit rate required if we quantize signal and require SNR of 6

Write a object oriented program to test a Triangle given its sides

Write a program that reads three real numbers for the three sides of a triangle., assigns the appropriate boolean value to the following boolean variables, and displays the associated values. Triangle: true if the real numbers can represent lengths of the sides of a triangle (the sum of any two of the numbrs must be greater

Nesting Tables Convinced

Go to the Web and find a good example of a nesting table, write the URL for the web page at the beginning of your response so I can locate it. Briefly describe why you believe this is a good example, most argue against using nesting tables, does your example convince you otherwise? Explain your rationale.

Operations and Expressions

Write a program that reads three real numbers, assigns the appropriate boolean value to the following boolean variables, and displays the associated values. Triangel: true if the real numbers can represent lengths of the sides of a triangle (the sum of any two of the numbrs must be greater than the third); false otherwise.

Convert any hexadecimal number

Write complete programs for the following problems. 1. Convert any hexadecimal number from 00 to 63h placed in AX into its equivalent unpacked BCD number in AX. 2. Multiply the byte in register AL by the byte in register BL. Place the result in AX.

Relational Algebra

From the following relations, write the Relational Algebra to: Find the part(s) that have been supplied by more than one vendor during February. Vendors(vend#, vend_name, vend_phone) Parts(part#, part_desc, part_price) Supplys(vend#, part#, supply_date).

User Defined Functions

The function printGrade in this example {see attachment} is written as a void function to compute and output the course grade. The course score is passed as a parameter to the function printGrade. Rewrite the function printGrade as a value-returning function so that it computes and returns the course grade. (The course grade

User Defined Functions

Write a value-returning function, isVowel, that returns the value true if a given character is a vowel and otherwise returns false. This is what I have so far with no luck compiling the program. Any help would be greatly appreciated. #include <iostream> using namespace std; char isVowel(); int main() { char c

Process Action Code

Within the zip folder you'll find a line in the "Process Action" section of code (Look near the very bottom) the line reads something like: MSGBOX(strDisplayResult) this needs to be changed to: 1) before displaying the results, add a question at the end of the string (strDisplayResult) that reads "Do you wish to q

Order of Complexity

The algorithm has the order of complexity shown, and takes the indicated time for a problem of size 50.0. Fill in the amount of time for the algorithm will take for the other sizes shown. Function Size 50 Size 51 Size 60 O(N ^ N) 1 second ______ ________

Exam Question on grammar from Languages&their implementation

(ii) Using the grammar below:- S -> pAb Production No. 1 A -> cB | a Productions No. 2 and 3 B -> cb Production No. 4 Construct a table with four columns that indicate the step number, state of the input, derivation, and rule applied, and hence show how the string:- pccbb can be parsed top-dow

Classes and Enumerators

Write a program similar to the following: wavelength.cpp computes the wavelength of light for a fiven Color. Input: theColor, a Color value Precondition: theColor is one of RED, ORANGE, YELLOW, GREEN, BLUE, INDIGO, VIOLET Output: the wavelegth of light corresponding to theColor, but that uses the Color class hierarchy.

Building Classes

Write a program to do rational number arithmatic, representing each rational number as a class that has instance variables for the numerator and the denomonator. The program should read and display all rational numbers in the format a/b, or simply a if the denominator is 1.

Building Classes

The point-slope equation of a line having slope m and pasing through pint P with coordinates (x1, y1) is y-y1=m(x-x1). a. Write a class for a CartesianPoint, described by its x- and y- coordinates, with all appropriate operations on such objects. b. Write a LineSegment class, described by two CartesianPoint endpoints. In addi

Stopwatch Program

Write a stopwatch program that will display time in letters approximately 2 inches high and 1 inch wide. Display minutes, seconds, and tenths of seconds. Have the elapsed time reset to 0.00.00 when the r key is pressed, and then begin time when the t key is pressed. Stop timing, and freeze the display, when the t key is pressed

Functions

Write a function calculateTaxes () that calculates and returns the amount of city incom tax and the amount of federal income tax to be withheld from an employee's pay for one pay period. Assume that city income tax withheld is computed by taking 1.15 percent of gross pay on the first $40,000 earned per year and that federal inc

Functions

The graph of a person's emotional cycly y=f(x) is a sinc curve having an amplitude of 1 and a period of 28 days. On a given day, the person's emotional index is f(age), where age is his or her age in days. Similarly, the physical and intellectual cycles are sine curves having an amplitude of 1 and periods of 23 and 33 days,

Using Classes

Write a program to display the lyrics of "Happy Birthday to You."

Program for wind speed, temperature, humidity

In a certain region, pesticide can be sprayed from an iairplane only if the temperature is at least 70 degrees, the relative humidity is between 15 and 35%, and the wind speed is at most 10 miles per hour,