CYBERSYNAPSE
Quiz
•
Engineering
•
University
•
Practice Problem
•
Hard
SANTHOSH G
Used 6+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following sorting algorithms has the best worst-case time complexity?
Merge Sort
Quick Sort
Bubble Sort
Selection Sort
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which algorithm is used to find the shortest path in an unweighted graph?
Bellman-Ford Algorithm
Kruskal’s Algorithm
Dijkstra’s Algorithm
Breadth-First Search
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which data structure is best suited for implementing a priority queue?
Stack
Queue
Heap
Graph
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
In hashing, which technique is used to reduce collisions by mapping two keys to different slots?
Open Addressing
Chaining
Dynamic Rehashing
Dynamic Rehashing
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the time complexity of following code?
int a = 0, i = N;
while (i > 0) {
a += i; i /= 2;
}
O(sqrt(N) )
O(log(N))
O(N)
O(N/2)
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The given array is arr = {1, 2, 4, 3}. Bubble sort is used to sort the array elements. How many iterations will be done to sort the array?
4
2
1
0
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Consider a binary tree with n nodes, where each node can have at most two children. The height of the tree is defined as the maximum number of edges between the root node and any leaf node. Which of the following statements is true regarding the height h of this binary tree?
The height of the tree is always equal to n-1
The height of the tree can be greater than or equal to n-1
The height of the tree is always equal to log₂(n)
The height of the tree can be greater than or equal to log₂(n)
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
18 questions
Hackharbor 3.0 Day 3:Tech
Quiz
•
University
15 questions
Location Analysis
Quiz
•
University
10 questions
Approximate Analysis for Statically Indeterminate Structures
Quiz
•
University
20 questions
Tech-fest
Quiz
•
University
20 questions
Electro2 MSW1
Quiz
•
University
18 questions
LinkedIn Engagement Strategies Quiz
Quiz
•
University
17 questions
Hackharbor 3.0 Day 3:C
Quiz
•
University
20 questions
Hackharbor 3.0 Day 3:C
Quiz
•
University
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Engineering
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
9 questions
Principles of the United States Constitution
Interactive video
•
University
18 questions
Realidades 2 2A reflexivos
Quiz
•
7th Grade - University
10 questions
Dichotomous Key
Quiz
•
KG - University
25 questions
Integer Operations
Quiz
•
KG - University
7 questions
What Is Narrative Writing?
Interactive video
•
4th Grade - University
20 questions
SER vs ESTAR
Quiz
•
7th Grade - University
