Consider the code segment of a Java servlet below. The atomic sections are marked as **P1, P2, P3**
**…** and so on.
1 Arvaybist<String> stuDtl = null;
2 response.setContentType("text/html");
3. PrintWriter out=response.getWriter();
P41
1 out.println ("<HTML><HEAD><TITLE>"+title+"</TITLE></HEAD><BODY> )") ;
2 String val = request.getParameter("roll");
3
4) /*
5 getProfile() take roll number of a student as input,
6 runs a query in the database, and returns a ArrayList
7 object containing the roll number, student name, and
8 percetage of marks etc (all are String type).
9) */
10 stuDtl = getMarks(val);
1 if(stuDtl != null){
P2
il String roll = stuDtl[0};
String name = userdtl[1];
double perMarks = Double. parseDouble(userdtl(2]); //convert String to double
out.println("Roll : "+ roll +", Name : " + name + "</BR>");
SB wn
1 if(perMark >= 50.0)
Consider a software product that has already been released. The number of problems that arrive
at the maintenance team in a given month is 300, and the number of problems that are resolved
during the same month is 330. What is the Backlog Management Index (BMI) for the given month?
6406531515146.
110%
6406531515147.
99.9%
6406531515148.
0.99%
6406531515149.
10%
A published solution is not available for this question yet.
Consider the below code to answer the following question. The below code may have some
faults/errors.
Which of the following methods will be run when the variable **numberOfSides** is read with a value
of **4** in the code section labelled as **C1** in the main method?
Consider a mutation of the production rule to S → a to S → ba. The other rule is retained as it is
(the grammar of previous question is considered here). What will be the language generated by
the mutated grammar
Based on the above data, answer the given subquestions.
Let's consider the DART testing technique applied.
Identify the path constraint that represents an equivalence class of input vectors containing all
input values that leads to the error statement.
10
**Industry 4.0**
**Section Id :** 64065329449
**Section Number :** 5
**Section type :** Online
**Mandatory or Optional :** Mandatory
**Number of Questions :** 16
**Number of Questions to be attempted :** 16
**Section Marks :** 45
**Display Number Panel :** Yes
**Group All Questions :** No
**Enable Mark as Answered Mark for Review and**
Yes
**Clear Response :**
**Maximum Instruction Time :** 0
A published solution is not available for this question yet.