Logo F2FInterview

Hardware And Software Design Interview Questions

Q   |   QA

Testing is used for estimate the quality of the product. Unit Testing is tested for each part of the product. Integrate the unit and tested. 

waterfall model is the linear model. The process is done by step by step. We couldn't stop in between of the process. prototype model: after get the model by low cost budget only we are implementing that product. so, its efficient. 

In C++

Constructor:This is a member of class which involkes when the object is created.Purpose of constructor is to intialise the objects with required values.

Destructor: It is a member of class which involkes when the object is out of scope.The purpose of destructor is to clear the heap memory. 


int fact (int x);

void main() {

      int n, a;

      cout<<"enter any value";



      cout<< a;



int fact (int x) {

       if((x==0) || (x==1))

            return 1;




Binary Search: Search a sorted array by repeatedly dividing the search interval in half. Begin with an interval covering the whole array. If the value of the search key is less than the item in the middle of the interval, narrow the interval to the lower half. Otherwise narrow it to the upper half. Repeatedly check until the value is found or the interval is empty.

Hashing provides a fast way to search a large, unsorted data set at the cost of extra memory. It is described as "directly referencing records in a table by doing arithmetic transformations on keys into table addresses." 

In order to link this F2FInterview's page as Reference on your website or Blog, click on below text area and pres (CTRL-C) to copy the code in clipboard or right click then copy the following lines after that paste into your website or Blog.

Get Reference Link To This Page: (copy below code by (CTRL-C) and paste into your website or Blog)
HTML Rendering of above code: