
PROBLEM SOLVING USING R - UNIT II - TEST 2 - MCQS
Authored by MS.SHYAMALADEVI C
Computers
University
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you create a multidimensional array in R?
array()
matrix()
list()
data.frame()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you extract a subset of elements from a multidimensional array in R?
array_subset()
subset()
extract()
[]
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you replace specific elements in a matrix with new values in R?
replace()
modify()
assign()
[]
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the function rowMeans() do in R?
Calculates the mean of each row in a matrix
Calculates the mean of each column in a matrix
Calculates the sum of each row in a matrix
Calculates the sum of each column in a matrix
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you calculate the determinant of a matrix in R?
determinant()
det()
matrix_det()
diag()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you calculate the inverse of a matrix in R?
inverse()
inv()
matrix_inv()
solve()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you calculate the element-wise product of two matrices in R?
element_product()
mult()
matrix_mult()
*
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?