0% found this document useful (0 votes)
10 views

Programming Inc (Theory), March 2024

Uploaded by

sarath22537
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views

Programming Inc (Theory), March 2024

Uploaded by

sarath22537
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

QP CODE: 24007771 24007771 Reg No : .....................

Name : .....................

B.COM DEGREE (CBCS ) SPECIAL REAPPEARANCE EXAMINATIONS, MARCH


2024
Fifth Semester
Complementary Course - CO5CMT08 - PROGRAMMING IN"C" (THEORY)
Common for B.Com Model II Computer Applications & B.Com Model III Computer Applications
2021 Admission Only
D8552B19

Time: 3 Hours Max. Marks : 60

Part A
Answer any ten questions.
Each question carries 1 mark.

1. Give two examples for keywords in C language.

2. What is a variable?

3. Explain the scanf() function with an example.

4. What do you mean by control structures?

5. Draw a flow chart for 'if…...else' statement.

6. What is array indexing in c?

7. How to declare a string variable?

8. Define function prototype.

9. Define local variable.

10. Mention any four library functions.

11. Write the syntax for declaring an integer pointer.

12. When is a null pointer used?


(10×1=10)
Part B
Answer any six questions.
Each question carries 5 marks.

Page 1/2 Turn Over


13. Explain the methods to add comments in a C program.

14. Explain the bitwise operators in C language.

15. Explain the working of 'elseif' ladder.

16. Summerise the syntax rules associated looping statements in C.

17. Write a C program to compare two strings using string handling functions.

18. Explain how to call a function with an example.

19. Explain function without argument and with return type.

20. How to declare structure variables?

21. Write a program in C to add two numbers using pointers.


(6×5=30)
Part C
Answer any two questions.
Each question carries 10 marks.

22. Write algorithm and draw flow chart to find the biggest of ten numbers given as input.

23. What are jump statements in C language and how these works?

24. Write a C program to add two Matrices.

25. Explain the need for a user defined function in C program.


(2×10=20)

Page 2/2

You might also like