Programming & Data Structures 2
Programming & Data Structures 2
Programming & Data Structures 2
COM
India’s Mega Online Education Hub for Class 9-12 Students,
Engineers, Managers, Lawyers and Doctors.
Free Resources for Free Resources for Free Resources for Free Resources for Free Resources for
Class 9-12 Students Engineering Students MBA/BBA Students LLB/LLM Students MBBS/BDS Students
• Lecture Notes • Lecture Notes • Lecture Notes • Lecture Notes • Lecture Notes
• Project Reports • Project Reports • Project Reports • Project Reports • Project Reports
• Solved Papers • Solved Papers • Solved Papers • Solved Papers • Solved Papers
View More » View More » View More » View More » View More »
Please note none of the content or study material in this document or content in this file is prepared or
owned by Studynama.com. This content is shared by our student partners and we do not hold any
copyright on this content.
Please let us know if the content in this file infringes any of your copyright by writing to us at:
[email protected] and we will take appropriate action.
8. Explain Parameter Passing Methods. (16 Marks)
PROGRAMMING AND DATASTRUCTURES I 9. Explain Expression using Operators in C. (16Mark)
10.Explain in detail about Dynamic Memory Allocation.(16)
UNIT I – C-PROGRAMMING FUNDAMENTALS -REVIEW
PART-A
UNIT-II C-PROGRAMMING ADVANCED FEATURES
1. Define global declaration?
2. Define data types? PART-A
3. Define variable with example?
4. What is decision making statement? 1. Compare arrays and structures.
5. What are the various decision making statements available in C? 2. Compare structures and unions.
6. Distinguish between Call by value Call by reference. 3. Define Structure in C.
7. What is an array? 4. Rules for declaring a structure?
8. What is two dimensional array? 5. Define structure pointers
9. Define is function? 6. Define union?
10. What are the various looping statements available in ‘C’? 7. Define file?
11. What are the uses of Pointers?
m
8. Define binary files?
co
12. What is a Pointer? How a variable is declared to the pointer? (MAY 2009) 9. Define opening a file?
13. What is the difference between if and while statement? 10. Define fseek ()?
14. Define pre-processor in C.
.
11. Functions of bit fields?
15. Define recursive function?
16. What is the difference between while and do….while statement? a 12. What are the ways to detecting End of File?
13. What are key functions required to process a file?
17. Define Operator with example?
m 14. List out the file handling functions
a
18. Define conditional operator or ternary operator? 15. Define Nested structure in C.
19. Compare of switch () case and nested if statement 16. Define typedef.
yn
20. What are steps involved in looping statements? 17. What are the Mode’s available in using file concept?
21. Define break statement? 18. Define EOF.
d
22. Define null pointer? 19. What are Binary Files?
23. Define macro with an example. 20. List out the file of records.
23. Define Local and Global variable.
24. What is a Ternary Operator? tu
S
25. What are the types of operators available?
PART-B
PART-B
co
14. What are advantages of Linked lists? 13. How do you test for an empty queue?
15. What is an advantage of ADT? 14. What are applications of stack?
16. Advantages and Disadvantages of Linked List.
.
15. Define recursion?
17. What are the types of Linear Linked List available?
18. Define ordered singly linked list. a 16. What are types of Queues?
17. Define double ended queue.
19. Define circular linked list.
m 18. Define Insert/Push Operation.
a
20. What are the operations on singly linked list? 19. Define Delete/Pop Operation.
20. What are the categories of Expressions available?
yn
PART-B
d
1. Explain in detail about Abstract Data Types (ADT) with suitable program. PART-B
(16 Mark)
tu
2. Explain in detail about List ADT with suitable program. (16 Mark)
3. Explain in detail about Singly Linked Lists with suitable program. (16
1. Explain in detail about Stack ADT with suitable program. (16 Mark)
2. Explain in detail about Arithmetic Expressions with suitable program (16
Mark)
S
4. Explain in detail about Doubly Linked Lists with suitable program. (16
Mark)
Mark)
3. Explain in detail about Queue ADT with suitable program (16 Mark)
4. Explain in detail about Circular Queue with suitable program.(16 Mark)
5. Explain in detail about Circularly Linked Lists with suitable program. (16 5. Explain in detail about Double ended Queue with suitable program(16
Mark) Mark)
6. Explain Infix, Prefix and Postfix expression with an algorithm.
UNIT-V - SORTING, SEARCHING AND HASH TECHNIQUES
PART-A
yn
20. What is the time complexity of binary search?
21. List the sorting algorithms with time complexity.
d
22. Define Static Hashing.
23. Define Dynamic Hashing.
tu
24. What are the steps to be followed in Quick sort?
25. Define Hash Function.
S
PART-B
1. Explain any two Sorting algorithms with suitable program. (16 Mark)
2. Explain any two Searching algorithms with suitable program(16 Mark)
3. Explain in detail about Hash function(16 Marks)
4. Arrange the following number 38, 27, 43,3,9,82,10 using Merge sort
Algorithm.(16 Mark)
5. Arrange the following number 8,3,25,6,10,17,1,2,18,5 using Quick sort
Algorithm.(16 Mark)