Which type of error, syntax errors or logic errors, would be more difficult to f
ID: 3606970 • Letter: W
Question
Which type of error, syntax errors or logic errors, would be more difficult to find? Why?Why should unit testing be performed properly before moving on to integration testing? Which type of error, syntax errors or logic errors, would be more difficult to find? Why?
Why should unit testing be performed properly before moving on to integration testing? Which type of error, syntax errors or logic errors, would be more difficult to find? Why?
Why should unit testing be performed properly before moving on to integration testing?
Explanation / Answer
==
Which type of error, syntax errors or logic errors, would be more difficult to find? Why?
----
ERROR: mainly due to the environment in which application is running
Syntax Errors : keywords misspelled , not defined variables ...etc this can be figureed out when code compilation is going on.
Logic Errors: Once the compilation done and when your application is running that time you wont be aware of the code where it's logic getting differ. and excepted output wont come in this case.
--
If it is more code involved then Logic errors will be difficult to find.
=====================
Why should unit testing be performed properly before moving on to integration testing?
=====
Lets us say
One application invloves two modules:
Module1
Module2
---
Module1(developer/group) done unit testing and they confirmed that the output is coming as excepted.
Module2(developer/group) not done unit testing and it has some logical errors
--
Application created with = Module1 + Module2
--
Now when application is running it will fail because the Module2 not done unit testing.
--
So application expected output will be different and entire application will be failed to get the actual output.
--
So Unit testing must be done properly
====
Thanks
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.