wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

ML Quiz

Total questions: 136

Worksheet time: 1hrs 19mins

Name
Class
Date
1.

A scientist has six objects, three of type X and three of type Y, and wants to determine the weight of each type. The scientist decided to perform two weighings:

  1. She weighs three X objects and one Y object and gets a total weight of 1100 grams.

  2. She weighs one X object and three Y objects and gets a total weight of 1050 grams.

Which of the following linear systems describes the experiment above?

a)

3x = 1100

3y = 1050

b)

3x+3y = 1100

3x+3y = 1050

c)

3x+y = 1050

x + 3y = 1100

d)

3x+y = 1100

x + 3y = 1050

2.

Which of the following matrices can be used to determine the singularity of the system of equations below?

2x+3y=15

2x+4y=16

a)

2 2

3 4

b)

2 15

2 16

c)

3 15

4 16

d)

2 3

2 4

3.

Consider the next three plots below.

Now, consider the next three system of equations below.

System 1 :

3x−2y=1 x+y=3

​ System 2 :

3x+3y=2 x+9y=6

System 3

x+3y=4 x+3y=3

Each plot represents one of the systems described. Choose the correct option.

a)
  • Plot 1 represents System 3

  • Plot 2 represents System 1

  • Plot 3 represents System 2

b)
  • Plot 1 represents System 1

  • Plot 2 represents System 3

  • Plot 3 represents System 2

c)
  • Plot 1 represents System 2

  • Plot 2 represents System 1

  • Plot 3 represents System 3

d)
  • Plot 1 represents System 1

  • Plot 2 represents System 2

  • Plot 3 represents System 3

e)
  • Plot 1 represents System 3

  • Plot 2 represents System 2

  • Plot 3 represents System 1

4.


Question 1

Calculate the determinant of the following matrix. Is the matrix singular or non-singular?

A=[2 3

2 4]

Hint: To find the determinant apply the formula ad−bc. A matrix of determinant 0 is singular, while a determinant different than 0 represents a complete system, thus a non-singular matrix.

a)
  • det (A) = 2. The matrix is non-singular.

b)
  • det (A) = 0. The matrix is singular.

c)
  • det (A) = 2. The matrix is singular.

d)
  • det (A) = — 2. The matrix is singular.

5.

Determine if this matrix has linearly dependent or independent rows.

[1 2

2 3]

a)

Linearly independent

b)

Linearly dependent

c)

It can't be determined

6.

A company produces three items: aprons, bags and coasters. The company wants to know how long it takes to produce each item.

  • On the first day, the company spent 5 hours to make 5 aprons, 10 bags, and 10 coasters.

  • On the second day, the company spent 7 hours to make 10 aprons, 5 bags, and 15 coasters.

  • On the third day, the company spent 6 hours to make 4 aprons, 6 bags, and 5 coasters.

Which of the following systems of equations represents the correct information in the above system of sentences?

a)

5a+10b+10c=5

10a+5b+15c=7

4a+6b+5c=6

b)

5a+10b+10c=5

10a+5b+15c=7​

c)

​10b+5b+6b=5

5a+10a+4a=7

10c+15c+5c=6​

d)

5a+10b+10c=0

10a+5b+15c=0

4a+6b+5c=0​

7.

Consider the following system of equations:

3x+2y+z = 10

x+y+2z = 5

5x−6y+3z = 2

Which of the following matrices can be used to study the singularity of the system of equations above?

a)

3 2 1

1 1 2

5 -6 3

b)

3 2

1 1

5 -6

c)

3 2 1 10

1 1 2 5

5 -6 3 2

d)

​2 1 2

​1 2 1

​0 0 0​​

8.

Calculate the determinant of the following matrix:

1 2 1

2 1 1

−1 2 1

a)

−2. Singular.

b)
  1. 2. SIngular

c)

-2. Non-singular

d)

0.Singular

9.

Determine if the following matrix has linearly dependent or independent rows.

1 2 3

3 2 1

2 2 1

a)

Linearly independent.

b)

Linearly dependent.

c)

It cannot be determined.

10.

Consider the following matrix.

2 1 5

1 2 1

x y z

For which values x, y and z does the matrix have linearly dependent rows?

a)

x=1

y=3

z=3

b)

x=3

y=3

z=6

c)

x=1

y=2

z=3

11.

Calculate the determinant of the following matrix.

A= 1 2 3

0 2 2

1 4 5


a)

det(A)=0 .The matrix is singular.

b)

det(A)=0. The matrix is non-singular.

c)

det(A)=5 The matrix is non-singular.

12.

Select which of the following are true for non-singular matrices.

In a non-singular matrix, one row can be a multiple of another one.

In a non-singular matrix, rows are linearly independent.

Correct

Non-singular matrices have linearly independent rows.

In a non-singular matrix, rows are linearly dependent.

In a non-singular matrix there is only a unique solution for the represented system of equations.


a)

In a non-singular matrix, one row can be a multiple of another one.

b)

In a non-singular matrix, rows are linearly independent.

c)

In a non-singular matrix, rows are linearly dependent.

d)

In a non-singular matrix there is only a unique solution for the represented system of equations.

13.

Solve the following system of equations using the method of elimination and select the correct answer:

х+у=4

-6х+2у=16

a)

х=1, у=3

b)

the system has no solution

c)

x=-1, y=5

d)

the system has infinitely many solutions

e)

x=0, y=0

14.

Choose the sequence of lines that represents a linear system such that the systems have, in this order:

  1. Zero solution

  2. Just one solution

  3. Infinitely many solutions

a)

b)

c)

15.

Calculate the determinant of the following matrix and determine if it is singular or non-singular:

-3 8 1

2 2 -1

-5 6 2

a)
  1. 36. Non-singular

b)

-80. Non-singular

c)

-20. Non-singular

