SlideShare a Scribd company logo
1 of 12
DATA STRUCTURES
MCQ’S & ANSWERS
PART – 4
Follow Us On Instagram:-
https://www.instagram.com/knowledge_center_computer/?hl=en
KCC
KCC
91. Arrays are best data structures
A) for relatively permanent collections of data
B) for the size of the structure and the data in the structure are
constantly changing
C) for both of above situation
D) for none of above situation
Answer: - A
92. Which of the following data structure is not linear data structure?
A) Arrays
B) Linked lists
C) Both of the above
D) None of the above
Answer: - D
Answer: - D
93. The disadvantage in using a circular linked list is
…………………….
A) It is possible to get into infinite loop.
B) Last node points to first node.
C) Time consuming
D) Requires more memory space
94. A linear list in which each node has pointers to point to the
predecessor and successors nodes is called as ..
A) Singly Linked List
B) Circular Linked List
C) Doubly Linked List
D) Linear Linked List
Answer: - C
95. A ……………….. is a linear list in which insertions and deletions
are made to from either end of the
structure.
A) circular queue
B) random of queue
C) priority
D) dequeue
Answer: - D
Answer: - D
96. In a priority queue, insertion and deletion takes place at
………………
A) front, rear end
B) only at rear end
C) only at front end
D) any position
KCC
97. The time complexity of quick sort is …………..
A) O(n)
B) O(n2)
C) O(n log n)
D) O(log n) Answer: - C
98. Which of the following is an application of stack?
A) finding factorial
B) tower of Hanoi
C) infix to postfix conversion
D) all of the above
Answer: - D
Answer: - B
99. The data structure which is one ended is ………………
A) queue
B) stack
C) tree
D) graph
KCC
100. A list which displays the relationship of adjacency between
elements is said to be
A) linear
B) non linear
C) linked list
D) trees
Answer: - A
101. Two main measures for the efficiency of an algorithm are
a) Processor and memory
b) Complexity and capacity
c) Time and space
d) Data and space
Answer: - C
Answer: - B
102. The time factor when determining the efficiency of algorithm is
measured by
a) Counting microseconds
b) Counting the number of key operations
c) Counting the number of statements
d) Counting the kilobytes of algorithm
KCC
103. The space factor when determining the efficiency of algorithm is
measured by
Counting the maximum memory needed by the algorithm
Counting the minimum memory needed by the algorithm
Counting the average memory needed by the algorithm
Counting the maximum disk space needed by the algorithm
Answer: - A
104. Which of the following case does not exist in complexity theory
Best case
Worst case
Average case
Null case
Answer: - D
Answer: - D
105. The Worst case occur in linear search algorithm when
Item is somewhere in the middle of the array
Item is not in the array at all
Item is the last element in the array
Item is the last element in the array or is not there at all
KCC
106. The Average case occur in linear search algorithm
a) When Item is somewhere in the middle of the array
b) When Item is not in the array at all
c) When Item is the last element in the array
d) When Item is the last element in the array or is not there at all Answer: - A
107. The complexity of the average case of an algorithm is
a) Much more complicated to analyze than that of worst case
b) Much more simpler to analyze than that of worst case
c) Sometimes more complicated and some other times simpler than that of worst
case
d) None or above Answer: - A
Answer: - A
108. The complexity of linear search algorithm is
O(n)
O(log n)
O(n2)
O(n log n)
KCC
109. The complexity of Binary search algorithm is
O(n)
O(log )
O(n2)
O(n log n) Answer: - B
110. The complexity of Bubble sort algorithm is
O(n)
O(log n)
O(n2)
O(n log n)
Answer: - C
Answer: - D
111. The complexity of merge sort algorithm is
O(n)
O(log n)
O(n2)
O(n log n)
KCC
112. The indirect change of the values of a variable in one module by
another module is called
a) internal change
b) inter-module change
c) side effect
d) side-module update
Answer: - C
113. Which of the following data structure is not linear data structure?
a) Arrays
b) Linked lists
c) Both of above
d) None of above
Answer: - D
Answer: - C
114. Which of the following data structure is linear data structure?
Trees
Graphs
Arrays
None of above
KCC
115. The operation of processing each element in the list is known as
a) Sorting
b) Merging
c) Inserting
d) Traversal Answer: - D
116. Finding the location of the element with a given value is:
a) Traversal
b) Search
c) Sort
d) None of above
Answer: - B
Answer: - A
117. Arrays are best data structures
a) for relatively permanent collections of data
b) for the size of the structure and the data in the structure are
constantly changing
c) for both of above situation
d) for none of above situation
KCC
118. Linked lists are best suited
a) for relatively permanent collections of data
b) for the size of the structure and the data in the structure are
constantly changing
c) for both of above situation
d) for none of above situation
Answer: - B
119. Each array declaration need not give, implicitly or explicitly, the information
about
a) the name of array
b) the data type of array
c) the first data from the set to be stored
d) the index set of the array
Answer: - C
Answer: - A
120. The elements of an array are stored successively in memory cells because
a) by this way computer can keep track only the address of the first element
and the addresses of other elements can be calculated
b) the architecture of computer memory does not allow arrays to store other
than serially
c) both of above
d) none of above KCC

