Practice Questions for Mid Term

Practice Questions for Mid Term - Practice Questions for...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Practice Questions for Mid Term 1. Explain different stages in the waterfall model. 2. What are the different types of testing techniques used at different stages to ensure that the software is working perfectly? 3. Why is copy constructor/assignment operator overloaded? 4. Define String/ List/ Stack as an ADT. 5. Differences between: 5.1 Procedural and Object Oriented Programming 5.2 Structure and Class 5.3 List and Stack 6. Complete the given program: List.h Using Static Array #include <iostream> #ifndef LIST #define LIST const int CAPACITY = 1024; _______________________ // Please fill here class List { public: /***** Function Members ******/ /***** Class constructor *****/ List(); bool empty() const; void insert(ElementType item, int pos); void erase(int pos); void display(ostream & out) const; private: // Fill the following __________________ // current size of list stored in myArray __________________________ //array to store list elements }; ostream & operator<< (ostream & out, const List & aList); _____________________ // Please fill here
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
List.cpp Using Static Array
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 3

Practice Questions for Mid Term - Practice Questions for...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online