d)
  1. 0. Non-singular

e)
  1. 0. Singular

16.


Calculate the determinant of the following matrix and determine if it is singular or non-singular:

A= 4 -3

7 -8

a)

det(A)=-11. The matrix is non-singular.

b)

det(A)=-11. The matrix is singular.

c)

det(A)=-53. The matrix is non-singular.

d)

det(A)=-53. The matrix is singular.

17.

Determine if the provided matrix has linearly dependent or independent rows (a,b,c,d,e,f are real numbers):

a b c

d e f

2a-d 2b-e 2c-f

Hint: Can one row in the matrix be obtained as a result of operations on the other rows?

a)

Independent

b)

Dependent

c)

It cannot be determined

18.

Select the correct sequence of graphs that represents a linear system with, respectively:

  1. Zero solutions

  2. Just one solution

  3. Infinitely many solutions

a)

b)

c)

d)

19.

Find its rank

(a)  

20.

Let T be a linear transformation in the plane represented by the following matrix:

[1 0

2 3]

The rank of T is:

a)

0

b)

2

c)

3

d)

1

21.

Consider the linear transformation T that maps the vectors (1,0) and (0,1) in the following manner:

T(0,1)=(2,5)

T(1,0)=(3,1)

The area of the parallelogram spanned by transforming the vectors (0,1) and (1,0) is:

(a)  

22.

Consider the following three matrices

M1= [2 1

3 1]

M2= [3 5

1 1]

M3= [2 3

4 5]

The determinant of M1⋅M2⋅M3M1​⋅M2​⋅M3​ is equal to:


(a)  

23.

Which of the following operations, when applied to the rows of the matrix, do not change the singularity (or non-singularity) of the matrix:

a)

Adding a nonzero fixed value to every entry pf the row.

b)

Multiplying a row by nonzero scalar.

c)

Switching rows.

d)

Adding one row to another one.

24.

Let M and N be two square matrices with the same size.

Check all statements that are true.

a)

If M and N are non-singular matrices, then so is M⋅N

b)

If M is singular, then M⋅N is singular for any matrix N.

c)

If M⋅N is singular, then M and N are singular.

d)

det(M+N)=det(M)+det(N)

25.

Let M be the following 3×3 matrix:

[0 0 1

2 2 1

1 0 0]

Compute det(M^-1).

Please provide your solution in decimal notation not in fraction, using one decimal place.

(a)  

26.

In the following matrix:

x x

y z

x, y, and z are non-zero real numbers. If the matrix is non-singular, which of the following must be true:

a)

x=y only if z!=x.

b)

z=y.

c)

z=x only if x=y.

27.

Let M be a square matrix.

Check all that are true.

a)

If M is non-singular, then so is M^(-1).

b)

If det(M)=5, then det(M^n)=5^n

c)

The determinant is the area of a parallelogram spanned by M and the vectors

[1 0]and [0 1]. Therefore, it is always positive.

d)

If M has size n, then it has n distinct eigenvalues.

28.

What is the span of the following vectors?

[2 1 1], 

[1 0 2], 

[1 0 1]

a)

The entire 3 dimensional space

b)

A plane in a 3 dimensional space

29.

Which of the following options is true for a vector?

a)

A vector has only a magnitude.

b)

A vector has only direction.

c)

A vector has a magnitude and direction.

d)

A vector has shape and weight.

30.

The value for det(M*N) is:

(a)  

31.

Consider the following matrix:

M=[3 2

5 8]

The covariance matrix related to this matrix is:

a)

[2 6​

6 18​]

b)


[0.5 -1.5

−1.5 4.5]

c)

[36 46​

46 68​]

d)


[10 −10

−10 10]

32.

Select the characteristic polynomial for the given matrix.

M=[2 1

3 6]

a)

λ2−8λ+15

b)

λ2+8λ+15

c)

λ2−8λ−1

d)

λ3−8λ+15

33.

Compute the sum of the vectors u\overrightarrow{u} and v\overrightarrow{v} Hint: The sum vector is the diagonal in a parallelogram formed by the two vectors, u\overrightarrow{u} =(1,3) and v\overrightarrow{v} =(6,2).

a)

u \overrightarrow{u\ } + v\overrightarrow{v} =3

b)

u\overrightarrow{u} + v\overrightarrow{v} =20

c)

u\overrightarrow{u} + v\overrightarrow{v} =(7, 5)

d)

u\overrightarrow{u} + v\overrightarrow{v} =(6, 3)

34.

Suppose you have the following dataset

Size (m2)No. BedroomsNo. BathroomsHouse 17022House 211042House 1House 2​Size (m2)70110​No. Bedrooms24​No. Bathrooms22​​

Which matrix is the X−μX−μ matrix, used in the covariance matrix computation? The matrix X−μX−μ is defined in the lecture Covariance Matrix. Remember that the covariance matrix is defined by Σ=1n−1(X−μ)T(X−μ)Σ=n−11​(X−μ)T(X−μ).

a)

X−μ=[ -20 -1 0

20 1 0]

b)

X−μ= [70 2 2

110​ 4​ 2]

c)

X−μ= [70 110

2 4

2 2]

d)

X−μ= [ -20 20

-1 1

0 0]

35.

Consider the following matrix

M=[3 0

−2 1]

Check all the options that represent the eigenvectors of this matrix.


a)

[k

−k]

for any k real.

b)

[0

k​]

for any kk real.

c)

[1

3]

d)

[k

k]

for any k real

36.

Compute the difference of the vectors u\overrightarrow{u} and v\overrightarrow{v}

a)

u \overrightarrow{u\ } - v\overrightarrow{v} =(-1, 5)

b)

u\overrightarrow{u} - v\overrightarrow{v} =3

c)

u\overrightarrow{u} - v\overrightarrow{v} =(-5, 1)

d)

