cs2005_2025T2_Q1_AN.pdf
Application Development - 1(APP DEV-1) · Quiz 1 · May 2025
← Course papers · Start practice / exam
Questions and published explanations below are available without starting a test. Some questions may not have a published solution yet.
Question 93 NAT · 3.0 marks
[[IMAGE:c0e7e88f2be5936b_1_0]]

A published solution is not available for this question yet.
Question 94 MCQ · 2.0 marks
A hospital collects patient data including symptoms, vital signs, and lab test results. They want to
find patterns to improve treatment plans. What type of task is clustering most suitable for?
Predicting the recovery time for a new patient.
Diagnosing diseases based on labeled medical records.
Grouping patients with similar symptoms and test results without prior labels.
Determining the most important variable for predicting disease.
**Java**
**Section Id :** 64065392558
**Section Number :** 7
**Section type :** Online
**Mandatory or Optional :** Mandatory
**Number of Questions :** 16
**Number of Questions to be attempted :** 16
**Section Marks :** 100
**Display Number Panel :** Yes
**Section Negative Marks :** 0
**Group All Questions :** No
**Enable Mark as Answered Mark for Review and** No
**Clear Response :**
**Section Maximum Duration :** 0
**Section Minimum Duration :** 0
**Section Time In :** Minutes
**Maximum Instruction Time :** 0
A published solution is not available for this question yet.
Question 96 MCQ · 7.0 marks
Consider the following Java program. When the call stack reaches its maximum depth, which
method will be at the top of the call stack?
[[IMAGE:c0e7e88f2be5936b_3_1]]

[[IMAGE:c0e7e88f2be5936b_3_2]]

[[IMAGE:c0e7e88f2be5936b_3_3]]

[[IMAGE:c0e7e88f2be5936b_3_4]]

[[IMAGE:c0e7e88f2be5936b_3_5]]

A published solution is not available for this question yet.
Question 97 MCQ · 7.0 marks
Consider the Java code below.
[[IMAGE:c0e7e88f2be5936b_4_6]]
Choose the correct option.

[[IMAGE:c0e7e88f2be5936b_4_7]]

[[IMAGE:c0e7e88f2be5936b_5_8]]

[[IMAGE:c0e7e88f2be5936b_5_9]]

[[IMAGE:c0e7e88f2be5936b_5_10]]

A published solution is not available for this question yet.
Question 98 MCQ · 7.0 marks
[[IMAGE:c0e7e88f2be5936b_6_11]]

[[IMAGE:c0e7e88f2be5936b_6_12]]

[[IMAGE:c0e7e88f2be5936b_6_13]]

[[IMAGE:c0e7e88f2be5936b_6_14]]

[[IMAGE:c0e7e88f2be5936b_6_15]]

A published solution is not available for this question yet.
Question 99 MCQ · 7.0 marks
[[IMAGE:c0e7e88f2be5936b_7_16]]

[[IMAGE:c0e7e88f2be5936b_7_17]]

[[IMAGE:c0e7e88f2be5936b_7_18]]

[[IMAGE:c0e7e88f2be5936b_7_19]]

[[IMAGE:c0e7e88f2be5936b_7_20]]

A published solution is not available for this question yet.
Question 100 MCQ · 7.0 marks
[[IMAGE:c0e7e88f2be5936b_8_21]]

[[IMAGE:c0e7e88f2be5936b_8_22]]

[[IMAGE:c0e7e88f2be5936b_8_23]]

[[IMAGE:c0e7e88f2be5936b_8_24]]

[[IMAGE:c0e7e88f2be5936b_8_25]]

A published solution is not available for this question yet.
Question 101 MCQ · 7.0 marks
[[IMAGE:c0e7e88f2be5936b_9_26]]

[[IMAGE:c0e7e88f2be5936b_9_27]]

[[IMAGE:c0e7e88f2be5936b_9_28]]

[[IMAGE:c0e7e88f2be5936b_9_29]]

[[IMAGE:c0e7e88f2be5936b_9_30]]

A published solution is not available for this question yet.
Question 102 MCQ · 7.0 marks
Consider the Java code given below.
[[IMAGE:c0e7e88f2be5936b_10_31]]
Choose the correct option.

