Download as DOCX, PDF, TXT or read online from Scribd
Download as docx, pdf, or txt
You are on page 1of 2
UNIT- III
1. Define object-oriented design in the context of software development.
2. Explain the three main models combined in object-oriented design. 3. How does object-oriented design differ from structured design in terms of modularity and flexibility? 4. Compare procedural programming and object-oriented programming, highlighting the advantages of OOP for large-scale systems. 5. Define abstraction and encapsulation in object-oriented programming. 6. What are the key features of object-oriented languages? 7. What is physical packaging in software design? 8. Explain the term “adjustment of inheritance” in the context of object-oriented design. 9. What is the role of documenting design considerations in object-oriented design? 10. Write a short note on SD 11. What is the difference between SA/SD and OMT? 12. Discuss various phases of Jackson Structured Development (JSD) methodology in detail 13. What is user centric design? Discuss the user centric design and usability principles. 14. Why class design is prepared? Explain following concepts with respect to class design: (i) Bridging gap (ii) Designing algorithms (iii) Design optimization 15. What is inheritance? Explain two benefits of inheritance. 16. Explain the concept of reusable components and their use with reference to system design 17. Explain the concept of reusable components and their use with reference to system design
18. What are the main advantages of object-oriented development?
19. Analyze the benefits and challenges of applying reusability, extensibility, and robustness in a large object-oriented system. 20. Explain how object-oriented concepts can be mapped using non object-oriented languages? Explain with an example. UNIT- IV 1. Explain the basic structure of a C++ program. What are the essential components? 2. Describe the term namespace, identifiers, variable, constants, and enum. 3. Explain the difference between implicit and explicit typecasting in C++. 4. Describe the use of control structures in C++. Name the primary control structures. 5. Explain the purpose of a ‘for’ loop in C++. How does it differ from a ‘while’ loop? 6. What is a conditional (ternary) operator, and how is it used in C++? Provide a simple example. 7. Define an enum in C++. How does it differ from other variable types? 8. Differentiate between friend function and member functions. 9. Create an inline function in C++ to calculate the square of a number and demonstrate its usage with an example. 10. What is a friend function? What are the pros and cons of using a friend function? 11. What is virtual function? Why it is required? What are the basic rules to create a virtual function? write down a program in C++ for virtual function. 12. What do you mean by overloading of a function? When do you use this concept? Give an example of function overloading. 13. Compare call-by-value, call-by-reference, and return-by-reference with examples. 14. What is return-by-reference in C++? Describe a situation where it might be used. 15. Discuss the pros and cons of each approach and evaluate which is best for specific use cases. 16. What is method overriding? When does it occur? Explain with examples. 17. Write a simple C++ program with function overloading for a display() function that accepts either an integer or a string. Show how both versions of the function can be used. 18. Explain the use of default arguments in C++ functions. Provide an example. 19. What are macros? How macros are useful? Explain with examples.
20. What is the difference between a macro and an inline function in C++?