This download link is referred from the post: SGBAU BSc Last 10 Years 2010-2020 Question Papers || Sant Gadge Baba Amravati university
FirstRanker.com
Firstranker's choice
AW-1668
--- Content provided by FirstRanker.com ---
B.Sc. (Part-I) Semester-II Examination
2S : COMPUTER SCIENCE/COMPUTER APPLICATION/INFORMATION TECHNOLOGY (Old)
(Data Structure and Advance C)
Time : Three Hours] [Maximum Marks : 80
Note :ā (1) All questions are compulsory.
--- Content provided by FirstRanker.com ---
(2) Question No. 1 carries 8 marks and all other questions carry 12 marks each.(3) Assume suitable data wherever necessary.
- (A) Fill in the blanks :ā 2
- Queue is also called as __________
- The insertion of an element into the stack is called __________ operation.
- Collection of homogeneous data element is known as __________
- The variables declared within function are called __________ variables.
--- Content provided by FirstRanker.com ---
- (B) Choose correct alternative :ā 2
- Finding the location of given element is called :
- Sorting
- Searching
- Traversing
- Merging
--- Content provided by FirstRanker.com ---
- PUSH operation on stack means __________
- Inserting an item
- Deleting an item
- Visiting an item
- None of the above
--- Content provided by FirstRanker.com ---
- The function fgetc( ) is used to __________
- Add data to file
- Find the element
- Read char from file
- None of the above
--- Content provided by FirstRanker.com ---
- Concatenation means __________
- Addition of element
- Extracting string
- Combining strings
- None of the above
--- Content provided by FirstRanker.com ---
- Finding the location of given element is called :
- (C) Answer in ONE sentence each :ā 4
- What is POP operation ?
- What is sorting ?
- What is a pointer ?
- What is a structure ?
--- Content provided by FirstRanker.com ---
- (a) How the queue is represented in a memory ? Explain. 6
(b) What is stack ? What are the operations performed on stack ? Explain it. 6--- Content provided by FirstRanker.com ---
OR - (a) What is data structure ? What are the types of data structure ? 6
(b) Write an algorithm for traversing an array. 6 - (a) What is circular queue ? How is it implemented in computer memory ? 6
(b) Write an algorithm to insert an element into linked list. 6--- Content provided by FirstRanker.com ---
OR - (a) State and explain the difference between queue and circular queue. 6
(b) Write an algorithm to traverse linked list. 6 - (a) Explain inorder, preorder and postorder tree traversal with example. 6
(b) What is selection sort ? Write an algorithm for selection sort. 6--- Content provided by FirstRanker.com ---
OR - (a) What is binary tree ? Draw binary tree for : [A + B] - C/[D * E]. 6
(b) Write an algorithm for insertion sort. 6 - (a) What is function ? Explain function prototype with example. 6
(b) Write a program in C for addition of two matrix. 6--- Content provided by FirstRanker.com ---
OR - (a) What is array ? Explain the declaration and initialization of one dimensional array with suitable example. 6
(b) Describe recursive function with suitable example. 6 - (a) What is string ? What operations can be performed on string ? Explain. 6
(b) Write a program in C to find out biggest element from ānā array element using pointer. 6--- Content provided by FirstRanker.com ---
OR - (a) What is pointer ? Explain the declaration and initialization of pointer variable. 6
(b) Explain the following string functions with example :- strcat( )
- strcpy( )
- strcmp( ). 6
--- Content provided by FirstRanker.com ---
- (a) Describe the declaration and initialization of structure with example. 6
(b) Explain file opening modes in āCā 6
OR - (a) Explain the difference between structure and union with suitable example. 6
--- Content provided by FirstRanker.com ---
(b) Explain the following functions with example :- fputs()
- fprintf( )
- fwrite( ) 6
--- Content provided by FirstRanker.com ---
This download link is referred from the post: SGBAU BSc Last 10 Years 2010-2020 Question Papers || Sant Gadge Baba Amravati university
--- Content provided by FirstRanker.com ---