Search Header Logo

11202.WedCh08_240327

Authored by Ys Huang

Computers

12th Grade

Used 9+ times

11202.WedCh08_240327
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

定義LIS為list(c('a','b'),c(1,2,3)),使用names(LIS)為c('first','second'),以下何者正確?

同時得到[[1]]與[[2]]

只看到second

同時看到first和second

只看到first

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

對於dimnames(ma)的敘述,以下何者為非?

資料集ma能夠是列表

資料集ma或許是矩陣結構

資料集ma可以是陣列

功能跟names有明顯不同

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

sum(c(NA,3,4,5,6,NA,3,3),na.rm=TRUE),我們應該得到什麼結果?

24

23

22

NA

4.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

a定義為c(NA,2,5,NA),使用a[!is.na(a)]後應該得到下列何者?

5 2

2 4

2 5

3 5

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

a定義為c(NA,2,5,NA),使用is.na(a)後應該得到下列何者?

TRUE FALSE FALSE TRUE

TRUE FALSE FALSE FALSE

FALSE FALSE FALSE TRUE

FALSE FALSE FALSE FALSE

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

a是一個1到10的序列,輸入a[a>=5]應該得到什麼?

6 7 8 9 10

5 6 7 8 9 10

5 7 9

5 6 7 8 9

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

定義K為grade=c(79,98,86),輸入transform(information,grade=grade+2)以下何者錯誤?

81 100 88

80 99 87

79 98 86

78 97 85

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?