
80-100
Quiz
•
Information Technology (IT)
•
University
•
Practice Problem
•
Easy
Ілияс Тілепалды
Used 3+ times
FREE Resource
Enhance your content in a minute
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
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
15 questions
Recap Handout 3 & 4
Quiz
•
6th Grade - University
15 questions
Quiz #2
Quiz
•
University
15 questions
Table,Image formatting
Quiz
•
5th Grade - University
15 questions
Pra-UTS KASDD
Quiz
•
University
20 questions
Teknologi Jaringan Komputer dan Telekomunikasi
Quiz
•
10th Grade - University
20 questions
LONG QUIZ MIS
Quiz
•
University
20 questions
PIT_10.06-10_ASMT
Quiz
•
9th Grade - University
15 questions
Exploring Drone Technology in Career Clusters
Quiz
•
10th Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Information Technology (IT)
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
5 questions
Poetry Interpretation
Interactive video
•
4th Grade - University
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
15 questions
Review1
Quiz
•
University
15 questions
Pre1
Quiz
•
University
