SlideShare a Scribd company logo
1 of 12
DATA STRUCTURES
MCQ’S & ANSWERS
PART – 2
Follow Us On Instagram:-
https://www.instagram.com/knowledge_center_computer/?hl=en
KCC
KCC
31. In a queue, the initial values of front pointer f rare pointer r should
be …….. and ……….. respectively.
A) 0 and 1
B) 0 and -1
C) -1 and 0
D) 1 and 0
Answer: - B
32. In a circular queue the value of r will be ..
A) r=r+1
B) r=(r+1)% [QUEUE_SIZE – 1]
C) r=(r+1)% QUEUE_SIZE
D) r=(r-1)% QUEUE_SIZE
Answer: - C
Answer: - C
33. Which of the following statement is true?
i) Using singly linked lists and circular list, it is not possible to
traverse the list backwards.
ii) To find the predecessor, it is required to traverse the list from the
first node in case of singly linked list.
A) i-only
B) ii-only
C) Both i and ii
D) None of both KC
34. The advantage of …………….. is that they solve the problem if
sequential storage representation. But disadvantage in that is they are
sequential lists.
A) Lists
B) Linked Lists
C) Trees
D) Queues
Answer: - B
35. What will be the value of top, if there is a size of stack STACK_SIZE is
5
A) 5
B) 6
C) 4
D) None
Answer: - C
Answer: - D
36. ………… is not the operation that can be performed on queue.
A) Insertion
B) Deletion
C) Retrieval
D) Traversal
KC
37. There is an extra element at the head of the list called a ……….
A) Antinel
B) Sentinel
C) List header
D) List head Answer: - B
38. A graph is a collection of nodes, called ………. And line segments called arcs
or ……….. that connect pair of nodes.
A) vertices, edges
B) edges, vertices
C) vertices, paths
D) graph node, edges Answer: - A
Answer: - C
39. A ……….. is a graph that has weights of costs associated with its edges.
A) Network
B) Weighted graph
C) Both A and B
D) None A and B
KC
40. In general, the binary search method needs no more than
……………. comparisons.
A) [log2n]-1
B) [logn]+1
C) [log2n]
D) [log2n]+1
Answer: - D
41. Which of the following is not the type of queue?
A) Ordinary queue
B) Single ended queue
C) Circular queue
D) Priority queue
Answer: - B
Answer: - D
42. The property of binary tree is
A) The first subset is called left subtree
B) The second subtree is called right subtree
C) The root cannot contain NULL
D) The right subtree can be empty
KC
43. State true or false. i) The degree of root node is always zero. ii)
Nodes that are not root and not leaf are called as internal nodes.
A) True, True
B) True, False
C) False, True
D) False, False
Answer: - C
44. Any node is the path from the root to the node is called
A) Successor node
B) Ancestor node
C) Internal node
D) None of the above
Answer: - B
Answer: - B
45. State true of false i) A node is a parent if it has successor nodes.
ii) A node is child node if out degree is one.
A) True, True
B) True, False
C) False, True
D) False, False
KC
46. ………………. is not an operation performed on linear list
a) Insertion b) Deletion c) Retrieval d) Traversal
A) only a,b and c
B) only a and b
C) All of the above
D) None of the above
Answer: - D
47. Which is/are the application(s) of stack
A) Function calls
B) Large number Arithmetic
C) Evaluation of arithmetic expressions
D) All of the above
Answer: - D
Answer: - A
48. A …………… is an acyclic digraph, which has only one node
with indegree 0, and other nodes have indegree
A) Directed tree
B) Undirected tree
C) Dis-joint tree
D) Direction oriented tree
KC
49. …………………. Is a directed tree in which outdegree of each
node is less han or equal to two.
A) Unary tree
B) Binary tree
C) Trinary tree
D) Both B and C
Answer: - B
50. State true or false. i) An empty tree is also a binary tree. ii) In
strictly binary tree, the out-degree of every node is either o or 2.
A) True, False
B) False, True
C) True, True
D) False, False Answer: - C
Answer: - A
51. Which of the following data structures are indexed structures?
A. Linear arrays
B. Linked lists
C. Queue
D. Stack
KC
52. Which of the following data structure store the homogeneous data
elements?
A. Arrays
B. Records
C. Pointers
D. Lists
Answer: - B
53. When new data are to be inserted into a data structure, but there is
not available space; this situation is usually called ….
A. Underflow
B. overflow
C. houseful
D. saturated Answer: - B
Answer: - D
54. A data structure where elements can be added or removed at
either end but not in the middle is called …
A. linked lists
B. stacks
C. queues
D. dequeue
KC
55. Operations on a data structure may be …..
A. creation
B. destruction
C. selection
D. all of the above Answer: - D
56. The way in which the data item or items are logically related
defines …..
A. storage structure
B. data structure
C. data relationship
D. data operation Answer: - B
Answer: - D
57. Which of the following are the operations applicable an primitive
data structures?
A. create
B. destroy
C. update
D. all of the above
KC
58. The use of pointers to refer elements of a data structure in which
elements are logically adjacent is ….
A. pointers
B. linked allocation
C. stack
D. queue
Answer: - D
59. 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 non of above situation Answer: - A
Answer: - D
60. Which of the following statement is false?
A. Arrays are dense lists and static data structure.
B. Data elements in linked list need not be stored in adjacent space in memory
C. Pointers store the next data element of a list.
D. Linked lists are collection of the nodes that contain information part and next
Pointer
KC

