How To Exam?

a knowledge trading engine...


Kuvempu University 2008 B.Tech Information Technology PROGRAMMING FUNDAMENTALS AND C - Question Paper

Thursday, 24 January 2013 09:25Web

PROGRAMMING FUNDAMENTALS AND C
Time: three Hours Max. Marks: 100
Instructions: 1) Part - A : ans all questions, every ques. carries
one mark.
2) Part - B : ans any 5 full ques. every full
ques. carries 15 marks.
PART - A
ans to all questions: (1x25=25)
1. What is an algorithm ?
2. What is the symbol for a decision box ?
3. What shows a predefined symbol ?
4. Why we use include statements in programe?
5. What is variable ?
6. How do you represent comments ?
7. What does %s represent?
8. List a few special characters of C.
9. elaborate the datatypes supported by C ?
10. What is a Library function?
11. What does! = stands for?
12. Name the logical operators.
13. What does a for statement do ?
14. When do you use a DO statement?
15. What is the difference ranging from DO and WHILE statement?
16. What do you call the argument of a function?
6
17. What is the use of a function?
18. Can we call printf( ) a function?
19. What is a recursive function?
20. What is the most famous recursive function example?
21. How do you access a particular field of a structure?
22. Can a structure have names as strings in it ?
23. Can a file become input for a different file ?
24. What is the need for pointers ?
25. How does *d++ differs, from d++ ?
PART - B
ans any 5 full ques.. every full ques. carries 15 marks. (5x15=75)
1. a) elaborate control structures? discuss IF statement and IF - ELSE statement with
syntax. 8
b) What is looping? discuss various looping statements with syntax. 7
2. a) What is a datatype ? discuss the various datatypes in C. provide an example for
each. 10
b) Write a program to print the 1st 15 fibonacci numbers. 5
3. a) Write a program to learn a line of text and count the number of vowels,
consonants, digits and blank spaces. 10
b) Write a program to round of real number to closest integer value. 5
4. a) Write a program for Binary search. 8
b) Write a program to obtain the largest element in an array and position of its
occurrence. 7
5. a) Write a program to check the provided integer is prime or not. 8
b) Write a program to compute the GCD of 2 numbers. 7
6. a) Write a program to illustrate structures and arrays. 8
b) Write a program to evaluate the Binomial coefficient NCR = N!
N(N - r)!. 7
7
7. a) discuss the parameter passing mechanisms. 8
b) Write a program to copy the contents of 1 string to a different string using
pointers. 7
8. a) discuss the terms preprocessor program extendibility, program portability. 10
b) Briefly define the Bitwise operators.


( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER Kuvempu University 2008 B.Tech Information Technology PROGRAMMING FUNDAMENTALS AND C - Question Paper