
Tut06: JS hof
Authored by SNET Teaching
Computers
University
Used 6+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
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
Access 02
Quiz
•
University - Professi...
10 questions
Scratch (28th March)
Quiz
•
KG - University
10 questions
Java Control Flow statements
Quiz
•
University
10 questions
Arboles
Quiz
•
University
10 questions
Hệ Điều Hành Của Máy Tính
Quiz
•
10th Grade - University
10 questions
C++ Array Quiz
Quiz
•
University
10 questions
Electrical Circuit II 2
Quiz
•
KG - University
10 questions
Data Analytics and Artificial Intelligence
Quiz
•
University
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
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
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
5 questions
What is Presidents' Day?
Interactive video
•
10th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
20 questions
Mardi Gras History
Quiz
•
6th Grade - University
10 questions
The Roaring 20's Crash Course US History
Interactive video
•
11th Grade - University
17 questions
Review9_TEACHER
Quiz
•
University