MauryaHub PYQ Practice

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?
  1. The “v-if” directive adds/removes elements from the DOM, while v-show only toggles visibility using CSS.
  2. The “v-show” directive adds/removes elements from the DOM, while v-if only toggles visibility using CSS.
  3. Both the “v-if” and “v-show” directives add/remove elements from the DOM.
  4. 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]]
Source diagram or notation
  1. [[IMAGE:13b866b0a97d41e9_2_5]]
    Source diagram or notation
  2. [[IMAGE:13b866b0a97d41e9_2_6]]
    Source diagram or notation
  3. [[IMAGE:13b866b0a97d41e9_2_7]]
    Source diagram or notation
  4. [[IMAGE:13b866b0a97d41e9_2_8]]
    Source diagram or notation
  5. [[IMAGE:13b866b0a97d41e9_3_9]]
    Source diagram or notation

A published solution is not available for this question yet.

Question 117 MCQ · 2.0 marks

[[IMAGE:13b866b0a97d41e9_3_10]]
Source diagram or notation
  1. hello, world
  2. undefined, world
  3. ReferenceError
  4. 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?
  1. var is block-scoped, while let and const are function-scoped.
  2. const variables must always be initialized at the time of declaration.
  3. Variables declared with let and const are hoisted and initialized with undefined.
  4. 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]]
Source diagram or notation
  1. 1 2 3
  2. 1 1 1
  3. 1 2 1
  4. 0 1 0
  5. 0 1 1

A published solution is not available for this question yet.

Question 120 MCQ · 3.0 marks

[[IMAGE:13b866b0a97d41e9_5_12]]
Source diagram or notation
  1. 1 and 2
  2. 1, 2 and 3
  3. 2, 3 and 4
  4. All 4

A published solution is not available for this question yet.

Question 121 MCQ · 3.0 marks

[[IMAGE:13b866b0a97d41e9_6_13]]
Source diagram or notation
  1. 1
  2. 4
  3. 8
  4. 16

A published solution is not available for this question yet.

Question 122 MCQ · 3.0 marks

[[IMAGE:13b866b0a97d41e9_6_14]]
Source diagram or notation
  1. 6
  2. 5
  3. 4
  4. 3

A published solution is not available for this question yet.

Question 123 MCQ · 3.0 marks

[[IMAGE:13b866b0a97d41e9_7_15]]
Source diagram or notation
  1. [[IMAGE:13b866b0a97d41e9_7_16]]
    Source diagram or notation
  2. [[IMAGE:13b866b0a97d41e9_7_17]]
    Source diagram or notation
  3. [[IMAGE:13b866b0a97d41e9_7_18]]
    Source diagram or notation
  4. [[IMAGE:13b866b0a97d41e9_8_19]]
    Source diagram or notation
  5. [[IMAGE:13b866b0a97d41e9_8_20]]
    Source diagram or notation

A published solution is not available for this question yet.

Question 124 MCQ · 3.0 marks

[[IMAGE:13b866b0a97d41e9_8_21]]
Source diagram or notation
  1. A large Oak tree
  2. A medium Oak tree
  3. A large Willow tree
  4. A medium Willow tree

A published solution is not available for this question yet.

Question 125 MCQ · 3.0 marks

[[IMAGE:13b866b0a97d41e9_9_22]]
Source diagram or notation
  1. Only 'active'
  2. 'text-danger' and 'active'
  3. No classes
  4. Only 'text-danger'

A published solution is not available for this question yet.

Question 126 MCQ · 4.5 marks

[[IMAGE:13b866b0a97d41e9_10_23]]
Source diagram or notation
  1. The flight 103 has departed from terminal 1.
  2. The flight 103 has arrived from terminal 2.
  3. The flight 103 has delayed from terminal 3.
  4. The flight 103 has from terminal.
  5. ReferenceError

A published solution is not available for this question yet.

Question 127 MCQ · 4.5 marks

[[IMAGE:13b866b0a97d41e9_11_24]]
Source diagram or notation
  1. Learning App Dev 2 Exploring Vue JS
  2. Learning App Dev 2 Exploring Frontend
  3. Learned DBMS Learning App Dev 2 Exploring Frontend
  4. 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]]
Source diagram or notation
  1. "Updated App 1" and "Hello from App 2"
  2. "Hello from App 1" and "Hello from App 2"
  3. "Updated App 1" and blank second div
  4. 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]]
Source diagram or notation
  1. total: 20, lastUpdatedBy: "price"
  2. total: 40, lastUpdatedBy: "quantity"
  3. total: 20, lastUpdatedBy: "quantity"
  4. total: 40, lastUpdatedBy: "price"

A published solution is not available for this question yet.

Question 130 MSQ · 3.0 marks

[[IMAGE:13b866b0a97d41e9_14_27]]
Source diagram or notation
  1. [[IMAGE:13b866b0a97d41e9_14_28]]
    Source diagram or notation
  2. [[IMAGE:13b866b0a97d41e9_14_29]]
    Source diagram or notation
  3. [[IMAGE:13b866b0a97d41e9_14_30]]
    Source diagram or notation
  4. [[IMAGE:13b866b0a97d41e9_14_31]]
    Source diagram or notation
  5. [[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
    Source diagram or notation

A published solution is not available for this question yet.