SwiftPlayground-Junior-2

SwiftPlayground-Junior-2

4th - 6th Grade

5 Qs

quiz-placeholder

Similar activities

六年级 错别字

六年级 错别字

4th - 6th Grade

10 Qs

emma

emma

1st - 11th Grade

10 Qs

113 3-2數位身分大祕寶

113 3-2數位身分大祕寶

5th Grade - University

10 Qs

4上-電子郵件

4上-電子郵件

3rd - 6th Grade

10 Qs

Word基本測驗

Word基本測驗

3rd - 5th Grade

10 Qs

四年級中文打字期末評量

四年級中文打字期末評量

4th Grade

10 Qs

數位安全小測驗

數位安全小測驗

5th Grade

10 Qs

Scratch小測驗1

Scratch小測驗1

1st - 5th Grade

10 Qs

SwiftPlayground-Junior-2

SwiftPlayground-Junior-2

Assessment

Quiz

Computers

4th - 6th Grade

Practice Problem

Hard

Created by

Ryan Chung

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

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

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

if isOnClosedSwitch {

toggleSwitch( )

}

下列哪一個可以是isOnClosedSwitch的值?

true

1.5

"on"

2

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

在Swift Playground中,if 之後後面還有別的條件時,可以用 :

elif

else if

second if

other if

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

這三個符號的意義,下列哪一個順序是正確的?

&&、||、!

AND、OR、NOT

OR、NOT、AND

NOT、AND、OR

AND、NOT、OR

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

小明今天戴紅色帽子並且穿藍色上衣。請問小明獲得幾顆橘子?

if 戴藍色帽子 && 穿藍色上衣{

獲得5顆橘子

}else if 戴紅色帽子 || 戴紫色帽子{

獲得3顆橘子

}else {

獲得1顆橘子

}

0

1

3

5

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

小明身高140公分,請問小明獲得幾顆橘子?

if !小明身高大於130公分{

獲得5顆橘子

}else{

獲得3顆橘子

}

0

1

3

5

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?