Search Header Logo

11202.WedCh10_240327

Authored by Ys Huang

Computers

12th Grade

Used 1+ times

11202.WedCh10_240327
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

13 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

a定義為(1:4),使用cumprod(a)後應該得到下列何者?

1 3 6 10

3 6 10 15

1 2 6 24

2 6 11 17

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

log(20,base=sqrt(20)),我們應該得到什麼結果?

2

2.602

1

1.301

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

對於c(1,2,3) ^ c(4,3,2)的結果,以下何者為非?

1 8 9

2 7 8

3 5 6

5 5 5

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

對ma4定義為as.data.frame(ma) + as.data.frame(ma2),以下何者會顯示為TRUE?

is.data.frame(ma4)

is.array(ma4)

is.matrix(ma4)

is.vector(ma4)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

在流程控制方面,存在那些主要語句?

迴圈語句

條件語句

兩種皆非

兩種皆是

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

定義ma為matrix(1:12,3)和定義ma2為matrix(2:13,3),接著將兩者相加ma+ma2得出ma3,輸入ma3[2,]應該得到什麼?

3 9 15 21

5 11 17 23

7 13 19 25

9 15 21 27

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

以下哪個函數會得到4這個數字?

floor(3.3)

ceiling(3.3)

trunc(3.3)

floor(3.6)

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?