More Related Content

Similar to Data structure part 4

Ee693 questionshomework
Ee693 questionshomeworkEe693 questionshomework
Ee693 questionshomeworkGopi Saiteja
 
AP PGECET Computer Science 2016 question paper
AP PGECET Computer Science 2016 question paperAP PGECET Computer Science 2016 question paper
AP PGECET Computer Science 2016 question paperEneutron
 
GATE Computer Science Solved Paper 2004
GATE Computer Science Solved Paper 2004GATE Computer Science Solved Paper 2004
GATE Computer Science Solved Paper 2004Rohit Garg
 
Ds qb 2021 rma
Ds qb 2021 rmaDs qb 2021 rma
Ds qb 2021 rmaARAVINDRM2
 
Gate Previous Years Papers
Gate Previous Years PapersGate Previous Years Papers
Gate Previous Years PapersRahul Jain
 
Answers withexplanations
Answers withexplanationsAnswers withexplanations
Answers withexplanationsGopi Saiteja
 
Data structure - mcqs
Data structure - mcqsData structure - mcqs
Data structure - mcqssuthi
 
PGCET Computer science 2017 question paper
PGCET Computer science 2017 question paperPGCET Computer science 2017 question paper
PGCET Computer science 2017 question paperEneutron
 
Cplus plus abd datastructure
Cplus plus abd datastructureCplus plus abd datastructure
Cplus plus abd datastructureprabhatjon
 
MCQs on Stacks.pdf
MCQs on Stacks.pdfMCQs on Stacks.pdf
MCQs on Stacks.pdfahsaan3123
 
MCQs on Stacks.pdf
MCQs on Stacks.pdfMCQs on Stacks.pdf
MCQs on Stacks.pdfahsaan3123
 

Similar to Data structure part 4 (20)

Data structure
Data structureData structure
Data structure
 
DS Q&A
DS Q&ADS Q&A
DS Q&A
 
combat unacademy.pdf
combat unacademy.pdfcombat unacademy.pdf
combat unacademy.pdf
 
Ee693 questionshomework
Ee693 questionshomeworkEe693 questionshomework
Ee693 questionshomework
 
AP PGECET Computer Science 2016 question paper
AP PGECET Computer Science 2016 question paperAP PGECET Computer Science 2016 question paper
AP PGECET Computer Science 2016 question paper
 
GATE Computer Science Solved Paper 2004
GATE Computer Science Solved Paper 2004GATE Computer Science Solved Paper 2004
GATE Computer Science Solved Paper 2004
 
Ds qb 2021 rma
Ds qb 2021 rmaDs qb 2021 rma
Ds qb 2021 rma
 
Gate Previous Years Papers
Gate Previous Years PapersGate Previous Years Papers
Gate Previous Years Papers
 
Answers withexplanations
Answers withexplanationsAnswers withexplanations
Answers withexplanations
 
Data structure - mcqs
Data structure - mcqsData structure - mcqs
Data structure - mcqs
 
PGCET Computer science 2017 question paper
PGCET Computer science 2017 question paperPGCET Computer science 2017 question paper
PGCET Computer science 2017 question paper
 
Cs101 endsem 2014
Cs101 endsem 2014Cs101 endsem 2014
Cs101 endsem 2014
 
Cplus plus abd datastructure
Cplus plus abd datastructureCplus plus abd datastructure
Cplus plus abd datastructure
 
