MPS INTERNAL 2 TEST
Quiz
•
Computers
•
University
•
Practice Problem
•
Medium
Trilochan Sahoo
Used 3+ times
FREE Resource
Enhance your content in a minute
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
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
9 questions
BASIC HTML
Quiz
•
University
10 questions
Initial Assessment - Cybersecurity Awareness
Quiz
•
9th Grade - Professio...
10 questions
Software Testing
Quiz
•
University
10 questions
C++ Array Quiz
Quiz
•
University
10 questions
Microsoft Word
Quiz
•
University
10 questions
Node.js
Quiz
•
University
10 questions
PHP Introduction - Assignment 1
Quiz
•
University
10 questions
margaret hamilton
Quiz
•
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
