MauryaHub PYQ Practice

cs2003_2025T3_Q1_AN.pdf

Programming Concepts using Java · Quiz 1 · Sep 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 78 MCQ · 2.0 marks

Which of the following is the correct syntax to display the total number of courses in a Jinja2 template?
  1. [[IMAGE:3c5c70a76f73e1a7_2_0]]
    Source diagram or notation
  2. [[IMAGE:3c5c70a76f73e1a7_2_1]]
    Source diagram or notation
  3. [[IMAGE:3c5c70a76f73e1a7_2_2]]
    Source diagram or notation
  4. [[IMAGE:3c5c70a76f73e1a7_2_3]]
    Source diagram or notation

A published solution is not available for this question yet.

Question 79 MCQ · 2.0 marks

[[IMAGE:3c5c70a76f73e1a7_2_4]]
Source diagram or notation
  1. [[IMAGE:3c5c70a76f73e1a7_2_5]]
    Source diagram or notation
  2. [[IMAGE:3c5c70a76f73e1a7_2_6]]
    Source diagram or notation
  3. [[IMAGE:3c5c70a76f73e1a7_2_7]]
    Source diagram or notation
  4. [[IMAGE:3c5c70a76f73e1a7_2_8]]
    Source diagram or notation

A published solution is not available for this question yet.

Question 80 MCQ · 3.0 marks

[[IMAGE:3c5c70a76f73e1a7_3_9]]
Source diagram or notation
  1. Statement 1 is correct, but statement 2 is incorrect.
  2. Statement 2 is correct, but statement 1 is incorrect.
  3. Both statements 1 and 2 are correct
  4. Both statements 1 and 2 are incorrect

A published solution is not available for this question yet.

Question 81 MCQ · 3.0 marks

[[IMAGE:3c5c70a76f73e1a7_3_10]]
Source diagram or notation
  1. [[IMAGE:3c5c70a76f73e1a7_3_11]]
    Source diagram or notation
  2. [[IMAGE:3c5c70a76f73e1a7_3_12]]
    Source diagram or notation
  3. [[IMAGE:3c5c70a76f73e1a7_4_13]]
    Source diagram or notation
  4. [[IMAGE:3c5c70a76f73e1a7_4_14]]
    Source diagram or notation

A published solution is not available for this question yet.

Question 82 MCQ · 3.0 marks

[[IMAGE:3c5c70a76f73e1a7_4_15]]
Source diagram or notation
  1. [[IMAGE:3c5c70a76f73e1a7_4_16]]
    Source diagram or notation
  2. [[IMAGE:3c5c70a76f73e1a7_4_17]]
    Source diagram or notation
  3. [[IMAGE:3c5c70a76f73e1a7_4_18]]
    Source diagram or notation
  4. [[IMAGE:3c5c70a76f73e1a7_5_19]]
    Source diagram or notation

A published solution is not available for this question yet.

Question 83 MCQ · 3.0 marks

[[IMAGE:3c5c70a76f73e1a7_5_20]]
Source diagram or notation
  1. 1 → B, 2 → C, 3 → D, 4 → A
  2. 1 → A, 2 → B, 3 → C, 4 → D
  3. 1 → B, 2 → D, 3 → C, 4 → A
  4. 1 → C, 2 → D, 3 → A, 4 → B

A published solution is not available for this question yet.

Question 84 MSQ · 3.0 marks

[[IMAGE:3c5c70a76f73e1a7_6_21]]
Source diagram or notation
  1. [[IMAGE:3c5c70a76f73e1a7_6_22]]
    Source diagram or notation
  2. [[IMAGE:3c5c70a76f73e1a7_6_23]]
    Source diagram or notation
  3. [[IMAGE:3c5c70a76f73e1a7_6_24]]
    Source diagram or notation
  4. [[IMAGE:3c5c70a76f73e1a7_6_25]]
    Source diagram or notation
  5. [[IMAGE:3c5c70a76f73e1a7_6_26]]
    Source diagram or notation

A published solution is not available for this question yet.

Question 85 MSQ · 3.0 marks

[[IMAGE:3c5c70a76f73e1a7_6_27]]
Source diagram or notation
  1. [[IMAGE:3c5c70a76f73e1a7_6_28]]
    Source diagram or notation
  2. [[IMAGE:3c5c70a76f73e1a7_7_29]]
    Source diagram or notation
  3. [[IMAGE:3c5c70a76f73e1a7_7_30]]
    Source diagram or notation
  4. [[IMAGE:3c5c70a76f73e1a7_7_31]]
    Source diagram or notation

A published solution is not available for this question yet.

Question 86 MCQ · 4.5 marks

[[IMAGE:3c5c70a76f73e1a7_8_32]]
Source diagram or notation
  1. 200 px
  2. 230 px
  3. 240 px
  4. 250 px