[[IMAGE:c0e7e88f2be5936b_10_32]]

[[IMAGE:c0e7e88f2be5936b_10_33]]

[[IMAGE:c0e7e88f2be5936b_10_34]]

[[IMAGE:c0e7e88f2be5936b_10_35]]

A published solution is not available for this question yet.
Question 103 MCQ · 7.0 marks
Consider the code given below.
[[IMAGE:c0e7e88f2be5936b_11_36]]

[[IMAGE:c0e7e88f2be5936b_11_37]]

[[IMAGE:c0e7e88f2be5936b_12_38]]

[[IMAGE:c0e7e88f2be5936b_12_39]]

[[IMAGE:c0e7e88f2be5936b_12_40]]

A published solution is not available for this question yet.
Question 104 MCQ · 6.0 marks
Consider the Java code given below.
[[IMAGE:c0e7e88f2be5936b_13_41]]
What will the output be?

[[IMAGE:c0e7e88f2be5936b_13_42]]

[[IMAGE:c0e7e88f2be5936b_13_43]]

[[IMAGE:c0e7e88f2be5936b_13_44]]
bi: Title: Java, Price: 600
6406534364760, * b3: Title: Java, Price: 600

A published solution is not available for this question yet.
Question 105 MCQ · 6.0 marks
Consider the following Java code.
[[IMAGE:c0e7e88f2be5936b_15_46]]
Choose the correct option.

[[IMAGE:c0e7e88f2be5936b_15_47]]

[[IMAGE:c0e7e88f2be5936b_15_48]]

[[IMAGE:c0e7e88f2be5936b_15_49]]

[[IMAGE:c0e7e88f2be5936b_15_50]]

A published solution is not available for this question yet.
Question 106 MCQ · 6.0 marks
Consider the Java code given below.
[[IMAGE:c0e7e88f2be5936b_16_51]]

[[IMAGE:c0e7e88f2be5936b_16_52]]

[[IMAGE:c0e7e88f2be5936b_16_53]]

[[IMAGE:c0e7e88f2be5936b_16_54]]

[[IMAGE:c0e7e88f2be5936b_16_55]]

A published solution is not available for this question yet.
Question 107 MSQ · 6.0 marks
Which of the following statements correctly describe interface and specification in software
components?
An interface includes function signatures, arguments, and return types.
Specification refers to the intended input-output behavior of the component.
Interface helps describe how a component is implemented internally.
A good specification language should balance abstraction and detail.
A published solution is not available for this question yet.
Question 108 MSQ · 6.0 marks
Which among the following statements is/are **true** about activation records?
Multiple activation records of the same function can exist on the stack during
recursion.
Activation records created for functions are allocated in heap.
The return value link in an activation record identifies the memory location for
storing the function’s return value.
The lifetime of a variable extends beyond the removal of its activation record
from the stack.
A published solution is not available for this question yet.
Question 109 MSQ · 7.0 marks
[[IMAGE:c0e7e88f2be5936b_18_56]]

[[IMAGE:c0e7e88f2be5936b_18_57]]

[[IMAGE:c0e7e88f2be5936b_18_58]]

public String toString(){
return title + " " + author;
}
public String toString(){
return title + " " + author.name;
*
A published solution is not available for this question yet.
Question 110 MSQ · 7.0 marks
[[IMAGE:c0e7e88f2be5936b_20_61]]

[[IMAGE:c0e7e88f2be5936b_20_62]]

[[IMAGE:c0e7e88f2be5936b_20_63]]

[[IMAGE:c0e7e88f2be5936b_20_64]]

[[IMAGE:c0e7e88f2be5936b_21_65]]
**Appdev2**
**Section Id :** 64065392559
**Section Number :** 8
**Section type :** Online
**Mandatory or Optional :** Mandatory
**Number of Questions :** 15
**Number of Questions to be attempted :** 15
**Section Marks :** 50
**Display Number Panel :** Yes
**Section Negative Marks :** 0
**Group All Questions :** No
**Enable Mark as Answered Mark for Review and**
No
**Clear Response :**
**Section Maximum Duration :** 0
**Section Minimum Duration :** 0
**Section Time In :** Minutes
**Maximum Instruction Time :** 0

A published solution is not available for this question yet.