Data Structures Using Python

13 Questions | Total Attempts: 21

SettingsSettingsSettings
Please wait...
Data Structures Using Python

.


Questions and Answers
  • 1. 
    A datastructure has well defined[Blank],[Blank]and[Blank]
  • 2. 
    A STACK data structure is also called
    • A. 

      FIFO

    • B. 

      LIFO

    • C. 

      FILO

    • D. 

      LILO

  • 3. 
    LIFO stands for
    • A. 

      Last in fast out

    • B. 

      Last in first out

    • C. 

      Last in final out

    • D. 

      Last in find out

  • 4. 
    In stack, Insertion and deletion take place at[Blank]
  • 5. 
    Two major operations in a stack are [Blank] and [Blank]
  • 6. 
    HOW TO CREATE AN EMPTY STACK
    • A. 

      STACK= LIST

    • B. 

      STACK = [ ]

    • C. 

      STACK = NULL

    • D. 

      STACK = ()

  • 7. 
    FIRST ELEMENT IN THE STACK WILL BE[Blank]
  • 8. 
    Which method in python is used to implement stack and queue
  • 9. 
    Which list function is used to add a new element to the stack?
  • 10. 
    In a queue, an element is deleted from [Blank] side
  • 11. 
    In a queue, an element is inserted at [Blank] end
  • 12. 
    Which function is used to delete an element from a queue[Blank]
Back to Top Back to top