Model Paper-3 | C-Language




B.Tech CSE I Semester Model Paper
Programming & Problem Solving  (BT-103) 
Time:3 Hours Max Marks:70
Sno. Questions Marks

Q 1. Short Answer Type Question (Attempt Any Five)
a What is type conversion? Explain two types of conversion with examples 6
b Explain Union in C and demonstrate it with program. 6
c Show how break and continue statements are used in a C program, with example. 6
d Explain and demonstrate with program the array of pointers in C. 6

e Define string. List out all string manipulation function. Explain any two with example. 6

f Write a program to copy the elements of one array into another array. 6

g How python is plate form independent language explains. 6
Q 2. Long Answer Type Question (Attempt Any Four)
a Explain pointers to function with the help of example.
10
OR
What is compiler, Interpreter and Assembler?

b What are the types of constants in C? Also give example of each.
10
OR
What is a variable? How it is categorised?

c Write a program to show the use of conditional operator.
10
OR
Write a program to print the fibonacci series up to 100 by using for and while loop.
d
Write a program to display sum of series 1+3+5+....+n.
10
OR
Write a program to write and read 10 lines of any file.
e
What is pointer to pointer.Write a program to declare pointer to pointer variable and display the element of pointer.
10
f
Write a program to print a table of any number n using python.
10

More Papers

No comments:

Post a Comment