Questions
Write C program Multidimensional Arrays Design a program which uses two two-dimensional arrays as follows: an...

Write C program

Multidimensional Arrays

Design a program which uses two two-dimensional arrays as follows:

  • an array which can store up to 50 student names where a name is up to 25 characters long
  • an array which can store marks for 5 courses for up to 50 students

The program should first obtain student names and their corresponding marks for a requested number of students from the user. Please note that the program should reject any number of students that is requested by the user which is greater than 50. The program will compute the average mark for each course and then display all students and their marks, as well as the average mark for each course.

A sample output produced by the program is shown below, if assumed that the user entered marks for 4 students. Please note that the computation of the average mark for each course should use type casting.

       Student                      PRG   DGS   MTH   ECR   GED

       Ann Smart                  93       85       87       83       90

       Mike Lazy                   65       57       61       58       68

       Yo Yo                         78       65       69       72       75

       Ma Ma                        84       79       83       81       83

       AVERAGE                80.0    71.5    75.0    73.5    79.0

It is required to submit your source code file, i.e. Lab5.c file as well as a file with your program's run screen captures

In: Computer Science

A.) A group of engineers developed a new design for a steel cable. They need to...

A.) A group of engineers developed a new design for a steel cable. They need to estimate the amount of weight the cable can hold. The weight limit will be reported on cable packaging. The engineers take a random sample of 43 cables and apply weights to each of them until they break. The 43 cables have a mean breaking weight of 774.3 lb. The standard deviation of the breaking weight for the sample is 15.4 lb.

Find the 90% confidence interval to estimate the mean breaking weight for this type cable.

( _______,____________ )

Your answer should be rounded to 2 decimal places.

B.)

According to the website www.collegedrinkingprevention.gov, “About 25 percent of college students report academic consequences of their drinking including missing class, falling behind, doing poorly on exams or papers, and receiving lower grades overall.” A statistics student is curious about drinking habits of students at his college. He wants to estimate the mean number of alcoholic drinks consumed each week by students at his college. He plans to use a 90% confidence interval. He surveys a random sample of 50 students. The sample mean is 3.90 alcoholic drinks per week. The sample standard deviation is 3.51 drinks.

Construct the 90% confidence interval to estimate the average number of alcoholic drinks consumed each week by students at this college.

( ______, ________ )

Your answer should be rounded to 2 decimal places.

In: Math

For each situation, determine your dependent (DV) and independent (IV) variables and their levels of measurement....

For each situation, determine your dependent (DV) and independent (IV) variables and their levels of measurement. Determine an appropriate statistical test for the following situations.

  1. A local coffee shop wants to find out which group of customers brings them most profits: students, working professionals or retirees. They recorded their customers’ professional profile next to the amount of dollars they spent at a shop.

DV =

IV =

Test =

  1. Book rentals have become popular recently; however, you want to find out if undergraduate vs. graduate students are more likely to rent books online. You have asked students to indicate how likely they are to rent books on a 1 through 5 scale where 1 = not at all likely and 5 = very likely to rent online and recorded their student status as undergraduate vs. graduate.

DV =

IV =

Test =

  1. How would your test change if you wanted to know if there are differences in the likelihood of renting books online among freshmen, sophomores, juniors, seniors and graduate students?

DV =

IV =

Test =

  1. 7. How would your test change if you wanted to know if students who are likely to rent online are unlikely to purchase books at the campus bookstore. You measured likelihood of purchasing books at the bookstore on the same scale as likelihood of renting books.

DV =

IV =

Test =

In: Economics

The situation is as follows: Rent and other associated housing costs, such as utilities, are an...

The situation is as follows: Rent and other associated housing costs, such as utilities, are an important part of the estimated costs of attendance at college. A group of researchers at the Off-Campus Housing department want to estimate the mean monthly rent that unmarried students paid during Winter 2019. During March 2019, they randomly sampled 366 students and found that on average, students paid $348 for rent with a standard deviation of $76. The plot of the sample data showed no extreme skewness or outliers. Calculate a 98% confidence interval estimate for the mean monthly rent of all unmarried students in Winter 2019. QUESTION: What is a 98% confidence interval estimate for the mean monthly rent of all unmarried BYU students in Winter 2019?

1A. State the name of the appropriate estimation procedure.

1B Describe the parameter of interest in the context of the problem.

1C. Name the conditions for the procedure.