u\overrightarrow{u} - v\overrightarrow{v} =(5, 1)

37.

Calculate the dot product of the given vectors ab\overrightarrow{a}\cdot\overrightarrow{b} and select the correct answer.

a \overrightarrow{a\ } =[-1 b\overrightarrow{b} =[-3

5 6

2 ] -4]

a)

1

0

1

b)

30

c)

-3

30

-8

d)

25

38.

Which matrix is the X−μ matrix, used in the covariance matrix computation?

a)

X−μ=[−20 −20​ −1

−1 ​−0 −0​]

b)

X−μ= [70 2 2

110​ 4​ 2]

c)

X−μ= [70 110

2 4

2 2]

d)

X−μ= [ -20 20

-1 1

0 0]

39.

For the dataset from question 9, what are the eigenvalues of the covariance matrix?

a)

λ1=802, λ2=0, λ3=0

b)

λ1=0, λ2=0

c)

λ1=17027, λ2=0, λ3=0

40.

Select all the options that are a basis for the 3D

a)
b)

c)
d)

e)
41.

Which of the following options is true for a vector?

a)

A vector has a magnitude and direction

b)

A vector has a shape and weight

c)

A vector has only a magnitude

d)

A vector has only direction

42.

Which of the following is the correct representative system equation for the given dot product?

a)


​3x+5y+z=2

7x–2y+4z=1

−6x+3y+2z=20​

b)

3x+5y+z=10

7x–2y+4z=2

−6x+3y+2z=15​

c)

3x−2y+4z=10

7x–2y+4z=2

−6x+3y+2z=15​

43.


Which of the following is true, if aa\overrightarrow{a}\cdot\overrightarrow{a} =0 and ab\overrightarrow{a}\cdot\overrightarrow{b} =0?

a)

aa\overrightarrow{a}\cdot\overrightarrow{a} =1

b)

a\overrightarrow{a} =0, b\overrightarrow{b} =any veactor

c)

a\overrightarrow{a} \ne 0, b\overrightarrow{b} =0

d)

a\overrightarrow{a} =0, b\overrightarrow{b} =0

44.

Let y1=ax+by1​=ax+b and y2=cx+dy2​=cx+d, where a,b,c,d∈Ra,b,c,d∈R. Check all the sentences that are true.

a)

The slope of y1 is a

b)

The slope of y1 is - ba\frac{b}{a}

c)

if a >> c then slope of y1 is greater than slope of y2

d)

The slope of y1 does not depend on b

45.

Which of the following sentences are true (check all that apply)?

a)

If the slope of a function is constant, then the function is constant.

b)

If the slope of a function is always positive, then the function is always positive.

c)

Let f, g be real functions. If f′(x)>g'(x) then f(x)>g(x).

d)

Let f be a real function. If f′(x)>0 for every x in R, then f is increasing.

46.

What can be said about their slopes at their intersection?

a)

Slope(Line 1) > Slope(Line 2).

b)

Slope(Line 1) < Slope(Line 2).

c)

Slope(Line 1) = Slope(Line 2).

d)

It is impossible to infer anything with the given information.

47.

Given the following graph, what is the slope of the line? You can pick any two points to calculate the slope.

(a)  

48.

What can be said about the curve’s slopes at the red point, which we will call P1, P2, P3 and P4, corresponding to the red points in the graphs 1, 2, 3 and 4, respectively?

a)

Slope(P1) > 0, Slope(P2) < 0, Slope(P3) does not exist, Slope(P4) = 0.

b)

Slope(P1) < 0, Slope(P2) = 0, Slope(P3) > 0, Slope(P4) does not exist.

c)

Slope(P1) < 0, Slope(P2) = 0, Slope(P3) does not exist, Slope(P4) does not exist.

d)

Slope(P1) < 0, Slope(P2) = 0, Slope(P3) does not exist, Slope(P4) > 0.

49.

Which of the following represents the derivative of a function f(x)f(x) (check all that apply)?

a)

F(x)

b)

f'(x)

c)

f'( x2x^2 )

d)

df(x)dx\frac{\text{d}f\left(x\right)}{\text{d}x}

e)

f(x)f(x)\frac{f\left(x\right)}{\partial f\left(x\right)}

50.

Regarding its derivative, f′(x), where x∈[0,5]: (check all that apply)

a)

f′(x) is always positive.

b)

f′(x) has three zeros, i.e, f′(x)=0 three times.

c)

f′(x) has two zeros, i.e.,

f′(x)=0 twice.

d)

f′(1)<0

e)

f′(4)>0.

51.

What is the derivative of 3x32x+13x^3-2x+1 ?

a)

3x223x^2-2

b)

9x22+19x^2-2+1

c)

9x229x^2-2

d)

9x319x^3-1

52.

Suppose you have a game where you toss a coin 2020 times and win if you get, in this exact order, 16 heads and 4 tails. However, in this game, you can choose any coin and toss it 20 times.

Which of the following functions you need to maximize in order to find the best coin for this game? Consider p being the probability of a given coin being heads.

a)

16log⁡(p)+4log⁡(p)

b)

16log⁡(p)+4log⁡(1−p)

c)

4log⁡(p)+16log⁡(1−p)

d)

4log⁡(1–p)+16log⁡(1–p)

53.

Let f(x)f(x) be a real valued function. How many zeros has its derivative f′(x)f′(x) in the domain plotted in the graph below?

(a)  

54.

If f(x) and g(x) are differentiable functions, then the derivative of f(x)g(x) is given by:

a)

f′(x)⋅g(x)+g′(x)⋅f(x)

b)

f′(x)⋅g′(x)+f(x)⋅g(x)

c)

f′(x)⋅g(x)–f(x)⋅g′(x)

d)

f′(x)⋅g′(x)

55.

The rate of change of f(x)=x2+3 at x=6 is:

