How To Exam?

a knowledge trading engine...


Kannur University 2009 B.C.A Computer Application First Semester s 105 Problem Solving and Programming in C - Question Paper

Thursday, 24 January 2013 06:20Web

PART A
(Answer any Ten questions, every ques. carries three marks)
1. define the features of a good computer program.
2. What is meant by kind casting?. discuss.
3. List out the precedence of arithmetic, relational and logical operators.
4. Distinguish ranging from do ..while and while statement
5. What will be the value of k,y,z(all integer variables) after executing the subsequent statements (i) y+=(--y)x2/k++ (2) (k>2)?,y+=k++,z-=k-- on the assumption that the initial value of k=2,y=3,z=1
6. discuss how an array differs from a structure
7. Briefly discuss any 3 string functions available in string.h
8. What is a user described function?. What advantages it offers in programming.
9. Write a function to swap the content of 2 memory locations using pointers.
10. discuss with an example the use of enum data kind in C programming.
11. explain the working of a C program using command line arguments.
12. discuss preprocessor directive statements.
PART B
( ans all questions, every ques. carries nine marks)
13. Distinguish algorithm and flowchart. Write an algorithm and draw a flowchart to obtain the number of negative numbers, zeros and positive numbers from a list of n provided numbers.
OR
14. Write short note on the subsequent
i) Structured programming
ii) Top-down programming approach
iii) Bottom-up programming approach
15. discuss in detail the fundamental data kinds in terms of key word, size
in bytes, range of number it can occupy and format specifier etc
OR
16. What is a mixed mode expression?. discuss how it will be evaluated with
an example program illustrating truncation effect.
17.Write a program to sort an array of integers in ascending order and to
print the position of an integer in the sorted sequence.
OR
18. Write a program to manipulate a string in the subsequent way
i) To count no of words on the assumption that a blank space separate 2 words.
ii) No of times a provided alphabet occurs.
iii) change the 1st letter of all words in upper case
19. discuss the concept of array of structure. With an example illustrate the passing of a structure variable into a function.
OR
20. What is a recursive function?. Write a recursive function to obtain the nth
power of a number. Using this function write a program to sum the series
1 + x+x2+x3+………….for the 1st 20 terms.
21. explain the advantages of using pointers in programming. discuss pointer
arithmetic and how an array can be referenced using a pointer to the array.
OR
22. discuss any 3 file manipulation functions in C language


( 2 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER Kannur University 2009 B.C.A Computer Application First Semester s 105 Problem Solving and Programming in C - Question Paper