Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

www.android.universityupdates.in | www.universityupdates.in | www.ios.universityupdates.

in

B.Com. I-Year II-Semester Examinations


PROGRAMMING WITH C & C++

UNIT I

1. What is the History and importance of c-language?


2. Explain the structure of c-language?
3. What is flowchart, algorithm and explain in detail?
4. Explain how to execute a c-program with a neat diagram?
5. Explain about c-tokens?
6. Define scope & life time of a variable?
7. Explain the c-data types?
8. What is type conversion and explain its types?
9. Explain the formatted input input (scanf) and formatted output (printf)?
10. Explain about c-operators with an example?

UNIT II

1. Explain the simple if statement with an example?


2. Explain the if-else statement with an example?
3. Explain the switch statement with an example?
4. Explain the while loop statement with an example?
5. Explain the do (or) do-while loop statement with an example?
6. Explain the for loop statement with an example?

UNIT III

1. Explain the function elements? (function definition, function call &


function declaration)
2. Explain the various built-in functions? (Mathematical, String, Character
& Date functions)
3. Explain the call by value and call by reference with an example?
4. What is need for user defined functions?
5. What is recursion and explain with an example?

www.android.previousquestionpapers.com | www.previousquestionpapers.com | www.ios.previousquestionpapers.com


www.android.universityupdates.in | www.universityupdates.in | www.ios.universityupdates.in

6. Explain about one-dimensional array with an example?


7. Explain about two-dimensional array with an example?
8. How to declare and initializing strings?
9. Explain about the reading and writing strings?
10. Explain about string handling functions with an example?

UNIT IV

1. What is pointer? And explain how to declare pointer variables?


2. Explain the arithmetic operators with pointers?
3. What is structure and how to define and declaration of structures?
4. Explain about arrays of structures?
5. Explain about enumerated data types?
6. What is union? Explain with an example?
7. What is the difference between structures and unions?

UNIT V

1. Explain the basic concepts of OOP?


2. Explain the structure of C++?
3. What is the difference between C & C++?
4. What is class and explain with an example?
5. What is inheritance and explain its types?

-----All the best my dear students

www.android.previousquestionpapers.com | www.previousquestionpapers.com | www.ios.previousquestionpapers.com

You might also like