(a)  

56.

Using the chain rule, the derivative of exe^{-x} is:

a)

exe^{-x}

b)

ex-e^x

c)

ex-e^{-x}

d)

exe^x

57.

Let f(x) be a positive real function and g(x)=log f(x)

a)

f(x)x=g(x)x\frac{\partial f\left(x\right)}{\partial x}=\frac{\partial g\left(x\right)}{\partial x}

b)

If xmaxx_{\max} is a point where f( xmaxx_{\max} ) is a local maximum, then g(xmax) is also a local maximum.

c)

If xmax is a point where f( xmaxx_{\max} ) is a local maximum, then g( xmaxx_{\max} ) is also a local minimum.

d)

If f(x) is differentiable, then so is g(x).

58.

Given that f(x ,y)= x2y+3x2x^2y+3x^2 , find its derivative with respect to x

(a)  

59.


Question 2

Given that f(x ,y)=x*y2+2x+3y its gradient, i.e., ∇f(x,y) is:

a)

[2x*y+3

y2y^2 +2​]

b)

[2x*y

2*x+3]

c)

[ y2+2y^2+2

2x*y+3]

d)

[2

0]

60.

Let f(x ,y)= x2+2y2+8yx^2+2y^2+8y .The minimum value of f is:

(a)  

61.

The gradient of f(x, y ,z)= x2+2xyz+z2x^2+2x\cdot y\cdot z+z^2

a)

[2x + 2*y*z

2*x*z

2*x*y+2z]

b)
c)
d)
62.

About the Gradient Descent method, choose all that are true:

a)

It always converges to a local minimum.

b)

The result may vary depending on the initial point.

c)

If it converges, then it converges to a global minimum.

d)

It only works for differentiable functions.

63.

Given the Initial Point on the following graph, to which point will the Gradient Descent method converge?

a)

P1

b)

P2

c)

P3

d)

It won't converge

64.

Let f(x ,y)=2x^2+3y^2−2*x*y−10x, the minimum value of f(x ,y) is

a)

-15

b)

3

c)

1

65.

What are the parameters that the Gradient Descent algorithm has? (check all that apply)

a)

Initial point

b)

Final point

c)

Learning rate

d)

Number of iterations

66.

Let f(x ,y)=x^2+y^2−6x and ∇f(x ,y)=[2x−6 2y​] and let the initial point x0=(0,1). Performing the gradient descent algorithm with learning rate = 0.1, the first iteration will lead us the point x1x1​ which is:

a)

x1=(0.6,0.8)

b)

x1=(−6,2)

c)

x1=(6,−1)

d)

x1=(0,1)

67.

Using Newton’s method, find an approximation recursive formula for 2\sqrt[]{2}

a)

1

b)

2

c)

2

d)

3

68.

Regarding the previous question, suppose you don’t know any approximation for 2\sqrt[]{2} and only that it is a positive real number such that x^2=2. Which value from the list below will result in the fastest convergence?

a)

4

b)

3

c)

2

d)

The initial value does not impact n the Newton's method convergence

69.

Let’s continue investigating the method we are developing to compute the 2\sqrt[]{2} . Remember that we used the fact that 2\sqrt[]{2} is one of the roots of x22x^2-2 . What would happen if we have chosen a negative value as initial point?


a)

The algorithm would not converge.

b)

The algorithm would converge to 2\sqrt[]{2} .

c)

The algorithm would converge to the negative root of x22x^2-2

d)

The algorithm would converge to 0.

70.

Did you know that it is possible to calculate the reciprocal of any numberwithout performing division? (The reciprocal of a non-zero real number a is 1a\frac{1}{a}).

Setting a non-zero real number aa, use the function f(x)=a  1x=ax1f\left(x\right)=a\ -\ \frac{1}{x}=a-x^{-1} to find such formula.

This method was in fact used in older IBM computers to implement division in hardware!

So, the iteration formula to find the reciprocal of a, in this case, is:

a)

xk+1=2xkaxk2x_{k+1}=2x_k-ax_k^2

b)

xk+1=2xk+axk2x_{k+1}=2x_k+ax_k^2

c)

xk+1=2xkxk2x_{k+1}=2x_k-x_k^2

d)

xk+1=xkaxk2x_{k+1}=x_k-ax_k^2

71.

Suppose we want to find the minimum value (suppose we already know that the minimum exists and is unique) of x*log⁡(x) where x∈(0,+∞). Using Newton’s method, what recursion formula we must use?

a)

xk+1=xkxklog(xk)log(xk)+1x_{k+1}=x_k-\frac{x_{k\log\left(x_k\right)}}{\log\left(x_k\right)+1}

b)

xk+1=xkxk2log(xk)x_{k+1}=x_k-x_k^2\log\left(x_k\right)

c)

xk+1=xklog(xk)x_{k+1}=x_k-\log\left(x_k\right)

d)

xk+1=xkxk(log(xk)+1)x_{k+1}=x_k-x_k\left(\log\left(x_k\right)+1\right)

72.

Regarding the Second Derivative Test to decide whether a point with f’(x)=0f’(x)=0 is a local minimum or local maximum, check all that apply.

a)

If f’’(x)<0 then x is a local minimum.

b)

If f’’(x)>0 then x is a local minimum.

c)

If f’’(x)=0 then x is an inflection point.

d)

If f’’(x)=0 then the test is inconclusive.

73.

How many parameters has a Neural Network with:

  • Input layer of size 3

  • One hidden layer with 3 neurons

  • One hidden layer with 2 neurons

  • Output layer with size 1

An image is provided below:

a)

11

b)

8

c)

23

d)

3

74.

Let f(x ,y)=x^2+y^3, then the Hessian matrix,H(x ,y) is:

a)

H(x ,y)=[2x 3y^2

3y^2 2x]

b)

