Browse papers
A

Section A: Long Answer Questions

Attempt any TWO questions.

3 questions·10 marks each
1long10 marks

Discuss the structure of a C program with a suitable example. Explain the compilation and execution process of a C program.

program-structure
2long10 marks

What is a loop? Explain different types of looping statements available in C with syntax, flowchart and examples.

loops
3long10 marks

Write a program to read N integers into an array and find the largest, smallest and average of the entered numbers.

arrays
B

Section B: Short Answer Questions

Attempt any EIGHT questions.

9 questions·5 marks each
4short5 marks

List the different types of operators in C and explain any four of them.

operators
5short5 marks

Differentiate between break and continue statements with examples.

control-flow
6short5 marks

Explain formatted input and output functions in C.

io-functions
7short5 marks

What is a function? Explain the advantages of using functions in a program.

functions
8short5 marks

Write a program to check whether a given number is prime or not.

loops
9short5 marks

Differentiate between while and do-while loops with examples.

loops
10short5 marks

Explain the concept of an array with example. How is a one-dimensional array declared and initialized?

arrays
11short5 marks

What is a pointer? Explain how a pointer variable is declared and initialized.

pointers
12short5 marks

Write short notes on storage classes in C.

storage-class