
Data Structure Quiz #11 Hash
Authored by วัชรศักดิ์ ศิริเสรีวรรณ
Computers
University
Used 6+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
8 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
ข้อใดจริงเกี่ยวกับโครงสร้างข้อมูล Hash
เป็นโครงสร้างข้อมูลแบบไม่เชิงเส้น
ตำแหน่งในการเก็บข้อมูลสัมพันธ์กับลำดับการเข้าของข้อมูล
Hash function จะระบุตำแหน่งที่เก็บข้อมูล
ใช้เวลาในการค้นหาข้อมูลอย่างน้อย O(log n)
2.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
ข้อใดแปลงตัวอักษรเป็นตัวเลขด้วยหลัก ascii ถูกต้อง
A -> 97
A -> 0x65
E -> 65
e -> 0x65
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Operator/Function ที่นิยมใช้ใน hash function คืออะไร
Modulo
Integer Division
Ceiling
Floor
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
เราเรียกเหตุการณ์ที่ hash function ส่งข้อมูลไปยังตำแหน่งที่มีข้อมูลอยู่แล้วว่าอะไร
Collision
Crashing
Chain Hashing
Probing
5.
FILL IN THE BLANK QUESTION
45 sec • 1 pt
กำหนดโครงสร้างข้อมูล Hash ที่มี Hash table ขนาด 10 ช่องและมี Hash function คือ H(x, i) = (x+ 2i)mod 10
ถ้ามีการใส่ข้อมูลที่มีค่าคีย์ = 24 เป็นข้อมูลแรก
ข้อมูลนี้จะถูกเก็บในช่อง index เท่าใด
6.
FILL IN THE BLANK QUESTION
45 sec • 1 pt
กำหนดโครงสร้างข้อมูล Hash ที่มี Hash table ขนาด 10 ช่องและมี Hash function คือ H(x, i) = (x+ 2i)mod 10 ดังรูป
ถ้ามีการใส่ข้อมูลที่มีค่าคีย์ = 24 เป็นลำดับถัดไป
ข้อมูลนี้จะถูกเก็บในช่อง index เท่าใด
7.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
กำหนดให้ Hash table หนึ่งมี Hash function H(x)=(3x+2)mod12 และมีการแก้การชนแบบ Chain hashing ข้อใดจริง เมื่อมีการใส่ข้อมูลลงไปใน Hash table นี้
เมื่อเกิดการชน ข้อมูลจะเลื่อนไปเก็บในอีกสองช่องถัดไป
จะเกิด list ของข้อมูลที่ชนกันที่ index หมายเลข 2, 5, 8 และ 11
จะเกิด list ของข้อมูลที่ชนกันที่ index หมายเลข 2, 6, และ 10
จะเกิด list ของข้อมูลกระจายกันไม่มีรูปแบบชัดเจน
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
10 questions
ระบบปฏิบัติการ
Quiz
•
University
10 questions
quiz ประวัติคอมพิวเตอร์
Quiz
•
University
10 questions
unit2 Big Data ปวส. 1
Quiz
•
University
10 questions
Check ก่อน Share ก่อนอบรม
Quiz
•
University
10 questions
ComPro-01-Intro to Programming
Quiz
•
University
10 questions
กลไกล ไฟฟ้า และอิเล็กทรอนิกส์
Quiz
•
University
10 questions
IoT อินเตอร์เน็ตของสรรพสิ่ง
Quiz
•
KG - Professional Dev...
10 questions
Pre-Test การตรวจสอบความน่าเชื่อถือของข้อมูล
Quiz
•
9th Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
•
7th Grade
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade
Discover more resources for Computers
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
20 questions
Endocrine System
Quiz
•
University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
30 questions
W25: PSYCH 250 - Exam 2 Practice
Quiz
•
University
5 questions
Inherited and Acquired Traits of Animals
Interactive video
•
4th Grade - University
20 questions
Implicit vs. Explicit
Quiz
•
6th Grade - University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University
38 questions
Unit 8 Review - Absolutism & Revolution
Quiz
•
10th Grade - University