PROBLEM SOLVING USING R - UNIT II - TEST 1 - MCQS

PROBLEM SOLVING USING R - UNIT II - TEST 1 - MCQS

University

15 Qs

quiz-placeholder

Similar activities

Graphs

Graphs

University

10 Qs

integration and systems of equations review

integration and systems of equations review

University

20 Qs

PROBLEM SOLVING USING R - UNIT II - TEST 2 - MCQS

PROBLEM SOLVING USING R - UNIT II - TEST 2 - MCQS

University

15 Qs

[Python For All] Quiz 5 - Numpy

[Python For All] Quiz 5 - Numpy

University

15 Qs

SciPy

SciPy

University

19 Qs

Quiz Pemrograman Web - EI

Quiz Pemrograman Web - EI

University

20 Qs

Workshop_2

Workshop_2

University

10 Qs

C Language Array Quiz

C Language Array Quiz

University

19 Qs

PROBLEM SOLVING USING R - UNIT II - TEST 1 - MCQS

PROBLEM SOLVING USING R - UNIT II - TEST 1 - MCQS

Assessment

Quiz

Computers

University

Medium

Created by

MS.SHYAMALADEVI C

Used 4+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a matrix in R?

A one-dimensional array

A two-dimensional array

A collection of data frames

A statistical model

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you define a matrix in R using the matrix() function?

matrix(data)

matrix(data, nrow)

matrix(data, ncol)

matrix(data, nrow, ncol)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which argument in the matrix() function determines the direction of filling the elements?

byrow

bycolumn

fill

direction

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you bind two matrices by rows in R?

bind_rows()

rbind()

row_bind()

merge()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the dim() function return in R?

Number of rows in a matrix

Number of columns in a matrix

Dimensions of a matrix

Data type of a matrix

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you subset a specific row in a matrix in R?

matrix[row, ]

matrix[, row]

matrix[row]

matrix[row, col]

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you extract a specific column from a matrix in R?

matrix[row, ]

matrix[, col]

matrix[col]

matrix[row, col]

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?