MPS INTERNAL 2 TEST

Quiz
•
Computers
•
University
•
Medium
Trilochan Sahoo
Used 3+ times
FREE Resource
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
5 sec • 1 pt
Which algorithm searches for an element in a list by checking each element one by one until a match is found or the end of the list is reached?
Sequential Search
Binary Search
Hashing
Tree Search
2.
MULTIPLE CHOICE QUESTION
5 sec • 1 pt
Optimal Binary Search Trees are used to minimize the:
Number of nodes in a binary tree
Height of a binary tree
Average search time in a binary search tree
Maximum search time in a binary search tree
3.
MULTIPLE CHOICE QUESTION
5 sec • 1 pt
In the context of optimal binary search trees, what does the term "internal cost" refer to?
The cost of searching in the root node
The cost of searching in the internal nodes
The cost of searching in the leaf nodes
The cost of building the binary search tree
4.
MULTIPLE CHOICE QUESTION
5 sec • 1 pt
Floyd's algorithm is used for:
Finding the shortest path in a weighted graph with negative edge weights
Finding the shortest path in a weighted graph with non-negative edge weights
Finding the longest path in a directed acyclic graph
Finding the minimum spanning tree in a graph
5.
MULTIPLE CHOICE QUESTION
5 sec • 1 pt
What is the order of growth of the function f(n) = 2n3 + 3n2 + 4n ?
O(n)
O(n^2)
O(n^3)
O(n^4)
6.
MULTIPLE SELECT QUESTION
5 sec • 1 pt
When analyzing the time complexity of a non-recursive algorithm, what is the primary focus?
The number of iterations
The number of function calls
The size of the input
The number of base cases
Similar Resources on Wayground
10 questions
PENILAIAN HARIAN 2

Quiz
•
11th Grade - University
7 questions
Python Round 4

Quiz
•
University
11 questions
Big Data

Quiz
•
University
10 questions
dsa-11.7.24 an

Quiz
•
University
10 questions
GDSC Info Session

Quiz
•
University
10 questions
Search Engines and Browsers

Quiz
•
3rd Grade - University
10 questions
informatika

Quiz
•
7th Grade - University
7 questions
Final Practice

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University