Saurastra University 2006 M.C.A P - 103 Programming & Data Structure (New ) - Question Paper
SX-7298 Seat No._
*SX-7298*
M. C. A. (Sem. - I) Examination April/May - 2006 P - 103 Programming & Data Structure
Time : 3 Hours] [Total Marks : 75
Q-1. Answer the Following Questions : (Any Three) [ 15]
[11 Explain the basic structure of C Program.
[21 What is type-casting? Explain with suitable Example.
[31 What is ternary operator? Give its example.
HI What is array9 Explain its data storing mechanism. How it stores the values? Describe giving example
Q-2. Answer any three: [15]
[11 Write a program in C for the following
2 3 5 7 11 13 17 19 ..........51
[21 Write a program in C for the following 1 22
3'>'%
4444
55555
[3[ Initialize an array of size 4x4 and get the elements from keyboard and print its column wise and row wise total and grand total of whole two dimensional array.
[41 Initialize a structure name stud, which can store name, five subjects marks. Store these all values for five students using structure array and print maximum total mark students information.
0-3. Answer the Following Questions : (Any Three)
[15]
[1] Differentiate getchO, getcharQ
[2] How switch case loop work? Explain giving example |3] Explain the use of fopen(), fprintfO
HI List and explain various file open modes.
Q-4. Answer any two: [20]
m Write a program in C to create singly linked list with menu driven facility of create and delete function.
[2[ Write program in C for various Queue operations
[3] Write C Program for binary tree creation and display
Q-5. Explain the syntax with example for the following functions(Any Two) m strcmp()
DO]
[2j isupper()
[3] strcatQ
SX-7298] [100]
Attachment: |
Earning: Approval pending. |