MauryaHub PYQ Practice

cs2003_2025T1_Q1_AN.pdf

Programming Concepts using Java · Quiz 1 · Jan 2025

← Course papers · Start practice / exam

This page contains the reliably extracted subset, not the complete original paper.

Questions and published explanations below are available without starting a test. Some questions may not have a published solution yet.

Question 67 MCQ · 2.0 marks

[[IMAGE:fbc927a4b90e5327_2_1]]
Source diagram or notation
  1. [[IMAGE:fbc927a4b90e5327_2_2]]
    Source diagram or notation
  2. [[IMAGE:fbc927a4b90e5327_2_3]]
    Source diagram or notation
  3. [[IMAGE:fbc927a4b90e5327_2_4]]
    Source diagram or notation
  4. [[IMAGE:fbc927a4b90e5327_3_5]]
    Source diagram or notation

A published solution is not available for this question yet.

Question 68 MCQ · 2.0 marks

[[IMAGE:fbc927a4b90e5327_3_6]]
Source diagram or notation
  1. [[IMAGE:fbc927a4b90e5327_3_7]]
    Source diagram or notation
  2. [[IMAGE:fbc927a4b90e5327_3_8]]
    Source diagram or notation
  3. [[IMAGE:fbc927a4b90e5327_3_9]]
    Source diagram or notation
  4. [[IMAGE:fbc927a4b90e5327_3_10]]
    Source diagram or notation

A published solution is not available for this question yet.

Question 69 MCQ · 2.0 marks

Read the statements given below carefully and select the correct option. **Statement 1**: If an element that belongs to two different classes is styled externally using both the classes, then for the same attribute, it will acquire styling from the latest class in order. **Statement 2**: If an element having an ID and a class is styled externally using both its ID and the class, then for the same attribute, it will acquire styling from the ID selector.
  1. Both statements 1 and 2 are correct
  2. Both statements 1 and 2 are incorrect
  3. Statement 1 is correct but statement 2 is incorrect
  4. Statement 2 is correct but statement 1 is incorrect

A published solution is not available for this question yet.

Question 70 MSQ · 2.0 marks

Which of the following options represents a one-to-one relationship in the Entity-Relationship Diagram?
  1. [[IMAGE:fbc927a4b90e5327_4_11]]
    Source diagram or notation
  2. [[IMAGE:fbc927a4b90e5327_4_12]]
    Source diagram or notation
  3. [[IMAGE:fbc927a4b90e5327_4_13]]
    Source diagram or notation
  4. [[IMAGE:fbc927a4b90e5327_4_14]]
    Source diagram or notation

A published solution is not available for this question yet.

Question 71 MCQ · 3.0 marks

[[IMAGE:fbc927a4b90e5327_5_15]]
Source diagram or notation
  1. [[IMAGE:fbc927a4b90e5327_5_16]]
    Source diagram or notation
  2. [[IMAGE:fbc927a4b90e5327_5_17]]
    Source diagram or notation
  3. [[IMAGE:fbc927a4b90e5327_5_18]]
    Source diagram or notation
  4. [[IMAGE:fbc927a4b90e5327_6_19]]
    Source diagram or notation

A published solution is not available for this question yet.

Question 72 MCQ · 3.0 marks

[[IMAGE:fbc927a4b90e5327_6_20]]
Source diagram or notation
  1. BLUE
  2. YELLOW
  3. GREEN
  4. RED

A published solution is not available for this question yet.

Question 73 MCQ · 3.0 marks

[[IMAGE:fbc927a4b90e5327_7_21]]
Source diagram or notation
  1. [[IMAGE:fbc927a4b90e5327_7_22]]
    Source diagram or notation
  2. [[IMAGE:fbc927a4b90e5327_8_23]]
    Source diagram or notation
  3. [[IMAGE:fbc927a4b90e5327_8_24]]
    Source diagram or notation
  4. [[IMAGE:fbc927a4b90e5327_8_25]]
    Source diagram or notation

A published solution is not available for this question yet.

Question 74 MCQ · 3.0 marks

[[IMAGE:fbc927a4b90e5327_9_26]]
Source diagram or notation
  1. python main.py Kalki
  2. python main.py Leo
  3. python main.py Pushpa2
  4. python main.py Jailer

A published solution is not available for this question yet.

Question 75 MCQ · 3.0 marks

[[IMAGE:fbc927a4b90e5327_9_27]]
Source diagram or notation
  1. [[IMAGE:fbc927a4b90e5327_10_28]]
    Source diagram or notation
  2. [[IMAGE:fbc927a4b90e5327_10_29]]
    Source diagram or notation
  3. [[IMAGE:fbc927a4b90e5327_10_30]]
    Source diagram or notation
  4. [[IMAGE:fbc927a4b90e5327_10_31]]
    Source diagram or notation

