Browse papers
A

Section A: Long Answer Questions

Attempt any TWO questions.

3 questions·10 marks each
1long10 marks

Explain the various data types available in C with their memory size and range. Why is type conversion needed?

data-types
2long10 marks

What is an array? Explain how a two-dimensional array is declared, initialized and accessed with an example. Write a program for matrix addition.

arrays
3long10 marks

Explain file handling in C. Write a program to read content from one file and copy it into another file.

files
B

Section B: Short Answer Questions

Attempt any EIGHT questions.

9 questions·5 marks each
4short5 marks

Differentiate between compiler and interpreter.

fundamentals
5short5 marks

Explain the use of the goto statement with an example.

control-flow
6short5 marks

What is a nested loop? Write a program to print a pyramid pattern of stars.

loops
7short5 marks

Explain how an array is passed to a function.

arrays
8short5 marks

Write a program to count the number of vowels in a given string.

strings
9short5 marks

What is a self-referential structure? Explain with example.

structures
10short5 marks

Explain the increment and decrement operators with pre and post forms.

operators
11short5 marks

Write a program to find the sum of digits of a given number.

loops
12short5 marks

Write short notes on enumerated data type (enum).

data-types