Assignment I

Q1. State the different paradigms for problem solving.

Q2. Why do we need Object Oriented programming?

Q3. What do you understand by OOP?

Q4. What is the difference between OOP and procedure oriented programming?

Q5. We have a certain principles associated with OOP. List those and explain.

Q6. What do you mean by the term:

Abstraction������� b) Encapsulation������������� c) Polymorphism������������ d) Inheritance

Q7. State difference between:

Abstraction and encapsulation����������������� b)Aggregation and composition

Q8. Define object and its purpose.

Q9. What is an object model? What is its importance? Why do we use object diagrams?

Q10.Define what the word class in OOP means. Difference between class and instance.

Q11. What is the concept of Link & Associations in OOP? Explain the orders of associations using diagram or example.

Q12. What is Multiplicity? State the importance of Associations.

Q13. What is role of Generalization & inheritance. Explain each separately and use of each.

Q14. Define Aggregation. State separately how it differs from Association and Generalization.

Q15. What ias an abstract class?

Q16. Explain Generalization. Explain Multiple Inheritance.

Q17. What is Metadata?

Q18. What are events & states in state models. Also explain scenarios & event trace.

Q19. What is the role of function models>? Give an example.

Q20. What are Data Flow Diagrams? Define: Processes, Data Flows, actors, Data Stores.

Q21. What is a State Diagram. What is a Nested State Diagram?

Q22. Explain the relation of Object & Dynamic Models.

Q23. What is meant by Constraint?

Q24. Explain OMT Methodology.

 


 

 

Assignment II

Q1. Define the structure of C++ program and the application of C++.

Q2. Why do we need the preprocessor directive #include<iostream.h>?

Q3. What are tokens? Define them briefly.

Q4. Define data types & explain the various categories of data types with example?

Q5.What is Enumerated Data types & how we can use it?

Q6. Explain the various derived data types?

Q7. What is operator? Explain the various types of operators used in C & C++?

Q8. What is the application of the scope resolution operator in C++?

Q9. What are pointers? What is the application of pointers in C++?

Q10. How can we use Arithmetic operators on pointers? Give examples.

Q11. How can we use default arguments? Give example.

Q12. Why we use Inline functions? Give an example.

Q13. What are arrays? Define one application of array in C++ Program.

Q14. What are expressions and define their various types with example.

Q15.What are recursive function? Give an example.

Q16. What are functions? What is the application of function in a C++ program?

Q17. What are memory management operators?

Q18. What are preprocessor directives?

Q19. Define the following terms:

if

switch

goto

for

break

continue

Q20. What is the difference between do and do-while? Explain with example.

 

 


 

 

Assignment III

Q1. What is Data Abstraction? Explain with example.

Q2. Why we use friend function? Give an example.

Q3. What are Static data members and Static member functions? Why are they used?

Q4. What is Polymorphism? Give an example.

Q5. Write a method to create an object in a class.

Q6. What is function overloading? Explain with example.

Q7. State the difference between structure and class.

Q8. What is operator overloading? State with example.

Q9. Explain the working of virtual base class.

Q10. What is inheritance? State all its forms.

Q11. Explain constructor and destructor.

Q12. Explain various types of constructors used in C++ programming.

Q13. Describe the importance of destructors.

Q14. Show diagrammatically how can we inherit a derived class from a base class?

Q15. What is overriding of function?

Q16. What is the difference between Abstract class and a normal class?(with example)

Q17. What does this pointer points to?

Q18. What is a virtual base class? Also show diagrammatically.

Q19. What are properties of constructor functions? Explain.

Q20. Explain different kinds of functional calls.

 

 


 

 

Assignment IV

Q1. What is a Virtual function?

Q2. Explain static and Dynamic Binding.

Q3. Why do we need a Virtual function?

Q4. Explain with example: dynamic binding, through Virtual Functions.

Q5. Explain the working of this pointer with example.

Q6. How is poly morphism achieved at

Compile time

Run time

Q7. Define the rules of virtual functions.

Q8.State the difference between Virtual functions and pure virtual functions.

Q9.When do we make a virtual function pure? What are the implication of making a function a pure virtual function?

Q10. What are the advantages of using virtual function?

Q11.What is late binding? How is it useful for development of class libraries?

Q12.What is preprocessor in C++?

Q13.What is the function of Preprocessor include directive?

Q14.List the common examples of exceptions.

Q15.What is the role of try and catch block?

Q16.State the following:

Virtual destructor

Abstract class

Q17.How is dynamic binding done through virtual functions?

Q18.State the following:

Base class virtual function

Derived class virtual function

 


 

 

Assignment V

Q1. What is a stream?

Q2. Describe briefly the features of I/O system supported by C++ ?

Q3. Why are the words such as cin & cout not consider as keywords ?

Q4. Why it is necessary to include the file iostream in all our programs?

Q5. Briefly discuss the features of Unix/Linux operating systems

Q6. Which file system used in Unix.

Q7. Discuss some k-shell commands for files.

Q8. Compare different shells in Unix.

Q9. What is vi editor. Discuss the working in vi.

Q10. What are basic File attributes in Unix. How it can be changed.

Q11. What is process in Unix? How System administration can be done?