Model Paper -2 | 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 Write a program in C to demonstrate pointer for functions. 6
b What do you understand by Constants in C? Explain its types also. 6
c Consider 16 bit memory word, How 4.5 is represented in (1.M) floating point representation. 6
d Define pseudo code. Write a pseudo code to find the sum and average of given three numbers. 6

e Explain structures in C and demonstrate it with program. 6

f What do you understand by MACROS? 6

g What is python? Write down some of features of python ? 6
Q 2. Long Answer Type Question (Attempt Any Four)
a Explain all operators of C language with proper program.
10
OR
What are bitwise and logical operator? Discuss all.

b Write difference between structure and union with the help example
10
OR
Write a program to convert binary number (101110) into decimal.

c Explain two categories/types of argument passing techniques, with examples.
10
OR
Explain how the structure variable passed as a parameter to a function with example.
d
What is pointer? Write the difference between * and & operation explain with example.
10
OR
Convert (765.25)10 into its equivalent binary number, octal number and hexadecimal number.
e
Explain dynamic memory allocation in C in details with its functions.
10
f
Write a program to print a statement "I am name and I am age years old" in python by taking name and age as a string variable.
10

More Papers

No comments:

Post a Comment