
(第三單元)資料結構與演算法實作小考
Quiz
•
Computers
•
8th Grade
•
Medium
謝明軒 謝明軒
Used 10+ times
FREE Resource
Enhance your content
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
穿普有一個陣列的問題想考考大家。
在 Python 程式碼中宣告有一個清單 a = [1,2,3],a[2] = ?
0
1
2
3
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
孔子曰:在 Python 程式語言中,陣列score = [[90,85,92,0],[95,91,96,0],[82,80,88,0]],那score [1][1]為何?
90
91
96
95
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
普丁有一個循序搜尋法的問題想確認,下列哪一個才是循序搜尋法的比較次數呢?
nlog_2n
n(n-1)/2
log_2n
n
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
澤倫斯基覺得普丁都出題了,他不能輸。
因此出了一個題目,將score = [0,2,4,6,8,1,3,5]使用氣泡排序法排序,第一回合會有幾次交換行為呢?
( 數字大的往後排 )
3
1
0
7
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Andy有一道題目不太會,想問問你,
將 score = [182,162,190,160,177] 使用氣泡排序法排序,第一回合排序結果為何呢?
( 數字大的往後排 )
score = [160,162,177,182,190]
score = [162,182,160,177,190]
score = [160,162,190,182,177]
score = [182,162,190,160,177]
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
五星評論家麥克阿瑟想問問大家,
請問下列算法哪一個比較次數最少呢?
合併排序法
氣泡排序法
二元搜尋法
循序搜尋法
7.
FILL IN THE BLANK QUESTION
1 min • 1 pt
謝明軒不小心翻倒電腦的墨水,剛好遮住了一些程式碼,想請問你能夠幫我復原程式碼嗎?
(提示:下方氣泡排序法的順序)
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple

Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
12 questions
10_03 ITサービスマネジメント
Quiz
•
1st - 12th Grade
10 questions
台中市三年級資訊2-02數位學習高手-01主動學習樂
Quiz
•
3rd - 12th Grade
10 questions
氣泡排序法
Quiz
•
8th Grade
15 questions
運算思維二
Quiz
•
8th Grade
8 questions
運算思維挑戰賽
Quiz
•
7th - 10th Grade
7 questions
資訊倫理小達人
Quiz
•
7th - 8th Grade
12 questions
眼睛保護與數位禮儀(期末測驗)
Quiz
•
5th - 9th Grade
10 questions
6-1演算法
Quiz
•
8th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade