
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
Programming for Problem Solving
Quiz
•
University
10 questions
Apps Script Quiz - Day 1 Lesson
Quiz
•
University
10 questions
PreTest Larik/ Array
Quiz
•
11th Grade - University
10 questions
C++ Array Quiz
Quiz
•
University
10 questions
Examen Parcial 2
Quiz
•
University
10 questions
Struktur Data
Quiz
•
University
10 questions
PHP Basics
Quiz
•
University
10 questions
Data Analytics and Artificial Intelligence
Quiz
•
University
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
Discover more resources for Computers
11 questions
NFL Football logos
Quiz
•
KG - Professional Dev...
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms
Quiz
•
11th Grade - University
38 questions
Unit 6 Key Terms
Quiz
•
11th Grade - University
20 questions
La Hora
Quiz
•
9th Grade - University
7 questions
Cell Transport
Interactive video
•
11th Grade - University
7 questions
What Is Narrative Writing?
Interactive video
•
4th Grade - University