Monday, November 23, 2015

PRINCIPLES OF PROGRAMMING AND ALGORITHM,University Of Pune Question Paper,B. C. A. ( Semester - III ),2013 Question Paper

University Of Pune Question Paper
B. C. A. ( Semester - III ) Examination - 2013
PRINCIPLES OF PROGRAMMING AND ALGORITHM(Old 2004 Pattern)
Time : 3 Hours] [Max. Marks : 80
Instructions :
(1) All questions are compulsory and carry equal marks.
(2) Figures to the right indicate full marks.
Q.1) Attempt any four of the following : [4x4=16]
(a) Explain any four Preprocessor Directives.
(b) Explain Basic Data types in ‘C’.
(c) Write a short note on Bitwise Operator.
(d) Explain following functions strlen( ), getch( ).
(e) Explain with example ‘Continue’ Keyword.
Q.2) Attempt any four of the following : [4x4=16]
(a) Differentiate between Local and Global Variable.
(b) Write a syntax and usage of ‘While’ Loop with example.
(c) What are different types of Parameter of Function ? Explain.
(d) What is Storage Class ? Explain.
(e) Write any four Standared ‘C’ Library functions.
Q.3) Attempt any four of the following : [4x4=16]
(a) Differentiate between if-else and switch statement.
(b) What is Tarnary Operator ? Explain with example.
(c) What is a Variable ? Explain Constant Variable.
(d) What are the advantages of ‘C’ Language ?
(e) What ‘C’ is called Middle Level Language ?
Q.4) Attempt any four of the following : [4x4=16]
(a) Write a program to display sum of first ‘n’ even numbers.
(b) Write a program to accept a number and display factorial of
number.
(c) Write a program to accept a number and check the number
is Armstrong Number.
(e.g. n = 153, 13
 + 53
 + 33
 = 153)
(d) Write a program to calculate area of circle.
(e) Write a program to find maximum of three numbers.
Q.5) Trace the output : (Any Four) [4x4=16]
(a) main( )
{
int x = 66;
printf(“%c”, x);
}
[4373]-306 2 Contd.
(b) #include < stdio.h>
main( ) {
int x = 5, y = 2;
float p, q;
p = x/y;
printf(“p = %f\n”, p);
q = (float) x/y;
printf(“q = %f \n”, q);
}
(c) main( ) {
int a = 5;
begin:
if(a) {
printf(“%d”, a);
a -- ;
goto begin; }
}
(d) main( ) {
int a = 0, b = 0;
if (!a) {
b = !a;
if (b)
a = !b;
}
printf(“%d, %d \n”, a, b);
}
[4373]-306
3 P.T.O.
(e) main( )
{
int i = 0, k = 3;
i + = func(k);
i + = func(k);
i + = func(k);
printf(“%d\n”, i);
}
func(int k)
{
static int m = 2;
m = m + k;
return m;
}
Share This
Previous Post
Next Post

B.E Civil Engineer Graduated from Government College of Engineering Tirunelveli in the year 2016. She has developed this website for the welfare of students community not only for students under Anna University Chennai, but for all universities located in India. That's why her website is named as www.IndianUniversityQuestionPapers.com . If you don't find any study materials that you are looking for, you may intimate her through contact page of this website to know her so that it will be useful for providing them as early as possible. You can also share your own study materials and it can be published in this website after verification and reviewing. Thank you!

0 comments:

Pen down your valuable important comments below

Search Everything Here