A published solution is not available for this question yet.

Question 87 MCQ · 4.5 marks

[[IMAGE:3c5c70a76f73e1a7_9_33]]
Source diagram or notation
  1. [[IMAGE:3c5c70a76f73e1a7_9_34]]
    Source diagram or notation
  2. [[IMAGE:3c5c70a76f73e1a7_9_35]]
    Source diagram or notation
  3. [[IMAGE:3c5c70a76f73e1a7_9_36]]
    Source diagram or notation
  4. [[IMAGE:3c5c70a76f73e1a7_9_37]]
    Source diagram or notation

A published solution is not available for this question yet.

Question 88 MSQ · 2.0 marks

[[IMAGE:3c5c70a76f73e1a7_10_38]]
Source diagram or notation
  1. [[IMAGE:3c5c70a76f73e1a7_10_39]]
    Source diagram or notation
  2. [[IMAGE:3c5c70a76f73e1a7_10_40]]
    Source diagram or notation
  3. [[IMAGE:3c5c70a76f73e1a7_10_41]]
    Source diagram or notation
  4. [[IMAGE:3c5c70a76f73e1a7_10_42]]
    Source diagram or notation

A published solution is not available for this question yet.

Question 89 MSQ · 2.0 marks

[[IMAGE:3c5c70a76f73e1a7_10_43]]
Source diagram or notation
  1. [[IMAGE:3c5c70a76f73e1a7_10_44]]
    Source diagram or notation
  2. [[IMAGE:3c5c70a76f73e1a7_10_45]]
    Source diagram or notation
  3. [[IMAGE:3c5c70a76f73e1a7_10_46]]
    Source diagram or notation
  4. [[IMAGE:3c5c70a76f73e1a7_10_47]]
    Source diagram or notation

A published solution is not available for this question yet.

Question 90 MCQ · 4.5 marks

[[IMAGE:3c5c70a76f73e1a7_11_48]] Based on the above data, answer the given subquestions.
[[IMAGE:3c5c70a76f73e1a7_11_49]]
Source diagram or notationSource diagram or notation
  1. [[IMAGE:3c5c70a76f73e1a7_11_50]]
    Source diagram or notation
  2. [[IMAGE:3c5c70a76f73e1a7_11_51]]
    Source diagram or notation
  3. [[IMAGE:3c5c70a76f73e1a7_11_52]]
    Source diagram or notation
  4. [[IMAGE:3c5c70a76f73e1a7_11_53]]
    Source diagram or notation

A published solution is not available for this question yet.

Question 91 MCQ · 3.0 marks

[[IMAGE:3c5c70a76f73e1a7_11_48]] Based on the above data, answer the given subquestions.
[[IMAGE:3c5c70a76f73e1a7_12_54]]
Source diagram or notationSource diagram or notation
  1. [[IMAGE:3c5c70a76f73e1a7_12_55]]
    Source diagram or notation
  2. [[IMAGE:3c5c70a76f73e1a7_12_56]]
    Source diagram or notation
  3. [[IMAGE:3c5c70a76f73e1a7_12_57]]
    Source diagram or notation
  4. [[IMAGE:3c5c70a76f73e1a7_12_58]]
    Source diagram or notation

A published solution is not available for this question yet.

Question 92 MCQ · 4.5 marks

[[IMAGE:3c5c70a76f73e1a7_13_59]] Based on the above data, answer the given subquestions.
From the given options, select which part of the code (if any) will throw an error first in the terminal and prevent the Flask application from running successfully ?
Source diagram or notation
  1. [[IMAGE:3c5c70a76f73e1a7_13_60]]
    Source diagram or notation
  2. [[IMAGE:3c5c70a76f73e1a7_13_61]]
    Source diagram or notation
  3. [[IMAGE:3c5c70a76f73e1a7_13_62]]
    Source diagram or notation
  4. [[IMAGE:3c5c70a76f73e1a7_13_63]]
    Source diagram or notation

A published solution is not available for this question yet.

Question 93 MCQ · 3.0 marks

[[IMAGE:3c5c70a76f73e1a7_13_59]] Based on the above data, answer the given subquestions.
[[IMAGE:3c5c70a76f73e1a7_14_64]]
Source diagram or notationSource diagram or notation
  1. [[IMAGE:3c5c70a76f73e1a7_14_65]]
    Source diagram or notation
  2. [[IMAGE:3c5c70a76f73e1a7_14_66]]
    Source diagram or notation
  3. [[IMAGE:3c5c70a76f73e1a7_14_67]]
    Source diagram or notation
  4. [[IMAGE:3c5c70a76f73e1a7_14_68]]       **Java** **Section Id :** 640653106044 **Section Number :** 6 **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
    Source diagram or notation

A published solution is not available for this question yet.