cs2006_2025T1_Q1_AN.pdf
System Commands(SC) · Quiz 1 · Jan 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 115 MCQ · 2.0 marks
Which of the following statements is true regarding “v-if” and “v-show” directives in VueJS?
The “v-if” directive adds/removes elements from the DOM, while v-show only
toggles visibility using CSS.
The “v-show” directive adds/removes elements from the DOM, while v-if only
toggles visibility using CSS.
Both the “v-if” and “v-show” directives add/remove elements from the DOM.
Both the “v-if” and “v-show” directives toggle visibility using CSS.
A published solution is not available for this question yet.
Question 116 MCQ · 2.0 marks
[[IMAGE:13b866b0a97d41e9_2_4]]

[[IMAGE:13b866b0a97d41e9_2_5]]

[[IMAGE:13b866b0a97d41e9_2_6]]

[[IMAGE:13b866b0a97d41e9_2_7]]

[[IMAGE:13b866b0a97d41e9_2_8]]

[[IMAGE:13b866b0a97d41e9_3_9]]

A published solution is not available for this question yet.
Question 117 MCQ · 2.0 marks
[[IMAGE:13b866b0a97d41e9_3_10]]

hello, world
undefined, world
ReferenceError
undefined, undefined
A published solution is not available for this question yet.
Question 118 MCQ · 2.0 marks
Which of the following statements is **true** about the let, const, and var keywords in JavaScript?
var is block-scoped, while let and const are function-scoped.
const variables must always be initialized at the time of declaration.
Variables declared with let and const are hoisted and initialized with
undefined.
let, const, and var have identical scoping rules.
A published solution is not available for this question yet.
Question 119 MCQ · 3.0 marks
[[IMAGE:13b866b0a97d41e9_4_11]]

1
2
3
1
1
1
1
2
1
0
1
0
0
1
1
A published solution is not available for this question yet.
Question 120 MCQ · 3.0 marks
[[IMAGE:13b866b0a97d41e9_5_12]]

1 and 2
1, 2 and 3
2, 3 and 4
All 4
A published solution is not available for this question yet.
Question 121 MCQ · 3.0 marks
[[IMAGE:13b866b0a97d41e9_6_13]]

1
4
8
16
A published solution is not available for this question yet.
Question 122 MCQ · 3.0 marks
[[IMAGE:13b866b0a97d41e9_6_14]]

6
5
4
3
A published solution is not available for this question yet.
Question 123 MCQ · 3.0 marks
[[IMAGE:13b866b0a97d41e9_7_15]]

[[IMAGE:13b866b0a97d41e9_7_16]]

[[IMAGE:13b866b0a97d41e9_7_17]]

[[IMAGE:13b866b0a97d41e9_7_18]]

[[IMAGE:13b866b0a97d41e9_8_19]]

[[IMAGE:13b866b0a97d41e9_8_20]]

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

A large Oak tree
A medium Oak tree
A large Willow tree
A medium Willow tree
A published solution is not available for this question yet.
Question 125 MCQ · 3.0 marks
[[IMAGE:13b866b0a97d41e9_9_22]]

Only 'active'
'text-danger' and 'active'
No classes
Only 'text-danger'
A published solution is not available for this question yet.
Question 126 MCQ · 4.5 marks
[[IMAGE:13b866b0a97d41e9_10_23]]

The flight 103 has departed from terminal 1.
The flight 103 has arrived from terminal 2.
The flight 103 has delayed from terminal 3.
The flight 103 has from terminal.
ReferenceError
A published solution is not available for this question yet.
Question 127 MCQ · 4.5 marks
[[IMAGE:13b866b0a97d41e9_11_24]]

Learning App Dev 2
Exploring Vue JS
Learning App Dev 2
Exploring Frontend
Learned DBMS
Learning App Dev 2
Exploring Frontend
Learned DBMS
Learning App Dev 2
Exploring Vue JS
A published solution is not available for this question yet.
Question 128 MCQ · 4.5 marks
Consider the following HTML with relevant Vue CDN link attached.
[[IMAGE:13b866b0a97d41e9_12_25]]

"Updated App 1" and "Hello from App 2"
"Hello from App 1" and "Hello from App 2"
"Updated App 1" and blank second div
Both divs will be blank
A published solution is not available for this question yet.
Question 129 MCQ · 4.5 marks
Consider the following HTML with relevant Vue CDN attached.
[[IMAGE:13b866b0a97d41e9_13_26]]

total: 20, lastUpdatedBy: "price"
total: 40, lastUpdatedBy: "quantity"
total: 20, lastUpdatedBy: "quantity"
total: 40, lastUpdatedBy: "price"
A published solution is not available for this question yet.
Question 130 MSQ · 3.0 marks
[[IMAGE:13b866b0a97d41e9_14_27]]

[[IMAGE:13b866b0a97d41e9_14_28]]

[[IMAGE:13b866b0a97d41e9_14_29]]

[[IMAGE:13b866b0a97d41e9_14_30]]

[[IMAGE:13b866b0a97d41e9_14_31]]

[[IMAGE:13b866b0a97d41e9_14_32]]
**MLT**
**Section Id :** 64065379126
**Section Number :** 9
**Section type :** Online
**Mandatory or Optional :** Mandatory
**Number of Questions :** 13
**Number of Questions to be attempted :** 13

A published solution is not available for this question yet.