Search Header Logo

สอบย่อยวิชา DS เทอม 1/2567

Authored by Chayaporn Kaensar

Computers

12th Grade

Used 2+ times

สอบย่อยวิชา DS เทอม 1/2567
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Time Cost หรือ Big O Notation ของ AVL Tree ในการค้นหา เพิ่ม ลบ คือเท่าไร ?

O(n)

O(log n)

O(n log n)

O(1)

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

ข้อใดต่อไปนี้เป็นอัลกอริทึมที่ใช้หาค่าทางสั้นที่สุด (Shortest Path) ระหว่างสองโหนดใน Weighted Graph ?

Depth-First Search (DFS)

Breadth-First Search (BFS)

Dijkstra's Algorithm

Kruskal's Algorithm

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Minimum Spanning Tree ถูกนำไปใช้ในสถานการณ์ใดได้บ้าง?

การออกแบบเครือข่ายคอมพิวเตอร์ให้ใช้สายเคเบิลน้อยที่สุด

การกำหนดเส้นทางการเดินรถเพื่อให้ถึงจุดหมายเร็วที่สุด

การหาตำแหน่งที่ดีที่สุดสำหรับสร้างสถานีไฟฟ้า

การจัดลำดับการดำเนินงานของกระบวนการในคอมพิวเตอร์

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

ข้อใดต่อไปนี้เป็นอัลกอริทึมการจัดเรียงที่มีความซับซ้อนของเวลาเฉลี่ยดีที่สุด และให้เวลา cost เท่าไร

Selection Sort, O(N*N)

Bubble Sort, O(N)

Merge Sort, O(N*LogN)

Merge Sort, O(LogN)

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

ความซับซ้อนของเวลา หรือ Big O ของ Bubble Sort คือเท่าใด ?

O(n log n)

O(n*n)

O(n)

O(log n)

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

ความซับซ้อนของเวลา หรือ Big O ของ Binary Search ใน sorted array คือเท่าใด ?

O(log n)

O(1)

O(n)

O(n * log n)

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

ข้อใดต่อไปนี้ ไม่ใช่ วิธีการแก้ปัญหาการชนกัน (Collision) ใน Hash Tables?

Linear Probing

Rehashing

Double Hashing

Depth-First Probing

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?