H(x ,y)=[2 0

0 6y]

c)

H(x ,y)=[0 2

6y 0]

d)

H(x ,y)=[0 0

0 0]

75.

Given the following Single Layer Perceptron with Sigmoid function as activation function, and log-loss as Loss Function (L), the value for Lω1\frac{\partial L}{\partial\omega_1} is:

a)

-(y-y^)

b)

-(y-y^) x1x_1

c)

-(y-y^) x2x_2

d)

1

76.

Suppose you have a function f(x ,y) with ∇f(x0,y0)=(0,0) and such that

H(x0,y0)=[2 0

0 10]

Then the point (x0,y0) is a:

a)

Local maximum.

b)

Local minimum.

c)

Saddle point.

d)

We can’t infer anything with the given information.

77.

You flip a fair coin two times. What is the probability of getting one head and one tail in any order?

a)

12\frac{1}{2}

b)

34\frac{3}{4}

c)

14\frac{1}{4}

78.

You throw two dice and sum the result, what is the probability the sum is equal to 10?

a)

136\frac{1}{36}

b)

118\frac{1}{18}

c)

112\frac{1}{12}

d)

16 \frac{1}{6\ }

79.

You throw a six-sided dice 10 times, summing the result in each throw. What is the probability that the sum of results is greater than 10?

Hint: Use the complement rule

a)

16\frac{1}{6}

b)

(6101)610\frac{\left(6^{10}-1\right)}{6^{10}}

c)

56\frac{5}{6}

d)

1610\frac{1}{6^{10}}

80.

In an experiment, there are 100 patients. After taking medicine, 50 people experienced a headache and 50 people experienced a fever. The doctors want to find the probability that a patient may experience a headache or fever.

Which of the following statements is true?

a)

Not enough information is to given to calculate

P(fever or headache)

b)

P(fever or headache)=

P(fever)+P(headache)=1

c)

P(fever or headache)= P(fever)*P(headache)=

0.25

81.

A software company conducted a test on their new platform by exposing their users to two versions of the same product.

Number of users that were given version A: 4000

Number of user that were given version B: 5000

Number of users that experienced a bug: 3000

Number of users with version B that experienced a bug: 1500

What is the probability that a user tested Version B, given they experienced a bug during testing?

a)

50%

b)

20%.

c)

40%

d)

10%

82.

In a bag of marbles, there are two disjoint events: AA represents selecting a red marble, and B represents selecting a blue marble. The probability of selecting a red marble is P(A)=​ 14\frac{1}{4} , and the probability of selecting a blue marble is P(B)= 13\frac{1}{3}

What is the probability of selecting either a red or a blue marble, P(AB)P\left(A\cup B\right) , from the bag?

a)

P(AB)P\left(A\cup B\right) = 512\frac{5}{12}

b)

P(AB)P\left(A\cup B\right) = 23\frac{2}{3}

c)

P (AB)\left(A\cup B\right) = 712\frac{7}{12}

d)

P( ABA\cup B )= 112\frac{1}{12}

83.

You throw 10 fair coins, what is the probability that coins do not result in all heads?

a)

1021102\frac{10^2-1}{10^2}

b)

1102\frac{1}{10^2}

c)

1210\frac{1}{2^{10}}

d)

2101210\frac{2^{10}-1}{2^{10}}

84.

In a room, there are 200 people: 30 people only like soccer, 100 people only like basketball, and 70 people like both soccer and basketball.

What is the probability that a randomly selected person likes basketball given they like soccer?

Hint: Find P(B|S), where B is the event of liking basketball and S is the event of liking soccer.

a)

37\frac{3}{7}

b)

720\frac{7}{20}

c)

12\frac{1}{2}

d)

710\frac{7}{10}

85.

Imagine there is a disease that impacts 1% of the population. Researchers devised a test so that people with the disease test positive 95% of the time. People who do not have the disease test negative 90% of the time. If an individual receives a positive test result for the disease, what is the probability that they truly have the disease or P(sicktestpos)P\left(sick\left|test_{pos}\right|\right) ?

Hint: In the description above, you were given P(sick), probability for true positive (or P(testpossick)P\left(test_{pos}\left|sick\right|\right) , and probability for true negative (or P(testnegot sick)P\left(test_{neg}\left|ot\ sick\right|\right) . Use this information to find P(not sick)and P(testposnot sick)P\left(test_{pos}\left|not\ sick\right|\right) .

Remember that Bayes’ theorem P(AB)=P(BA)P(A)P(B)P\left(A\left|B\right|\right)=\frac{P\left(B\left|A\right|\right)\cdot P\left(A\right)}{P\left(B\right)} . Also, remember that you may write P(B)=P(BE)P(E)+P(Bnot E)P(not E)P\left(B\right)=P\left(B\left|E\right|\right)\cdot P\left(E\right)+P\left(B\left|not\ E\right|\right)\cdot P\left(not\ E\right) , where E is any event and not E=E’.

a)

15.58%

b)

8.76%

c)

42.76%

d)

90%

86.

Which of the following are examples of continuous random variables? Select all that apply.

a)

Weight of a package.

b)

Temperature in degrees Celsius.

c)

Time taken to run a 100-meter race.

d)

Number of cars passing through a toll booth in an hour.

e)

Height of students in a class.

87.

You roll a six-sided die 20 times and want to find the probability that the number 4 appears exactly 7 times. Which of the following equations correctly represents the probability distribution for this scenario?

a)

P(X=7)=(207)(16)7(56)13P\left(X=7\right)=\left(\frac{20}{7}\right)\left(\frac{1}{6}\right)^7\cdot\left(\frac{5}{6}\right)^{13}

b)
c)
d)
88.

Imagine you are tasked with modeling the heights of individuals in a diverse country. Which probability distribution would be most suitable for capturing

a)

Normal Distribution

b)

Uniform Distribution

c)

Binomial Distribution

89.

A taxi cab service analyzes the number of passengers in its daily rides. The table and graph below show the number of passengers, X, in a single taxi cab and the observed probabilities at a randomly selected time.

What is the probability that a randomly selected taxi ride will have less than or equal to 3 passengers?

a)

P(X≤3)=0

b)

P(X≤3)=0.25

c)

P(X≤3)=0.40

d)

P(X≤3)=0.60

e)

P(X≤3)=0.75

90.

Select the correct Cumulative Distribution Function based on the observed probabilities

a)
b)
c)
d)
91.

Consider the graph below, depicting four normal, or Gaussian, distributions labelled normal_A in blue, normal_B in orange, normal_C in green, and normal_D in red.

a)

σnormalD>σnormalA\sigma_{normal_D}>\sigma_{normal_A}

b)

μnormalD>μnormalC\mu_{normal_D}>\mu_{normal_C}

c)

μnormalA>μnormalB\mu_{normal_A}>\mu_{normal_B}

d)

σnormalA>σnormalB\sigma_{normal_A}>\sigma_{normal_B}

e)

σnormalC>σnormalB\sigma_{normal_C}>\sigma_{normal_B}

92.

Consider the four sets of samples above. Which one has the smallest variance?

a)

1

b)

2

c)

3

d)

4

93.

Consider two games, Game A and Game B, each with different probability distributions of winnings and losses. Game A has a probability of 13\frac{1}{3} to win $2 and a probability of 23\frac{2}{3} to lose $1. Game B has a probability of 12\frac{1}{2} ​ to win $0.50, a probability of 14\frac{1}{4} to lose $0.50, a probability of 18\frac{1}{8} to win $5, and a probability of 18\frac{1}{8} ​ to lose $2.

a)

Game A's kurtosis is smaller than Game B's kurtosis.

b)

Both Game A and Game B have the same kurtosis.

c)

Game B's kurtosis is smaller than Game A's kurtosis.

94.

Consider the following independent random variables:

X∼Normal(3, 121^2 )

Y∼Normal(2, 222^2 )

Then Z=X+Y∼Normal(μ,σ²), where μ,σ are equal to:

a)

μ= 5\sqrt[]{5} ,σ= 3\sqrt[]{3}

b)

μ=5, σ= 5\sqrt[]{5}

c)

μ=5, σ= 3\sqrt[]{3}

d)

μ=5,σ=5

95.

Which of the following statements is true?

a)

Class A's interquartile range (IQR) is larger than Class B's interquartile range.

b)

Class A's median score is higher than Class B's median score.

c)

Class B's interquartile range (IQR) is larger than Class A's interquartile range.

d)

Class B's median score is higher than Class A's median score.

96.

Which of the following statements is true?

a)

The data has a higher variance than a normal distribution.

b)

The data has a lower variance than a normal distribution.

c)

The data looks normally distributed.

d)

The data is not normally distributed.

97.

What is the expected mean E[X] for this probability distribution?

a)

μ=3.3

b)

μ=3.0

c)

μ=3.5

d)

μ=6

98.

What is the advantage of looking at the standard deviation instead of the variance?

a)

The standard deviation is less affected by outliers than the variance.

b)

The standard deviation has the same unit as the sample.

c)

The standard deviation may be negative.

d)

There are no advantages. They mean the same thing.

99.

The box plot below shows the distribution of salaries for employees in three different company departments.

Based on the box plots above, which of the following statements are true? Select all that apply.

a)

The median salary of department 2 is higher than the median salary of department 1.

b)

The IQR of department 3 is smaller than department 1.

c)

There are no outliers in department 2.

d)

The range of salaries in department 3 is larger than the range of salaries in department 2.

100.

Which of the following QQ plots represents a set of data that is more likely normally distributed?

a)
b)
c)
d)
101.

The violin plot and box plot below are visualizations of the same dataset. Based on the violin plot and box plot above, which of the following statements are true?

a)

The interquartile range (IQR) is smaller in the violin plot compared to the box plot.

b)

The dataset has a bimodal distribution.

c)

Outliers are visible in the box plot but not in the violin plot.

d)

The median of the dataset is approximately 0.

e)

The dataset has a positive skewness.

102.

Suppose that the joint probability distribution of two random variables X and Y is given by the following table:

What is the probability that X and Y both take even values?

a)

0.2

b)

0.1

c)

0.3

d)

0.4

103.

Which of the following statements are true regarding marginal and conditional distributions? Select all that apply.

a)

To find the marginal distribution for a variable, probabilities are summed over all variable values, either by adding columns or rows in the joint distribution table.

b)

Conditional distribution involves taking slices of the joint distribution to focus on specific conditions.

c)

Marginal distribution summarizes the behavior of one variable at a time by aggregating over the other variable(s).

104.

Suppose that the joint probability distribution of two random variables X and Y is given by the following table:

What is the conditional distribution P(X=3Y=1)P\left(X=3\left|Y=1\right|\right) ?

a)

0.15

b)

0.25

c)

0.5

d)

0.333

105.

Which of the following statements regarding the correlation coefficient are true? Select all that apply.

a)

It is a positive real number.

b)

It can be any real number.

c)

It measures how linearly correlated two variables are.

d)

It is a real number between -1 and 1.

106.

Suppose that the joint probability distribution of two random variables X and Y is given by the following table:

What is the covariance between X and Y?

a)

−0.04

b)

0.11

c)

0.02

d)

0.04

107.

What is the difference between a sample and a population in statistics?

a)

A sample is the entire group being studied, while a population is a subset of that group.

b)

A population is the entire group being studied, while a sample is a subset of that group.

c)

A population is a group from which a sample is drawn, and both terms can be used interchangeably.

108.

Let S be a random sample, where S={5,2,7,10}. Calculate the population variance for the sample set.

