
80-100

Quiz
•
Information Technology (IT)
•
University
•
Easy
Ілияс Тілепалды
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
Similar Resources on Wayground
15 questions
Python_MCQ_2

Quiz
•
University
18 questions
Python: operadores y tipos de datos

Quiz
•
University
22 questions
Questionário 2

Quiz
•
University
15 questions
Mastering Python Control Flow

Quiz
•
University
20 questions
2F-3 | Python Quiz | 22/11/2024

Quiz
•
University
20 questions
PTS Informatika Semester 2 2024-2025

Quiz
•
10th Grade - University
20 questions
Quiz Komputasional-Struktur Data kelas 9

Quiz
•
9th Grade - University
15 questions
Power BI Quiz (Beginner Level)

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Information Technology (IT)
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University