Explore BrainMass
Share

Explore BrainMass

    Programming Languages

    Programming Problems (types)

    Write a program to read a student's number, his or her old grade point average, and the old number of course credits (e.g., 31479, 3.25, 66) and to then print these with appropriate labels. Next, read the course credit and grade of four courses-for example, course1Credits = 5.0, course1Grade = 3.7, course2Credits = 3.0, course2

    Cyclic Redundancy Checks

    Cyclic Redundancy Checks (CRC) can provide strong capabilities to digest a message in such form that if bits in the message have become corrupted during transmission, then the receiver will be able to detect the damage and discard the message. Assume a generator polynomial of X4 + X3 + 1. A receiver encounters the following

    NORMALISATION

    Transform the following entities into 3NF entities. Draw the original and final data models, and state any reasonable assumptions. AIRCRAFT (AIRCRAFT ID NUMBER(primary key), AIRCRAFT CODE, AIRCRAFT DESCRIPTION, NUMBER OF SEATS) FLIGHT (FLIGHT NUMBER(primary key), DEAPRTURE CITY, 1{ARRIVAL CITY} n, MEAL CODE, 1{FLIGHT DATE

    Currency Conversion : key information

    Write a C program that displays a title, "Currency Conversion", and then writes the names of five currencies and their equivalents to a US dollar. The conversions are hard coded equations. Insert comments in the program to document the program internally.

    Writing a Simple Program

    Write a program to: Prompt the user for 3 sentences of text. Pass these pieces of text into a function connect () which will connect all three sentences into one long sentence. Pass the combination sentence back to the main program, where it is printed. Language is C Basic.

    Using constructor to create Rectangle and PlaneRectangle classes

    The Class for a Rectangle is shown below. PlaneRectangle is a specialisation of Rectangle with fields that define the location of the centre of the rectangle. Write Java Classes that are implementations of the Rectangle Class and of the PlaneRectangle Class. Now add methods to the Java PlaneRectangle Class that: a. enable the

    C+ programming functions program

    Write a C function named change() that accepts a floating point number and the addresses of the integer variables named quarters, dimes, nickels, and pennies. The function should determine the number of quarters, dimes, nickels, and pennies in the number passed to it and write these values directly into respective variables decl