Data Structure Lab Exam Practical Viva Questions and Answers - 1
Question: 1
What is the worst case time for quick sort to sort an array of n elements?
(A) 0(n)
(B) 0(nlog2n)
(C) 0(log2n)
(D) 0(log2n)
Ans: D
0(log2n)
Question: 2
The best way to find an item in an unsorted implemented using an array list is with
(A) Binary search
(B) Linear search
(C) Direct search
(D) Random search
Ans: B
Linear search
Question: 3
Which of the following data structure is used to represent a relationship between pairs, where relationship is not hierarchical?
(A) Priority queue
(B) Heap
(C) Tree
(D) Graph
Ans: D
Graph
Question: 4
A data item that cannot be divided into sub items is known as
(A) Elementary data item
(B) Group data item
(C) Primary key
(D) Primary data item
Ans: B
Group data item
Question: 5
The best way to find an item in a sorted list implemented using an array is with ___
(A) Direct search
(B) Random search
(C) Binary search
(D) Linear search
Ans: C
Binary search
- Data Structure MCQ Questions and Answers
- Data Structure Multiple Choice Questions and Answers Pdf
- Data Structure Objective Questions and Answers Pdf
- Top 150+ Data Structure Quiz Questions and Answers
- Data Structures and Algorithms Online Test
- Data Structure Lab Exam Practical Viva Questions and Answers
- Data Structures and Algorithms MCQs- Multiple Choice Questions Quiz Pdf
TNPSC Migration and Urbanisation Research Questions More
Migration and Urbanisation MCQ Questions and Answers Pdf More
Migration and Urbanisation Class 8 Questions and Answers Pdf More
People's Revolt Class 8 Questions and Answers Pdf More
Trade and Territory Class 8 Questions and Answers Pdf More
100+ SBI Clerk Previous Year Question Paper with Answers More
TNPSC, UPSC, SSC Union Legislature, Parliament MCQ Quiz Questions More
7000+ Banking and Finance MCQ with Answers Pdf More
1000+ Measurement and Instrumentation MCQ Questions & Answers More
Samacheer Kalvi 7th Civics Road Safety Questions More