Tutorium 7 - Prog2
Quiz
•
Computers
•
University
•
Medium
Loris Galler
Used 2+ times
FREE Resource
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Die Methodenreferenz von x -> Math.abs(x) ist Math::abs
Stimmt
Falsch!
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Was ist der Lambda-Ausdruck von ArrayList<String>::new
() -> new ArrayList<String>
(String s) -> new ArrayList<>()
(Sting s) -> new ArrayList<String>(s)
(s) -> new ArrayList(String s)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1. Welche Methode verwendet man bei Streams, um Elemente in eine finale Form zu sammeln?
.map()
.filter()
.collect()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Welche Collectors-Methode entfernt Duplikate, indem sie die Elemente in ein Set sammelt?
.toList()
.joining()
.toSet()
.groupingBy()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Was ist die Ausgabe dieses Codes?
{true=[Hey], false=[Was geht, JOJOJO]}
{false=[Hey, Was geht], true=[JOJOJO]}
{false=[Was geht, JOJOJO], true=[Hey]}
{false=[Hey], true=[Was geht, JOJOJO]}
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Was beschreibt am besten einen verschachtelten Stream (nested Stream) in Java?
Ein Stream, der in einer Methode definiert und in einer anderen verwendet wird.
Ein Stream, der innerhalb eines anderen Streams verwendet wird, um eine tiefere Verarbeitungsschicht zu erreichen.
Ein Stream, der zur Sammlung von Daten in einer Datenbank verwendet wird.
Ein Stream, der nur für die Verarbeitung von Dateisystemen geeignet ist.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Wie würdest du eine Liste von Listen in Java in eine einzige flache Liste transformieren?
map, um die Listen zu transformieren, und collect, um die Ergebnisse zu sammeln.
flatMap, um die Listen zu flachen, und collect, um die Ergebnisse zu sammeln.
filter, um die Listen zu flachen, und collect, um die Ergebnisse zu sammeln.
sorted, um die Listen zu flachen, und collect, um die Ergebnisse zu sammeln.
Similar Resources on Wayground
10 questions
Scrum
Quiz
•
University
10 questions
APN - Sistemas e Engenharia de Software
Quiz
•
University
12 questions
IHC - Conceitos Básicos
Quiz
•
University
12 questions
Protocolo OSPF
Quiz
•
University
11 questions
TSI-RDW-03 - Topologia de Redes
Quiz
•
University
10 questions
ROBÓTICA COM TINKERCAD
Quiz
•
5th Grade - Professio...
10 questions
Internet
Quiz
•
University
10 questions
Fundamentos de Computaçao em Nuvem
Quiz
•
University
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
Discover more resources for Computers
10 questions
Halloween Movies Trivia
Quiz
•
5th Grade - University
12 questions
Halloween
Quiz
•
3rd Grade - University
5 questions
Using Context Clues
Interactive video
•
4th 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
14 questions
Eat Healthy,Be Healty
Quiz
•
4th Grade - University
7 questions
History of Halloween: Pagan or Christian?
Interactive video
•
11th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