MCQs on Stacks.pdf
MCQs on Stacks.pdfMCQs on Stacks.pdf
MCQs on Stacks.pdf
 
MCQs on Stacks.pdf
MCQs on Stacks.pdfMCQs on Stacks.pdf
MCQs on Stacks.pdf
 
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
 
Algorithm Class at KPHB C, C++ Training Institute KPHB, Kukatpally, Hyderabad.
Algorithm Class at KPHB C, C++ Training Institute KPHB, Kukatpally, Hyderabad.Algorithm Class at KPHB C, C++ Training Institute KPHB, Kukatpally, Hyderabad.
Algorithm Class at KPHB C, C++ Training Institute KPHB, Kukatpally, Hyderabad.
 
Algorithm Class at KPHB C, c++, Computer Science Training,IT Training,CS Trai...
Algorithm Class at KPHB C, c++, Computer Science Training,IT Training,CS Trai...Algorithm Class at KPHB C, c++, Computer Science Training,IT Training,CS Trai...
Algorithm Class at KPHB C, c++, Computer Science Training,IT Training,CS Trai...
 
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
 
Algorithm Class at KPHB C, C++, Computer Science Training,IT Training,CS Trai...
Algorithm Class at KPHB C, C++, Computer Science Training,IT Training,CS Trai...Algorithm Class at KPHB C, C++, Computer Science Training,IT Training,CS Trai...
Algorithm Class at KPHB C, C++, Computer Science Training,IT Training,CS Trai...
 

More from Knowledge Center Computer

Programming languages java, python, sql and compare between c and python
Programming languages  java, python, sql and compare between c and pythonProgramming languages  java, python, sql and compare between c and python
Programming languages java, python, sql and compare between c and pythonKnowledge Center Computer
 
Information assistant exam complete syllabus 2018
Information assistant exam  complete syllabus  2018Information assistant exam  complete syllabus  2018
Information assistant exam complete syllabus 2018Knowledge Center Computer
 
हिन्‍दी में मल्‍टीपल चॉइस कंप्यूटर साइंस क्विज Part 4
हिन्‍दी में मल्‍टीपल  चॉइस कंप्यूटर साइंस क्विज Part 4हिन्‍दी में मल्‍टीपल  चॉइस कंप्यूटर साइंस क्विज Part 4
हिन्‍दी में मल्‍टीपल चॉइस कंप्यूटर साइंस क्विज Part 4Knowledge Center Computer
 
हिन्‍दी में मल्‍टीपल चॉइस कंप्यूटर साइंस क्विज Part 3
हिन्‍दी में मल्‍टीपल  चॉइस कंप्यूटर साइंस क्विज Part 3हिन्‍दी में मल्‍टीपल  चॉइस कंप्यूटर साइंस क्विज Part 3
हिन्‍दी में मल्‍टीपल चॉइस कंप्यूटर साइंस क्विज Part 3Knowledge Center Computer
 
हिन्‍दी में मल्‍टीपल चॉइस कंप्यूटर साइंस क्विज Part 2
हिन्‍दी में मल्‍टीपल  चॉइस कंप्यूटर साइंस क्विज Part 2हिन्‍दी में मल्‍टीपल  चॉइस कंप्यूटर साइंस क्विज Part 2
हिन्‍दी में मल्‍टीपल चॉइस कंप्यूटर साइंस क्विज Part 2Knowledge Center Computer
 
हिन्‍दी में मल्‍टीपल चॉइस कंप्यूटर साइंस क्विज Part 1
हिन्‍दी में मल्‍टीपल  चॉइस कंप्यूटर साइंस क्विज Part 1हिन्‍दी में मल्‍टीपल  चॉइस कंप्यूटर साइंस क्विज Part 1
हिन्‍दी में मल्‍टीपल चॉइस कंप्यूटर साइंस क्विज Part 1Knowledge Center Computer
 

More from Knowledge Center Computer (20)

APS PGT Computer Science SylIabus
APS PGT Computer Science SylIabusAPS PGT Computer Science SylIabus
APS PGT Computer Science SylIabus
 
Specialization and generalization quizz
Specialization and generalization quizzSpecialization and generalization quizz
Specialization and generalization quizz
 
Computer architecture PART 2
Computer architecture  PART  2Computer architecture  PART  2
Computer architecture PART 2
 