More Related Content

Similar to Data structure part 2

Data structure - mcqs
Data structure - mcqsData structure - mcqs
Data structure - mcqssuthi
 
Ds qb 2021 rma
Ds qb 2021 rmaDs qb 2021 rma
Ds qb 2021 rmaARAVINDRM2
 
DS MCQS.pptx
DS MCQS.pptxDS MCQS.pptx
DS MCQS.pptxBoomijaIT
 
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
 
AC14 AT11 Database Management Systems OBJECTIVE TYPE QUESTIONS
AC14 AT11 Database Management Systems OBJECTIVE TYPE QUESTIONSAC14 AT11 Database Management Systems OBJECTIVE TYPE QUESTIONS
AC14 AT11 Database Management Systems OBJECTIVE TYPE QUESTIONSCourtney Esco
 
this pdf very much useful for embedded c programming students
this pdf very much useful for embedded c programming studentsthis pdf very much useful for embedded c programming students
this pdf very much useful for embedded c programming studentspavan81088
 
Cplus plus abd datastructure
Cplus plus abd datastructureCplus plus abd datastructure
Cplus plus abd datastructureprabhatjon
 
Ugcnet4 u
Ugcnet4 uUgcnet4 u
Ugcnet4 usadhi
 
300+ top data structures and algorithms mc qs pdf 2020
300+ top data structures and algorithms mc qs pdf 2020300+ top data structures and algorithms mc qs pdf 2020
300+ top data structures and algorithms mc qs pdf 2020tadeseguchi
 
Data Structure.pdf
Data Structure.pdfData Structure.pdf
Data Structure.pdfIT Eagers
 
Computer programming mcqs
Computer programming mcqsComputer programming mcqs
Computer programming mcqssaadkhan672
 
Discrete mathematics (1)
Discrete mathematics (1)Discrete mathematics (1)
Discrete mathematics (1)Krishnan Ram
 
Gate Previous Years Papers It2005
Gate Previous Years Papers It2005Gate Previous Years Papers It2005
Gate Previous Years Papers It2005Rahul Jain
 
Introduction to Data structure & Algorithms - Sethuonline.com | Sathyabama Un...
Introduction to Data structure & Algorithms - Sethuonline.com | Sathyabama Un...Introduction to Data structure & Algorithms - Sethuonline.com | Sathyabama Un...
Introduction to Data structure & Algorithms - Sethuonline.com | Sathyabama Un...sethuraman R
 

Similar to Data structure part 2 (20)

Data structure - mcqs
Data structure - mcqsData structure - mcqs
Data structure - mcqs
 
