
Tutorium 12 - Webtech Node Server
Quiz
•
Computers
•
University
•
Practice Problem
•
Medium
Loris Galler
Used 2+ times
FREE Resource
Enhance your content in a minute
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

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Listen in Python
Quiz
•
University
10 questions
BOOTSTRAP
Quiz
•
University
10 questions
อินเทอร์เน็ต (INTERNET)
Quiz
•
KG - Professional Dev...
10 questions
Quiz Peramban dan Search Engine
Quiz
•
7th Grade - University
10 questions
8-sinf Cambridge II chorak
Quiz
•
8th Grade - University
10 questions
Types of Attack
Quiz
•
University
12 questions
Cybersecurity 1
Quiz
•
5th Grade - University
10 questions
Computer Education Grade 3 Volume 4 Quiz
Quiz
•
3rd Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
