UNIT-1 Q1. What is the need for Object-Oriented Programming (OOP)? Q2. Explain the differences between the procedural and object-oriented approach. Q3. What are the main characteristics of OOP? Q4.Define the following terms with examples: a) Object b) Class c) Inheritance d) Polymorphism Q5. What is reusability in OOP? Give an example. Q6. What are the advantages of OOP over structured programming? Q7. What is the relationship between C and C++? Q8.What are preprocessor directives? Give examples. Q9. Explain the use of cout and cin with syntax and examples. Q10. What is the purpose of the setw manipulator? ...
Computer Science covers -computers fundamentals to advance topics. Also cover a wide range of technology topics, including smartphones, tablets, software, security, Artifical Intelligence, and many more