a)

2.9

b)

6

c)

8.5

d)

34

109.

A researcher conducts a study by taking independent random samples. Assuming the experiment meets the conditions of the Law of Large Numbers, which sample mean is the closest to the value of the population mean?

a)

4.77

b)

5.16

c)

4.97

d)

5.01

110.

Which of the following best describes the Central Limit Theorem?

a)

The Central Limit Theorem states that the mean of a population is always normally distributed.

b)

The Central Limit Theorem states that, under certain conditions, as the sample size increases, the sample mean approaches the population mean.

c)

The Central Limit Theorem states that, under certain conditions, as the sample size increases, the sampling distribution of the mean approaches a normal distribution, regardless of the distribution of the population.

d)

The Central Limit Theorem states that as the sample size increases, the variance of the population decreases.

111.

Consider the following population, P, where P={1,1,3,5,10}

And the following sample, S, where S={1,3}

What is the value of the sample mean?

a)

4

b)

It cannot be computed with the given information.

c)

2

d)

6

112.

Which of the following statements about the Central Limit Theorem (CLT) is true?

a)

The Central Limit Theorem suggests that the mean of a sample is always equal to the mean of the population.

b)

The Central Limit Theorem states that the population mean will always be 0.

c)

The Central Limit Theorem states that the distribution of sample means approaches a normal distribution as the sample size increases, regardless of the shape of the population distribution.

d)

The Central Limit Theorem only applies to populations that already follow a normal distribution. It has limited relevance in cases where the population distribution is skewed or has outliers.

113.

Which of the following methods can be used to estimate a population's variance, mean, and proportion?

a)

Sample mean

b)

Sample variance

c)

Point estimation

d)

Regression analysis

114.

Suppose you have a dataset of points and want to fit a line to best represent the relationship between the variables. Which of the following statements about linear regression is true?

a)

Linear regression connects two random points in the dataset to fit the data.

b)

Linear regression is unrelated to finding the best fit line for a given dataset.

c)

Linear regression aims to maximize the sum of squared distances between the points and the fitted line.

d)

Linear regression minimizes the sum of squared distances between the points and the fitted line, providing the best fit to the data.

115.

What is the purpose of regularization in machine learning?

a)

Regulation favors more complex models to increase performance on the training data.

b)

Regularization prevents overfitting by penalizing models with large coefficients or weights.

c)

Regularization is used to increase the training error of a model, which can improve its generalization performance.

d)

Regularization is used to improve the interpretability of a model by reducing its complexity.

116.

Assume you have a dataset that generates a model M= 4x4+3x2+14x^4+3x^2+1 that best fits the data. What is the L2 regularization error value for the model M?

a)

8

b)

25

c)

26

d)

144

117.

Which of the following best describes the way "priors" are used in Bayesian statistics?

a)

After collecting data, prior beliefs are used to adjust the values of that data to better align with the patterns you expected to observe.

b)

Priors are used before data is available to assist in making conclusions. After collecting data, priors can be discarded.

c)

Priors are used to generate data in instances when direct observation of a phenomenon is impossible.

d)

Prior beliefs are updated based on how well they align with the data observed.

118.

Consider the following sample drawn from a Normal Distribution with unknown mean and unknown variance.

S={−1,0,1,2}

Select the Normal Distribution that is most likely to have been generated from sample S.

a)

N(0.5,1.25)=N(0.5, 1.2221.22^2 )

b)

N(1,0)=N(1, 020^2 )

c)

N(0,1)=N(0, 121^2 )

d)

N(1.25,0.5)=N(1.12, 0.7120.71^2 )

119.

Suppose you flip a coin 10 times and obtain 6 heads and 4 tails. What function needs to be maximized to find the maximum likelihood estimate of the probability of getting heads on a single coin toss? Let p be the probability of getting heads.

a)

L(p)= p16(1p)14p^{\frac{1}{6}}\left(1-p\right)^{\frac{1}{4}}

b)

L(p)= p6(1p)4p^6\left(1-p\right)^4

c)

L(p)= p4(1p)6p^4\left(1-p\right)^6

d)

L(p)= p10(1p)0p^{10}\left(1-p\right)^0

120.

You have observations of the numbers [−1,2] and you want to determine which distribution they could have been sampled from. The first distribution is a normal distribution N(0,22) with a μ=0 and σ=2. The second distribution is a normal distribution N(1,12) where μ=1 and σ=1.

a)

N(0, 222^2 )

b)

N(1, 121^2 )

c)

Cannot be determined.

121.

Assume two Bayesian statisticians find a coin on the street and are trying to determine the likelihood that this coin will land on heads when flipped.

Bayesian 1 strongly believes that most coins are fair and begins with priors that are heavily concentrated around P(H)=0.5

Bayesian 2 assumes they know nothing about coins and begins with uniform priors with equal likelihood of every P(H) between 0 and 1.

In order to update their beliefs, they flip the coin 10 times, and get 3 heads and 7 tails.

Which of the following is the most likely value of their MAP beliefs once they've accounted for this data?

a)

Bayesian 1: P(H)=0.49P(H)=0.49

Bayesian 2: P(H)=0.30P(H)=0.30

b)

Bayesian 1: P(H)=0.51P(H)=0.51

Bayesian 2: P(H)=0.30P(H)=0.30

c)

Bayesian 1: P(H)=0.30P(H)=0.30

Bayesian 2: P(H)=0.30P(H)=0.30

d)

Bayesian 1: P(H)=0.30P(H)=0.30

Bayesian 2: P(H)=0.49P(H)=0.49

122.

Which of the statements about confidence intervals is true?

Hint: margin of error= zα2σnz_{\frac{\alpha}{2}}\cdot\frac{\sigma}{\sqrt[]{n}}

a)

