DATA SCIENCE 4

DATA SCIENCE 4

Professional Development

20 Qs

quiz-placeholder

Similar activities

Quiz on 8051 Microcontroller

Quiz on 8051 Microcontroller

Professional Development

25 Qs

Participación Mod Maestría

Participación Mod Maestría

Professional Development

25 Qs

Explorando la Metodología Seis Sigma

Explorando la Metodología Seis Sigma

Professional Development

20 Qs

DDCO QUIZ

DDCO QUIZ

Professional Development

20 Qs

RPAQUIZZI

RPAQUIZZI

Professional Development

15 Qs

Pemahaman ISO 17025

Pemahaman ISO 17025

Professional Development

20 Qs

Prueba Diagnostico Maestría en Yacimientos

Prueba Diagnostico Maestría en Yacimientos

Professional Development

15 Qs

le froid

le froid

Professional Development

18 Qs

DATA SCIENCE 4

DATA SCIENCE 4

Assessment

Quiz

Engineering

Professional Development

Practice Problem

Medium

Created by

niranjani s

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?