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
5 questions
Mod8(Day1)

Quiz
•
University
10 questions
A2 Trees

Quiz
•
University
10 questions
Intro to Binary - Concepts

Quiz
•
6th Grade - University
11 questions
3CSD1 ADS LAB

Quiz
•
University
7 questions
Quiz AVL's Tree

Quiz
•
University
10 questions
Quiz - CSE

Quiz
•
University
11 questions
Trees

Quiz
•
University
10 questions
Information Coding Scheme

Quiz
•
1st Grade - 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 Computers
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