
DATA SCIENCE 4
Authored by niranjani s
Engineering
Professional Development
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following R code?
x <- c(1, 2, 3)
y <- c("4", "5", "six")
z <- c(x, y)
z[4:6]
class(z)
[1] "4" "5" "six"
[1] "character"
[1] 4 5 six
[1] "numeric"
[1] 4 5 six
[1] "mixed"
[1] "1" "2" "3"
[1] "character"
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of this code?
x <- c(TRUE, FALSE, TRUE)
y <- c(1, 0, 2)
sum(x * y)
A. 3
B. 2
C. 1
D. Error
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
x <- c(1, 2, 3)
y <- c(4, 5, 6)
x + y
A. 5 7 9
B. Error
C. x4 x5 x6
D. 1 2 3 4 5 6
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the c() function do in R?
A. Cuts a string
B. Creates a matrix
C. Combines values into a vector
D. Converts data to character type
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will this code return?
x <- c(10, 20, 30, 40) x[2:3]
A. 10 20
B. 20 30
C. 30 40
D. 20 30 40
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function is used to create a data frame?
A. create.frame()
B. frame()
C. data.frame()
D. make.frame()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will length(c(2, 4, 6, 8)) return?
A. 2
B. 4
C. 8
D. Error
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?
Similar Resources on Wayground
20 questions
Quiz Sistem Experion LX
Quiz
•
Professional Development
20 questions
Asset and Facility Management
Quiz
•
Professional Development
15 questions
BIT_QUIZ_Hadoop
Quiz
•
Professional Development
19 questions
Evaluación Certificación IE
Quiz
•
Professional Development
23 questions
Python Programming Quiz-03
Quiz
•
Professional Development
16 questions
Electric Vehicle Module 2
Quiz
•
Professional Development
20 questions
Trabajo estandarizado parte 3
Quiz
•
Professional Development
15 questions
AE01 Identification of Components and Circuits
Quiz
•
Professional Development
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Engineering
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
25 questions
Christmas Movies
Quiz
•
Professional Development
20 questions
Christmas Trivia
Quiz
•
Professional Development
15 questions
Fun Holiday Trivia
Quiz
•
Professional Development
25 questions
Name That Tune - Christmas
Quiz
•
Professional Development
29 questions
Christmas Song Emoji Pictionary
Quiz
•
Professional Development
9 questions
Holiday Movie Trivia
Lesson
•
Professional Development
34 questions
Winter Trivia
Quiz
•
Professional Development