logo

Crowdly

COMPSCI2021 Web Application Development 2 - 2024-25

Шукаєте відповіді та рішення тестів для COMPSCI2021 Web Application Development 2 - 2024-25? Перегляньте нашу велику колекцію перевірених відповідей для COMPSCI2021 Web Application Development 2 - 2024-25 в moodle.gla.ac.uk.

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

Consider the following JavaScript code that conducts XML parsing

text = "<bookstore><book>" + "<title>Everyday Italian</title>" +

"<author>Giada De Laurentiis</author>" + "<year>2005</year>" +

"</book></bookstore>";

parser = new DOMParser();

xmlDoc = parser.parseFromString(text,"text/xml");

var a = xmlDoc.getElementsByTagName("year")[0].nodeName;

What would the value of variable a be set to?

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

When using HTTP, two communication

methods are commonly used.  Select the

statement that best describes what each method does.

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

Which of the following statements best

describes the differences between a DOM parser and a SAX parser?

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

Consider the XHTML code below.

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" lang="en">

<head>

<title>Sample title</title>

<link type="text/css" rel="stylesheet" href="style.css"/>

</head>

<body> <p>

The displayable text

</p> </body>

</html>

Is it well-formed?

0%
0%
0%
100%
Переглянути це питання
Which one of the following examples contains correct JSON syntax?
0%
0%
0%
100%
Переглянути це питання
AJAX is a useful combination of technologies, which enables a web app to (select the statement that best applies):
0%
0%
100%
0%
Переглянути це питання
To determine when an XMLHttpRequest object has received a response from the server, but not found the page, which of the following tests should be used?
100%
0%
0%
0%
Переглянути це питання
Which of the following XML fragments is well-formed?
0%
0%
100%
0%
Переглянути це питання

Consider the following jQuery code applied to an HTML page:

$(document).ready( function() {

$("p").on({

mouseenter: function() {

$(this).css("background-color", "red"); },

mouseleave: function() {

$(this).css("background-color", "lightgreen"); },

click: function() {

$(this).css("background-color", "yellow"); }

});

});

If the user clicks on a paragraph element and then doesn't move the mouse further, what will be the paragraph's background colour?

0%
0%
100%
0%
Переглянути це питання
What is the correct jQuery code to set the text colour of all p elements to red?
0%
0%
100%
0%
Переглянути це питання

Хочете миттєвий доступ до всіх перевірених відповідей на moodle.gla.ac.uk?

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