How To Exam?

a knowledge trading engine...


Karnatak University 2007 B.C.A Computer Application COMPUTER CONCEPTS AND C PROGRAMMING - Question Paper

Thursday, 24 January 2013 12:00Web

COMPUTER CONCEPTS AND C PROGRAMMING

(Answer any five full questions)

I.
1. discuss the system – logical organizations of a computer with a neat block diagram.
2. explain the classification of printers.
(8 + eight = 16 marks)

II.
1. Differentiate ranging from machine – level language and high level language.
2. describe an algorithm. Write its characteristics.
3. explain the importance of C - language.
(4 + six + six = 16 marks)
III.
1.What are C – Tokens? Mention their kinds.
2. provide the C – equivalent of the subsequent mathematical expressions.
a. (x/y)n-1 b. x <= y <= z
3. Write the output of the subsequent program.
main()
{
int x=2, y=3, s1,s2;
s1= x + (++y);
s2= ++x + y++;
printf(“%d%d%d%d\n”,s1,s2,x,y);
}
4. discuss printf() function with an example.
(4 + four + four + four = 16 marks)
IV.
1. Compare and contrast else – if ladder with switch statement.
2. Draw a flow chart and write C – program to input ‘n’ numbers and obtain mean, variance and standard deviation.
(8 + eight = 16 marks)
V.
1. When do you use arrays? Write a program to add 2 compatible matrices.
2. Write C – program to learn a string and check whether it is a palindrome or not without using library function.
(8 + eight = 16 marks)
VI.
1. explain the advantages of user – described functions.
2. Write a C – program to accept 2 integer and computer their sum using functions.
3. explain the various categories of user – described functions.
(5 + five + six = 16 marks)
VII.
1. What is recursion? Write a C – program to obtain the factorial of non-negative integer using recursive function.
2. describe Structure. discuss the initialization and processing of a structure.
(8 + eight = 16 marks)
VIII. Write the difference ranging from
1. Structure and Union.
2. Break and go to statement.
3. Formal and true parameters.
4. Array and Structure.
(4 + four + four + four = 16 marks)






( 4 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER Karnatak University 2007 B.C.A Computer Application COMPUTER CONCEPTS AND C PROGRAMMING - Question Paper