You are on page 1of 1

JAYPEE UNIVERSITY OF ENGINEERING & TECHNOLOGY, GUNA

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

Tutorial Sheet: 4
Course: B.Tech Sem: I

Course Code & Name: 14B11CI111/ Introduction to Computer Programming

Student Name: BATCH: DATE:

1. Why we need to include header file in program.

2. Define compiler, interpreter and assembler.

3. Draw the flow chart for steps in C program execution.

4. Write a program in C to find area and circumference of circle of given radius “r”.

5. Write a program in C to perform addition, subtraction, multiplication and division.

6. Write a Program (WAP) to calculate value of following functions

i. f1 = 5x8 + 6x5 + 2x ii. f2 = 7x6y7 + 8x4y2 + 7xy

7. WAP to swap two numbers.

8. Write a Program to compute the surface area and volume of a cube.

[Hint: Surface Area =6a2 and volume =a3]

9. Write a Program to convert days to years, weeks and days.

10. Write a Program to Solve Second Order Quadratic Equation.

[ Hint: ]

You might also like