SlideShare une entreprise Scribd logo
1  sur  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

Contenu connexe

Similaire à 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
 

Similaire à 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...
 

Plus de 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
 

Plus de 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
 

Dernier

USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...Postal Advocate Inc.
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfphamnguyenenglishnb
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
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
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Celine George
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxAshokKarra1
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONHumphrey A Beña
 
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
 

Dernier (20)

USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
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
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptx
 
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
 
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 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