Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Q 1 : What would be the Cyclomatic complexity of the following program? int find - maximum ( int i , int j , int
Q: What would be the Cyclomatic complexity of the following program?
int findmaximumint int int
int max;
if then
if then max;
else max;
else if
else max;
returnmax;
Draw a Control Flow Graph to compute the Cyclomatic complexity of the above program.
MAY
Q: Solve the following problem:
The following source code retyrns the longest substring that appears at both the beginning and end of the string without overlapping.
For example: sameEndsabXab returns ab
public String sameEnds String string
intlen string.length;
String fin ;
String tmp ;
for int ; i tmp;
returnfin;
Draw the controlflow graph CFG of the source code above
Q: This program computes to the power of where and are integers.
INPUT: The and values.
OUTPUT: raised to the power of is printed.
void pow int
float ;
int ;
if
;
else ;
;
while
;
;
if
;
System.out.print z ;
a Draw a control flow graph for this program fragment. Use the node numbers given above.
b List the duPath for variable
c List the duPath for variable
Q: Consider the following scenario:
Consider a function implementing the following policy for awarding merit cum means scholarship to the students. No students would be considered for the scholarship if he is in receipt of any other scholarship or if he is having a backlog in any subject. Further, the parental income must be less than per year and the student's current CGPA must be at least
However, a student with parental income upto may be awarded the scholarship, if hisher current CGPA is at least At least how many test cases are required for conditional testing? You may need to create a decision table for answering the above scenerio
Q As you have already tested HRM open source project and have created bug report manually. Use Bugzilla which is an opensource issuebug tracking system that allows developers to keep track of outstanding problems with their product.
Key features of Bugzilla includes:
Advanced search capabilities, Email Notifications, Modifyfile Bugs by email, Time tracking, Strong security, Customization, Localization.
In this part, you must perform the following tasks:
Login to Bugzilla account
Creating a BugReport
Create graphical reports
Important:
Reports of alreadyreported bugs will not qualify for grade. I will not base the decision on personal demonstrations of bugs. If the bug report, as written seems unclear, confusing, or insignificant, it does not qualify. The grade is for the report, not for the bug.
Send me the bug number to identify the bugs. and screenshots of the above points
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started