
Tut06: JS hof
Quiz
•
Computers
•
University
•
Hard

SNET Teaching
Used 6+ times
FREE Resource
Enhance your content
5 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
CSS: Was ist wahr?
Gegeben die Struktur <div id="parent">
<img scr="..." >
<p> lorem ....</p>
....
</div>
Parent ist immer mindestens so groß wie sein größtes Kind
float: left bei Img würde das Bild nach links verschieben und den Text drumwickeln
float: left bei Img führt dazu dass das parent eventuell kollabiert (wird kleiner als seine Kinder)
Erst CSS clear für ein Element, das im HTML-Code auf einen float-Block folgt, zwingt das Element unter den floatenden Block
2.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Welche Option stellt eine Standard clearfix Lösung für kollabierende Elternelemente von float-Elementen dar?
#last-child-of-container:after{
content: "";
clear: both;
display: block;
}
#container:after{
content: "";
clear: both;
display: block;
}
#container { display: flow-root; }
#container { overflow: auto; }
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Gegeben ein array mit objekten der folgenden Attributen
name, age, job, numberOfPets
Wie kann ich die Anzahl aller Pets bei Ärzten berechnen?
array.filter(a=>a.job=="arzt").map(a=> numberOfPets)
array.filter(a=>a.job=="arzt").reduce(a=> numberOfPets)
array.filter(a=>a.job=="arzt").reduce ((a,b)=> a.numberOfPets + b.numberOfPets)
array.filter(a=>a.job=="arzt").reduce ((acc,b)=> acc + b.numberOfPets, 0)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Wie kann man folgende pipeline kürzen, sodass das Ergebniss gleich bleibt?
array.filter(a=>a.job=="vet").size > 0
array.every(a=> a.job=="vet")
array.some(a=> a.job=="vet")
array.find(a=> a.job=="vet")
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Unterschied zwischen forEach and map Funktionen
keine Unterschiede
map hat keinen RückgabeWert, forEach schon
forEach hat keinen RückgabeWert, map schon
forEach hat 2 Input Parameter, wie reduce
Similar Resources on Wayground
10 questions
Flutter Quiz
Quiz
•
University
10 questions
ความรู้ทั่วไปเกี่ยวกับIT
Quiz
•
University
10 questions
Bài 25 tin 10
Quiz
•
9th Grade - University
10 questions
Pengenalan Canva
Quiz
•
12th Grade - University
10 questions
SQL JOINS
Quiz
•
University
10 questions
Tree and Planar Graph
Quiz
•
University
10 questions
Mini 2 (5junio)
Quiz
•
University
10 questions
Input And Output in C
Quiz
•
University
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
Discover more resources for Computers
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
22 questions
FYS 2024 Midterm Review
Quiz
•
University
20 questions
Physical or Chemical Change/Phases
Quiz
•
8th Grade - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
12 questions
1 Times Tables
Quiz
•
KG - University
20 questions
Disney Trivia
Quiz
•
University
38 questions
Unit 6 Key Terms
Quiz
•
11th Grade - University