0% found this document useful (0 votes)
12 views2 pages

IP Prefinal 2

Uploaded by

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

IP Prefinal 2

Uploaded by

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

Model paper -2024-25

I B.Tech I Sem Regular Examinations


INTRODUCTION TO PROGRAMMING
Time: 3 hours Max. Marks: 70

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]

b What is associativity in operators and why is it important? 1 CO1 [2M]

c Give differences between statements and looping. 1 CO2 [2M]

d Explain 4 different string library functions. 2 CO2 [2M]

e Give differences between if else and switch statements. 1 CO3 [2M]

f Write syntax for 2 dimensional array with example. 2 CO3 [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.

b Explain features of C language? 1 CO1 [5M]

OR
3 a Explain different datatypes in C. 2 CO1 [5M]

b Explain structure of c program with example? 2 CO1 [5M]

4 a Explain if-else statement with example. 2 CO2 [5M]

b Explain various unconditional control statements in c with syntax. 2 CO2 [5M]

OR
5 a Write a C program to find largest among 4 numbers using ladder if 4 CO2 [5M]
statements.

b Differentiate between while and do while with syntax. 2 CO2 [5M]

6 a Write a C program to add two matrices 2 CO3 [6M]

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.

b Differentiate between structure and union . 2 CO4 [4M]

1 a Write a c program to find factorial of number using recursion? 2 CO5 [5M]


0
b Explain categories of function in c. 2 CO5 [5M]

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]

You might also like