Methoden in der Programmierung
Quiz
•
Computers
•
11th Grade
•
Practice Problem
•
Easy
Barbara Messing
Used 2+ times
FREE Resource
Enhance your content in a minute
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
public int plus(int x, int y): Was wird die Rückgabe dieser Methode sein?
Zwei ganze Zahlen, x und y.
Eine ganze Zahl.
Ein Pluszeichen.
Drei Zahlen: x, y und z.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int zähle (List<String> meine_liste): Welchen Datentyp hat der Rückgabewert?
List
void
int
string
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
void reset(int i) : Welchen Rückgabewert hat diese Methode?
int
string
i
keinen
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Wenn der Rückgabetyp "void" ist: Welcher Befehl fehlt dann im Methodenrumpf?
Das kann man so nicht sagen
return ...
... ToString()
public
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Wie heißt das "public" in public int plus(int x, int y)?
Rückgabewert
Eingabetyp
Name der Methode
Zugriffsmodifikator
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
return z; heißt was?
z wird neu initialisiert
der aktuelle Wert von z wird ausgegeben
z wird deklariert
z ist nicht zulässig hier
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Was braucht man für Datentypen, um die Anzahl der Elemente einer Liste zu bestimmen?
Eingabe: Text, Ausgabe: Liste
Eingabe: Text, Ausgabe: Liste
Eingabe: Liste, Ausgabe: ganze Zahl
Eingabe: ganze Zahl, Ausgabe: Liste
Create a free account and access millions of resources
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
Arduino- Exercise 4 Random Dice
Quiz
•
11th Grade
15 questions
Processing Beginners Quiz
Quiz
•
7th - 12th Grade
12 questions
LABORATORIO 1 4TO BACO
Quiz
•
9th - 12th Grade
10 questions
Les variables sous Python
Quiz
•
10th - 12th Grade
10 questions
Tipe Data dalam Pemrograman
Quiz
•
11th Grade
16 questions
Python programming
Quiz
•
6th - 12th Grade
12 questions
11a1-BÀI TẬP (tuần 3)
Quiz
•
11th Grade
15 questions
Python - тест
Quiz
•
1st - 12th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
