Search Header Logo

MSTIP - Data Mining - Midterm Exam

Authored by ALVIN CERTEZA

Computers

University

Used 11+ times

MSTIP - Data Mining - Midterm Exam
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

51 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

If x<-4; then typeof(x) is

Character

Double

Logical

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

If x<-4 and y<-5 then x+y is

7

9

1

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

If y<-"b"; then typeof(y) is

Character

Double

Logical

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

If y<-T; then typeof(y) is

Character

Double

Logical

5.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

x <- c("what","is","truth")

if("Truth" %in% x) {

print("Truth is found")

} else {

print("Truth is not found")

}

Truth is not found

Truth is found

6.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

x <- c("what","is","truth")

 

if("Truth" %in% x) {

   print("Truth is found the first time")

} else if ("truth" %in% x) {

   print("truth is found the second time")

} else {

   print("No truth found")

}

Truth is found the first time

truth is found the second time

No truth found

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

If m1 <- matrix(c(T, T, F, F, T, F), nrow = 2)

then the order of m1 is

2 x 3

2 x 1

3 x 2

Access all questions and much more by creating a free account

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?