Find the area under the normal curve for each z-score. Shade accordingly.
1. P( < 2.20)
2. P( -2.5 < z < 2.01)
A continuous random variable is normally distributed with a mean of 45 and standard deviation 0f 6. Illustrate the following notations in a normal curve.
P( 30 < X < 50 )
P( 33 ≤ X ≤ 39)
P( X < 57 )
A random variable X has a normal distribution with mean 45 and variance of 9.
Find the range of scores that lie:
a. within one standard deviation from the mean
b. within two standard deviations from the mean
scores on acommon final examination in alarge enrollment, multiple selection freshman course are normally distributed with a mean of 72. 7 and standard deviation of 13.1 a. Find the probability that the score X on a randomkly selected examination paper is between 70 and 80
Discuss security measures to put into place in order to mitigate various cloud security threats.
Write a program that declares and initializes an array of 7 integers. The program uses these static methods to perform different operations on the array:
void printArray(int[] arr) – takes the array as parameter and prints the array in horizontal order
int sumOfArray(int[] arr) – takes the array as parameter and returns the sum of the array
int getHighest(int[] arr) – takes the array as parameter and returns the highest value in the array
int resetArray(int[] arr) – takes the array as parameter and resets the value of each element to 0
Sample output:
Here’s the array:
3 1 3 2 1 9 1
Sum: 20
Highest: 9
Here’s the array:
0 0 0 0 0 0 0
Create a static method
public static int pow(int base, int exp)
that returns the power value of base raised to its exponent. Use this method in a program that first asks for a base value and an exponent value, calls pow() and then prints the result.
Sample output:
Enter the base: 2
Enter the exponent: 3
The power value is 8
Write a program that uses a static method called printMessage that takes a string and an integer as parameters. The string and integer parameters represent a person’s name and age. When printMessage is called with arguments “Joan” and 18, the method prints “Joan, you are 18 years old”.
Sample output:
Enter your name: Joan
Enter your age: 18
Joan, you are 18 years old
A cardinal flies east for 2.9 s in a horizontal plane
for a distance of 22 m from a fence post to a bush.
It then flies north another 11 m to a bird feeder
for 1.5 s.
(a) Calculate the total distance travelled.
(b) Calculate the cardinal’s average speed.
(c) Calculate the cardinal’s average velocity.
Random Activity
The goal of this coding exam is to quickly get you off the ground with the DOM Manipulations.
Refer to the below image.
Achieve the given functionality using JS.
Make a HTTP request(GET method) using fetch with the URL https://apis.ccbp.in/random-activity to get a random activity.
Add loading status with Bootstrap component spinner while making an HTTP request.