You are on page 1of 1

2

81
2D

F8

D
71
Paper / Subject Code: 29715 / C Programming

A5
AC
23

73
C2

81
2D

F8

D
71
07

A5
AC
23

73
C2
38

81
D

F8
77

71
7

2
0

C
3
BE

3
C2
8

1A
2

87
3

2D
Time: 2 hour Max. Marks: 60

07
9C

3F
7

7
BE

73
2
====================================================================

8
30

2
C
73

2D

71
07
C
DD

F
7
9
NB: 1) Question No.1 is compulsory.

3
BE

73
C2
38
30

2
A5

2D

F8
2) Attempt any three questions from question no. 2 to 6.

07
9C
D

7
81

3
BE

C2
38
30

D2
5
AC

77
A

07
C
D

2
81

9
Q1 Solve any three out of the following. 15

5D

E
71

C2
8
30

3
AC

2D
73
A Define Flowchart? Explain different symbols used in drawing Flowchart. 05

77
A

07
9C
D
1
F8

5D

E
1

2
38
B Difference between while loop & do-while loop. 05

C8

30
7

7C
CB
23

77
A

D
C Explain Different data type modifiers available in C language. 05

1A
87

80
1

9
2D

5D

BE
C8

0
3F
D Write a program to print the following pattern for number of rows given by the 05

73
D3
3
C2

9C
A
2

87

E7
user.

1
D

5D
71
07

C8

0
F
2

CB
1

D3
23

73
C2
38

77
A
1A

1
21

09
2D

5D
7

BE
07

C8
3F
E7

37

D3
321
C2
8

1A

9C
A
2

87
CB

5D
7

1
7

4321

30
F
E7

7
2
0

AC
09

73
2
8

1A
Write a program to display all prime numbers from 1 to 50.

DD
E 05

2
7C
CB

3
D3

2D

8
7

71

8
3F
7

A5
AC
09
5D

BE

3
C2
38

87
Q2 15
D3

81
2D
7
1A

71
7
9C

3F
7

80

A Differentiate between break and continue. 05

AC
5D

BE

73
C2
8

30

2
73
AC

B Explain the following functions with proper example. 05

2D

8
1A

71
07
C
DD

F
7
9

3
E

i) pow( ) ii) ceil( ) iii) floor( )


71

73
C2
8
8

30

2
CB

3
5
AC

2D
73

F8
Write a program to find value of y using recursive function , where y = xn
77
1A

C 7 05
D

80
9
F8

5D

23
BE
71

C2
8

30

3
AC
23

2D
73

77
1A

07
9C
D

Q3 15
2D

F8

5D

BE
71

C2
8
C8

30

A Explain the sizeof( ) operator with proper example. 05


3
23

73
C2

7
A

07
9C
D
1A

B Write a program to find the factorial of a given number. 05


1
2D

F8

BE
07

38
C8

0
37

A5

D3

C Write a program to store and display the name, roll no. and fees of 100 05
23
C2
38

77
9C
A
87

1
2D

5D

students using structure.


77

BE
71
07

0
3F

D3
BE

73
C2
8

1A

9C
A
D2
73

5D
1
07
9C

C8

Q4 15
30
3F
E7

37
22
8

1A
30

DD
A
2

A Write a short note on Structure. 05


87
C
B

73

2D

71
07
9C

Write a program to find the largest of ‘n’ numbers taken from user.
3F
E7

B 05
A5
AC
73
C2
8
30

2
B

73

C Explain conditional Operator with proper example. 05


81
2D

F8

71
07
9C
DD

E7

AC
3

3
C2
8
30

87
B

73
5

Q5 15
1A

71
7
9C
DD

3F
E7

22
80

73

A Explain flowing functions with proper example. 05


C8

30

2
C
B

73
A5

2D

F8
07
9C
DD

i) strcmp( ) ii) strcat ( ) iii) strlwr( )


E7
81

23
C2
38
30

B Write a program to accept the elements of square matrix and to find sum of 05
B
A5
AC

2D
77

07
9C
DD

elements present on, above and below principal diagonal.


81

BE
71

C2
8
30

3
A5
AC

C Write a program to find square root of a accepted perfect square integer 05


73

07
9C
DD

E7
81

number without using standard sqrt( ) function.


8

71

38
30
3F

CB
A5
AC
73

77
DD
81

09
8

BE
71

Q6 15
3F

A5
AC

D3
73

9C

A Write a program to add two numbers using user defined function. 05


2

81
2D

5D
71

30
3F

B Define array? Explain the static and dynamic initialization of 1D array. 05


AC
73
2

1A

DD
2
7C

C Draw flowchart to find largest of Three numbers, accepted from user. 05


2D

71

C8
3F
80

A5

__________________________________
73
2

1A
2
7C

81
2D

8
3F

7
80

AC
73
2

2
7C
73

33507 Page 1 of 1
2D

F8

71
7

80

23
BE

73
2
7C
73

F8
9C

22
80

23
BE

7C
73

D
C

E7

22
0

309CBE773807C22D23F87371AC81A5DD
09

38

You might also like