1D. Explain how the above conditions are met. (

1E. Write down the confidence level and the t* critical value.

1F. Calculate the margin of error for the interval to two decimal places. Show your work.

1G. Calculate the confidence interval to two decimal places and state it in interval form.

1H. CONCLUDE Interpret your confidence interval in context. Do this by including these three parts in your conclusion:  Level of confidence, Parameter of interest in context, the interval estimate

In: Math

Multidimensional Arrays Design a C program which uses two two-dimensional arrays as follows: - an array...

Multidimensional Arrays
Design a C program which uses two two-dimensional arrays as follows:
- an array which can store up to 50 student names where a name is up to 25 characters long
- an array which can store marks for 5 courses for up to 50 students
The program should first obtain student names and their corresponding marks for a requested number of students from the user. Please note that the program should reject any number of students that is requested by the user which is greater than 50. The program will compute the average mark for each course and then display all students and their marks, as well as the average mark for each course.
A sample output produced by the program is shown below, if assumed that the user entered marks for 4 students. Please note that the computation of the average mark for each course should use type casting.


Student PRG DGS MTH ECR GED
Ann Smart 93 85 87 83 90
Mike Lazy 65 57 61 58 68
Yo Yo 78 65 69 72 75
Ma Ma 84 79 83 81 83
AVERAGE 80.0 71.5 75.0 73.5 79.0


It is required to submit your source code file, i.e. Lab5.c file as well as a file with your program's run screen captures.

In: Computer Science

Multidimensional Arrays Design a C program which uses two two-dimensional arrays as follows: - an array...

Multidimensional Arrays
Design a C program which uses two two-dimensional arrays as follows:
- an array which can store up to 50 student names where a name is up to 25 characters long
- an array which can store marks for 5 courses for up to 50 students
The program should first obtain student names and their corresponding marks for a requested number of students from the user. Please note that the program should reject any number of students that is requested by the user which is greater than 50. The program will compute the average mark for each course and then display all students and their marks, as well as the average mark for each course.
A sample output produced by the program is shown below, if assumed that the user entered marks for 4 students. Please note that the computation of the average mark for each course should use type casting.


Student PRG DGS MTH ECR GED
Ann Smart 93 85 87 83 90
Mike Lazy 65 57 61 58 68
Yo Yo 78 65 69 72 75
Ma Ma 84 79 83 81 83
AVERAGE 80.0 71.5 75.0 73.5 79.0


It is required to submit your source code file, i.e. Lab5.c file as well as a file with your program's run screen captures.

In: Computer Science

C++ Please Fill in for the functions for the code below. The functions will implement an...

C++ Please

Fill in for the functions for the code below. The functions will implement an integer list using dynamic array ONLY (an array that can grow and shrink as needed, uses a pointer an size of array). Additional public helper functions or private members/functions can be used. The List class will be instantiated via a pointer and called similar to the code below:

class List {

public:

// Default Constructor

List() {// ... }

// Push integer n onto the end of the list

void push_back(int n) {// ... }

// Push integer n onto the beginning of the list

void push_front(int n) {// ... }

// Pop element at the end of list

int pop_back() {// ... }

// Pop element at the beginning of list

int pop_front() {// ... }

// Adds value at index pos. Indices start at 0

void emplace(int pos, int value) {// ... }

// Return whether the list is empty or not

bool empty() {// ... }

};

In: Computer Science

create the UML Diagram to model a Movie/TV viewing site. Draw a complete UML class diagram...

create the UML Diagram to model a Movie/TV viewing site.

Draw a complete UML class diagram which shows:

  • Classes (Only the ones listed in bold below)
  • Attributes in classes (remember to indicate privacy level, and type)
  • No need to write methods
  • Relationships between classes (has is, is a, ...)

Use a program like Lucid Cart and then upload your diagram.

Each movie has:

name, description, length, list of actors, list of prequals and sequals

Each TV Show has:

name, description, list of places that show it (netflix, hulu, pbs kids), list of actors, list of episodes

Each Episode has:

name, description, number, season, list of actors

User:

  • first and last name
  • list of movies watched, list of tv shows and espisodes within those shows watched, list of favorites

In: Computer Science

C++ Please Fill in for the functions for the code below. The functions will implement an...

C++ Please

Fill in for the functions for the code below. The functions will implement an integer list using dynamic array ONLY (an array that can grow and shrink as needed, uses a pointer an size of array). Additional public helper functions or private members/functions can be used. The List class will be instantiated via a pointer and called similar to the code below:

class List {

public:

// Default Constructor

List() {// ... }

// Push integer n onto the end of the list

void push_back(int n) {// ... }

// Push integer n onto the beginning of the list

void push_front(int n) {// ... }

// Pop element at the end of list

int pop_back() {// ... }

// Pop element at the beginning of list

int pop_front() {// ... }

// Adds value at index pos. Indices start at 0

void emplace(int pos, int value) {// ... }

// Return whether the list is empty or not

bool empty() {// ... }

};

In: Computer Science

We are working with a circular linked list that is referenced by a tail reference, i.e.,...

We are working with a circular linked list that is referenced by a tail reference, i.e., a reference to the last node of the linked list.  There is no head or size information about the linked list.

Node is declared as:

Node {

      int value;

      Node next;

}

There are four parts in this problem. Don't forget to deal with special cases for each part.

  1. Write instructions to insert a node newNode at the beginning of the circular linked list.
  2. Write instructions to insert a node newNode at the end of the circular linked list.
  3. Write instructions to delete the first node of the circular linked list.
  4. Write instructions to delete the last node of the circular linked list.

In: Computer Science