0% found this document useful (0 votes)
248 views4 pages

3 Hours / 70 Marks: Seat No

The document appears to be an exam paper for a C programming test consisting of 6 main questions worth a total of 70 marks. It provides instructions to candidates to answer questions in order, assume data if needed, and not use electronic devices during the exam. The questions cover a range of C programming topics like arrays, pointers, functions, loops, structures, and more. Students are required to write programs to demonstrate their understanding of these concepts.

Uploaded by

Krishna
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
248 views4 pages

3 Hours / 70 Marks: Seat No

The document appears to be an exam paper for a C programming test consisting of 6 main questions worth a total of 70 marks. It provides instructions to candidates to answer questions in order, assume data if needed, and not use electronic devices during the exam. The questions cover a range of C programming topics like arrays, pointers, functions, loops, structures, and more. Students are required to write programs to demonstrate their understanding of these concepts.

Uploaded by

Krishna
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

21718

22226
3 Hours / 70 Marks Seat No.

Instructions : (1) All Questions are compulsory.


(2) Answer each next main Question on a new page.
(3) Illustrate your answers with neat sketches wherever necessary.
(4) Figures to the right indicate full marks.
(5) Assume suitable data, if necessary.
(6) Mobile Phone, Pager and any other Electronic Communication
devices are not permissible in Examination Hall.
(7) Preferably, write the answers in sequential order.

Marks

1. Attempt any FIVE of the following : 10

(a) Define :

(i) Two dimensional array

(ii) Multi-dimensional array

(b) Give any four advantages of pointer.

(c) Define type casting. Give any one example.

(d) State any four decision making statements.

(e) State any four math functions with its use.

(f) State the use of following symbols used for flowchart drawing :

(i) (ii)

(iii) (iv)

(g) State use of while loop with syntax.


[1 of 4] P.T.O.
22226 [2 of 4]
2. Attempt any THREE of the following : 12

(a) Develop a simple ‘C’ program for addition and multiplication of two integer

numbers.

(b) Explain how to pass pointer to function with example.

(c) Explain following functions :

getchar( )

putchar( )

getch( )

putch( )

with suitable examples.

(d) Develop a program to accept an integer number and print whether it is

palindrome or not.

3. Attempt any THREE of the following : 12

(a) State the use of printf( ) & scanf( ) with suitable example.

(b) Explain any four library functions under conio.h header file.

(c) Explain how formatted input can be obtain, give suitable example.

(d) Develop a program to find factorial of a number using recursion.


22226 [3 of 4]
4. Attempt any THREE of the following : 12

(a) Write a program to sweep the values of variables a = 10, b = 5 using function.

(b) Develop a program using structure to print data of three students having data
members name, class, percentage.

(c) Design a program to print a message 10 times.

(d) Draw a flowchart for checking whether given number is prime or not.

(e) Implement a program to demonstrate logical AND operator.

5. Attempt any TWO of the following : 12

(a) Draw a flowchart of Do-while loop and write a program to add numbers until
user enters zero.

(b) Give a method to create, declare and initialize structure also develop a
program to demonstrate nested structure.

(c) Implement a program to demonstrate concept of pointers to function.

6. Attempt any TWO of the following : 12

(a) Develop a program to swap two numbers using pointer and add swaped
numbers also print their addition.

(b) Design a programme in C to read the n numbers of values in an array and


display it in reverse order.

(c) Develop a program to find diameter, circumference and area of circle using
function.

_______________

P.T.O.
22226 [4 of 4]

You might also like