C programming exam paper | My CS Tutorial |
Paper Code: 13506
1506
B.Sc. (Computer Science) (Part 1)
Examination, 2018
Paper No. 2.3
BASIC PROGRAMMING CONCEPT USING C
Time: Three Hours][Maximum Marks: 34
Note: Attempt five questions in all selecting at least one question from each Section.
_______________________________________
Section-A
1. (a) What is programming Language? Discuss history of C language.
(b) What is data type? Explain in detail.3,4
2. (a) How integer and float conversions take place in C language? Explain with suitable example.4
(b) Explain any three of the following :
(i) Variable
(ii) Keywords
(iii) Qualifiers
(iv) Identifiers3
3. Write a Program to print Matrics Multiplication using Recursion.7
4. (a) What is header file? Explain any four header files in C-programming Language.
(b) What is Operator ? Explain in brief.4,3
Section-B
5. (a) What is Loop? Write a Program to print reverse the digit using while loop.
(b) What is Control statement ? Explain Goto and Continue with syntax.3,4
6. What is Recursion ? Write a program to find Factorial of a given number.7
7. What is function in C ? Explain Function Prototyping in C programming language.7
8. (a) Differentiate between ‘Structure’ and ‘Union’. Which one is the best ? Give comment.
(b) Write a program to traverse a 2 dimension matrix using pointer.4,3
Section-C
9. (a) What is Array ? Write a program to sort the element of given array.
(b) What is dynamic memory allocation ? Explain with examples.3,3
10. (a) What are the storage classes in C programming language ? Explain in detail.3
(b) Write short notes on the following tree :
(i) File Handling
(ii) Binary and sequential files
(iii) Switch Statement
(iv) Nested if else statement3
_______________________________________
Please share this post and blog link with your friends.For more programs use this blog.
If you have any problem, please comment in comment box, subscribe this blog for notifications of new post on your email and follow this blog.If you have any method of this tutorial or program or want to give any suggestion send email on hc78326@gmail.com
Created by-- HARSH CHAUHAN
No comments:
Post a Comment