This document contains an internal exam for a 3rd semester B. Tech CSE course on Data Structures. It has 3 questions - the first asks students to define 5 data structure terms in short answers worth 2 marks each. The second asks students to solve 2 out of 3 problems on binary search, infix to postfix conversion, and stack operations, worth 5 marks each. The third asks students to answer 1 out of 2 long-form questions on various data structures or stacks, worth 10 marks.
This document contains an internal exam for a 3rd semester B. Tech CSE course on Data Structures. It has 3 questions - the first asks students to define 5 data structure terms in short answers worth 2 marks each. The second asks students to solve 2 out of 3 problems on binary search, infix to postfix conversion, and stack operations, worth 5 marks each. The third asks students to answer 1 out of 2 long-form questions on various data structures or stacks, worth 10 marks.
This document contains an internal exam for a 3rd semester B. Tech CSE course on Data Structures. It has 3 questions - the first asks students to define 5 data structure terms in short answers worth 2 marks each. The second asks students to solve 2 out of 3 problems on binary search, infix to postfix conversion, and stack operations, worth 5 marks each. The third asks students to answer 1 out of 2 long-form questions on various data structures or stacks, worth 10 marks.
SUB- Data Structure INTERNAL –I SEMESTER-3 rd FULL MARKS–30 TIME-1 HOUR
1. Answer the following
questions. [2x5] a) What are the operations of a data structure? b) Differentiate between space complexity and time complexity of an algorithm? c) Define Asymptotic Notation? d) Differentiate between Stack and Queue. e) Define Tree?
2. Answer any two. [5x2]
1) Give a basic algorithm for searching operation using binary searching technique. Find out its time complexity. 2) Convert following Infix expression into Postfix expression using Tabular method. a–b/c*d+e*f/g 3) State the rules to be followed during infix to postfix conversions 3. Answer any one [10x1] 1) What is Data Structure? Explain various types of Data Structure in detail.
2) What is stack? Why it is known as LIFO? Write algorithm of PUSH and POP operation on stack.