Tutorium 12 - Webtech Node Server

Tutorium 12 - Webtech Node Server

University

7 Qs

quiz-placeholder

Similar activities

Revisão de Métodos Ágeis

Revisão de Métodos Ágeis

University

10 Qs

Introduction to Computer Science

Introduction to Computer Science

University

10 Qs

Programación Web II Parte 1

Programación Web II Parte 1

University

10 Qs

HTML/CSS Quiz

HTML/CSS Quiz

10th Grade - University

10 Qs

Create a Website 1

Create a Website 1

KG - University

10 Qs

Python: Strings and Lists

Python: Strings and Lists

University

12 Qs

Internet and mobile programming 5

Internet and mobile programming 5

University

11 Qs

AWS S3 Quiz

AWS S3 Quiz

University

10 Qs

Tutorium 12 - Webtech Node Server

Tutorium 12 - Webtech Node Server

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

Loris Galler

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Was ist ein Query-String in einer URL?

Der Teil vor dem ? in einer URL

Der Teil nach dem ? in einer URL

Der gesamte URL-Pfad

Ein spezielles Format für HTTP-Header

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Welche Methode wird in Node.js verwendet, um eine URL in ihre Bestandteile zu zerlegen?

url.parse(req.url, true)

qs.parse(req.url)

fetch(req.url).json()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Wann wird das Event req.on('data', callback) ausgelöst?

Wenn die gesamte Anfrage empfangen wurde

Sobald die Verbindung zum Server aufgebaut ist

Jedes Mal, wenn ein neuer Datenblock (Chunk) eintrifft

Nachdem der req.on('end', callback) Event ausgelöst wurde

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Wahr oder Falsch:

req.on('end', callback)

wird nur bei GET-Anfragen ausgelöst.

Wahr

Falsch

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Was macht

res.writeHead(200, { 'Content-Type': 'application/json' })

Es setzt nur den HTTP-Statuscode der Antwort

Es setzt sowohl den HTTP-Statuscode als auch die Header der Antwort

Es schreibt Daten in den Antwort-Body

Es beendet die Antwort

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Welche der folgenden Methoden beendet bzw. sendet die HTTP-Antwort in Node.js?

res.writeHead()

res.write()

res.end()

res.send()

7.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Wofür wird NGINX hauptsächlich verwendet?

Als Reverse Proxy

Als Load Balancer

Zum Caching von HTTP-Anfragen

Als Datenbank-Server

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers