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

btech-1-sem-2-sem-programming-for-problem-solving-75346-dec-2018

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

btech-1-sem-2-sem-programming-for-problem-solving-75346-dec-2018

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

http://www.ptustudy.

com

Roll No. Total No. of Pages : 02


Total No. of Questions : 09
B.Tech All Batches Chemistry (2018 Batch) (Sem.–1)
PROGRAMMING FOR PROBLEM SOLVING
Subject Code : BTPS-101-18
Paper ID : [75346]
Time : 3 Hrs. Max. Marks : 60

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

l. Write short notes on :

a. What is the syntax of If statement?

b. What is the syntax of Switch Statement?

c. What is the syntax of do While statement?

d. What is a pointer?

e. What is the Scope of local variable?

f. What are the conditional operators available in C?

g. What is RAM?

h. What is a complier?

i. What are the syntax of PRINTF statements of C

j. What is the need for operating system?

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.

5. What are the various applications of computers?

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.

9. Write a program to find the sum of two matrices.

2 | M-75346 (S1)-1571

http://www.ptustudy.com

You might also like