Tutorium 4 - Prog2

Quiz
•
Computers
•
University
•
Medium
Loris Galler
Used 12+ times
FREE Resource
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Konstanten werden in Scala mit dem Schlüsselwort "var" deklariert
Stimmt
Falsch
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Wie definiert man ein Tupel in Scala?
val person = ("Hans"; 35; true)
val person == ("Hans"; 35; true)
val person == ("Hans", 35, true)
val person = ("Hans", 35, true)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Was entspricht in Java einem Scala-Match-Ausdruck
Klassenvariablen
if-else
Switch-Case
Vergleich mit ==
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In der Range (1 until 10 by 2) ist die 10 enthalten
Stimmt
Falsch
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hat man in Scala eine verschachtelte Schleife, so braucht man (im Gegensatz zu Java) nur einen Schleifenkopf
Stimmt
Falsch
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Was ist das Ergebnis dieses Codes?
Hello, ${name}
Hello, James
Hello, $name
Hello, "James"
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Wie werden Funktionen in Scala definiert?
Mit def
Mit val oder var
Mit func
Mit method
Similar Resources on Wayground
11 questions
Python változók szkópja

Quiz
•
9th Grade - University
6 questions
Quizzical Quizzes are Quizzling

Quiz
•
University
8 questions
Prog2 tut9 - Threads

Quiz
•
University
10 questions
Listen in Python

Quiz
•
University
12 questions
Machine Learning

Quiz
•
University
7 questions
Git for the win

Quiz
•
University
10 questions
scratch quiz

Quiz
•
1st Grade - University
10 questions
Android Development Quiz

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade