Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
17 views
Persistent Dsa
Uploaded by
aakashkasabekar2020.comp
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save persistent_dsa For Later
Download
Save
Save persistent_dsa For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
0 ratings
0% found this document useful (0 votes)
17 views
Persistent Dsa
Uploaded by
aakashkasabekar2020.comp
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save persistent_dsa For Later
Carousel Previous
Carousel Next
Save
Save persistent_dsa For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
Download now
Download
You are on page 1
/ 11
Search
Fullscreen
Started on Tuesday, 11 July 2023, 11:32 PM State Finished Completed on Tuesday, 11 July 2023, 1:60 PM Time taken 17 ming 10 sees Grade 26.00 out of 30.00 (86.67%) ueston 1 Which of the folowing algorithms are used to ind the shortest path from a source nade to al other nodes in a weighted graph? ‘Adjostin Matrix and List, euskal Algorithm rims Algorithm Djiksta's Algorthmy poe Your answer is correct. The correct answers: Dikstra's Algorithm useton2 What ie hash table? Asucture thal maps keys to values Astucture used fer storage A siucture used fo implement stack and q ‘Astucture thal maps values to keys pope Your answer is correct. The correct answers: A structure that maps keys to valuesuseton 3 Which ofthe flowing isthe advantage ofthe array data structure? Elements ofan array cannot be sorted Easier to access the elements in an array Index ofthe first element stats from 1 Elements of mixes datatypes can be stored pope Your answer is correct. The correct answer Is: Easier to access the elements In an aray usctond What is diect addressing? Distinct array position for every possible key Fewer aay postions than keys Fewer keys than aray positions ‘Same array positon forall keys pepe Your answer ie correc. ‘The correct answer ls: Distinct array position for every possible key ueston 5 Which of the folowing is the disadvantage of the array? ‘Stack and Queue data structures can be implamented through an array. Index ofthe first element in an array can be negative Elements can be accessed sequentially. SOB > \Wastage of memory ifthe elements inserted in an array are lesser than the allocated size Your answer ie correc ‘The correct answer ls: Wastage of memory if the elements inserted in an array are lesser than the allocated sizeuseton \Which one of the folowing isthe process of inserting an slementin the stack? push¥ acd cenqueve insert pope Your answer is correc The correct answers: push ueeton 7 When the user ries to delete the. sent from the empty Stack then the condition is said to be a delete NULL empty undertow goer Your answer ie correc. The correct anewor i: underow useton 8 Ifthe size ofthe stack fs 10 and we ty fo add the 111 elementin the stack then the condition is known as__ overtonY undertow Grabage collection segementation faut ener Your answer ie correct. ‘The correct answer's: overtowuseton 9 Which one ofthe folowing isnot the application of the stack data structure Asynchronous data transfor Backtracking Recursion pope String reversal Your answer is correc. The correct answer is: Asynchronous dala transfer ueston 10 \Which data structure is mainly used for implementing the recursive algorithm? Queue Linked List ‘StackY Tree powe ‘Your answer is correct. ‘The correct answers: Stack uncton 11 How can we describe an arayin the best possiole way? ‘The Array shows a hierarchical struct ‘rays are immutable Container that stores the elements of similar ype ‘The Array isnot a data structure pepe ‘Your answer is correct. ‘The correct answers: Container that store sents of similar typesuseton 12 \Which one ofthe folowing node is considered the top of the stack if the stack is implemented using the linked list? A. First node 8. inbetween node ©. lastnode D. First and Last node Your answer is correc. The correct answer iF ueston 13 \What is another name forthe circular queue among the folowing options? ‘square butfor list hhead-tall ist Ring butterY head ist gee Your answer ie correc. The correct anewor i: Ring bufer useton 14 Ast of elements in which enqueue operation takes place ftom one end, and dequeue operation takes place from one end is__ Queue Troe Stack ‘ray Your answer is correc. ‘The correct answer is: Queueuneton 15 Which one of the folowing isnot the type of the Queue? Linesr Queue Double ended Queue Circular Queue Single ended QueueY pom > Your answer's corect. ‘The correct answer's: Single ended Queue vncton 16 Which one of the folowing isthe overiow condition if near queue is implomented using an array with a size MAX_SIZE? pope Your answer is correct. ‘The correct answers: rear=MAX SIZE -1 unston 17 Which one ofthe folowing isthe overiow conxition if circular queUE is implemented using array having size MAX? front MAX rear MAX-1% front=(rear+) mod max po we rear=(reart) mod max. Your answer is incorrect, ‘The correct answer ls: ront=(-earet) mod maxuneton 18 ‘The lime complexiy af enqueue operation in Queue is. A OF B. offonn) ©. O(nog) D. on Your answer is correc. The correct answers: O(1) ueston 19 Which of the folowing that determines the need for the Circular Queue? ‘Access the Queue using priority Follows the FIFO principle Follows the LIFO principle ‘Avoid wastage of memory Pee > Your answer ie correc. ‘The correct answer is: Avoid wastage of memory ueston 20 Which one of the folowing isthe correct way to increment the rear end in a crcular queue? (rear % max) +4 tar = font (rear) % max po @> rear rear Your answer is incorrect. ‘The correct answer's: (rear % max) + 1useton 21 Inthe linked ist implementation of queue, where wil he new slement be inserted? A. Athe mide poston of the linked list 8. tthe had or til poston of he linked lst C. pethe ti poston of the linked list . asthe head positon ofthe linked list Your answer's corect. ‘The correct answer's: A the tal position ofthe inked list vncton 22 How can we intalize an array in C language? int ant2}=(10, 20} int ant2I=(10, 205.4 A 8 c o. intamr(2) = (10, 20), Your answer is correct. ‘The correct answers: int ati2]=(10, 20); vneton 23 Which one ofthe folowing is not the application of the Queue data structure? Load balancing Data is transferred asynchronously Resource shared between various systems Balancing of symbols¥ Your answer is correct. ‘The correct answers: Balancing of symbolsuseton 24 Which data structure isthe best for implementing a pry queue? A Heapy 5 Stack ©. Code Section D. Dala Sections Your answer is correct. ‘The correct answers: H uecton 25 \Which of the folowing soring algorithms can be used to sort a random linked Iist with minimum time complexity? Heap Sort Inerton Sort ‘Qulek Sort Merge Son poe Your answer ie correct. ‘The correct answers: Merge Sort ueston 26 Which one ofthe folowing techniques isnot used in the Binary tree? A. Postorder traversal B. Inordor traversal ©. Preorder traversal D. Randomized traversal¥ Your answer is correc. ‘The correct answer ls: Randomized traversaluscton 27 How can we define a AVL tree? A tree with utmost three children Aree which s a binary search tree but unbalanced tree, Atte which s binary search tree and height balanced tree. ¥ Ate@e with utmost two children Your answer's corect. ‘The correct answers: A fee which 's binary search free and height balanced tree, vneton 28 \Which of he following is a Divide and Conguer algorithm? A. Quick sort Bubble sort C. Insert sort o. Morge sort Your answer is correct. ‘The correct answers: Merge sort vncton 29 \Which of the folowing represents the Postorder Traversal ofa Binary Tree? Left-> Root > Right Left Right > Root Root > Left >Right® Root > Right > Left Your answor Is incorrect ‘The correct answers: Left Right -> Rootveston 30 Ih a graph of n nodes and n edges, how many cycles willbe present? Exactly N Depends on nodes Exactly 1 Depends on the graph * pa er Your answer is incorrect, ‘The correct answer ls: Exactly 1
You might also like
300+ TOP Data Structures and Algorithms MCQs & Answers PDF 2022
PDF
No ratings yet
300+ TOP Data Structures and Algorithms MCQs & Answers PDF 2022
87 pages
Data Structure Question Paper With Answer PDF
PDF
100% (5)
Data Structure Question Paper With Answer PDF
6 pages
Test - Learning Outcome 1 - PGR206-1 23H Data Structures and Algorithms
PDF
No ratings yet
Test - Learning Outcome 1 - PGR206-1 23H Data Structures and Algorithms
12 pages
300+ TOP DATA STRUCTURES and ALGORITHMS Multiple Choice Questions and Answers
PDF
100% (3)
300+ TOP DATA STRUCTURES and ALGORITHMS Multiple Choice Questions and Answers
27 pages
DataStrustures MCQ Sample With Answerkey
PDF
No ratings yet
DataStrustures MCQ Sample With Answerkey
13 pages
BCA-2Sem Data Structure
PDF
No ratings yet
BCA-2Sem Data Structure
30 pages
Fundamentals of Data Structures - MCQ - II
PDF
100% (1)
Fundamentals of Data Structures - MCQ - II
34 pages
CS133 Final Exam
PDF
No ratings yet
CS133 Final Exam
14 pages
3144DSA Question Bank 2022-23docx
PDF
No ratings yet
3144DSA Question Bank 2022-23docx
5 pages
Technical 3
PDF
No ratings yet
Technical 3
51 pages
Data Structure MCQ
PDF
No ratings yet
Data Structure MCQ
46 pages
Model Question Paper Subject Code: MC0068 Subject Name: Data Structure Using C Credits: 4 Marks: 140 Part A (One Mark Questions)
PDF
No ratings yet
Model Question Paper Subject Code: MC0068 Subject Name: Data Structure Using C Credits: 4 Marks: 140 Part A (One Mark Questions)
13 pages
Question Bank - Data Structures
PDF
No ratings yet
Question Bank - Data Structures
7 pages
Data Structures and Algorithm Analysis-Midterms
PDF
100% (1)
Data Structures and Algorithm Analysis-Midterms
60 pages
201 Data Structures Exams Trial
PDF
No ratings yet
201 Data Structures Exams Trial
19 pages
Data StructuresMCQ
PDF
100% (8)
Data StructuresMCQ
28 pages
MCQ - FILL in The Balnks
PDF
No ratings yet
MCQ - FILL in The Balnks
6 pages
Delta X Technical Question Answers
PDF
No ratings yet
Delta X Technical Question Answers
21 pages
DS MCQ
PDF
No ratings yet
DS MCQ
5 pages
mcq quizack
PDF
No ratings yet
mcq quizack
13 pages
300+ TOP Data Structures and Algorithms Multiple Choice Questions and Answers
PDF
No ratings yet
300+ TOP Data Structures and Algorithms Multiple Choice Questions and Answers
27 pages
Data Structure and Algorithm MCQ: A) B) C) D)
PDF
No ratings yet
Data Structure and Algorithm MCQ: A) B) C) D)
12 pages
Data Structure and Algorithms
PDF
No ratings yet
Data Structure and Algorithms
99 pages
Ds 1
PDF
No ratings yet
Ds 1
18 pages
DSA Answers
PDF
No ratings yet
DSA Answers
25 pages
Stack Queue
PDF
No ratings yet
Stack Queue
7 pages
18 CSC201 Ja
PDF
No ratings yet
18 CSC201 Ja
2 pages
DS 2022 qb
PDF
No ratings yet
DS 2022 qb
5 pages
Csc 221 Quiz
PDF
No ratings yet
Csc 221 Quiz
16 pages
3rd Sem CSIT-1 Data Structure Using C (MCQ)
PDF
No ratings yet
3rd Sem CSIT-1 Data Structure Using C (MCQ)
3 pages
DSA MODEL
PDF
No ratings yet
DSA MODEL
13 pages
DS 2021 qb
PDF
No ratings yet
DS 2021 qb
6 pages
100 Top Data Structures and Algorithms Multiple Choice Questions and Answers
PDF
100% (1)
100 Top Data Structures and Algorithms Multiple Choice Questions and Answers
22 pages
QUEUE
PDF
No ratings yet
QUEUE
5 pages
Data Structure MCQ Question
PDF
0% (1)
Data Structure MCQ Question
6 pages
CA-II DS Question Bank
PDF
No ratings yet
CA-II DS Question Bank
6 pages
D) All of The Above A) AVL Tree
PDF
No ratings yet
D) All of The Above A) AVL Tree
26 pages
(DSU) Data Structure Using 'C' (22317)
PDF
0% (1)
(DSU) Data Structure Using 'C' (22317)
6 pages
CSD201
PDF
No ratings yet
CSD201
11 pages
Data Structures and Algorithm Analysis Answer in Oed
PDF
No ratings yet
Data Structures and Algorithm Analysis Answer in Oed
61 pages
21CSC201J
PDF
No ratings yet
21CSC201J
2 pages
Data Structure
PDF
No ratings yet
Data Structure
9 pages
Data Structure: Multiple Choice Questions & Answers
PDF
No ratings yet
Data Structure: Multiple Choice Questions & Answers
22 pages
DS2022
PDF
100% (1)
DS2022
5 pages
DATA-STRUCTURE
PDF
No ratings yet
DATA-STRUCTURE
42 pages
Viva Questions For Data Structures Lab
PDF
No ratings yet
Viva Questions For Data Structures Lab
7 pages
Data Structures and Algorithms Question Bank-1
PDF
No ratings yet
Data Structures and Algorithms Question Bank-1
16 pages
DS LAB TEST
PDF
No ratings yet
DS LAB TEST
4 pages
Data Structures
PDF
No ratings yet
Data Structures
20 pages
DSA Presentstio
PDF
No ratings yet
DSA Presentstio
65 pages
Viva Questions
PDF
No ratings yet
Viva Questions
12 pages
Comp 202
PDF
No ratings yet
Comp 202
6 pages
CS301 Grand Quiz Preparation
PDF
No ratings yet
CS301 Grand Quiz Preparation
12 pages
DataStruct Final 2024 1
PDF
No ratings yet
DataStruct Final 2024 1
4 pages
Name Ag# Course
PDF
No ratings yet
Name Ag# Course
25 pages
S.Y.-B.Sc_.-III_Data-Structure-I
PDF
No ratings yet
S.Y.-B.Sc_.-III_Data-Structure-I
18 pages