IP Prefinal 2
IP Prefinal 2
Instructions:
1. Answer all the questions from Part-A. Each question carries Two mark.
2. Answer one full question from each unit in Part-B .Each full question carries10 marks
-----------------------------------------------------------------------------------------------------------------
PART- A
1 a What is flowchart? Write its properties? 2 CO1 [2M]
g What is pointer and write syntax for pointer declaration. 1 CO4 [2M]
h Differentiate between declaration and definition of function. 2 CO4 [2M]
i How to access the elements of structure using array. 1 CO5 [2M]
j List different file operations in C. 1 CO5 [2M]
PART- B
2 a Define computers and explain what are the components of computer with 2 CO1 [5M]
block diagram.
OR
3 a Explain different datatypes in C. 2 CO1 [5M]
OR
5 a Write a C program to find largest among 4 numbers using ladder if 4 CO2 [5M]
statements.
b Explain different string handling functions available in C with examples. 2 CO3 [4M]
OR
7 a Write a c program for matrix multiplication. 2 CO3 [7M]
b Write a c program to reverse a string without using string handling 2 CO3 [3M]
function .
8 a Define pointer and how to declare, initialize and access the pointer with 2 CO4 [5M]
example.
b Define a structure . Write the syntax for structure with example. 4 CO4 [5M]
OR
9 a Write a c program to read and display multiple information of students 2 CO4 [6M]
using structure and array concept.
OR
1 a Explain the following functions in files: (i) fseek( ) (ii) fprintf( ) (iii) 3 CO5 [5M]
1 rewind( ) (iv) ftell( ) (v) fclose( ) (vi) fopen( )
b Write a c program to find Fibonacci series using recursion function. 2 CO5 [5M]