Computer architecture PART 1
Computer architecture  PART 1Computer architecture  PART 1
Computer architecture PART 1
 
Course design class 12 ip
Course design class 12 ipCourse design class 12 ip
Course design class 12 ip
 
CBSE 12 ip 2018 sample paper
CBSE 12 ip 2018 sample paperCBSE 12 ip 2018 sample paper
CBSE 12 ip 2018 sample paper
 
Programming languages java, python, sql and compare between c and python
Programming languages  java, python, sql and compare between c and pythonProgramming languages  java, python, sql and compare between c and python
Programming languages java, python, sql and compare between c and python
 
Sql and Sql commands
Sql and Sql commandsSql and Sql commands
Sql and Sql commands
 
E commerce and types
E commerce and typesE commerce and types
E commerce and types
 
Android Operating System(OS)
Android Operating System(OS)Android Operating System(OS)
Android Operating System(OS)
 
Networking Basic MCQ's TEST
Networking Basic  MCQ's TESTNetworking Basic  MCQ's TEST
Networking Basic MCQ's TEST
 
Physics QUIZ
Physics QUIZ Physics QUIZ
Physics QUIZ
 
Ms word mcq
Ms word mcqMs word mcq
Ms word mcq
 
Ms word mcq
Ms word mcqMs word mcq
Ms word mcq
 
Information assistant exam complete syllabus 2018
Information assistant exam  complete syllabus  2018Information assistant exam  complete syllabus  2018
Information assistant exam complete syllabus 2018
 
Computer fundamentals in hindi
Computer fundamentals in hindiComputer fundamentals in hindi
Computer fundamentals in hindi
 
हिन्‍दी में मल्‍टीपल चॉइस कंप्यूटर साइंस क्विज Part 4
हिन्‍दी में मल्‍टीपल  चॉइस कंप्यूटर साइंस क्विज Part 4हिन्‍दी में मल्‍टीपल  चॉइस कंप्यूटर साइंस क्विज Part 4
हिन्‍दी में मल्‍टीपल चॉइस कंप्यूटर साइंस क्विज Part 4
 
हिन्‍दी में मल्‍टीपल चॉइस कंप्यूटर साइंस क्विज Part 3
हिन्‍दी में मल्‍टीपल  चॉइस कंप्यूटर साइंस क्विज Part 3हिन्‍दी में मल्‍टीपल  चॉइस कंप्यूटर साइंस क्विज Part 3
हिन्‍दी में मल्‍टीपल चॉइस कंप्यूटर साइंस क्विज Part 3
 
हिन्‍दी में मल्‍टीपल चॉइस कंप्यूटर साइंस क्विज Part 2
हिन्‍दी में मल्‍टीपल  चॉइस कंप्यूटर साइंस क्विज Part 2हिन्‍दी में मल्‍टीपल  चॉइस कंप्यूटर साइंस क्विज Part 2
हिन्‍दी में मल्‍टीपल चॉइस कंप्यूटर साइंस क्विज Part 2
 
हिन्‍दी में मल्‍टीपल चॉइस कंप्यूटर साइंस क्विज Part 1
हिन्‍दी में मल्‍टीपल  चॉइस कंप्यूटर साइंस क्विज Part 1हिन्‍दी में मल्‍टीपल  चॉइस कंप्यूटर साइंस क्विज Part 1
हिन्‍दी में मल्‍टीपल चॉइस कंप्यूटर साइंस क्विज Part 1
 

Recently uploaded

Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxsocialsciencegdgrohi
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitolTechU
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupJonathanParaisoCruz
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxAvyJaneVismanos
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 

Recently uploaded (20)

Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptx
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized Group
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 

