Methoden in der Programmierung

Quiz
•
Computers
•
11th Grade
•
Easy

Barbara Messing
Used 2+ times
FREE Resource
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
Similar Resources on Wayground
8 questions
Unit 4 Day 8 Opener - C++ Function Concepts

Quiz
•
9th - 12th Grade
9 questions
عناوين العمليات بلغة جافا

Quiz
•
10th Grade - University
10 questions
Programação em C

Quiz
•
10th - 12th Grade
14 questions
Exploring Computer Science

Quiz
•
10th - 12th Grade
11 questions
JAVA QUIZ

Quiz
•
1st - 12th Grade
17 questions
Java-Basics

Quiz
•
9th - 12th Grade
15 questions
Progamming - Java Syntax

Quiz
•
11th - 12th Grade
11 questions
S1-S5

Quiz
•
11th Grade
Popular Resources on Wayground
10 questions
SR&R 2025-2026 Practice Quiz

Quiz
•
6th - 8th Grade
30 questions
Review of Grade Level Rules WJH

Quiz
•
6th - 8th Grade
6 questions
PRIDE in the Hallways and Bathrooms

Lesson
•
12th Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
3rd Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
15 questions
Subtracting Integers

Quiz
•
7th Grade
Discover more resources for Computers
20 questions
Lab Safety and Lab Equipment

Quiz
•
9th - 12th Grade
7 questions
EAHS PBIS Lesson- Bathroom

Lesson
•
9th - 12th Grade
57 questions
How well do YOU know Neuwirth?

Quiz
•
9th - 12th Grade
20 questions
Getting to know YOU icebreaker activity!

Quiz
•
6th - 12th Grade
6 questions
Secondary Safety Quiz

Lesson
•
9th - 12th Grade
4 questions
Study Skills

Lesson
•
5th - 12th Grade
15 questions
Let's Take a Poll...

Quiz
•
9th Grade - University
20 questions
Points, Lines & Planes

Quiz
•
9th - 11th Grade