Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How do you test your code?

Answers were Sorted based on User's Feedback



How do you test your code? ..

Answer / lucy

1. Make sure outputs meet spec (by design)
2. Make sure the code can handle all posible inputs
3. Make sure the code has proper error handling
4. Test the time takes to get output (Does it meet
performance requirement)
5. Test how much CPU and memory it use
6. Test other possible factors may affect output(like
network issue, etc)

Is This Answer Correct ?    14 Yes 1 No

How do you test your code? ..

Answer / reejusri

We can test our code by :

1. Dry running
2. Unit testing
3. Ask someone else to input and run your program

Beyond that tester will come into picture.

Is This Answer Correct ?    9 Yes 3 No

How do you test your code? ..

Answer / chithra

using Compiler(Alt +F9)

Is This Answer Correct ?    7 Yes 5 No

How do you test your code? ..

Answer / saranya

by compiling (alt+f9) and
by executing(ctrl+f9)

Is This Answer Correct ?    6 Yes 4 No

Post New Answer

More C++ General Interview Questions

Which of the following is not a valid declaration for main() a) int main() b) int main(int argc, char *argv[]) c) They both work

0 Answers  


What is polymorphism in c++? Explain with an example?

0 Answers  


Where must the declaration of a friend function appear?

0 Answers  


If dog is a friend of boy, is boy a friend of dog?

0 Answers  


Why do we learn c++?

0 Answers  


"How will you merge these two arrays? Write the program Array: A 1 18 22 43 Array: B 3 4 6 20 34 46 55 Output Array: C 1 3 4 6 18 20 22 34 43 46 55"

9 Answers   College School Exams Tests, HCL,


Is c++ fully object oriented?

0 Answers  


What are the advantages of using const reference arguments in a function?

0 Answers  


How we can differentiate between a pre and post increment operators during overloading?

0 Answers  


Can you sort a set c++?

0 Answers  


Draw a flow chart and write a program for the difference between the sum of elements with odd and even numbers. Two dimensional array.

0 Answers  


What is meant by iomanip in c++?

0 Answers  


Categories