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
5 questions
Data Streams Management

Quiz
•
University
10 questions
Datentypen, Variablen & Eingabe in Python

Quiz
•
University
7 questions
Webtech Tutorium 11 - TCP/IP

Quiz
•
University
8 questions
Raid

Quiz
•
10th Grade - Professi...
10 questions
Stringmethoden in Python

Quiz
•
University
6 questions
Datenbanknormalisierung

Quiz
•
University - Professi...
11 questions
Marvel Future Fight

Quiz
•
KG - Professional Dev...
6 questions
Navigation in SAP S/4HANA

Quiz
•
University - Professi...
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University