
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
35 questions
Ujian informatika

Quiz
•
9th Grade - University
30 questions
Graph Quiz

Quiz
•
University
30 questions
UAS STRUKTUR DATA REGULER

Quiz
•
University
30 questions
Networking I: IPv4

Quiz
•
University
30 questions
172D07_kuis 1 _struktur data

Quiz
•
University
30 questions
Network OS Services Quiz

Quiz
•
University
30 questions
UNIT-4-EXCEPTION-HANDLING & I/O BASICS

Quiz
•
University
30 questions
Hawkin's hunt ROUND-2

Quiz
•
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 Information Technology (IT)
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