
Hash vs List
Quiz
•
Instructional Technology, Science
•
1st - 10th Grade
•
Practice Problem
•
Medium
Eig Lapnapanon
Used 2+ times
FREE Resource
Enhance your content in a minute
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
การ search หา value ของข้อมูลภายใน List มีประสิทธิภาพ Big O เป็นเท่าไหร่
O(1)
O(n)
O(n^2)
O(n log n)
Answer explanation
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
หากเราสร้างข้อมูลหมายเลข 1 - 1,000,000 และเก็บ Value ไว้ภายในตัวแปร dictionary ด้วยการค้นหาข้อมูลจาก Key จะมีประสิทธิภาพ Big O เป็นเท่าไหร่
O(1)
O(n)
O(n log n)
O(n^2)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
หากเราสร้างข้อมูลหมายเลข 1 - 1,000,000 และเก็บ Value ไว้ภายในตัวแปร Hash Table ด้วยการค้นหาข้อมูลจาก Key จะมีประสิทธิภาพ Big O เป็นเท่าไหร่
O(1)
O(n)
O(n log n)
O(n^2)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ถ้าหากมีจำนวนข้อมูลน้อยๆ และต้อง search หาข้อมูลอย่างรวดเร็ว ควรใช้การเก็บข้อมูลรูปแบบใด
Dictionary
Hash Table
List
ทั้ง Dictionary และ Hash Table
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ถ้าหากมีจำนวนข้อมูลมากๆ และต้อง search หาข้อมูลอย่างรวดเร็ว ควรใช้การเก็บข้อมูลรูปแบบใด
Dictionary
Hash Table
List
ได้ทั้ง Dictionary และ Hash Table
6.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
หากเก็บผลลัพท์หมายเลข 1, 1, 2, 3, 3, 4, 5, 5 ลงใน List และ Hash ข้อใดถูกต้อง
(ตอบได้มากกว่า 1 ข้อ)
ข้อมูลที่อยู่ใน List จะมีค่าเป็น
1, 1, 2, 3, 3, 4, 5, 5
ข้อมูลที่อยู่ใน List จะมีค่าเป็น
1, 2, 3, 4, 5
ข้อมูลที่อยู่ใน Hash จะมีค่าเป็น
1, 1, 2, 3, 3, 4, 5, 5
ข้อมูลที่อยู่ใน Hash จะมีค่าเป็น
1, 2, 3, 4, 5
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ใน Collections Generic C# มี Hash Set ให้ใช้งานหรือไม่
มี
ไม่มี
Similar Resources on Wayground
10 questions
ประสาทสัมผัส
Quiz
•
1st Grade
10 questions
การเขียนโปรแกรมอย่างง่ายด้วย Scratch ป.4
Quiz
•
4th Grade
10 questions
บทที่ 1 เรื่องพลังงานและประเภทของพลังงาน
Quiz
•
9th - 12th Grade
10 questions
Respiratory System
Quiz
•
8th Grade
10 questions
แบบทดสอบก่อนเรียนไฟฟ้า ม.3
Quiz
•
9th Grade
10 questions
หน่วยที่ 3 เรื่องปิโตรเลียมและผลิตภัณฑ์
Quiz
•
10th Grade
10 questions
ม.3 ปฏิกิริยาเคมี
Quiz
•
9th Grade
10 questions
สอบย่อยบทที่ 3
Quiz
•
10th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Instructional Technology
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
