SlideShare a Scribd company logo
1 of 26
Download to read offline
DATA STRUCTURES
AND ALGORITHMS
STACK IS ALSO CALLED AS
A) Last in first out
B) First in last out
C) Last in last out
D) First in first out
WHICH OF THE FOLLOWING IS TRUE ABOUT THE
CHARACTERISTICS OF ABSTRACT DATA TYPES?
I) IT EXPORTS A TYPE.
II) IT EXPORTS A SET OF OPERATIONS
A) True, False
B) False, True
C) True, True
D) False, False
…………… IS NOT THE COMPONENT OF DATA STRUCTURE.
A) Operations
B) Storage Structures
C) Algorithms
D) None of above
WHICH OF THE FOLLOWING IS NOT THE PART OF ADT
DESCRIPTION?
A) Data
B) Operations
C) Both of the above
D) None of the above
INSERTING AN ITEM INTO THE STACK WHEN STACK IS NOT FULL IS
CALLED …………. OPERATION AND DELETION OF ITEM FORM THE
STACK, WHEN STACK IS NOT EMPTY IS CALLED ………..OPERATION.
A) push, pop
B) pop, push
C) insert, delete
D) delete, insert
……………. IS A PILE IN WHICH ITEMS ARE ADDED AT
ONE END AND REMOVED FROM THE OTHER.
A) Stack
B) Queue
C) List
D) None of the above
………… IS VERY USEFUL IN SITUATION WHEN DATA HAVE TO
STORED AND THEN RETRIEVED IN REVERSE ORDER.
A) Stack
B) Queue
C) List
D) None of the above
WHICH OF THE FOLLOWING DATA STRUCTURE CAN’T STORE THE
NON-HOMOGENEOUS DATA ELEMENTS?
A) Arrays
B) Records
C) Pointers
D) Stacks
A ……. IS A DATA STRUCTURE THAT ORGANIZES DATA SIMILAR TO A
LINE IN THE SUPERMARKET, WHERE THE FIRST ONE IN LINE IS THE FIRST
ONE OUT.
A) Queue linked list
B) Stacks linked list
C) Both of them
D) Neither of them
WHICH OF THE FOLLOWING IS NON-LINER DATA STRUCTURE?
A) Stacks
B) List
C) Strings
D) Trees
IDENTIFY THE DATA STRUCTURE WHICH ALLOWS DELETIONS AT
BOTH ENDS OF THE LIST BUT INSERTION AT ONLY ONE END.
A) Input restricted dequeue
B) Output restricted dequeue
C) Priority queues
D) Stack
WHICH OF THE FOLLOWING DATA STRUCTURE IS NON LINEAR
TYPE?
A) Strings
B) Lists
C) Stacks
D) Graph
TO REPRESENT HIERARCHICAL RELATIONSHIP BETWEEN
ELEMENTS, WHICH DATA STRUCTURE IS SUITABLE?
A) Dequeue
B) Priority
C) Tree
D) Graph
MATCH THE FOLLOWING.
A) COMPLETENESS I) HOW LONG DOES IT TAKE TO FIND A SOLUTION
B) TIME COMPLEXITY II) HOW MUCH MEMORY NEED TO PERFORM THE
SEARCH.
C) SPACE COMPLEXITY III) IS THE STRATEGY GUARANTEED TO FIND THE
SOLUTION WHEN THERE IN ONE.
A) a-iii, b-ii, c-i
B) a-i, b-ii, c-iii
C) a-iii, b-i, c-ii
D) a-i, b-iii, c-ii
THE NUMBER OF COMPARISONS DONE BY SEQUENTIAL SEARCH IS
………………
A) (N/2)+1
B) (N+1)/2
C) (N-1)/2
D) (N+2)/2
IN ……………, SEARCH START AT THE BEGINNING OF THE
LIST AND CHECK EVERY ELEMENT IN THE LIST.
A) Linear search
B) Binary search
C) Hash Search
D) Binary Tree search
STATE TRUE OR FALSE.
I) BINARY SEARCH IS USED FOR SEARCHING IN A SORTED ARRAY.
II) THE TIME COMPLEXITY OF BINARY SEARCH IS O(LOGN).
A) True, False
B) False, True
C) False, False
D) True, True
WHICH OF THE FOLLOWING IS NOT THE INTERNAL SORT?
A) Insertion Sort
B) Bubble Sort
C) Merge Sort
D) Heap Sort
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
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
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
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
………… IS NOT THE OPERATION THAT CAN BE PERFORMED
ON QUEUE.
A) Insertion
B) Deletio
C) Retrieval
D) Traversal
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
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

