How do you test your code?
Answers were Sorted based on User's Feedback
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 |
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 |
Answer / saranya
by compiling (alt+f9) and
by executing(ctrl+f9)
| Is This Answer Correct ? | 6 Yes | 4 No |
How can you link a c program with a c function?
What do you mean by abstraction in C++?
sir there is some problem with nokia5130c-2,when we are trying to upload movies from net then there is a error occurred"FORMAT NOT SUPPORTED" bt its all ready in 3gp format.please tell me what i do now?
Is java easier than c++?
Suppose that data is an array of 1000 integers. Write a single function call that will sort the 100 elements data [222] through data [321].
Do you know what are static and dynamic type checking?
What is the arrow operator in c++?
What are the 4 types of library?
Write a C/C++ program to show the result of a stored procedure "PROC_RESET_MAIL" on database "USER_NOTIFY".
2 Answers ABC, Accenture, DataLand, HCL, Webyog,
What operator is used to access a struct through a pointer a) >> b) -> c) *
What is a wchar_t in c++?
Which programming language's unsatisfactory performance led to the discovery of c++?