Semester : SEMESTER 3
Subject : Computer Programming
Year : 2022
Term : JANUARY
Scheme : 2015 Full Time
Course Code : EE 207
Page:2
10
11
12
13
14
15
16
17
ಬ
0)
a)
b)
a)
b)
a)
b)
a)
b)
a)
b)
00000EE207121904
⋅ ∁ ⋅ 23
Write a C program to compute the sum of n terms of the series: 1 + வத் இப்
4
ae
What is nested if statement. Write an example program using nested if.
Write a C program to print palindrome numbers between 1 and 500. Draw its
flowchart also.
PART C
Answer any two full questions, each carries 10 marks.
Write aC program to find out average of given n numbers and how many of the
numbers are above average and how many are below average.
Write a program to find number of small letters and capital letters in a string.
What is storage classes in C and explain two storage classes in C with
example?
List the string handling functions. Explain any three with example.
Write ೩ C program to read a matrix and print this matrix using functions.
Write a recursive function to find factorial of a number. Use this function to
calculate nCr.
PART 0
Answer any two full questions, each carries 10 marks.
Write aC program to find factorial of a number using pointer.
Write aC program to sort the array elements using pointer.
Assume there are two files first.txt and second.txt. Write a C program to merge
the content of two files into a new file third.txt
How the structure variables are initialized in C? Explain with example.
Write a python program to print odd numbers for a user provided range.
ಸಸ್ಯ मर بد
Page 2 of 2
(5)
(5)
(10)
(5)
(5)
(5)
(5)
(5)
(5)
(5)
(5)
(10)
(5)
(5)