btech-1-sem-2-sem-programming-for-problem-solving-75346-dec-2018
btech-1-sem-2-sem-programming-for-problem-solving-75346-dec-2018
com
INSTRUCTIONS TO CANDIDATES :
1. SECTION-A is COMPULSORY consisting of TEN questions carrying T WO marks
each.
2. SECTION - B & C. have FOUR questions each.
3. Attempt any FIVE questions from SECTION B & C carrying EIGHT marks each.
4. Select atleast T WO questions from SECT ION - B & C.
SECTION-A
d. What is a pointer?
g. What is RAM?
h. What is a complier?
1 | M-75346 (S1)-1571
http://www.ptustudy.com
http://www.ptustudy.com
SECTION-B
2. What is an operating system? What do you mean by booting? Also explain what is meant
by loading, saving, compiling & execution of a program?
3. Explain the block diagram of a computer. Also explain the difference between primary
memory & secondary memory.
4. What is a flow chart? Draw flow chart to find the smallest of three numbers.
SECTION-C
6. Write a program to reverse the digits of a number and sum of the digits.
7. What are the user defined data types in C. Explain with example?
8. Write a program using functions to find the all types of roots of a quadratics equation.
2 | M-75346 (S1)-1571
http://www.ptustudy.com