
Data Structure (Tree,Graph,Sort) 66/2

Quiz
•
Computers
•
University
•
Hard
Chayaporn Kaensar
Used 6+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
จาก Binary Search Tree (BST) ที่กำหนด หากต้องการ Insert "7" จะต้องอยู่ตำแหน่งใด (ยังไม่ต้องหมุน)
ด้านซ้ายของ "4"
ด้านขวาของ Leaf Node ของ "6"
ด้านซ้ายของ Leaf Node ของ "15"
เป็น Child ของ Node 5
2.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
ข้อใดกล่าวผิด
Binary Tree เป็น Binary Search Tree
Binary Search Tree คือการจัดวางโหนดที่น้อย อยู่ทางซ้าย และโหนดที่ม่ค่ามาก อยุ่ทางขวาของ Root หรือโหนด Parent
Binary Tree คือโหนดที่มีลูกเพียงแค่ 0-1-2 เท่านั้น ซึ่งไม่ต้องมีการจัดเรียงค่าของข้อมูล Child Node
ผิดทุกข้อ
3.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
จากรูป ข้อใดกล่าวถูกต้อง
เกิด Unbalanced Node ที่ 8
เกิด Unbalanced Node ที่ 12
ภายหลังจากปรับ AVL แล้ว โหนด 4 จะกลายเป็น Child ของ 8
ภายหลังจากปรับ AVL แล้ว โหนด 4 จะกลายเป็น Right Child ของ 5
4.
FILL IN THE BLANK QUESTION
5 mins • 1 pt
หากทำ Tree Travelsal แบบ Preorder จงแสดงค่าข้อมูลในลำดับที่ 3 และ 6
ตัวอย่างการตอบ สามารถเลือกตอบได้ 3 แบบ เช่น 1_แสดงตัวเลขติดกัน 2_เว้นวรรค หรือ 3_ใช้ / เช่น หากคำตอบคือค่า 1 2 ให้ตอบ 12 หรือ 1 2 หรือ 1/2
5.
FILL IN THE BLANK QUESTION
5 mins • 1 pt
ข้อใดกล่าวถูกต้อง กรณีที่ต้องการเดินทาง ด้วย Dijkstra Algorithm จงตอบระยะทางรวม เมื่อปลายทางเป็น E เช่น หากระยะทางจาก A ไป E เป็น 1 ให้ตอบ 1
6.
FILL IN THE BLANK QUESTION
5 mins • 1 pt
จากรูป จงระบ MST ของ Graph นี้
หากคำตอบเป็น 10 ให้ตอบ 10 ไม่ต้องเติมอะไรต่อท้าย
7.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
การ Sort ที่ให้ Performance หรือมีความเร็วที่ดีที่สุด คืออะไร
Merge Sort
Selection Sort
Bubble Sort
Insertion Sort
Create a free account and access millions of resources
Similar Resources on Wayground
5 questions
Linked list

Quiz
•
University
6 questions
การเคลื่อนย้ายผู้ประสบภัย

Quiz
•
University
10 questions
บทที่ 2 การเปลี่ยนแปลงของเทคโนโลยี

Quiz
•
KG - Professional Dev...
13 questions
Struktur Data-Sorting

Quiz
•
University
15 questions
เทคโนโลยี ม.6

Quiz
•
University
8 questions
Revisando a Aula 4 Estrutura de Dados

Quiz
•
University
15 questions
Internet of Things (IoT)

Quiz
•
University
10 questions
Kiểm Tra Tin 8

Quiz
•
8th Grade - University
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 Computers
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