Attempt any Eight questions.
[8*5=40]
4.
What is algorithm? How is it different from flow chart? [2+3]
5.
What is type conversion? Discuss type casting with suitable example. [5]
6.
Write a program that computes the sum of digits of a given integer number. [5]
7.
What is function? Discuss the benefits of using function. [1.5+3.5]
8.
Write a program to find sum and average of 10 integer numbers stored in an array. [5]
9.
Define pointer. Discuss the relationship between pointer and one-dimensional array. [1.5+3.5]
10.
Write a program to read and print data stored in a file input.txt. [5]
11.
Why do we need graphics functions? Write a program to draw a circle. [2+3]
12.
Discuss increment and decrement operator with example. [5]