NET_Solved ans
NET_Solved ansNET_Solved ans
NET_Solved ans
 
DS Q&A
DS Q&ADS Q&A
DS Q&A
 
Data structure
Data structureData structure
Data structure
 
Ds qb 2021 rma
Ds qb 2021 rmaDs qb 2021 rma
Ds qb 2021 rma
 
DS MCQS.pptx
DS MCQS.pptxDS MCQS.pptx
DS MCQS.pptx
 
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
 
AC14 AT11 Database Management Systems OBJECTIVE TYPE QUESTIONS
AC14 AT11 Database Management Systems OBJECTIVE TYPE QUESTIONSAC14 AT11 Database Management Systems OBJECTIVE TYPE QUESTIONS
AC14 AT11 Database Management Systems OBJECTIVE TYPE QUESTIONS
 
this pdf very much useful for embedded c programming students
this pdf very much useful for embedded c programming studentsthis pdf very much useful for embedded c programming students
this pdf very much useful for embedded c programming students
 
Cplus plus abd datastructure
Cplus plus abd datastructureCplus plus abd datastructure
Cplus plus abd datastructure
 
Ugcnet4 u
Ugcnet4 uUgcnet4 u
Ugcnet4 u
 
300+ top data structures and algorithms mc qs pdf 2020
300+ top data structures and algorithms mc qs pdf 2020300+ top data structures and algorithms mc qs pdf 2020
300+ top data structures and algorithms mc qs pdf 2020
 
Data Structure.pdf
Data Structure.pdfData Structure.pdf
Data Structure.pdf
 
Gate-Cs 2009
Gate-Cs 2009Gate-Cs 2009
Gate-Cs 2009
 
Computer programming mcqs
Computer programming mcqsComputer programming mcqs
Computer programming mcqs
 
Discrete mathematics (1)
Discrete mathematics (1)Discrete mathematics (1)
Discrete mathematics (1)
 
Gate Previous Years Papers It2005
Gate Previous Years Papers It2005Gate Previous Years Papers It2005
Gate Previous Years Papers It2005
 
Soln dc05
Soln dc05Soln dc05
Soln dc05
 
ML-MCQ.pdf
ML-MCQ.pdfML-MCQ.pdf
ML-MCQ.pdf
 
Introduction to Data structure & Algorithms - Sethuonline.com | Sathyabama Un...
Introduction to Data structure & Algorithms - Sethuonline.com | Sathyabama Un...Introduction to Data structure & Algorithms - Sethuonline.com | Sathyabama Un...
Introduction to Data structure & Algorithms - Sethuonline.com | Sathyabama Un...
 

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

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
 
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
 
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
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
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
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentInMediaRes1
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
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
 
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
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfadityarao40181
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,Virag Sontakke
 
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
 
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
 

Recently uploaded (20)

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
 
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
 
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
 
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
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
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
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media Component
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
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
 
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 🔝✔️✔️
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdf
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
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
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 

