Reference no: EM131271942
This is going to be a create your own assignment to get more practice with arrays. Listed below are twenty seven functions you can write that deal with arrays. Listed next to each function is a number of points each is worth in parenthesis. You must choose enough functions to add up to 15 points! You can choose to do more, but you will only get up to 15 points for this assignment.
For each of the following:
-You must create a function that carries out the desired action. Please keep in mind that printing should not be done in your functions!
-You should provide enough code in main to test each of your functions. You may use prepopulated arrays in main to pass into each of your functions, and you can print them out in main (or write an array printing function!)
Anyone who successfully completes and demonstrates ALL 27 functions will receive 15 extra credit points on this assignment (30/15).
(1) Find the minimum element in an array.
(1) Find the maximum element in an array.
(4) Display all the elements of an array that are prime.
(2) Join two arrays together to one larger array.
(3) Count the number of elements in an array that are larger than a given number.
(3) Count the number of elements in an array that are smaller than a given number.
(1) Add two arrays, store result in a third array.
Plot the ase and optimal reuse distance
: Plot the ASE versus reuse distance D (0 ≤ D ≤ 10) of a TDMA uplink with hexagonal cells of radius R = 1, assuming that all users in the cell are assigned the same fraction of time and the same transmit power and that all users are located on a cel..
|
Design a database using professional principles and standard
: Design a database using professional principles and standards. Provide a logical design of the database. As a part of the design, normalize the database to the 3NF.
|
Compute the average number of nodes
: Compute the average number of nodes E[N ] as a function of radius R, 1 ≤ R ≤ 20, required for the network to be fully connected. The average E[N ] should be computed based on 100 samples of the random node placement within the region.
|
Find the probability of a rating
: A bank's loan officer rates applicants for credit. The ratings are normally distributed with a mean of 200 and a standard deviation of 50. If an applicant is randomly selected, find the probability of a rating that is between 225 and 275
|
Display all the elements of an array that are prime
: Display all the elements of an array that are prime. Join two arrays together to one larger array. Count the number of elements in an array that are larger than a given number.
|
Create a work breakdown structure code for each given task
: Create a Work Breakdown Structure Code for each task. Determine an overall project duration and duration estimates for each of the tasks. The duration is not to exceed 90 days.
|
Explain the shape of the curve relative to p
: Assume in each cell that the noise PSD N0/2 at each base station receiver has N0 = 10-9 W/Hz and that all mobiles have the same transmit power P.
|
Write sentences in standard american english
: Develop paragraphs that explain how the examples from the play/adaptation support the topic sentence of the paragraph - Organize a comparison and contrast paper by presenting paragraphs in a logical and interesting fashion using one of two methods ..
|
Compute the sir for a tdma cellular system
: Assume that the path-loss exponent within the cell is γI = 2 but that the intercell interference has path-loss exponent γ0 = 4. Compare with the SIR for γ = γI = γO = 4 and for γ = γI = γO = 2. Explain the relative orderings of SIR in each case.
|