Q1. A random variable is defined as “ thenumber of heads when
a coin tossed”,
(a)twice
(b)three times
(c)four times
(d)five times
Find the PDF of each of them and their respective mean and variance.
Q(2)A random variable is defined as Construct the probability distribution function
of X and find the standard deviation of X.
Q(3)It is known that only 60% of a defected computer can be
repaired. A sample of 15 Pc is selected randomly,
find the probability that;
(i) None can be repaired
(ii) 5 or less can be repaired
(iii) At least 3 computers can be repaired.
Give recurrence for quick sort algorithm runtime when it sorts n-randomly sorted
integers. Derive the closed form solution using sum-method.
Company ABC is dealing with big data and they want to compress data because one of the most crucial steps for the Company is towards efficient data protection, lossless and speedy transfer over the network at less cost So your main job being an ML Engineer is to choose a compression technique from available two options (Fixed Length vs Variable-Length) given to you by the Company. Keep in mind all the important parameters while deciding about a compression.
Compute the value of AFD416-BECE16+67758 using signed magnitude representation
Question 2
Using C or C++ or a program of your choice, write a program that list the storage size of a float, list the minimum and maximum float values, and the precision of the float.
Question 3
Describe the steps of how you will compile the program written in Question 2 above in a typical compiler such as gcc or a compiler of your choice. Show the output of how you have compile the program written in Question 2 above and attach all files generated where applicable.
Question 2
Using C or C++ or a program of your choice, write a program that list the storage size of a float, list the minimum and maximum float values, and the precision of the float.
Question 3
Describe the steps of how you will compile the program written in Question 2 above in a typical compiler such as gcc or a compiler of your choice. Show the output of how you have compile the program written in Question 2 above and attach all files generated where applicable.
Describe the parts/components of a language processing system and describe the role each component plays in the compilation process
What is the output of each part of the language processing system
Consider a vector V(24, 71). What will be the length of the orthogonal projection of
this vector along the direction of a unit vector u(0.6, 0.8)?