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
Was sind Medien?

Quiz
•
7th Grade - University
6 questions
BPMN: Gateways

Quiz
•
University - Professi...
7 questions
Git for the win

Quiz
•
University
10 questions
Listen in Python

Quiz
•
University
8 questions
ERA Tutorium 7

Quiz
•
University
10 questions
VLPM 2024-05

Quiz
•
University
7 questions
Tutorium 8

Quiz
•
University
12 questions
Machine Learning

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University