S_Playground_J_W4

S_Playground_J_W4

5th - 7th Grade

5 Qs

quiz-placeholder

Similar activities

Europe Geography Quiz

Europe Geography Quiz

6th Grade

10 Qs

The Intolerable Acts Quiz

The Intolerable Acts Quiz

5th Grade

10 Qs

BP FRENCH & INDIAN WAR

BP FRENCH & INDIAN WAR

4th - 8th Grade

10 Qs

Heritage Studies, Ancient Greece Quiz 18

Heritage Studies, Ancient Greece Quiz 18

6th Grade

10 Qs

Pan-African Movement 2

Pan-African Movement 2

7th Grade

10 Qs

The Revolutionary War Begins to Turn

The Revolutionary War Begins to Turn

5th - 8th Grade

10 Qs

The Jimmy Lee Jackson Story

The Jimmy Lee Jackson Story

6th - 8th Grade

10 Qs

Quizizz Bowl - Black History Bonus Round

Quizizz Bowl - Black History Bonus Round

5th Grade

10 Qs

S_Playground_J_W4

S_Playground_J_W4

Assessment

Quiz

History

5th - 7th Grade

Practice Problem

Hard

Created by

Ryan Chung

Used 3+ 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

使用類別Player來建立一個玩家player,下列哪一個語法正確?

let player = Player()

let Player = player()

Player.player()

player.Player()

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

在Swift語言中,函數的關鍵字是?

func

function

method

han_number

3.

FILL IN THE BLANK QUESTION

1 min • 5 pts

func accumulate(count:Int) -> Int{

var totalCount = 0;

for i in 1...count {

totalCount = totalCount + i;

}

return totalCount

}

print(accumulate(count: 5))

請問輸出結果為?

4.

FILL IN THE BLANK QUESTION

1 min • 5 pts

func multiplyAndPlus(a:Int, b:Int) -> Int {

return a*b + 2

}

print(multiplyAndPlus(a:2, b:6))

請問輸出結果為?

5.

FILL IN THE BLANK QUESTION

1 min • 5 pts

var result = 0

for i in 0...5 {

if !(i == 2){

result = result + i

}else {

result = result + 4

}

}

print(result)

請問輸出值為?

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?