logo

Crowdly

Browser

Додати до Chrome

WEB202_Web Development 2_24/25_T2_11.CCP

Шукаєте відповіді та рішення тестів для WEB202_Web Development 2_24/25_T2_11.CCP? Перегляньте нашу велику колекцію перевірених відповідей для WEB202_Web Development 2_24/25_T2_11.CCP в moodle.ncst.edu.bh.

Отримайте миттєвий доступ до точних відповідей та детальних пояснень для питань вашого курсу. Наша платформа, створена спільнотою, допомагає студентам досягати успіху!

Which of the following is NOT a key question to ask during the planning stage?

Переглянути це питання
Why is breaking a big problem into smaller subproblems beneficial?

Переглянути це питання
Context:

Changing style on click.

What happens after clicking a button with this code?

btn.addEventListener('click', function(e) {

e.target.style.background = 'blue';

});

]]>
Переглянути це питання
Context:

Chaining map and filter.

Given:

const arr = [1,2,3,4];

const result = arr.filter(x => x % 2 === 0).map(x => x * 10);

What is result?

]]>
0%
0%
0%
0%
Переглянути це питання
Context:

Object mutation through function parameter.

What will the console output?

function change(obj) { obj.value = 10; }

const obj = {value: 5};

change(obj);

console.log(obj.value);

]]>
Переглянути це питання
Which of the following naming conventions is most appropriate for JavaScript variables?

Переглянути це питання
Why is this function name not a good practice? 

function x() {

 return "Hello";

0%
0%
0%
0%
Переглянути це питання
Context:

Reference behavior of objects.

Given:

const a = { value: 10 };

const b = a;

b.value = 20;

What is the value of a.value now?

]]>
Переглянути це питання
Context:

Filtering an array.

Result of this code?

const nums = [1,2,3,4,5,6];

const even = nums.filter(x => x % 2 === 0);

console.log(even);

]]>
Переглянути це питання

Context:

const profile = { name: "Sara", age: 30 };

const copy = profile;

Which of the following modifies both profile and copy?

0%
0%
0%
0%
Переглянути це питання

Хочете миттєвий доступ до всіх перевірених відповідей на moodle.ncst.edu.bh?

Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!

Browser

Додати до Chrome