CYBERSYNAPSE

Quiz
•
Engineering
•
University
•
Hard
SANTHOSH G
Used 6+ times
FREE Resource
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
Similar Resources on Wayground
14 questions
women in Stem Trivia

Quiz
•
University
15 questions
CC SBL

Quiz
•
University
20 questions
Groundwater Table Observation

Quiz
•
University
10 questions
E1 - CPS Basics

Quiz
•
University
20 questions
DAA 4th Sem

Quiz
•
University
15 questions
Location Analysis

Quiz
•
University
10 questions
Informed Search and CSP

Quiz
•
University
15 questions
SNA Module 2

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 Engineering
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