cs2006_2025T2_Q1_AN.pdf
System Commands(SC) · 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 112 MCQ · 2.0 marks
In Vue 2, what happens when you update a data property?
DOM is immediately updated without virtual DOM
The page reloads
The virtual DOM detects changes and updates efficiently
A full component re-renders from scratch
A published solution is not available for this question yet.
Question 113 MCQ · 2.0 marks
[[IMAGE:e8578426dd1104e7_3_1]]

Items: 2, Total Cost: $30, Status: Few Items
Items: 2, Total Cost: $45, Status: Few Items
Items: 3, Total Cost: $30, Status: Full Cart
Items: 2, Total Cost: $30, Status: Full Cart
Items: 1, Total Cost: $15, Status: Few Items
A published solution is not available for this question yet.
Question 114 MCQ · 2.0 marks
[[IMAGE:e8578426dd1104e7_4_2]]

[1, 2, 3]
[10, 40, 90]
[10, 20, 30]
[NaN, NaN, NaN]
A published solution is not available for this question yet.
Question 115 MCQ · 2.0 marks
[[IMAGE:e8578426dd1104e7_4_3]]

this.items.push(4)
this.items[0] = 10
this.items = [10, 2, 3]
this.obj.a = 2
A published solution is not available for this question yet.
Question 116 MCQ · 3.0 marks
[[IMAGE:e8578426dd1104e7_5_4]]

0, 1, 2
1, 2, 3
undefined, undefined, undefined
3, 3, 3
A published solution is not available for this question yet.
Question 117 MCQ · 3.0 marks
Which computed property implementation is **INCORRECT**?
[[IMAGE:e8578426dd1104e7_6_5]]

[[IMAGE:e8578426dd1104e7_6_6]]

[[IMAGE:e8578426dd1104e7_6_7]]

[[IMAGE:e8578426dd1104e7_6_8]]

A published solution is not available for this question yet.
Question 118 MCQ · 3.0 marks
[[IMAGE:e8578426dd1104e7_7_9]]

[[IMAGE:e8578426dd1104e7_7_10]]

[[IMAGE:e8578426dd1104e7_7_11]]

[[IMAGE:e8578426dd1104e7_7_12]]

[[IMAGE:e8578426dd1104e7_8_13]]

[[IMAGE:e8578426dd1104e7_8_14]]

A published solution is not available for this question yet.
Question 119 MCQ · 4.5 marks
[[IMAGE:e8578426dd1104e7_9_15]]

[[IMAGE:e8578426dd1104e7_9_16]]

[[IMAGE:e8578426dd1104e7_9_17]]

[[IMAGE:e8578426dd1104e7_10_18]]

[[IMAGE:e8578426dd1104e7_10_19]]

A published solution is not available for this question yet.
Question 120 MCQ · 4.5 marks
[[IMAGE:e8578426dd1104e7_11_20]]

[[IMAGE:e8578426dd1104e7_11_21]]

[[IMAGE:e8578426dd1104e7_11_22]]

[[IMAGE:e8578426dd1104e7_11_23]]

[[IMAGE:e8578426dd1104e7_12_24]]

A published solution is not available for this question yet.
Question 121 MCQ · 4.5 marks
[[IMAGE:e8578426dd1104e7_12_25]]

12, 10, 7, 12, 5, 7
12, 10, 7, 28, 5, 7
12, 10, 3, 28, 5, 3
15, 10, 7, 28, 7, 7
12, 10, 7, 21, 5, 7
A published solution is not available for this question yet.
Question 122 MCQ · 4.5 marks
[[IMAGE:e8578426dd1104e7_13_26]]

undefined, 200, 125, 175
25, 200, 125, 175
150, 200, 125, 100
25, 200, 125, 100
undefined, 200, 125, 100
A published solution is not available for this question yet.
Question 123 MSQ · 3.0 marks
[[IMAGE:e8578426dd1104e7_14_27]]

[[IMAGE:e8578426dd1104e7_14_28]]

[[IMAGE:e8578426dd1104e7_14_29]]

[[IMAGE:e8578426dd1104e7_14_30]]

[[IMAGE:e8578426dd1104e7_14_31]]

A published solution is not available for this question yet.
Question 124 MCQ · 3.0 marks
[[IMAGE:e8578426dd1104e7_16_32]]
Based on the above data, answer the given subquestions.
Which line of code should be changed to make this code work properly?

[[IMAGE:e8578426dd1104e7_17_33]]

[[IMAGE:e8578426dd1104e7_17_34]]

[[IMAGE:e8578426dd1104e7_17_35]]

[[IMAGE:e8578426dd1104e7_17_36]]

A published solution is not available for this question yet.
Question 125 MCQ · 3.0 marks
[[IMAGE:e8578426dd1104e7_16_32]]
Based on the above data, answer the given subquestions.
[[IMAGE:e8578426dd1104e7_17_37]]


[[IMAGE:e8578426dd1104e7_17_38]]

[[IMAGE:e8578426dd1104e7_17_39]]

[[IMAGE:e8578426dd1104e7_17_40]]

[[IMAGE:e8578426dd1104e7_17_41]]

A published solution is not available for this question yet.
Question 126 MCQ · 3.0 marks
[[IMAGE:e8578426dd1104e7_18_42]]
[[IMAGE:e8578426dd1104e7_18_43]]


btn, highlighted, btn-primary
btn, btn-primary
baseClass, btn-primary
btn, highlighted, btn-primary, btn-disabled
A published solution is not available for this question yet.
Question 127 MCQ · 3.0 marks
[[IMAGE:e8578426dd1104e7_18_42]]
[[IMAGE:e8578426dd1104e7_19_44]]


btn, highlighted
btn, btn-disabled
btn, highlighted, btn-disabled
baseClass, highlighted, btn-disabled
**MLT**
**Section Id :** 64065392560
**Section Number :** 9
**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
A published solution is not available for this question yet.