Data structure part 4

  • 1. DATA STRUCTURES MCQ’S & ANSWERS PART – 4 Follow Us On Instagram:- https://www.instagram.com/knowledge_center_computer/?hl=en KCC
  • 2. KCC
  • 3. 91. Arrays are best data structures A) for relatively permanent collections of data B) for the size of the structure and the data in the structure are constantly changing C) for both of above situation D) for none of above situation Answer: - A 92. Which of the following data structure is not linear data structure? A) Arrays B) Linked lists C) Both of the above D) None of the above Answer: - D Answer: - D 93. The disadvantage in using a circular linked list is ……………………. A) It is possible to get into infinite loop. B) Last node points to first node. C) Time consuming D) Requires more memory space
  • 4. 94. A linear list in which each node has pointers to point to the predecessor and successors nodes is called as .. A) Singly Linked List B) Circular Linked List C) Doubly Linked List D) Linear Linked List Answer: - C 95. A ……………….. is a linear list in which insertions and deletions are made to from either end of the structure. A) circular queue B) random of queue C) priority D) dequeue Answer: - D Answer: - D 96. In a priority queue, insertion and deletion takes place at ……………… A) front, rear end B) only at rear end C) only at front end D) any position KCC
  • 5. 97. The time complexity of quick sort is ………….. A) O(n) B) O(n2) C) O(n log n) D) O(log n) Answer: - C 98. Which of the following is an application of stack? A) finding factorial B) tower of Hanoi C) infix to postfix conversion D) all of the above Answer: - D Answer: - B 99. The data structure which is one ended is ……………… A) queue B) stack C) tree D) graph KCC
  • 6. 100. A list which displays the relationship of adjacency between elements is said to be A) linear B) non linear C) linked list D) trees Answer: - A 101. Two main measures for the efficiency of an algorithm are a) Processor and memory b) Complexity and capacity c) Time and space d) Data and space Answer: - C Answer: - B 102. The time factor when determining the efficiency of algorithm is measured by a) Counting microseconds b) Counting the number of key operations c) Counting the number of statements d) Counting the kilobytes of algorithm KCC
  • 7. 103. The space factor when determining the efficiency of algorithm is measured by Counting the maximum memory needed by the algorithm Counting the minimum memory needed by the algorithm Counting the average memory needed by the algorithm Counting the maximum disk space needed by the algorithm Answer: - A 104. Which of the following case does not exist in complexity theory Best case Worst case Average case Null case Answer: - D Answer: - D 105. The Worst case occur in linear search algorithm when Item is somewhere in the middle of the array Item is not in the array at all Item is the last element in the array Item is the last element in the array or is not there at all KCC
  • 8. 106. The Average case occur in linear search algorithm a) When Item is somewhere in the middle of the array b) When Item is not in the array at all c) When Item is the last element in the array d) When Item is the last element in the array or is not there at all Answer: - A 107. The complexity of the average case of an algorithm is a) Much more complicated to analyze than that of worst case b) Much more simpler to analyze than that of worst case c) Sometimes more complicated and some other times simpler than that of worst case d) None or above Answer: - A Answer: - A 108. The complexity of linear search algorithm is O(n) O(log n) O(n2) O(n log n) KCC
  • 9. 109. The complexity of Binary search algorithm is O(n) O(log ) O(n2) O(n log n) Answer: - B 110. The complexity of Bubble sort algorithm is O(n) O(log n) O(n2) O(n log n) Answer: - C Answer: - D 111. The complexity of merge sort algorithm is O(n) O(log n) O(n2) O(n log n) KCC
  • 10. 112. The indirect change of the values of a variable in one module by another module is called a) internal change b) inter-module change c) side effect d) side-module update Answer: - C 113. Which of the following data structure is not linear data structure? a) Arrays b) Linked lists c) Both of above d) None of above Answer: - D Answer: - C 114. Which of the following data structure is linear data structure? Trees Graphs Arrays None of above KCC
  • 11. 115. The operation of processing each element in the list is known as a) Sorting b) Merging c) Inserting d) Traversal Answer: - D 116. Finding the location of the element with a given value is: a) Traversal b) Search c) Sort d) None of above Answer: - B Answer: - A 117. Arrays are best data structures a) for relatively permanent collections of data b) for the size of the structure and the data in the structure are constantly changing c) for both of above situation d) for none of above situation KCC
  • 12. 118. Linked lists are best suited a) for relatively permanent collections of data b) for the size of the structure and the data in the structure are constantly changing c) for both of above situation d) for none of above situation Answer: - B 119. Each array declaration need not give, implicitly or explicitly, the information about a) the name of array b) the data type of array c) the first data from the set to be stored d) the index set of the array Answer: - C Answer: - A 120. The elements of an array are stored successively in memory cells because a) by this way computer can keep track only the address of the first element and the addresses of other elements can be calculated b) the architecture of computer memory does not allow arrays to store other than serially c) both of above d) none of above KCC