
2nd Year Data Structures Quiz Qn

Quiz
•
Information Technology (IT)
•
University
•
Hard
Keerthana Moorthy
Used 5+ times
FREE Resource
35 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How is an array initialized in C language?
int a[3] = {1, 2, 3};
int a = {1, 2, 3};
int a[] = new int[3]
int a(3) = [1, 2, 3];
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not the type of queue?
Priority queue
Single-ended queue
Circular queue
Ordinary queue
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
From following which is not the operation of data structure?
Operations that manipulate data in some way
Operations that perform a computation
Operations that check for syntax errors
Operations that monitor an object for the occurrence of a controlling event
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following are applications of Topological Sort of a graph?
Sentence Ordering
Course Scheduling
OS Deadlock Detection
All of the above
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the time complexity of the binary search algorithm?
O(n)
O(n^2)
O(log2n)
O(1)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following algorithms are used to find the shortest path from a source node to all other nodes in a weighted graph?
BFS
Kruskal’s Algorithm
Prims Algorithm
Djikstra’s Algorithm
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many edges are present in the complete graph of n vertices?
n(n-1)/2
n(n+1)/2
n
n/2
Create a free account and access millions of resources
Similar Resources on Wayground
39 questions
Câu hỏi về thuật toán và tìm kiếm CTDL

Quiz
•
University
32 questions
INTRO TO COMPUTING MIDTERM EXAM

Quiz
•
University
40 questions
UML Trial Exam 1

Quiz
•
University
30 questions
HAWKIN'S HUNT ROUND -1 QUIZ

Quiz
•
University
30 questions
Konektivitas dan Jaringan Komputer

Quiz
•
8th Grade - University
30 questions
General Knowledge Quiz

Quiz
•
University
31 questions
Node.js Quiz

Quiz
•
University
33 questions
Quiz 6 Web-e

Quiz
•
University
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
11 questions
NFL Football logos

Quiz
•
KG - Professional Dev...
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
38 questions
Unit 6 Key Terms

Quiz
•
11th Grade - University
20 questions
La Hora

Quiz
•
9th Grade - University
7 questions
Cell Transport

Interactive video
•
11th Grade - University
7 questions
What Is Narrative Writing?

Interactive video
•
4th Grade - University