More Related Content

What's hot

Roots With Calc3
Roots With Calc3Roots With Calc3
Roots With Calc3
bwlomas
 

What's hot (20)

[Question Paper] Microprocessor and Microcontrollers (Revised Course) [Octobe...
[Question Paper] Microprocessor and Microcontrollers (Revised Course) [Octobe...[Question Paper] Microprocessor and Microcontrollers (Revised Course) [Octobe...
[Question Paper] Microprocessor and Microcontrollers (Revised Course) [Octobe...
 
[Question Paper] Digital Computer Fundamental (Old Course) [April / 2014]
[Question Paper] Digital Computer Fundamental (Old Course) [April / 2014][Question Paper] Digital Computer Fundamental (Old Course) [April / 2014]
[Question Paper] Digital Computer Fundamental (Old Course) [April / 2014]
 
[Question Paper] Computer Graphics (Revised Course) [April / 2014]
[Question Paper] Computer Graphics (Revised Course) [April / 2014][Question Paper] Computer Graphics (Revised Course) [April / 2014]
[Question Paper] Computer Graphics (Revised Course) [April / 2014]
 
[Question Paper] Logic and Discrete Mathematics (Revised Course) [April / 2014]
[Question Paper] Logic and Discrete Mathematics (Revised Course) [April / 2014][Question Paper] Logic and Discrete Mathematics (Revised Course) [April / 2014]
[Question Paper] Logic and Discrete Mathematics (Revised Course) [April / 2014]
 
[Question Paper] Web Technology (Revised Course) [October / 2016]
[Question Paper] Web Technology (Revised Course) [October / 2016][Question Paper] Web Technology (Revised Course) [October / 2016]
[Question Paper] Web Technology (Revised Course) [October / 2016]
 
[Question Paper] Multimedia (Old Syllabus) [April / 2013]
[Question Paper] Multimedia (Old Syllabus) [April / 2013][Question Paper] Multimedia (Old Syllabus) [April / 2013]
[Question Paper] Multimedia (Old Syllabus) [April / 2013]
 
[Question Paper] Data Communication and Network Standards (Revised Course) [J...
[Question Paper] Data Communication and Network Standards (Revised Course) [J...[Question Paper] Data Communication and Network Standards (Revised Course) [J...
[Question Paper] Data Communication and Network Standards (Revised Course) [J...
 
[Question Paper] Object Oriented Programming With C++ (Revised Course) [Janua...
[Question Paper] Object Oriented Programming With C++ (Revised Course) [Janua...[Question Paper] Object Oriented Programming With C++ (Revised Course) [Janua...
[Question Paper] Object Oriented Programming With C++ (Revised Course) [Janua...
 
[Question Paper] Web Technology (Revised Course) [April / 2015]
[Question Paper] Web Technology (Revised Course) [April / 2015][Question Paper] Web Technology (Revised Course) [April / 2015]
[Question Paper] Web Technology (Revised Course) [April / 2015]
 
[Question Paper] ASP.NET With C# (60:40 Pattern) [October / 2013]
[Question Paper] ASP.NET With C# (60:40 Pattern) [October / 2013][Question Paper] ASP.NET With C# (60:40 Pattern) [October / 2013]
[Question Paper] ASP.NET With C# (60:40 Pattern) [October / 2013]
 
[Question Paper] Fundamentals of Digital Computing (Revised Course) [April / ...
[Question Paper] Fundamentals of Digital Computing (Revised Course) [April / ...[Question Paper] Fundamentals of Digital Computing (Revised Course) [April / ...
[Question Paper] Fundamentals of Digital Computing (Revised Course) [April / ...
 
[Question Paper] Modern Operating System (Revised Course) [January / 2014]
[Question Paper] Modern Operating System (Revised Course) [January / 2014][Question Paper] Modern Operating System (Revised Course) [January / 2014]
[Question Paper] Modern Operating System (Revised Course) [January / 2014]
 
Java and Data Structure (June - 2014) [Revised Course | Question Paper]
Java and Data Structure (June - 2014) [Revised Course | Question Paper]Java and Data Structure (June - 2014) [Revised Course | Question Paper]
Java and Data Structure (June - 2014) [Revised Course | Question Paper]
 
Roots With Calc3
Roots With Calc3Roots With Calc3
Roots With Calc3
 
[Question Paper] Operating System (Old Course) [June / 2014]
[Question Paper] Operating System (Old Course) [June / 2014][Question Paper] Operating System (Old Course) [June / 2014]
[Question Paper] Operating System (Old Course) [June / 2014]
 
[Question Paper] Advanced SQL (Revised Course) [April / 2015]
[Question Paper] Advanced SQL (Revised Course) [April / 2015][Question Paper] Advanced SQL (Revised Course) [April / 2015]
[Question Paper] Advanced SQL (Revised Course) [April / 2015]
 
[Question Paper] Data Communication and Network Standards (Revised Course) [J...
[Question Paper] Data Communication and Network Standards (Revised Course) [J...[Question Paper] Data Communication and Network Standards (Revised Course) [J...
[Question Paper] Data Communication and Network Standards (Revised Course) [J...
 
[Question Paper] Data Communication and Network Standards (Revised Course) [O...
[Question Paper] Data Communication and Network Standards (Revised Course) [O...[Question Paper] Data Communication and Network Standards (Revised Course) [O...
[Question Paper] Data Communication and Network Standards (Revised Course) [O...
 
ASP.NET With C# (Revised Syllabus) [QP / May - 2016]
ASP.NET With C# (Revised Syllabus) [QP / May - 2016]ASP.NET With C# (Revised Syllabus) [QP / May - 2016]
ASP.NET With C# (Revised Syllabus) [QP / May - 2016]
 
[Question Paper] Web Design and Internet Based Applications (Old Syllabus) [A...
[Question Paper] Web Design and Internet Based Applications (Old Syllabus) [A...[Question Paper] Web Design and Internet Based Applications (Old Syllabus) [A...
[Question Paper] Web Design and Internet Based Applications (Old Syllabus) [A...
 

Similar to Data structures and algorithms

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
tadeseguchi
 
Data Structure.pdf
Data Structure.pdfData Structure.pdf
Data Structure.pdf
IT Eagers
 
Which of the following operations is not can search in an unsorted lis.docx
Which of the following operations is not can search in an unsorted lis.docxWhich of the following operations is not can search in an unsorted lis.docx
Which of the following operations is not can search in an unsorted lis.docx
SUKHI5
 

Similar to Data structures and algorithms (20)

Data structure part 1
Data structure part  1Data structure part  1
Data structure part 1
 
Data structure
Data structureData structure
Data structure
 
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 - mcqs
Data structure - mcqsData structure - mcqs
Data structure - mcqs
 
Data structure part 2
Data structure part  2Data structure part  2
Data structure part 2
 
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
 
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
 
NET_Solved ans
NET_Solved ansNET_Solved ans
NET_Solved ans
 
Data Structure.pdf
Data Structure.pdfData Structure.pdf
Data Structure.pdf
 
C programming & data structure
C programming & data structureC programming & data structure
C programming & data structure
 
Which of the following operations is not can search in an unsorted lis.docx
Which of the following operations is not can search in an unsorted lis.docxWhich of the following operations is not can search in an unsorted lis.docx
Which of the following operations is not can search in an unsorted lis.docx
 
DS Q&A
DS Q&ADS Q&A
DS Q&A
 
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...
 
Gate Previous Years Papers It2005
Gate Previous Years Papers It2005Gate Previous Years Papers It2005
Gate Previous Years Papers It2005
 
Which of the following operations is not can search in an unsorted li.docx
 Which of the following operations is not can search in an unsorted li.docx Which of the following operations is not can search in an unsorted li.docx
Which of the following operations is not can search in an unsorted li.docx
 
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
 
Gate-Cs 1999
Gate-Cs 1999Gate-Cs 1999
Gate-Cs 1999
 
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
 

More from Mohammad Usman (10)

AI open tools for Research.pptx
AI open tools for Research.pptxAI open tools for Research.pptx
AI open tools for Research.pptx
 
data analytics.pptx
data analytics.pptxdata analytics.pptx
data analytics.pptx
 
Object oriented programming with c++
Object oriented programming with c++Object oriented programming with c++
Object oriented programming with c++
 
Dynamic memory allocation
Dynamic memory allocationDynamic memory allocation
Dynamic memory allocation
 
Career Guide
Career GuideCareer Guide
Career Guide
 
C areer banner
C areer bannerC areer banner
C areer banner
 
Career counselling banner
Career counselling bannerCareer counselling banner
Career counselling banner
 
Career ccc
Career cccCareer ccc
Career ccc
 
Career ccc hindi
Career ccc hindiCareer ccc hindi
Career ccc hindi
 
Literacy for or_against_the_poor_seminar
Literacy for or_against_the_poor_seminarLiteracy for or_against_the_poor_seminar
Literacy for or_against_the_poor_seminar
 

Recently uploaded

Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 

Recently uploaded (20)

COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 

Data structures and algorithms

  • 2. STACK IS ALSO CALLED AS A) Last in first out B) First in last out C) Last in last out D) First in first out
  • 3. WHICH OF THE FOLLOWING IS TRUE ABOUT THE CHARACTERISTICS OF ABSTRACT DATA TYPES? I) IT EXPORTS A TYPE. II) IT EXPORTS A SET OF OPERATIONS A) True, False B) False, True C) True, True D) False, False
  • 4. …………… IS NOT THE COMPONENT OF DATA STRUCTURE. A) Operations B) Storage Structures C) Algorithms D) None of above
  • 5. WHICH OF THE FOLLOWING IS NOT THE PART OF ADT DESCRIPTION? A) Data B) Operations C) Both of the above D) None of the above
  • 6. INSERTING AN ITEM INTO THE STACK WHEN STACK IS NOT FULL IS CALLED …………. OPERATION AND DELETION OF ITEM FORM THE STACK, WHEN STACK IS NOT EMPTY IS CALLED ………..OPERATION. A) push, pop B) pop, push C) insert, delete D) delete, insert
  • 7. ……………. IS A PILE IN WHICH ITEMS ARE ADDED AT ONE END AND REMOVED FROM THE OTHER. A) Stack B) Queue C) List D) None of the above
  • 8. ………… IS VERY USEFUL IN SITUATION WHEN DATA HAVE TO STORED AND THEN RETRIEVED IN REVERSE ORDER. A) Stack B) Queue C) List D) None of the above
  • 9. WHICH OF THE FOLLOWING DATA STRUCTURE CAN’T STORE THE NON-HOMOGENEOUS DATA ELEMENTS? A) Arrays B) Records C) Pointers D) Stacks
  • 10. A ……. IS A DATA STRUCTURE THAT ORGANIZES DATA SIMILAR TO A LINE IN THE SUPERMARKET, WHERE THE FIRST ONE IN LINE IS THE FIRST ONE OUT. A) Queue linked list B) Stacks linked list C) Both of them D) Neither of them
  • 11. WHICH OF THE FOLLOWING IS NON-LINER DATA STRUCTURE? A) Stacks B) List C) Strings D) Trees
  • 12. IDENTIFY THE DATA STRUCTURE WHICH ALLOWS DELETIONS AT BOTH ENDS OF THE LIST BUT INSERTION AT ONLY ONE END. A) Input restricted dequeue B) Output restricted dequeue C) Priority queues D) Stack
  • 13. WHICH OF THE FOLLOWING DATA STRUCTURE IS NON LINEAR TYPE? A) Strings B) Lists C) Stacks D) Graph
  • 14. TO REPRESENT HIERARCHICAL RELATIONSHIP BETWEEN ELEMENTS, WHICH DATA STRUCTURE IS SUITABLE? A) Dequeue B) Priority C) Tree D) Graph
  • 15. MATCH THE FOLLOWING. A) COMPLETENESS I) HOW LONG DOES IT TAKE TO FIND A SOLUTION B) TIME COMPLEXITY II) HOW MUCH MEMORY NEED TO PERFORM THE SEARCH. C) SPACE COMPLEXITY III) IS THE STRATEGY GUARANTEED TO FIND THE SOLUTION WHEN THERE IN ONE. A) a-iii, b-ii, c-i B) a-i, b-ii, c-iii C) a-iii, b-i, c-ii D) a-i, b-iii, c-ii
  • 16. THE NUMBER OF COMPARISONS DONE BY SEQUENTIAL SEARCH IS ……………… A) (N/2)+1 B) (N+1)/2 C) (N-1)/2 D) (N+2)/2
  • 17. IN ……………, SEARCH START AT THE BEGINNING OF THE LIST AND CHECK EVERY ELEMENT IN THE LIST. A) Linear search B) Binary search C) Hash Search D) Binary Tree search
  • 18. STATE TRUE OR FALSE. I) BINARY SEARCH IS USED FOR SEARCHING IN A SORTED ARRAY. II) THE TIME COMPLEXITY OF BINARY SEARCH IS O(LOGN). A) True, False B) False, True C) False, False D) True, True
  • 19. WHICH OF THE FOLLOWING IS NOT THE INTERNAL SORT? A) Insertion Sort B) Bubble Sort C) Merge Sort D) Heap Sort
  • 20. 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
  • 21. 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
  • 22. 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
  • 23. 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
  • 24. ………… IS NOT THE OPERATION THAT CAN BE PERFORMED ON QUEUE. A) Insertion B) Deletio C) Retrieval D) Traversal
  • 25. 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
  • 26. 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