Cse 3 Sem Advanced C and Programming Logic Design 3323 Summer 2019
Cse 3 Sem Advanced C and Programming Logic Design 3323 Summer 2019
com
P. Pages : 2 NRT/KS/19/3323
Time : Three Hours Max. Marks : 80
_____________________________________________________________________
Notes : 1. All questions carry marks as indicated.
2. Solve Question 1 OR Questions No. 2.
3. Solve Question 3 OR Questions No. 4.
4. Solve Question 5 OR Questions No. 6.
5. Solve Question 7 OR Questions No. 8.
6. Solve Question 9 OR Questions No. 10.
7. Solve Question 11 OR Questions No. 12.
8. Due credit will be given to neatness and adequate dimensions.
9. Assume suitable data whenever necessary.
10. Illustrate your answers whenever necessary with the help of neat sketches.
1. a) Can we create array of structure in 'C'? Justify your answer with example. 7
OR
2. a) Write a 'C' program to add two matrices & store the result in third matrix. 7
b) Differentiate between text and binary modes of a file? Also explain different file opening 7
modes.
OR
OR
b) What is pointer ? State it's advantages. Also give details of pointer arithmetic. 7
NRT/KS/19/3323 1 P.T.O
http://www.rtmnuonline.com
http://www.rtmnuonline.com
7. a) Write a menu driven program to draw rectangle, circle, ellipse & arc on the screen. 8
OR
b) Write a 'C' program to draw a polygon passing through the points as follows and also fill 7
with colour 'RED'. (150,150) (210,100) (180,200) (120,200) and (100,120)
OR
OR
b) Create a class student having data members roll no, name, branch & marks in 4 subjects. 6
Write appropriate function to read and display the value of data members. Also create a
function to calculate result of a student in terms of percentage, grade and pass or fail.
Depending on marks scored in 4 subjects.
*************
NRT/KS/19/3323 2
http://www.rtmnuonline.com