A published solution is not available for this question yet.

Question 76 MSQ · 3.0 marks

[[IMAGE:fbc927a4b90e5327_10_32]]
Source diagram or notation
  1. [[IMAGE:fbc927a4b90e5327_10_33]]
    Source diagram or notation
  2. [[IMAGE:fbc927a4b90e5327_10_34]]
    Source diagram or notation
  3. [[IMAGE:fbc927a4b90e5327_10_35]]
    Source diagram or notation
  4. [[IMAGE:fbc927a4b90e5327_10_36]]
    Source diagram or notation

A published solution is not available for this question yet.

Question 77 MSQ · 3.0 marks

[[IMAGE:fbc927a4b90e5327_11_37]]
Source diagram or notation
  1. [[IMAGE:fbc927a4b90e5327_11_38]]
    Source diagram or notation
  2. [[IMAGE:fbc927a4b90e5327_11_39]]
    Source diagram or notation
  3. [[IMAGE:fbc927a4b90e5327_11_40]]
    Source diagram or notation
  4. [[IMAGE:fbc927a4b90e5327_12_41]]
    Source diagram or notation

A published solution is not available for this question yet.

Question 78 MCQ · 4.5 marks

[[IMAGE:fbc927a4b90e5327_12_42]]
Source diagram or notation
  1. [[IMAGE:fbc927a4b90e5327_12_43]]
    Source diagram or notation
  2. [[IMAGE:fbc927a4b90e5327_12_44]]
    Source diagram or notation
  3. [[IMAGE:fbc927a4b90e5327_12_45]]
    Source diagram or notation
  4. [[IMAGE:fbc927a4b90e5327_12_46]]
    Source diagram or notation

A published solution is not available for this question yet.

Question 79 MCQ · 4.5 marks

[[IMAGE:fbc927a4b90e5327_13_47]]
Source diagram or notation
  1. [[IMAGE:fbc927a4b90e5327_13_48]]
    Source diagram or notation
  2. [[IMAGE:fbc927a4b90e5327_13_49]]
    Source diagram or notation
  3. [[IMAGE:fbc927a4b90e5327_13_50]]
    Source diagram or notation
  4. [[IMAGE:fbc927a4b90e5327_13_51]]
    Source diagram or notation

A published solution is not available for this question yet.

Question 80 MCQ · 4.5 marks

[[IMAGE:fbc927a4b90e5327_14_52]]
Source diagram or notation
  1. [[IMAGE:fbc927a4b90e5327_14_53]]
    Source diagram or notation
  2. [[IMAGE:fbc927a4b90e5327_15_54]]
    Source diagram or notation
  3. [[IMAGE:fbc927a4b90e5327_15_55]]
    Source diagram or notation
  4. [[IMAGE:fbc927a4b90e5327_15_56]]
    Source diagram or notation

A published solution is not available for this question yet.

Question 81 MCQ · 3.0 marks

[[IMAGE:fbc927a4b90e5327_15_57]] Based on the above program, answer the given subquestions.
[[IMAGE:fbc927a4b90e5327_16_58]]
Source diagram or notationSource diagram or notation
  1. [[IMAGE:fbc927a4b90e5327_16_59]]
    Source diagram or notation
  2. [[IMAGE:fbc927a4b90e5327_16_60]]
    Source diagram or notation
  3. [[IMAGE:fbc927a4b90e5327_16_61]]
    Source diagram or notation
  4. [[IMAGE:fbc927a4b90e5327_16_62]]
    Source diagram or notation

A published solution is not available for this question yet.

Question 82 MCQ · 4.5 marks

[[IMAGE:fbc927a4b90e5327_15_57]] Based on the above program, answer the given subquestions.
[[IMAGE:fbc927a4b90e5327_16_63]]
Source diagram or notationSource diagram or notation
  1. [[IMAGE:fbc927a4b90e5327_16_64]]
    Source diagram or notation
  2. [[IMAGE:fbc927a4b90e5327_16_65]]
    Source diagram or notation
  3. [[IMAGE:fbc927a4b90e5327_17_66]]
    Source diagram or notation
  4. [[IMAGE:fbc927a4b90e5327_17_67]]       **MLF** **Section Id :** 64065379123 **Section Number :** 6 **Section type :** Online **Mandatory or Optional :** Mandatory **Number of Questions :** 13 **Number of Questions to be attempted :** 13 **Section Marks :** 40 **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.