0% found this document useful (0 votes)
33 views2 pages

Programming in C 2019

The document appears to be an exam paper for a programming in C course, containing questions in three parts - short answer, medium answer and long answer questions. Part A contains 12 multiple choice or short answer questions worth 1 mark each. Part B contains 6 medium answer questions worth 5 marks each. Part C contains 2 long answer questions worth 10 marks each.

Uploaded by

letterstopranay
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
33 views2 pages

Programming in C 2019

The document appears to be an exam paper for a programming in C course, containing questions in three parts - short answer, medium answer and long answer questions. Part A contains 12 multiple choice or short answer questions worth 1 mark each. Part B contains 6 medium answer questions worth 5 marks each. Part C contains 2 long answer questions worth 10 marks each.

Uploaded by

letterstopranay
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

QP CODE: 19102528 Reg No : .....................

19102528
Name : .....................

BCOM DEGREE (CBCS ) EXAMINATION, OCTOBER 2019


Fifth Semester
Complementary Course - CO5CMT08 - PROGRAMMING IN C
B.Com Model II Computer Applications ,B.Com Model III Computer Applications
2017 Admission Onwards
B8CF5443
Maximum Marks: 60 Time: 3 Hours
Part A
Answer any ten questions.
Each question carries 1 mark.

1. What is a token?

2. Differentiate between prefix and postfix form of increment decrement operators.

3. What is a character constant?

4. Draw a flow chart for simple 'if' statement?

5. Write down the syntax of for loop?

6. How to declare a string variable?

7. What is the difference between strlwr() and struper() functions?

8. What do you mean by user defined function?

9. Define scope of a variable?

10. Mention any four library functions?

11. When is a null pointer used?

12. Differentiate between the following two expressions


a) *p=10;
b) P=10;

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

13. Explain the different type of errors that may appear in a program.

Page 1/2 Turn Over


14. Explain the basic structure of a C program.

15. Explain control structures?

16. Explain the goto statement?

17. Write a C program to read and display n numbers using an array?

18. Explain function header with an example?

19. Explain function with argument and without return type?

20. Explain the use of ‘struct’ keyword

21. What is the purpose of the data type included in the declaration of pointers ?
(6×5=30)
Part C
Answer any two questions.
Each question carries 10 marks.

22. Discuss the different type of input output functions with suitable examples.

23. Explain elseif ladder and switch statement? what is the advantage of switch statement over elseif
ladder ?

24. Write a C program to add two Matrices?

25. Differentiate call by value and call by reference with suitable examples?
(2×10=20)

Page 2/2

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy