80-100

80-100

University

20 Qs

quiz-placeholder

Similar activities

DATA STRUCTUIR Quiz1 (AIML)

DATA STRUCTUIR Quiz1 (AIML)

University

20 Qs

Quiz Software

Quiz Software

8th Grade - University

15 Qs

Pyhton Debugging Questions

Pyhton Debugging Questions

University

25 Qs

HO - 35 Cuestionario sobre Clustering y K-Means

HO - 35 Cuestionario sobre Clustering y K-Means

University

20 Qs

IT Quiz Bee 2025 - EASY

IT Quiz Bee 2025 - EASY

University

15 Qs

Kelas 9 - Halaman 23 (UH Bab 1)

Kelas 9 - Halaman 23 (UH Bab 1)

9th Grade - University

20 Qs

HTML & CSS Quiz

HTML & CSS Quiz

10th Grade - University

19 Qs

Kuis Uji Pemahaman Python Variabel, Sintaks Dasar, Type Data

Kuis Uji Pemahaman Python Variabel, Sintaks Dasar, Type Data

11th Grade - University

16 Qs

80-100

80-100

Assessment

Quiz

Information Technology (IT)

University

Easy

Created by

Ілияс Тілепалды

Used 3+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

When building a heap using build_heap(list), which of the following is true?

The list is processed from the last parent backward

The resulting tree is a max-heap

The resulting tree is a min-heap

The resulting structure is not a complete binary tree

2.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which of the following keys would appear in the left subtree after inserting [68, 88, 61, 89, 94, 50, 4, 76, 66, 82] into a BST?

61

50

76

94

3.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which properties apply to a binary search tree created from randomly generated integers?

The tree will always be complete

The shape of the tree depends on insertion order

Values in the left subtree are always less than root

It is always balanced

4.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

What structure results from inserting [1, 2, 3, ..., 10] into a binary heap (min-heap) one at a time?

The heap has the smallest number at the root

The structure is a max-heap

The tree is not complete

Each parent is less than or equal to its children

5.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

What structure results from inserting [10, 9, 8, ..., 1] into a binary heap (min-heap) one at a time?

The last number becomes the root

The tree is skewed

The structure remains a complete binary tree

Each parent is greater than its children

6.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Why must we check for None before calling a method like preorder() on a tree node, but not when using a function-based traversal?

Methods require a real object to invoke

Functions can handle None as an argument

Methods create their own stack

Preorder functions are always recursive

7.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which of the following keywords are used in Python?

else

elif

if

endif

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?