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/ 1
Assignment
1. Explain the control statements with syntax and example
2. Draw a diagram to represent the basic structure of a programin C++. 3. What is input buffering? Why two buffer scheme is preferred over one buffer 4. Differentiate: a)POP and OOP b) c and c++ 5. C) keywod and identifier. 6. Compare and contrast the variables and constants in C++. What are the rules to be followed for identifiers? 7. Draw a diagram to represent the basic structure of a program in C++. 8. What do you mean by a token? 9. Differentiate between keyword and identifier. 10. Compare and contrast the variables and constants in C++. What are the rules to be followed for identifiers? 11. What is the need of data types in C++? Describe different data types along with their representations and size in C++. 12. Give classification of operators available in C++ with the help of neat and clean diagram. 13. Define ternary operator. Compare it with if and if-else statement. 14. What do you mean by operator precedence? 15. What is the need of type conversion? Discuss different types of type conversion in C++. 16. Classify the different statements available in C++. 17. Differentiate between nested if-else and switch statement. 18. Compare and contrast for, while and do-while looping statements. 19. Differentiate between break and continue statement. 20. Why the use of goto statement is not good for quality programming? 21. What is the need of array? Discuss different types of arrays. 22. Discuss different string handling functions available in C++. Display the first and last element of array. 23. Program to reverse an array elements entered by user. 24. Sort an array element in ascending and descending order. 25. Program to add two matrices using array. 26. Program to subtract two matrices using array. 27. C++ program to find factorial by defining functions outside the class 28. C++ program to find greatest between 3 numbers by defining the functions inside class 29. C++ program to find reverse of number by defining functions outside class. 30. C++ Program to Perform Complex Operations using Overloading.