
DS_14-01-Search

Quiz
•
others
•
University
•
Medium
Chun-Jung Lin
Used 8+ times
FREE Resource
Student preview

5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
循序搜尋法的演算法效率以Big-O 表示為以下何者?
O(n2)
O(n log (n))
O(n)
O(log(n))
2.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
二元搜尋法搜尋資料是從哪一個元素開始?
第一個元素
最後一個元素
任何一個元素
中間元素
3.
FILL IN THE BLANK QUESTION
30 sec • 10 pts
給定已排序數列共23個元素,使用二元搜尋(Binary Search) 搜尋某一元素,需要比較幾次?
4.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
給定已排序數列「1, 4, 5, 7, 8, 11, 13, 15, 17, 18, 21, 25, 27, 29, 33, 35, 36, 38, 41, 44, 46, 49,51」,搜尋數字15,使用內插搜尋(Interpolation Search) 需要比較幾次?
2
3
4
5
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
下列對雜湊法(Hashing) 與二元搜尋的敘述,何者錯誤?
雜湊法在沒有發生碰撞(Collision) 情況下搜尋效率比二元搜尋慢。
處理相同的資料下,為了避免碰撞,雜湊法儲存資料所需記憶體空間較二元搜尋多。
雜湊法需要知道雜湊函式才能找到資料所在位置,二元搜尋不需要雜湊函式。
雜湊法不需要事先排序資料,二元搜尋要事先排序資料。
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for others
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University