Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
Q. Consider the program given below
void main()
{
int i,j,k;
readln (i,j,k);
if( (i < j) || ( i > k) )
writeln("then part");
if (j < k)
writeln ("j less then k");
else writeln ( " j not less then k");
}
else writeln( "else Part"); }
(i) Draw the flow graph. (4)
(ii) Determine the cyclomatic complexity. (4)
(iii) Arrive at all the independent paths. (8)
Ans:
else writeln( "else Part");
(ii) Cyclomatic complexity = E - N + 2 = 12 - 10 + 2 = 4
(iii) The four independent paths are
Path1 : 1 2 3 9 10
Path2 : 1 2 4 5 7 8 10
Path3 : 1 2 4 5 6 8 10
Path4 : 1 2 3 4 5 7 8 10
what are the characteristics of artificial intelligence
true/false small errors in syntax or spelling of a line of code will not affect the results
Iterative Enhancement Model This model was developed to remove disadvantages of waterfall model. In this model, phases of software development remain the same however the cons
What is stepwise refinement? Stepwise Refinement:- Stepwise Refinement is a top-down design method originally proposed by Niklaus Wirth. A program is developed by successively
What is a cohesive module? A cohesive module performs only "one task" in software procedure with few interaction with other modules. It means cohesive module serve only one thi
Define Cyclomatic complexity Cyclomatic complexity :- This is a measure of the control complexity of a program. This control complexity may be connected to program understanda
What is Failure-directed Testing Ans) Testing based on the information of the types of errors made in the earlier period that are likely for the system under test.
How a prototype can be categorised 1. A paper prototype which is a model depicting human machine interaction in a form which makes user understand how such interaction, would
What is meant by software change? Software change is termed as the change in nature of software as the requirements of software changes.
Ask EXPLAIN GENERIC PROCESS MODEL & REQUIREMENT ENGINEERING PROCESSquestion #Minimum 100 words accepted#
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd