logo

Crowdly

Browser

Додати до Chrome

Internetworking and Web-programming (IWP) (DAT2, AAL-SW2, BaIT6T)

Шукаєте відповіді та рішення тестів для Internetworking and Web-programming (IWP) (DAT2, AAL-SW2, BaIT6T)? Перегляньте нашу велику колекцію перевірених відповідей для Internetworking and Web-programming (IWP) (DAT2, AAL-SW2, BaIT6T) в www.moodle.aau.dk.

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

You are given a library with two functions:

-

checkFileName(filename), which returns a Promise. The promise

fulfills to true if the filename uses only valid characters, else it fulfills to false.

-

checkIfExists(filename), which returns a Promise. The promise

fulfills to true if filename exists on the filesystem, else it fulfills false.

Consider

the following versions of the async function processFileName. Which

version(s) correctly checks if a filename uses only valid characters and

then if the file exists? (async functions can use the await keyword in their body)

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

Some ReST operations must be idempotent, as applying them twice must

have the same effect on the resources as applying them once.  Among the

following, which http methods implement  idempotent operations?

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

Which element belongs in the <head> section and is used to link external resources such as stylesheets?

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

Cookies are used to provide browser’s side data storage, but they

have some limitations. What of the following are correct sentences?

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

Consider the paragraph: 

Students can get counselling through student support services!

What is the correct HTML syntax for semantic markup of this paragraph such that the word counselling becomes a hyperlink to the site srg.dk using the secured hyper text transport protocol?

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

Which element is most appropriate for semantic markup of a standalone text paragraph within a blog post?

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

A developer wrote the following inside an HTML document, and expects the text "Alice" to appear in the console. However, when it is loaded into the browser the console shows an error instead. What is the most likely reason?

...

<body>

...

<script>

const name = document.getElementById("username").textContent;

console.log(name);

</script>

<p id="username">Alice</p>

</body>

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

Implement the client-side functionality for submitting the order form and presenting the resultWhen the submit button (“Bestil”) is clicked, a JavaScript function should extract the content of the form and send it as a json-object to the server at the specified resource name. Once the result response arrives at the client, show the output box and the embedded text.

Using .innerHTML is forbidden!

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

Extend the HTML of the front page using semantic markup to show as the extended front page. List the HTML code. Do not spend time on layout, but you may optionally use the supplied css file. 

  • Add a section with a form for configuring the recipe:
    • name: a string between 1 and 30 characters long
    • strength: a range integer between 1 and 10 
    • milk: a choice between “nomilk”, ”oatmilk”, and “cowmilk”.
  • Add HTML validation such that all inputs must be entered and satisfies the above constraints.
  • Add a placeholder output element (initially hidden) for the resulting text after the order is submitted; the actual content will be filled in later in the exercise.  

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

Write a JavaScript function at the client that can extract the input values of the order form and store them in a JavaScript object to be returned.

Hint: There are several ways to find the value of a radio-button. One is to examine which is selected using the “checked” attribute of the radio button.

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

Хочете миттєвий доступ до всіх перевірених відповідей на www.moodle.aau.dk?

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

Browser

Додати до Chrome