Important Assignment Questions Data Structure Class 12

This article provides you important assignment questions for data structure class 12. We are going to cover objective type questions, case study based questions, short answer questions, and long answer questions. Read the article and enjoy it!

Objective Type Questions – Data Structure Class 12

Objective type questions contains MCQs, One word answer questions, Fill in the blanks or true false.

[1] A ____________ is a way to store, organize, or manage data in efficient and productive manner.

Data Structure

[2] A stack is which of the following type of data structure?

a) Linear b) Dynamic c) Circular d) All of these

[3] Stack data structure is following ____________ principle.

LIFO

[4] In stack data can be inserted or deleted from ____________ only.

Top

[5] The insert operation in stack is known as pop. (True/False)

[6] You can replace any element position in stack. (True/False)

[7] The peek operation refers to accessing/inspecting the top element in the stack. (True/False)

[8] A condition raise due to the stack is full is known as ___________.

a) Underflow b) Overflow c) List is full d) Completely Filled

[9] While popping the element from the stack, a condition will be raised, this condition is known as ____________.

a) Underflow b) Overflow c) List is Empty d) Blank List

[10] Stack overflow condition is raised in ____________ operation where as Stack underflow condition is raised in _____________ operations.

Push, Pop

In the next section, you will get short answer questions or case study based questions for Data Structure Class 12. You can find the answer in the following link.

Recommended: Stack using List

Short answer questions (2 Marks – Questions) – Data Structure Class 12

  1. What do you mean by data structure? Explain your answer with a suitable example.
  2. What do you mean by the LIFO structure? Support your answer with real-life examples.
  3. Enlist a few of the fields where you feel a stack is used in real life.
  4. What are the basic operations that can be performed on the stack?
  5. What are the underflow and overflow conditions?
  6. Write steps on how you implement stack?
  7. Write a python function named is_underflow() to check a stack is an underflow.
  8. Write a python function named is_overflow() to check a stack is overflow?
  9. Write a python function to:
    1. Insert an element at the top of the stack
    2. Delete an element at the top of the stack
    3. Display the stack elements
    4. Inspect an element
  10. Write AddPlayer(player) and DeletePlayer(player) methods in python to add and remove a player by considering them as push() and pop() operations in a stack.
  11. A stack is a linear data structure. Explain the linear data structure in short.

Suggested: Computer Science Class XII

More questions will be added in the future the so keep visiting this article assignment questions Data Structure Class 12.

If you have more questions related to topic and having queries related to that feel free to use out comment section for the same.

Thank you very much for visiting our blog.

Comment Your Views

%d bloggers like this: