MauryaHub PYQ Practice

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]]
Source diagram or notation

    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?
    1. Predicting the recovery time for a new patient.
    2. Diagnosing diseases based on labeled medical records.
    3. Grouping patients with similar symptoms and test results without prior labels.
    4. 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]]
    Source diagram or notation
    1. [[IMAGE:c0e7e88f2be5936b_3_2]]
      Source diagram or notation
    2. [[IMAGE:c0e7e88f2be5936b_3_3]]
      Source diagram or notation
    3. [[IMAGE:c0e7e88f2be5936b_3_4]]
      Source diagram or notation
    4. [[IMAGE:c0e7e88f2be5936b_3_5]]
      Source diagram or notation

    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.
    Source diagram or notation
    1. [[IMAGE:c0e7e88f2be5936b_4_7]]
      Source diagram or notation
    2. [[IMAGE:c0e7e88f2be5936b_5_8]]
      Source diagram or notation
    3. [[IMAGE:c0e7e88f2be5936b_5_9]]
      Source diagram or notation
    4. [[IMAGE:c0e7e88f2be5936b_5_10]]
      Source diagram or notation

    A published solution is not available for this question yet.

    Question 98 MCQ · 7.0 marks

    [[IMAGE:c0e7e88f2be5936b_6_11]]
    Source diagram or notation
    1. [[IMAGE:c0e7e88f2be5936b_6_12]]
      Source diagram or notation
    2. [[IMAGE:c0e7e88f2be5936b_6_13]]
      Source diagram or notation
    3. [[IMAGE:c0e7e88f2be5936b_6_14]]
      Source diagram or notation
    4. [[IMAGE:c0e7e88f2be5936b_6_15]]
      Source diagram or notation

    A published solution is not available for this question yet.

    Question 99 MCQ · 7.0 marks

    [[IMAGE:c0e7e88f2be5936b_7_16]]
    Source diagram or notation
    1. [[IMAGE:c0e7e88f2be5936b_7_17]]
      Source diagram or notation
    2. [[IMAGE:c0e7e88f2be5936b_7_18]]
      Source diagram or notation
    3. [[IMAGE:c0e7e88f2be5936b_7_19]]
      Source diagram or notation
    4. [[IMAGE:c0e7e88f2be5936b_7_20]]
      Source diagram or notation

    A published solution is not available for this question yet.

    Question 100 MCQ · 7.0 marks

    [[IMAGE:c0e7e88f2be5936b_8_21]]
    Source diagram or notation
    1. [[IMAGE:c0e7e88f2be5936b_8_22]]
      Source diagram or notation
    2. [[IMAGE:c0e7e88f2be5936b_8_23]]
      Source diagram or notation
    3. [[IMAGE:c0e7e88f2be5936b_8_24]]
      Source diagram or notation
    4. [[IMAGE:c0e7e88f2be5936b_8_25]]
      Source diagram or notation

    A published solution is not available for this question yet.

    Question 101 MCQ · 7.0 marks

    [[IMAGE:c0e7e88f2be5936b_9_26]]
    Source diagram or notation
    1. [[IMAGE:c0e7e88f2be5936b_9_27]]
      Source diagram or notation
    2. [[IMAGE:c0e7e88f2be5936b_9_28]]
      Source diagram or notation
    3. [[IMAGE:c0e7e88f2be5936b_9_29]]
      Source diagram or notation
    4. [[IMAGE:c0e7e88f2be5936b_9_30]]
      Source diagram or notation

    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.
    Source diagram or notation
    1. [[IMAGE:c0e7e88f2be5936b_10_32]]
      Source diagram or notation
    2. [[IMAGE:c0e7e88f2be5936b_10_33]]
      Source diagram or notation
    3. [[IMAGE:c0e7e88f2be5936b_10_34]]
      Source diagram or notation
    4. [[IMAGE:c0e7e88f2be5936b_10_35]]
      Source diagram or notation

    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]]
    Source diagram or notation
    1. [[IMAGE:c0e7e88f2be5936b_11_37]]
      Source diagram or notation
    2. [[IMAGE:c0e7e88f2be5936b_12_38]]
      Source diagram or notation
    3. [[IMAGE:c0e7e88f2be5936b_12_39]]
      Source diagram or notation
    4. [[IMAGE:c0e7e88f2be5936b_12_40]]
      Source diagram or notation

    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?
    Source diagram or notation
    1. [[IMAGE:c0e7e88f2be5936b_13_42]]
      Source diagram or notation
    2. [[IMAGE:c0e7e88f2be5936b_13_43]]
      Source diagram or notation
    3. [[IMAGE:c0e7e88f2be5936b_13_44]] bi: Title: Java, Price: 600 6406534364760, * b3: Title: Java, Price: 600
      Source diagram or notation

    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.
    Source diagram or notation
    1. [[IMAGE:c0e7e88f2be5936b_15_47]]
      Source diagram or notation
    2. [[IMAGE:c0e7e88f2be5936b_15_48]]
      Source diagram or notation
    3. [[IMAGE:c0e7e88f2be5936b_15_49]]
      Source diagram or notation
    4. [[IMAGE:c0e7e88f2be5936b_15_50]]
      Source diagram or notation

    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]]
    Source diagram or notation
    1. [[IMAGE:c0e7e88f2be5936b_16_52]]
      Source diagram or notation
    2. [[IMAGE:c0e7e88f2be5936b_16_53]]
      Source diagram or notation
    3. [[IMAGE:c0e7e88f2be5936b_16_54]]
      Source diagram or notation
    4. [[IMAGE:c0e7e88f2be5936b_16_55]]
      Source diagram or notation

    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?
    1. An interface includes function signatures, arguments, and return types.
    2. Specification refers to the intended input-output behavior of the component.
    3. Interface helps describe how a component is implemented internally.
    4. 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?
    1. Multiple activation records of the same function can exist on the stack during recursion.
    2. Activation records created for functions are allocated in heap.
    3. The return value link in an activation record identifies the memory location for storing the function’s return value.
    4. 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]]
    Source diagram or notation
    1. [[IMAGE:c0e7e88f2be5936b_18_57]]
      Source diagram or notation
    2. [[IMAGE:c0e7e88f2be5936b_18_58]]
      Source diagram or notation
    3. public String toString(){ return title + " " + author; } public String toString(){ return title + " " + author.name;
    4. *

    A published solution is not available for this question yet.

    Question 110 MSQ · 7.0 marks

    [[IMAGE:c0e7e88f2be5936b_20_61]]
    Source diagram or notation
    1. [[IMAGE:c0e7e88f2be5936b_20_62]]
      Source diagram or notation
    2. [[IMAGE:c0e7e88f2be5936b_20_63]]
      Source diagram or notation
    3. [[IMAGE:c0e7e88f2be5936b_20_64]]
      Source diagram or notation
    4. [[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
      Source diagram or notation

    A published solution is not available for this question yet.