Assuming a fixed confidence level, halving the margin of error requires a sample twice as large.

b)

Assuming a fixed margin of error, larger samples result in a larger confidence level.

c)

Assuming a fixed confidence level, larger samples result in a smaller margin of error.

d)

Assuming a fixed sample size, higher confidence results in a smaller margin of error

123.

You have a sample size of 20 from a population with unknown mean and standard deviation. You measured that the sample mean X=50 and the sample standard deviation is s=10. What expression describes the margin of error for a confidence level of 95%?

a)

z0.051020z_{0.05}\cdot\frac{10}{\sqrt[]{20}}

b)

t0.055020t_{0.05}\cdot\frac{50}{\sqrt[]{20}}

c)

t0.0251020t_{0.025}\cdot\frac{10}{\sqrt[]{20}}

d)

z0.0255020z_{0.025}\cdot\frac{50}{\sqrt[]{20}}

124.

In statistical hypothesis testing, which of the following statements correctly defines Type I and Type II errors?

a)

Type I error occurs when we reject a null hypothesis that is true, while Type II error occurs when we accept a null hypothesis that is false.

b)

Type I error occurs when we accept a null hypothesis that is true, while Type II error occurs when we reject a null hypothesis that is false.

c)

Type I error occurs when we reject a null hypothesis that is false, while Type II error occurs when we accept a null hypothesis that is true.

d)

Type I error occurs when we accept a null hypothesis that is false, while Type II error occurs when we reject a null hypothesis that is true.

125.

When conducting a hypothesis test, after defining the null hypothesis (H0​) and the alternative hypothesis (H1​), what are the general steps to decide whether to reject the null hypothesis? Select the correct sequence of steps.

a)

Calculate the test statistic, determine the significance level ( α\alpha ), calculate the p-value, compare the p-value with the significance level, and make a decision on the null hypothesis.

b)

Set the significance level (α), calculate the test statistic based on sample data, calculate the p-value, compare the p-value with the significance level, and make a decision to reject or fail to reject (H0​)

c)

Calculate the p-value based on the test statistic, set the significance level (α), compare the p-value with the significance level, and decide on the null hypothesis.

126.

Suppose you are conducting a hypothesis test to determine whether a new teaching method improves student performance.

The null hypothesis (H0​) states that the teaching method has no effect, while the alternative hypothesis

(H1​) suggests that the teaching method leads to higher student performance. You collect data from a sample of 50 students and calculate a test statistic of 1.98. The critical value at a significance level of 0.05 is 1.96. Should you reject the null hypothesis?

a)

Yes, you reject the null hypothesis.

b)

No, you do not reject the null hypothesis.

127.

A company claims that their new energy drink decreases reaction times. To investigate this claim, a researcher conducts a hypothesis test using a sample of 40 participants. The average reaction time in the sample is 0.95 seconds, with a standard deviation of 0.12 seconds. The company states that the average reaction time without their energy drink is 1.05 seconds. The researcher wants to determine whether sufficient evidence supports the company's claim. Assuming a significance level of 0.05, what is the test statistic for this hypothesis test?

a)

-5.27

b)

-2.73

c)

2.73

d)

5.27

128.

Based on the scenario in the previous question (question #7), which distribution would you use to find p-values for different levels of significance?

a)

Standard normal distribution.

b)

t-Student distribution with 40 degrees of freedom.

c)

Normal distribution with μ=0.95 and σ=0.12.

d)

t-Student distribution with 39 degrees of freedom.

129.

You notice that your six-sided die seems to favor the outcome six. You state the null hypothesis is that the die is fair, and the alternative hypothesis is that the die favors some outcomes. After conducting a hypothesis test by rolling the die 100 times, you determine that the p-value is 0.03. Which of the following conclusions is a correct interpretation of the p-value?

a)

The chance that the die is unfair is 3%.

b)

The chance of producing the observer results (a fair die) is 3%.

c)

The probability of rolling the die and getting a six is 97%.

d)

The chance that the die is fair is 3%.

130.

Which of the following scenarios should be analyzed as a two-sample t-test?

a)

Comparing the click-through rates of two independent groups of participants testing two different versions of a website homepage in an A/B testing environment.

b)

Analyzing the average response time of individuals in a driving simulation before and after they undergo distraction training.

c)

Comparing the test scores of two independent groups of students who received different teaching methods.

d)

Testing the effectiveness of a new drug by measuring the blood pressure of the same group of patients before and after treatment.

e)

Investigating the impact of a new workout routine on participants' weight by measuring their weights before and after the routine.

131.

Researchers conducted a study and tested a random sample of 200 animals. Their research shows that 40 of the animals test positive for a disease. Calculate the margin of error for a 90% confidence level for the percentage of animals that carry the disease.

Hint:

margin of error = zα2p(1p)nz_{\frac{\alpha}{2}}\cdot\sqrt[]{\frac{p\left(1-p\right)}{n}}

a)

0.003

b)

0.0141

c)

0.0465

d)

0.233

132.

Consider the following system of equations in two variables.

x+3y=15

3x+12y=3

Check all the options that are true, given the system above.

a)

2x+6y=30

b)

4x+15y=18.

c)

y=−14.

d)

x+3y=0

133.

Consider the following system of equations in two variables.

2x+y=5

4x+2y=10

Check all the options that are true, given the system above.

a)

The solution for this system has 0 degrees of freedom

b)

The system has infinitely many solutions

c)

The system has no solutions

d)

x=0 and y=5 is a solution for this system

134.

Consider the following system of equations.

x+2y+3z=10

2x+6y+12z=4

4x−8y+4z=8

The value for z is:

(a)  

135.

Consider the following matrix:

[3 1

6 2]

Its rank is:

a)

0

b)

1

c)

2

136.

Compute the rank of the following matrix:

[2 1 5

1 3 1

3 4 6]

(a)