Data structure part 2

  • 1. DATA STRUCTURES MCQ’S & ANSWERS PART – 2 Follow Us On Instagram:- https://www.instagram.com/knowledge_center_computer/?hl=en KCC
  • 2. KCC
  • 3. 31. In a queue, the initial values of front pointer f rare pointer r should be …….. and ……….. respectively. A) 0 and 1 B) 0 and -1 C) -1 and 0 D) 1 and 0 Answer: - B 32. In a circular queue the value of r will be .. A) r=r+1 B) r=(r+1)% [QUEUE_SIZE – 1] C) r=(r+1)% QUEUE_SIZE D) r=(r-1)% QUEUE_SIZE Answer: - C Answer: - C 33. Which of the following statement is true? i) Using singly linked lists and circular list, it is not possible to traverse the list backwards. ii) To find the predecessor, it is required to traverse the list from the first node in case of singly linked list. A) i-only B) ii-only C) Both i and ii D) None of both KC
  • 4. 34. The advantage of …………….. is that they solve the problem if sequential storage representation. But disadvantage in that is they are sequential lists. A) Lists B) Linked Lists C) Trees D) Queues Answer: - B 35. What will be the value of top, if there is a size of stack STACK_SIZE is 5 A) 5 B) 6 C) 4 D) None Answer: - C Answer: - D 36. ………… is not the operation that can be performed on queue. A) Insertion B) Deletion C) Retrieval D) Traversal KC
  • 5. 37. There is an extra element at the head of the list called a ………. A) Antinel B) Sentinel C) List header D) List head Answer: - B 38. A graph is a collection of nodes, called ………. And line segments called arcs or ……….. that connect pair of nodes. A) vertices, edges B) edges, vertices C) vertices, paths D) graph node, edges Answer: - A Answer: - C 39. A ……….. is a graph that has weights of costs associated with its edges. A) Network B) Weighted graph C) Both A and B D) None A and B KC
  • 6. 40. In general, the binary search method needs no more than ……………. comparisons. A) [log2n]-1 B) [logn]+1 C) [log2n] D) [log2n]+1 Answer: - D 41. Which of the following is not the type of queue? A) Ordinary queue B) Single ended queue C) Circular queue D) Priority queue Answer: - B Answer: - D 42. The property of binary tree is A) The first subset is called left subtree B) The second subtree is called right subtree C) The root cannot contain NULL D) The right subtree can be empty KC
  • 7. 43. State true or false. i) The degree of root node is always zero. ii) Nodes that are not root and not leaf are called as internal nodes. A) True, True B) True, False C) False, True D) False, False Answer: - C 44. Any node is the path from the root to the node is called A) Successor node B) Ancestor node C) Internal node D) None of the above Answer: - B Answer: - B 45. State true of false i) A node is a parent if it has successor nodes. ii) A node is child node if out degree is one. A) True, True B) True, False C) False, True D) False, False KC
  • 8. 46. ………………. is not an operation performed on linear list a) Insertion b) Deletion c) Retrieval d) Traversal A) only a,b and c B) only a and b C) All of the above D) None of the above Answer: - D 47. Which is/are the application(s) of stack A) Function calls B) Large number Arithmetic C) Evaluation of arithmetic expressions D) All of the above Answer: - D Answer: - A 48. A …………… is an acyclic digraph, which has only one node with indegree 0, and other nodes have indegree A) Directed tree B) Undirected tree C) Dis-joint tree D) Direction oriented tree KC
  • 9. 49. …………………. Is a directed tree in which outdegree of each node is less han or equal to two. A) Unary tree B) Binary tree C) Trinary tree D) Both B and C Answer: - B 50. State true or false. i) An empty tree is also a binary tree. ii) In strictly binary tree, the out-degree of every node is either o or 2. A) True, False B) False, True C) True, True D) False, False Answer: - C Answer: - A 51. Which of the following data structures are indexed structures? A. Linear arrays B. Linked lists C. Queue D. Stack KC
  • 10. 52. Which of the following data structure store the homogeneous data elements? A. Arrays B. Records C. Pointers D. Lists Answer: - B 53. When new data are to be inserted into a data structure, but there is not available space; this situation is usually called …. A. Underflow B. overflow C. houseful D. saturated Answer: - B Answer: - D 54. A data structure where elements can be added or removed at either end but not in the middle is called … A. linked lists B. stacks C. queues D. dequeue KC
  • 11. 55. Operations on a data structure may be ….. A. creation B. destruction C. selection D. all of the above Answer: - D 56. The way in which the data item or items are logically related defines ….. A. storage structure B. data structure C. data relationship D. data operation Answer: - B Answer: - D 57. Which of the following are the operations applicable an primitive data structures? A. create B. destroy C. update D. all of the above KC
  • 12. 58. The use of pointers to refer elements of a data structure in which elements are logically adjacent is …. A. pointers B. linked allocation C. stack D. queue Answer: - D 59. 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 non of above situation Answer: - A Answer: - D 60. Which of the following statement is false? A. Arrays are dense lists and static data structure. B. Data elements in linked list need not be stored in adjacent space in memory C. Pointers store the next data element of a list. D. Linked lists are collection of the nodes that contain information part and next Pointer KC