Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
11 views2 pages

IP

Download as pdf or txt
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 2

Reg: VR23

Course Code: 23ES1T02


BVC COLLEGE OF ENGINEERING
(AUTONOMOUS)
I B.Tech I Semester Supply Examinations (VR23), August - 2024
INTRODUCTION TO PROGRAMMING (CSE, ECE & CSE_AI & ML)
Time: 3 hours Max. Marks: 70
-------------------------------------------------------------------------------------------------------------------------------
Question Paper consists of Part-A and Part-B
All the questions in Part - A are compulsory.
Answer one question from each unit in Part-B
-------------------------------------------------------------------------------------------------------------------------------
PART–A (10X2 = 20M)

Marks
1.a) What is the size of the double data type? Which conversion specifier is used? (2M)
b) What is pseudo code? (2M)
c) List out the various looping making statements used in C. (2M)
d) What is the difference between if and while statement (2M)
e) How one dimensional arrays are initialized? Give example. (2M)
f) Mention the various String Manipulation Functions in C (2M)
g) Give brief information about self referential structures. (2M)
h) Compare arrays and structures (2M)
i) List the advantages of using files. (2M)
j) Distinguish between built – in and user – defined functions. (2M)
PART–B (5X10 = 50M)

UNIT - I

2 a. Write an algorithm and draw flowchart for finding the reverse of a given number. 5(M)
b. Write short notes on Type conversion and Type casting. 5(M)
(OR)
3 a. Differentiate Top down and Bottom up approach used for problem solving. 5(M)
b. Give a brief note on space and time complexity of an Algorithm. 5(M)
UNIT - II

4 a. Distinguish break and continue statements with an example. 5(M)


b. Explain the following with general form and flowchart. a) Simple if statement 5(M)
b) if-else statement c) Nested if – else statement.
(OR)
5. Explain about the following looping statements – while, do-while and for with an 10(M)
example for each.
UNIT - III

6 a. Explain the implementation of two dimensional arrays. 5(M)


b. Write a program to print the given string in reverse order. 5(M)
(OR)
7 a. Write a program to insert and delete an element from the given array. 5(M)
b. Write a C program to perform linearly search for an element in an array. 5(M)

Page 1 of 2
Reg: VR23
Course Code: 23ES1T02
UNIT - IV

8 a. Explain the concept of array of pointers. 5(M)


b. Write a C Program using pointers to compute the sum, mean & standard 5(M)
derivation of all elements stored in an array of ‘n’ real numbers.
(OR)
9 a. Explain the difference between structure and union. 5(M)
b. What is a pointer? Explain how the pointer variable declared and initialized. 5(M)
UNIT - V

10 a. Write a C Programm to swap two numbers using call by value and call by 5(M)
reference.
b. Explain about various types of parameter passing techniques in ‘C’ programming 5(M)
with an example.
(OR)
11 a. What is the main use of function pointer in C? How do you declare a function 5(M)
pointer? Explain.
b. How array elements are passed to function arguments? Discuss with an example. 5(M)

**********

Page 2 of 2

You might also like