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

Quiz
•
Computers
•
University
•
Medium
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
Similar Resources on Wayground
10 questions
EXERCISE_RELATIONALDATABASE

Quiz
•
University
10 questions
Lists in python

Quiz
•
University
20 questions
Midterm Exam Content ITEC 204

Quiz
•
University
20 questions
Microsoft Excel 2013 Survey (Basic)

Quiz
•
9th Grade - University
20 questions
technology (Computer)

Quiz
•
3rd Grade - University
10 questions
Quiz on Data Analysis for R (Unit-IV)

Quiz
•
University
20 questions
Mod 5 & 6 Pre-Test

Quiz
•
9th Grade - University
11 questions
Hardware Components

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University