Class 12 - Stacks in Python - Computer Science (Question and Answers)
Q1: What is a data structure?
Answer: A data structure defines a mechanism to store, organise and access data along with operations (processing) that can be efficiently performed on the data.
Q2: What are the two main types of data structures?
Answer:
1. Primitive Data Structure
2. Non-Primitive Data Structure