Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

Question: A student data, or a student record, which consists of the following set of fields:

o ssid (social security id) is ddd-dd-dddd where d is a digit (0-9).

o name has two fields, fname and lname, each of which is a character string. Both must start with an uppercase letter (A-Z) followed by [1, 12] length of lowercase letter(s), e.g., (fname, lname) = (John Doe).

o major, one of the strings CS, EE, ME, CE, where roughly 50% of students must major in CS.

o scores of

o midterm1, picked from N (60, 12).

o midterm2, picked from N (55, 13). and

o final, picked from N (46, 14).
The data must have the following probabilistic properties:

o values of ssid, fname, lname must be generated at random using specified uniform distributions, i.e., [X, Y] means that some random value between X and Yis chosen for each record by your implementation.

o N (X, Y) means normal distribution, in which X is a mean and Y is a standard deviation, and to generate a random number from normal distribution, visit this site showing the way to generate Gaussian Random Numbers and adapt the sample program found there (obey copyright).

Your program needs to read the number of student records to generate.

All the generated data needs to be shown to a screen.

Output format is free -- wisely compose output layout for easy browsing of the contents.

Answer this question and show each and every step with example. 

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M91234365

Have any Question?


Related Questions in Computer Engineering

Computer sciencewhat is required of an organization to

Computer Science What is required of an organization, to implement and maintain IT Governance? What outside resources are available to assist technology managers in the implementation and maintenance process?

Imagine you are employed by a large city police department

Imagine you are employed by a large city police department as the leader of the digital forensics division. A large corporation in the city has contacted the police for assistance in investigating its concerns that the c ...

Symbolic mathematicsa thick-walled cylindrical tubing of

(symbolic Mathematics): A thick-walled cylindrical tubing of hard rubber having an inside radius of 5mm and an outside radius of 20 mm is being used as a temporary cooling coil in a bath. Ice water is flowing rapidly ins ...

Total cholesterol in children 10 to 15 years of age is

Total cholesterol in children 10 to 15 years of age is assumed to follow a normal distribution of 191 and a standard deviation 22.4. What proportion of children 10 to 15 years of age has total cholesterol between 180 and ...

Suppose a finite deck of numeric cards 1 2 3 have been

Suppose a finite deck of numeric cards 1, 2, 3, ... have been shuffled randomly. Repeat the following step: If the top card is numbered 1, the game terminates. But if it is any number n > 1, then reverse the ordering of ...

Question suppose that as a dba you are tasked with

Question : Suppose that as a DBA, you are tasked with installing a new database management system in your organization. Would you choose the default system parameters when installing the system software? Explain and supp ...

An oil company determines it costs 25000 to sink a test

An oil company determines it costs $25,000 to sink a test well, an oil hit yields a net revenue of $475,000($500,000 gross-$25,000costs), and a natural gas hit yields $125,000 net revenue ($150,000 gross-$25,000 costs). ...

A sample of 1000 us households is taken and the average

A sample of 1,000 U.S. households is taken and the average amount of newspaper garbage or recycling is found to be 27.8 pounds. Assuming the standard deviation of newspaper for garbage or recycling is 2 pounds. Estimate, ...

List the common development failures and errors that

List the common development failures and errors that results from poor software security efforts

Why does the marginal cost curve always intersects the

Why does the marginal cost curve always intersects the average total cost curve and AVC?

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As