
S_Playground_J_W4
Quiz
•
History
•
5th - 7th Grade
•
Practice Problem
•
Hard
Ryan Chung
Used 3+ times
FREE Resource
Enhance your content in a minute
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)
請問輸出值為?
Similar Resources on Wayground
8 questions
Chapter 10 section 2 The Crusades
Quiz
•
7th Grade
10 questions
6年生社会【幕末】
Quiz
•
6th Grade
7 questions
soccer players
Quiz
•
6th Grade
10 questions
BOSTON TEA PARTY
Quiz
•
4th - 8th Grade
10 questions
Renaissance
Quiz
•
7th - 10th Grade
10 questions
Incentives-European Exploration
Quiz
•
6th Grade
9 questions
Fast & Curious Civics Chapter 11 (The Political System)
Quiz
•
7th Grade
10 questions
Its not just a game!
Quiz
•
6th - 8th Grade
Popular Resources on Wayground
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
15 questions
Solving Equations with Variables on Both Sides Review
Quiz
•
8th Grade
Discover more resources for History
16 questions
Students of Civics Unit 2: The Constitution
Quiz
•
7th - 11th Grade
25 questions
WWI Notecheck
Quiz
•
6th Grade
17 questions
Early Statehood Texas History
Quiz
•
7th Grade
5 questions
CE 7d Roles and Power of the State Executive Branch
Quiz
•
7th - 12th Grade
10 questions
Exploring the Geography of Ancient China
Interactive video
•
6th - 10th Grade
23 questions
Mesopotamia / Egypt
Quiz
•
6th Grade
10 questions
Exploring the Indus Valley Civilization
Interactive video
•
6th - 10th Grade
25 questions
The Early Republic
Quiz
•
7th - 11th Grade
